ThomDietrich / miflora-mqtt-daemon

Linux service to collect and transfer Xiaomi Mi Flora plant sensor data via MQTT to your smart home system, with cluster support 🌱🌼πŸ₯€πŸ‘🌳
MIT License
610 stars 140 forks source link

case sensitivity of mqtt topics #81

Open freol35241 opened 5 years ago

freol35241 commented 5 years ago

Hi, I am having some trouble with mqtt topics being case sensitive. https://github.com/ThomDietrich/miflora-mqtt-daemon/blob/master/miflora-mqtt-daemon.py#L141

This line makes the base topic all lower case. Any particular reason for this?

ThomDietrich commented 5 years ago

Not at all. MQTT is case-sensitive and so should the daemon be. Would you like to propose a PR?