Commit Graph

25 Commits

Author SHA1 Message Date
William Hughes 4a0d7f4022 Add support for creating sensor entities in HomeAssistant
This uses the MQTT Discovery component in HomeAssistant to create
sensors for each property of each Mi Flora device

See https://home-assistant.io/docs/mqtt/discovery/ for details
2018-01-09 19:20:07 +01:00
William Hughes c6fdee7819 Add an option to enable MQTT-over-TLS 2018-01-09 19:14:03 +01:00
Sebastian Raff c275a279f4 Add reporting mode mqtt-smarthome (#7)
* reporting_method = mqtt-smarthome

* changes as discussed
2017-09-12 14:01:57 +02:00
nohum c57ae3d641 Support selection of bluetooth adapter 2017-08-31 22:29:31 +02:00
Thomas Dietrich d2f4e742a3 Reproducibly sort plants and parameters 2017-08-30 19:29:28 +02:00
Thomas Dietrich 8213dd3c29 Add argparse, improve clean names function 2017-08-28 17:17:58 +02:00
Thomas Dietrich 69d7852d16 Move config to dist file to allow pull without conflict 2017-08-10 19:40:32 +02:00
Thomas Dietrich ef51a0fcad Add stats for success rate of sensor pollers 2017-08-08 18:02:20 +02:00
Thomas Dietrich 7acac9b6c4 Remove warning about skipping plants to from README 2017-08-08 15:48:18 +02:00
Thomas Dietrich 0a62b0c411 Do not skip because of initial connection fail 2017-08-08 14:50:20 +02:00
Thomas Dietrich 1247e98c8a Fix "not UTF-8 clean" sd_notify message 2017-08-04 15:41:06 +02:00
Thomas Dietrich 7d464541cc Clean up README and config 2017-08-02 14:41:45 +02:00
Thomas Dietrich 6641e96a56 Add Mi params metadata, improve OH function 2017-08-02 02:11:43 +02:00
Thomas Dietrich b3bbab3df5
Add and use print_line function 2017-08-01 20:26:09 +02:00
Thomas Dietrich 76a5963ff9 Fix poller error bug, improve logging 2017-07-30 23:54:05 +02:00
Thomas Dietrich 569f2db419 Introduce pretty name 2017-07-30 19:15:33 +02:00
Thomas Dietrich 199f68921e Add flores_to_openhab_items function 2017-07-30 19:13:57 +02:00
Thomas Dietrich 26c0fde7fa Add python2 detection for the poor, bugfix 2017-07-30 17:59:30 +02:00
Thomas Dietrich d2a4a9f886 Mention connection issues in README 2017-07-28 14:04:55 +02:00
Thomas Dietrich 8569dd498a Allow location info in config, check MAC 2017-07-28 03:06:33 +02:00
Thomas Dietrich 37e90ec1c9 Support homie convention, first draft 2017-07-28 02:39:20 +02:00
Thomas Dietrich 6a7a60cba9 Introduce flora data dict before poller 2017-07-27 22:39:49 +02:00
Thomas Dietrich 7e12539166 Activate LWT for mqtt-json mode 2017-07-27 22:11:56 +02:00
Thomas Dietrich 1b31d2aeb2 Ensure poller data retrieval 2017-07-27 21:51:38 +02:00
Thomas Dietrich baf7935484 Rename main script, update README 2017-07-27 01:20:04 +02:00
Renamed from mqtt-flora.py (Browse further)