3238 Commits

Author SHA1 Message Date
openshwprojects
46ec546894 testBMP 2024-03-04 17:59:58 +01:00
Tester23
7e59270362 update docs 1.17.493 2024-03-04 17:14:52 +01:00
Tester23
99c9d2a009 TOMPD-63-WIFI TuyaMCU power meter config with alternate HTML panel hosted in LittleFS 2024-03-04 17:14:01 +01:00
Tester23
beceed0d2b Add $rand01 and $rand 1.17.492 2024-03-04 13:10:49 +01:00
Tester23
9fd623d46b !! fabs energy metering bugfix !! 1.17.491 2024-03-04 12:55:17 +01:00
stefan064
29cc2cc323 Add energy sensors to MQTT + HA discovery for active power, reactive power, power factor (#1102)
* HASS discovery energy stats fixed except energycounter_clear_date

* HASS: add friendly entity names, remove timestamp class from energycounter_clear_date as workaround for hass-incompatible date format

* HA energycounter_clear_date fixed for correct interpreting as home assistant timestamp sensor

* refactor HA power sensors discovery info

* refactor HA power sensors discovery more

* add apparent power, reactive power, power factor to mqtt + hass discovery, refactor some vars into new energy_sensors[] struct

* amend hass sensor unique_ids due to mqtt topic/channel too long; 'Error:MQTT:Unable to queue! Topic (13), channel (66) or value (437) exceeds size limit'

* hass sensors: add 'energy 2 days ago', 'energy 3 days ago', 'uptime'
web UI: energy sensors apply their rounding setting
drv_bl_shared.c: add enum for daily_stats[], put rearrange energy_sensor[] struct to expose only names via DRV_GetEnergySensorNames()

* -HA energy sensor uniq_id values made consistent with prior builds via .hass_uniq_id_suffix
-Refactor drv_bl_shared sensor/counter vars into energy_sensors[] to simplify mqtt transmissions etc
-Add energy '2 days ago'/'3 days ago' to main web ui, data from vars already being saved to/from flash
-NTP fix html formatting in web ui

* -HA energy sensor uniq_id values made consistent with prior builds via .hass_uniq_id_suffix
-Refactor drv_bl_shared sensor/counter vars into energy_sensors[] to simplify mqtt transmissions etc
-Add energy '2 days ago'/'3 days ago' to main web ui, data from vars already being saved to/from flash
-NTP fix html formatting in web ui

* Update settings.json

ignore vscode settings...

* Update settings.json

* Update settings.json

* minor fix

* fix OBK_CONSUMPTION_LAST_HOUR missing from mqtt

---------

Co-authored-by: Stefan Smith <stefan064>
2024-03-02 07:55:01 +01:00
Tester23
d4ec659cc0 compiler warning fix 1.17.490 2024-03-01 17:37:25 +01:00
Tester23
135286e35b add modulo operator along with selftest 1.17.489 2024-03-01 17:08:56 +01:00
Tester23
1c49728411 Merge branch 'main' of https://github.com/openshwprojects/OpenBK7231T_App 2024-03-01 16:35:27 +01:00
Tester23
c496fc9024 selftest - checksum check as well 2024-03-01 16:35:19 +01:00
openshwprojects
35dbf3bb2b Update README.md 1.17.488 2024-03-01 16:17:03 +01:00
Tester23
7fb118948f better hex str parsing with self tests 2024-03-01 15:57:37 +01:00
Tester23
7a9d3df40d tuyaMcu_sendCmd 1.17.487 2024-02-29 17:31:08 +01:00
openshwprojects
b3d2e01b9a Update README.md 1.17.486 2024-02-29 13:07:20 +01:00
openshwprojects
cc3c132acd better mqtt build version (#1107)
* better mqtt build version
1.17.485
2024-02-28 12:10:08 +01:00
Error-Gap
2f9d7c64e7 Updates to drv_ir.h and drv_ir.cpp (#1099)
* Migrate headers for SpoofIrSender to drv_ir.h (avoid issues between SpoofIrSender and IRSend object instantiation)
* Update code for SpoofIrSender to incorporate a pointer to myIRsend object which can be attached to SpoofIrSender instance
* Push functions through currently attached myIRsend instance for previously blank functions within SpoofIrSender
1.17.484
2024-02-26 13:54:21 +01:00
openshwprojects
fd131f3c62 fix bl602 build
* ms fix test

* fx

* fix2
1.17.483
2024-02-24 21:13:46 +01:00
Tester23
7da0682c76 fix quotatoion mark bug 1.17.482 2024-02-24 15:50:51 +01:00
Tester23
3056b0d53b MAX6675 setup arguments 1.17.481 2024-02-24 14:51:43 +01:00
Tester23
e9cb9e6d36 MAX6675 works 2024-02-24 08:00:23 +01:00
Tester23
fe4e61eba3 MAX6675 stub 1.17.480 2024-02-23 22:59:57 +01:00
Tester23
44652fb0a1 split selfttest http led, add more tests 1.17.479 2024-02-23 21:26:39 +01:00
Tester23
9266c8031c Possible buffer overflow fix - wrong variable was used g_tuyaMCUpayloadBufferSize 1.17.478 2024-02-23 08:48:49 +01:00
Tester23
d6d2fc1650 Merge branch 'main' of https://github.com/openshwprojects/OpenBK7231T_App 2024-02-23 08:46:37 +01:00
Tester23
52ba621c47 comments for docs 2024-02-23 08:46:30 +01:00
masj-mobica
231b87aea8 Warnings in OpenBK7231T_App fixed. (#1098)
* Warnings in AppT fixed.

* Remove ota include file added by mistake in drv_sm2235.
2024-02-23 08:45:28 +01:00
stefan064
8eaf72e2ea Home Assistant discovery - add energy counters today/yesterday, add clear date, add friendly names (#1092)
* HASS discovery energy stats fixed except energycounter_clear_date

* HASS: add friendly entity names, remove timestamp class from energycounter_clear_date as workaround for hass-incompatible date format

* HA energycounter_clear_date fixed for correct interpreting as home assistant timestamp sensor

* fix compile on OpenW800 due to OBK_DISABLE_ALL_DRIVERS on that platform

---------

Co-authored-by: Stefan Smith <stefan064>
2024-02-22 11:26:13 +01:00
Tester23
af73e20a56 better handling for if then with self test 2024-02-22 08:55:54 +01:00
openshwprojects
701fa42d18 Delete docs/tuyamcu.md 1.17.477 2024-02-22 08:54:20 +01:00
openshwprojects
24174b536b Create tuyamcu.md 2024-02-22 08:53:55 +01:00
Tester23
a61c9965ef self testing for HTTP page LEDs 1.17.476 2024-02-21 15:15:16 +01:00
openshwprojects
eef3e1a12f Update README.md 1.17.475 2024-02-21 08:20:27 +01:00
Tester23
5710efbf78 SetPinChannel can take second ch indfex as well 1.17.474 2024-02-20 11:39:03 +01:00
Tester23
421466063a add channels 2 to json 1.17.473 2024-02-20 11:25:33 +01:00
Tester23
41ccdbabae docs 1.17.472 2024-02-19 11:12:27 +01:00
Tester23
e4c5bc1780 docs update 1.17.471 2024-02-19 11:05:35 +01:00
Tester23
b7ce571172 LED strip driver docs 1.17.470 2024-02-19 10:50:05 +01:00
openshwprojects
7bc81116d8 Update drv_tuyaMCU.c 1.17.469 2024-02-18 20:07:00 +01:00
openshwprojects
b526996e78 Update README.md 1.17.468 2024-02-18 19:36:50 +01:00
Tester23
392185b14f all 1.17.467 2024-02-17 21:29:11 +01:00
Tester23
e91cad3e13 Merge branch 'main' of https://github.com/openshwprojects/OpenBK7231T_App 2024-02-17 21:27:40 +01:00
Tester23
16c9f641a7 pixel fix 2024-02-17 21:27:20 +01:00
openshwprojects
1dec5678ca Update drv_sm16703P.c (#1091)
* Update drv_sm16703P.c

* fx
1.17.466
2024-02-17 21:21:51 +01:00
Tester23
3cdd47bf50 Merge branch 'main' of https://github.com/openshwprojects/OpenBK7231T_App 1.17.465 2024-02-17 19:07:20 +01:00
Tester23
900c7c9295 ddp buffer size 2024-02-17 19:07:09 +01:00
openshwprojects
9ccb7e0be6 https://github.com/openshwprojects/OpenBK7231T_App/issues/1090 2024-02-17 18:03:58 +01:00
Christian W. Zuckschwerdt
0904105dcb Add some doc comments to drv_sm16703P (#1088) 1.17.464 2024-02-16 19:17:27 +01:00
Christian W. Zuckschwerdt
236f2add0d Fix DDP off-by-one memory corruption (#1086) 1.17.463 2024-02-15 14:19:48 +01:00
Christian W. Zuckschwerdt
a12e0167d7 Fix SM16703P SPI quirks (#1085) 1.17.462 2024-02-15 00:53:36 +01:00
Christian W. Zuckschwerdt
20cf821447 Add SK6812 support to SM16703P driver (#1084)
* Add SK6812 support to SM16703P driver

* Update drv_sm16703P.c

---------

Co-authored-by: openshwprojects <85486843+openshwprojects@users.noreply.github.com>
1.17.461
2024-02-14 23:15:52 +01:00