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
Dear all,
i currently have a problem with the result of a MQTT (json) topic subscription (in node-red).
I want to "read" the numeric value with MQTT from the follwing Attribute (15.f37.csv): r;w,,Hc1SFMode,HC1_SFMode,,,,"5D00",,,UCH,0=none;1=party;2=onedaybankholiday;3=onedayholiday;4=holiday;5=bankholiday;6=quickveto;7=onetimeventilation;8=onetimewater,,activated special function of first heating circuit
As you see does the configuration define Stribg values for numeric output (0=none).
For example from HTTP i receive this:
....
"Hc1SFMode": {
"name": "Hc1SFMode",
"passive": false,
"write": false,
"lastup": 1666169280,
"zz": 21, "comment": "HC1_SFMode",
"fields": {
"0": {"name": "", "value": {"value":3,"name":"onedayholiday"}, "comment": "activated special function of first heating circuit"}
}
....
This is OK. as you see i receive the numeric "key" and the string "value".
On MQTT i receive this:
{
"topic": "ebusd/f37/Hc1SFMode",
"payload": {
"0": {
"name": "",
"value": "onedayholiday",
"comment": "activated special function of first heating circuit"
}
}
}
Question: Is there a option / Setting / Parameter to enable the numeric keys on MQTT subscription results?
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
-
Dear all,
i currently have a problem with the result of a MQTT (json) topic subscription (in node-red).
I want to "read" the numeric value with MQTT from the follwing Attribute (15.f37.csv):
r;w,,Hc1SFMode,HC1_SFMode,,,,"5D00",,,UCH,0=none;1=party;2=onedaybankholiday;3=onedayholiday;4=holiday;5=bankholiday;6=quickveto;7=onetimeventilation;8=onetimewater,,activated special function of first heating circuit
As you see does the configuration define Stribg values for numeric output (0=none).
For example from HTTP i receive this:
This is OK. as you see i receive the numeric "key" and the string "value".
On MQTT i receive this:
Question:
Is there a option / Setting / Parameter to enable the numeric keys on MQTT subscription results?
Thanks in advance
Oliver
Beta Was this translation helpful? Give feedback.
All reactions