mqtt-datasource icon indicating copy to clipboard operation
mqtt-datasource copied to clipboard

Error / ":" in mqtt topic name not resolved (Shelly mqtt topic messages)

Open aschliemann opened this issue 1 year ago • 0 comments

Hello,

the shelly products https://www.shelly.com/ allow data to be send via mqtt protocol. topic: shellyplusplugs-someid/status/switch:0 value: {"id":0, "source":"init", "output":true, "apower":10.4, "voltage":234.5, "current":0.073, "aenergy":{"total":75861.628,"by_minute":[173.264,173.689,174.113],"minute_ts":1724310360},"temperature":{"tC":35.2, "tF":95.4}}

":" generates an error - no data is received. (":" itself is fine with other mqtt-client applications!)

When using the topic shellyplusplugs-someid/status/# I can see data via "Inspect". When I am manually publishing text to shellyplusplugs-someid/status/switch_0 there is also no problem.

It seems that ':' is causing problem in the plugin.

aschliemann avatar Aug 22 '24 07:08 aschliemann