Commit Graph

54 Commits

Author SHA1 Message Date
Thomas Dietrich a7a474b196
Update README.md 2018-01-09 19:23:22 +01:00
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 7c117ef447 Add mqtt-smarthome to readme, add authors, add config comment for base_topic (#9)
* reporting_method = mqtt-smarthome

* changes as discussed

* add mqtt-smarthome to readme, add authors, add config comment for base_topic
2017-10-24 19:10:13 +02:00
Thomas Dietrich 7bf07b6ffc Shift to stable miflora library version for now 2017-10-16 14:36:46 +02: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 c3493aeeda Add gen-openhab info to README 2017-08-30 19:34:40 +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 0774871d53 Fix copy command in README 2017-08-26 20:25:55 +02:00
Thomas Dietrich 9754ff8f68 Cleanup README 2017-08-10 19:46:23 +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 fdbc47384f Switch miflora library to latest git revision 2017-08-10 18:23:45 +02:00
Thomas Dietrich 20628c421b Correct Aliexpress link 2017-08-10 18:04:52 +02:00
Thomas Dietrich 5c1dc642af Replace demo.gif by updated version 2017-08-08 20:46:43 +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 3c88826562 Append openHAB items example to README 2017-08-05 17:57:40 +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 9e6bc431e1 Fix spelling errors in README.md 2017-07-28 14:59:38 +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 373ac191aa Add bluez and remove syslog as requirement 2017-07-27 01:42:42 +02:00
Thomas Dietrich baf7935484 Rename main script, update README 2017-07-27 01:20:04 +02:00
Thomas Dietrich 4bef99fc31 Add MQTT announcement message 2017-07-27 00:49:57 +02:00
Thomas Dietrich b242dac158 Pipe stderr to journal in systemd service 2017-07-27 00:22:52 +02:00
Thomas Dietrich b4dcef1d00 Add conection check, sd_notify messages, update req 2017-07-27 00:21:15 +02:00
Thomas Dietrich 0914cf8b44 Add systemd service, sdnotify and local config 2017-07-26 02:45:17 +02:00
Thomas Dietrich 2fe2f9e579 Adapt cache timeout to sleep period, cleanup 2017-07-26 00:19:26 +02:00
Thomas Dietrich 1ae67469b6 Add newest firmware version and data to README 2017-07-25 23:09:05 +02:00
Thomas Dietrich f0c6d73eb4 Add mqttless stdout json reporting_mode 2017-07-25 18:26:08 +02:00
Thomas Dietrich 97a5edeaf8 Describe config file, comment everything 2017-07-25 18:26:08 +02:00
Thomas Dietrich ff47c27a57 Fix no termination on broker connection error 2017-07-25 18:26:08 +02:00
Thomas Dietrich e81bd0b5a6 Fix outside working directory bug 2017-07-25 18:26:08 +02:00
Thomas Dietrich a3aa50864d Add scanning for sensors instructions to README 2017-07-25 18:26:08 +02:00
Thomas Dietrich b8042ba98a Update README.md 2017-07-25 18:26:08 +02:00
Thomas Dietrich 42803693c4 Add demo.gif 2017-07-25 18:26:08 +02:00