Max Prokhorov
13c1a19328
Home Assistant updates ( #1885 )
- remove "platform" key, see #1440 . this implicitly sets schema to "basic". pending some other clean-up regarding json and mqtt queueing, other schema can be added down the line
- updated ws module queue elem to capture callbacks list, allows to pass more than one callback (for example, when they are generated on the fly as lambdas, see ha wsPost usage)
- modified method to send ha config to use global ws queue, fix #1762 problem with empty topics and ensure json allocation is consistent.
- use existing defines to set mqtt payload options. amend #1085 , #1188 , #1883 to use the set payload value. drop HOMEASSISTANT_PAYLOAD... defines.
- update MQTT_STATUS_ONLINE/OFFLINE and RELAY_MQTT_ON/OFF with runtime configuration
- filter payload strings so that the resulting yaml value is not interpreted as bool (python True, False)
- helper method for settings to streamline string values manipulation
5 years ago
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
copyrights
9ceca44770
Two channel CCT ( #1732 )
* add CCT support for 2 channel boards
* update webinterface description
* add 2 channel CCT to homeassistant and domoticz
* remove domoticz two channel cct support.
5 years ago
copyrights
d9b9e1449d
MQTT and HA brightness ( #1730 )
* MQTT and HA brightness shall only be depended on LIGHT_PROVIDER != LIGHT_PROVIDER_NONE
* remove unnecessary changes
5 years ago
Xose Pérez
546c8f09b2
Update Copyright notice
5 years ago
abmantis
490fb21636
use type instead of "switch"
5 years ago
abmantis
a832eab84e
remove uneeded checks; use better type for uniq id
5 years ago
abmantis
b412f7fd36
improve name
5 years ago
abmantis
0424610b87
don't add discovery info on generated yaml
5 years ago
abmantis
2b50e0dac9
fix warning; add more info
5 years ago
abmantis
7fa99f8078
add unique id and device support for better HA UI integration
5 years ago
Max Prokhorov
e1ddcc533c
do html escaping on the client
5 years ago
Max Prokhorov
cd1bfa6b34
check if ws client exists, check WEB_SUPPORT
5 years ago
Max Prokhorov
31a0772e37
Print each HA config entry separately
5 years ago
Xose Pérez
d47ae2e4a4
Helper terminal methods terminalOK and terminalError
5 years ago
Xose Pérez
b9e13446fc
Revert "Wrap embeddis commands and move feedback to caller"
This reverts commit 7ad0e3a02b
.
5 years ago
Xose Pérez
7ad0e3a02b
Wrap embeddis commands and move feedback to caller
5 years ago
Xose Pérez
27e7b9ae89
Move terminal methods to own module
5 years ago
Xose Pérez
acf68ac5c8
Single quote % units only in ha.config ( #1227 )
6 years ago
Xose Pérez
9bcf5217bd
Revert "Quote unit_of_measurement is homeassistant module as it might have invalid chars ( #1227 )"
This reverts commit f01f2454cc
.
6 years ago
Xose Pérez
f01f2454cc
Quote unit_of_measurement is homeassistant module as it might have invalid chars ( #1227 )
6 years ago
Yonsm
3e1031ab7c
define HOMEASSISTANT_PAYLOAD_AVAILABLE and HOMEASSISTANT_PAYLOAD_NOT_AVAILABLE
6 years ago
Xose Pérez
10ec1b2039
Fix HA names ( #1183 )
6 years ago
Xose Pérez
7d09f59952
Handle configure callbacks outside the ws module
6 years ago
Xose Pérez
13b0279ecc
Option to change default payload for HA ( #1085 )
6 years ago
Maxim Prokhorov
3ca1692827
Free jsonBuffer after printing
6 years ago
Xose Pérez
b4a05f9269
Fix build when WEB_SUPPORT==0 ( #923 )
6 years ago
Maxim Prokhorov
4735174480
"sensor" is not supported device_class
6 years ago
Philip Rosenberg-Watt
dfa7327491
Remove quotes from HomeAssistant units
Closes #849
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
1f880e0cde
Codacy changes
6 years ago
Ryan Jarvis
e4e19426ed
Fix some typos in the Hass info
6 years ago
Xose Pérez
ed0232f9bc
Fixed HA configuration dump when not enabled, added hint to web UI
6 years ago
Xose Pérez
6ffdeb5020
Moved HA settings to its own tab in web UI
6 years ago
Xose Pérez
207f58f0e9
Show home assistant configuration in web UI
6 years ago
Xose Pérez
5115204b53
Publish slampher as light to Home Assistant ( #494 )
6 years ago
Maxim Prokhorov
8d87bb8db9
homeassistant: missing setting in WS callback
6 years ago
Maxim Prokhorov
97e99fe159
homeassistant: fix typo in module filename
6 years ago
Xose Pérez
cd54372588
HA auto-discover for multi-relay boards and sensors
6 years ago
Xose Pérez
ff56e38254
Added hostname and mac placeholders for MQTT base topic
6 years ago
Xose Pérez
a716633c1b
Refactor MQTT module
6 years ago
Xose Pérez
05611a9c47
Send Home Assistant blank message only once
6 years ago
Xose Pérez
af805ab045
Update copyright notices
6 years ago
Xose Pérez
3518a7bc5e
Websocket callbacks (part 2)
7 years ago
Xose Pérez
758416bc87
Publish status message just after HA dicovery message
7 years ago
Xose Pérez
1839faced6
Implement availability topic for home assistant ( #280 )
7 years ago
Xose Pérez
793d50dd1e
Send HA auto discover messages on connect ( #279 )
7 years ago
Xose Pérez
524ebcf512
Change HA autodiscover feature to use new RGB entry point
7 years ago
Xose Pérez
cfb9880d9b
Fix HA autodicovery, allow to report color as comma separated values
7 years ago
Xose Pérez
f175f4aeea
Add dependencies for HA support
7 years ago