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

User friendly config #56

Open skatun opened 6 years ago

skatun commented 6 years ago

This is a openhab spesific suggestion: To make it easier for the average user the config.ini file could be located in the conf/scripts folder of the openhab enviroment. So when you open visual studio you can edit the config.ini as well as miflora.items without looking around in the different samba drives for it.

If you wanna take it even one step further, we could generate the config.ini file based on the mqtt.cfg(there the broker is defined..) and use tags on the miflora.items for the mac addresses(or my favourite define miflora.things where we define the mac address)