-
Notifications
You must be signed in to change notification settings - Fork 17
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
Mqtt parsing error for device #305
Comments
Hi @bpsphere The string in the log you have pasted is an invalid JSON, the quotes character is missing before the status property. You can try it out in validators like that https://jsonformatter.curiousconcept.com/# |
@bpsphere I'm closing the issue since the failure seems to be due to an invalid JSON payload. If you still have that error after fixing the payload, please reopen it. |
hi @haimkastner , Thank you highlighting the JSON error. Sorry it was typo. The error is consistent with the correct payload. Here are some snap shots of status update attempts. Would appreciate if you could let me know what I am doing wrong. casanet_server is not set for boot, purely running from the shell. |
ok, I will soon grab some time to reproduce it in my environment too. |
Thank you so much, appreciate you effort |
I have a temperature sensor which I want to set a value.
The server is running on Rpi-5
Dash Looks like this
And the error message looks like this
[8/30/2024, 14:49:04] [error] [MqttHandler.onMessage] Parsing mqtt message for casanet/state/mXILTy:{"temperatureSensor":{status":"on","temperature":20}} failed, error: {}
The text was updated successfully, but these errors were encountered: