You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
i'm having trouble reading an JSON array from MQTT using Tasmota scripting.
Please advice
Thanks
mqtt data:
LOCAL = {"date":"2023-11-11","log":[10.33,10.77,11.21,12.12,10.31,10.99,10.08]} // is flagged as data retain in mqtt server
For reference, I can get date parameter from LOCAL - so the mqtt connection as such is working.
code:
#subs
+>Subscribe val, sensor01/LOCAL, log
print %val[1]% %val[2]% %val[3]% %val[4]% %val[5]% %val[6]% %val[7]%
Beta Was this translation helpful? Give feedback.
All reactions