-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rule Trigger Analog0 possible? #2560
Comments
Give it a try and let us know |
tried out, unfortunately not possible... |
Was afraid it wouldn't work. Problem is the JSON message. Two solutions possible, I have to change the JSON message or invent code to detect difference between JSON single/second level message value. I'll leave it for the moment... |
.. i would prefer this: :)))
|
5.12.0n * Change ESP8266 Analog JSON message from {"Analog0:123"} to {"ANALOG":{"A0:123"}} to accomodate rules (#2560) * Change Counter JSON message from {"Counter1":0,"Counter3":0} to {"COUNTER":{"C1":0,"C3":0}} to accomodate rules * Change ADS1115 JSON message from {"ADS1115":{"Analog0":123,"Analog1":123}} to {"ADS1115":{"A0":123,"A1":123}}
And then I couldn't leave it as it adds useful functionality. Give it a go! |
... you are a very crazy guy! only a half day an the code is changed! !Thank you for your fantastic work and the great tasmota! |
5.12.0n * Change ESP8266 Analog JSON message from {"Analog0:123"} to {"ANALOG":{"A0:123"}} to accomodate rules (arendst#2560) * Change Counter JSON message from {"Counter1":0,"Counter3":0} to {"COUNTER":{"C1":0,"C3":0}} to accomodate rules * Change ADS1115 JSON message from {"ADS1115":{"Analog0":123,"Analog1":123}} to {"ADS1115":{"A0":123,"A1":123}}
Hello,
is a Trigger Analog0 possible?
Rule on Tele-Analog0<>=xxxx do publish xxxxx endon
Rule on Analog0<>=xxxx do publish xxxxx endon
Thanks!
The text was updated successfully, but these errors were encountered: