-
Notifications
You must be signed in to change notification settings - Fork 819
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
Mi Flora consistent MQTT protocol #201
Comments
#201 and put defines for other sub subject names
@torwag could you test the changes from master and say me if ok for you? |
Looks good to me, flashed a second board with the new code and it seems to work as desired. For releasing, it might be a good idea to publish both statements (old way and new way) for the next release and announce in the changelog, that the old way will be deprecated with the next release. This gives people time to adust their code to the new system. Thanks for the changes. |
Yes trc is a debug command that can be deactivated in user config. It enbles to see the traces on the serial monitor. |
#201 and comment the mac + rssi behaviour will be put per default on next version
I just noticed that the RSSI value is send by e.g. :
home/BTtoMQTT/445F3666113E -085
whereas all other data is send by adding a subtopic e.g.:
home/BTtoMQTT/445F3666113E/temp 20.0
home/BTtoMQTT/445F3666113E/moi 10
home/BTtoMQTT/445F3666113E/lux 500
This makes it unnecessary difficult to parse the MQTT topic, as it is not consistent.
If the RSSI value will be send in the same way e.g.:
home/BTtoMQTT/445F3666113E/rssi -085
parsing would be easier and the meaning of the payload would be more clear to beginners.
The text was updated successfully, but these errors were encountered: