Max Prokhorov
21423431ce
Fixed size json payload & other WS bugfixes ( #1843 )
- update every dynamicjsonbuffer with fixed size constructor argument
- change to ws callback registration to use a class builder (just cosmetic)
- test multiple ws data callbacks for each module
- remove some of the static strings in favour of ws data callback
- improve sensor ws callback data size, remove duplicated strings
- use static buffer in wsDebugSend
- postpone wsSend until loop, implement wsPost to allow other modules to queue message callbacks. remove Ticker based ws callbacks for data
- update WebUI files
5 years ago
Max Prokhorov
07ba3ff2d5
domoticz: fix basic switch nvalue
fixes #1606
When ON domoticz sends:
value >= 1 for lights
value == 1 for basic switches
5 years ago
Max Prokhorov
3018b9ffe7
domoticz: fix always true relay match condition
5 years ago
Max Prokhorov
886af1ad07
domoticz: less debugging for lights code
5 years ago
Malachi Soord
c8231860ac
[copyright-update] Update for 2019
5 years ago
Max Prokhorov
e4e147a569
Only check domoticz state in broker callback ( #1562 )
5 years ago
Max Prokhorov
41f6e0724e
domoticz: track last relay state
5 years ago
Max Prokhorov
868d153fa4
Compact WS data
* send all ws config at once on start
* reduce ws json overhead by creating message buffer manually
* use k:[values] instead of k1:value1, k2:value2 etc. for lists
5 years ago
moi
a7c60f36e0
use spaces instead of tabs
5 years ago
moi
f0b5614a4a
ONLY processes Domoticz RGB MQTT Messages for the current idx
5 years ago
Xose Pérez
356be730e2
Added message type to broker
5 years ago
Xose Pérez
cb8d9c344d
Manage relay changes in third party modules via broker
5 years ago
sq5gvm
17d38bd36f
added missing #if's for devices that aren't light controllers
5 years ago
sq5gvm
24d15aa31a
added missing comment
5 years ago
sq5gvm
b3b7c21cb7
Domoticz over MQTT to Espurna RGB/RGBW/RGBWW
5 years ago
Xose Pérez
7d09f59952
Handle configure callbacks outside the ws module
6 years ago
Xose Pérez
76c0ecac05
Send relay status to domoticz on MQTT connection ( #872 )
6 years ago
Xose Pérez
fa20c47f29
Check which keys should be saved and which ones shouldn't ( #730 )
6 years ago
Xose Pérez
4a9a65baa5
Clean domoticz data types
6 years ago
Xose Pérez
c734158d1c
Check current domoticz status to avoid (un)subscribe with every update from the webUI
6 years ago
Xose Pérez
2dc2b7d176
Checking code with cppcheck
6 years ago
Xose Pérez
34c72859ef
Small changes
6 years ago
Xose Pérez
9062c70e63
Removed anti-recursion check in Domoticz module
6 years ago
Xose Pérez
af805ab045
Update copyright notices
6 years ago
Xose Pérez
ad05448603
Preliminary support for Thingspeak REST API over SSL
6 years ago
Xose Pérez
c0d63ff41c
Subscribe to MQTT domoticz out topic only if domoticz is enabled ( #344 )
6 years ago
Xose Pérez
e1baf48b9b
Option to disable completely new sensors module
7 years ago
Xose Pérez
38b2747218
Sensor indexes in web UI
7 years ago
Xose Pérez
de4780efbc
Added getters for sensors
7 years ago
Xose Pérez
d426969fb2
Added domoticz support to new sensor module
7 years ago
Xose Pérez
3518a7bc5e
Websocket callbacks (part 2)
7 years ago
Xose Pérez
2068dc41b9
Avoid recursion in domoticz messages
7 years ago
Xose Pérez
95459567d9
Small changes, caching some values
7 years ago
Xose Pérez
68c90c1cc0
Fix bug using snprintf
7 years ago
Xose Pérez
f7cf9a691f
Replaced sprintf with safer snprintf
7 years ago
Xose Pérez
1c5ebd3e08
Refactoring build flag names
7 years ago
Xose Pérez
4ccdeb3526
Using strlen with snprintf statements
7 years ago
Xose Pérez
9750bf26bb
Moved strings to PROGMEM, 160 bytes saved in memory
7 years ago
Xose Pérez
36af250e10
Option to globally disable domoticz from web interface
7 years ago
Xose Pérez
a780f5812f
Moved MQTT callback in Domoticz module
7 years ago
Xose Pérez
c6b26efbb7
Merge
7 years ago
Xose Pérez
7f41967e7a
Moved domoticz code from relay.ino to domoticz.ino
7 years ago
Xose Pérez
24d0aa0b48
Issues #50 and #54 . Fix domoticz sensor message format. Added energy calculation
7 years ago
Xose Pérez
4708c26d54
APIs for sensor data, REST & domoticz
7 years ago
Xose Pérez
52a63b1849
Changes in file comment headers
7 years ago
Xose Pérez
ff81326846
Version and year bump
7 years ago
Xose Pérez
523fbca115
Domoticz support
8 years ago