Please, try:
Code: Select all
...
if (device.state == domoticz.SECURITY_ARMEDAWAY) then
...
I'll stay tunned for thatFlyingDomotic wrote: ↑Sunday 18 February 2024 14:13 Hello,
[...]
Unless I do a very specific decoding for the alert sensor [...]
Code: Select all
domoticz.executeShellCommand ('mosquitto_pub -h 10.0.1.122 -p 1883 -t domoticz/out/buttonplus/wk1/button/1l/ledrgb -m 8323072')
It was my idea but my python skills are not good enoughsincze wrote: ↑Saturday 20 January 2024 16:23 Great same idea as shellyteacher4domo
Would be nice if we could modify https://github.com/enesbcs/shellyteacher4domo to tasmotateacher4domo.![]()
Cheers!
This is the wayWhen I create external python scripts/ESP modules I favor MQTT-AD as well
Code: Select all
"unit_of_measurement":"text"