Commit Graph

209 Commits

Author SHA1 Message Date
d3e8386c3a Platform build fix 2022-10-27 00:56:17 +02:00
d7d08db1e3 DRV - BL09XX - history calculation updated.
Warnings resolved.
2022-10-26 23:54:56 +02:00
0573d8cd91 BL09XX - implemented saving of consumption history
HAL - Added fields for saving metring variables
OTA - added donwload progress in HTTP front page
MAIN - added Saving of metering status before reboot.
2022-10-26 22:08:17 +02:00
c84dddcb3b Merged changes from upstream
Updated usage of htprint255
Main - wifi state machine changes. Ping state machine changes.
Ping - added flag if ping is already started or not, added silent flag
2022-10-26 22:08:17 +02:00
6fe708162c BL0937 - measurements refinement, added past seven days stats
BL09XX - HTTP plugin afdjustment, added new output doe daily stats.
DRV - updated NTP.
NTP - added HTTP plugin
HAL - added Wifi Disconnect command (TODO: other platforms)
MAIN - ping watchdog added wifi disconnect command after ping watchdog triggered
2022-10-26 22:08:17 +02:00
6ecba9344d HTTP - removed P10,P11 expception from PIN monitor
PINS - button active level bug fix.
2022-10-26 22:08:17 +02:00
2970ec62fd Replace hprintf128 with hprintf255 in all files 2022-10-25 06:31:11 +01:00
fe7c5962de Merge pull request #309 from iprak/discovery-publish-channels
Discovery / publish initial values
2022-10-21 14:45:50 +02:00
f27468424e Revised to use enum 2022-10-21 05:27:08 -05:00
7cce808c76 basic IR events are working, IR is now updated along with buttons / drivers quick tick 2022-10-20 18:14:42 +02:00
1471131d20 Publish channel states after discovery 2022-10-20 04:49:52 -05:00
0a68c444a7 flag used to determine whether we want an IR data MQTT publish 2022-10-20 08:39:13 +02:00
86ee0499ac Fixed 2 PWM case 2022-10-18 06:35:51 -05:00
03a70b24e8 HA Assistent fixes. "dev_cla" specs changed changed.
TuyaMCU - added comments
2022-10-17 19:00:00 +02:00
f0b3ae27dc Changed discovery to sent msg, fixed power check 2022-10-16 07:29:59 -05:00
613bb91ec3 Energy Monitor handler updates.
- added events
- added MQTT topic for last hour consumption stats
- HA assisten update
TuyaMCU - driver update.
New device added.
2022-10-15 18:04:24 +02:00
fd4aaeef13 Formatted 2022-10-14 21:08:38 -05:00
0c071b0e26 Merge pull request #276 from iprak/compress-js-css-take-2
Format/compress js/css
2022-10-14 16:02:07 +02:00
f9d3d65b3b Fixed shift upon refresh, added missing mimetype 2022-10-12 04:37:07 -05:00
573580e39c Relocated uptime-for, formatted using prettier 2022-10-11 20:39:30 -05:00
b4a313c509 Relocated assets 2022-10-11 20:04:45 -05:00
dcb5787115 Add device Calex Smart Plug 900011.1 2022-10-11 20:56:20 +01:00
cc33a1ffc1 dimmer 256 channel type 2022-10-10 17:27:14 +02:00
2af56fb56f Sensor 2022-10-08 06:06:02 -05:00
b9a8e8535a Deduplicated string 2022-10-07 19:20:54 -05:00
477fb326d3 Added rgb_value_template 2022-10-07 06:17:53 -05:00
f5ce163652 Fixed comments, fixed commands for RGB and PWM 2022-10-07 05:59:23 -05:00
550d32a85e Added relay/light to name 2022-10-07 05:58:44 -05:00
5e3b348c6d No index in RGB name 2022-10-07 05:58:08 -05:00
77e00269e3 Include light/relay in name 2022-10-07 05:57:28 -05:00
8bd59e66d0 Added support for RGB 2022-10-07 05:57:28 -05:00
585f633de5 better yaml https://github.com/openshwprojects/OpenBK7231T_App/issues/252 2022-10-07 08:07:59 +02:00
73c980d52f fix rgbcw topics 2022-10-06 15:10:45 +02:00
f668212999 topic fix 2022-10-06 14:59:34 +02:00
5b1f4e6dbf sprintf escape % fix 2022-10-06 14:56:59 +02:00
684a175a3c Reworked storage for JSON generation 2022-10-04 19:36:13 -05:00
c6fccde15d Merge pull request #239 from Minims/main
Add MagicHome CCT : ZJ-BWCE-CCT v1.1
2022-10-04 20:52:49 +02:00
21353b03ec HTTP - added definition for TESLA SmartPlus TSL-SPL-1
DRV - added command for functionality to reset energy counter. (HTTP, RESTAPI. TODO: MQTT)
    - MQTT meretring publishing scheduler changes. Values are sent within interval 5-60 seconds.
      too often can block MQTT connection on device side. Server is usually much powerfull
      and can handle >1000 mgs/s
2022-10-03 17:05:54 +02:00
e123826e81 BL0937 - fallback for for forced publishing of measured values.
MQTT - added some statistical functionality, monitorig MQTT communication.
HTTP server - added print of MQTT stats.
2022-10-03 09:45:23 +02:00
fcffa95dca BL0937 - implemented energy counter. TODO: save to flash.
http server - buffer size change, added MQTT status information.
MQTT - connect event counter for debug purpose.
MQTT - debug outputs.
MQTT - ERR-ISCONN result bug fix.
MQTT - Wifi connection check added.
MQTT - connect/reconnect patch
Formatting changes. Reading code was sometimes hard.
bug fix new device.
bug fix http server
2022-10-03 09:45:23 +02:00
e642517dba Add MagicHome CCT : ZJ-BWCE-CCT v1.1
Add MagicHome CCT : ZJ-BWCE-CCT v1.1
2022-10-02 22:54:41 +02:00
9ffa20cd94 disabling drivers fix 2022-10-02 17:02:33 +02:00
2284d0ec97 generate better (valid?) RGBCW and RGB HA configs for bulbs 2022-10-02 16:55:49 +02:00
e07a199ce1 Merge pull request #188 from iprak/fix-incorrect-mqtt-setup-form
Fixed Html content issue on the MQTT setup form
2022-10-02 11:33:08 +02:00
e29bb8c731 fix template added by pull request 2022-10-01 18:10:10 +02:00
29dfec611c Added PLATFORM_W600 2022-09-29 18:45:42 -05:00
704a8d513a Merge pull request #183 from iprak/ha-discovery
HomeAssistant MQTT Discovery
2022-09-28 09:56:34 +02:00
8ab6af4638 save/restore of led driver state - new flag 2022-09-18 23:00:21 +02:00
22e3009de3 add bk2731 slow pwm freq option 2022-09-12 00:39:50 +02:00
cbc1b8c935 Adjusted a few more places 2022-09-11 15:25:21 -05:00