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
I've been looking at the various mechanisms for remotely updating message values in ebusd. Wiki provides details on reading message values but little or no information or examples on updating values. I have successfully manged to do this via MQTT (although an example on wiki would have been useful) but failed to do the same via HTTP (writes are enabled and also remote access) and TCP messages. Whilst I have a solution for my needs by using MQTT, I would like to do this for completeness and for the benefit of others wanting to use these alternative methods. For testing, I'm using Node RED but have also used Curl without success (except for MQTT). Any help greatly appreciated. Thanks
09/11/24 14:39
So I've manage to solve my issue with TCP messaging. Issue turn out to be a simple as adding a linefeed to the command i.e. the payload should be "read -f -c basv z1NightTemp\n" or "write -c z1NNightTemp 18\n"
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
-
I've been looking at the various mechanisms for remotely updating message values in ebusd. Wiki provides details on reading message values but little or no information or examples on updating values. I have successfully manged to do this via MQTT (although an example on wiki would have been useful) but failed to do the same via HTTP (writes are enabled and also remote access) and TCP messages. Whilst I have a solution for my needs by using MQTT, I would like to do this for completeness and for the benefit of others wanting to use these alternative methods. For testing, I'm using Node RED but have also used Curl without success (except for MQTT). Any help greatly appreciated. Thanks
09/11/24 14:39
So I've manage to solve my issue with TCP messaging. Issue turn out to be a simple as adding a linefeed to the command i.e. the payload should be "read -f -c basv z1NightTemp\n" or "write -c z1NNightTemp 18\n"
Beta Was this translation helpful? Give feedback.
All reactions