aqualx
ea3065342e
* catch of unhandled crashes from underlying BLE wrappers
2019-02-07 14:57:35 +02:00
aqualx
f30d397cd8
* Fixes for some crashes
...
* Minor fixes
2019-02-01 11:45:49 +02:00
aqualx
c96b1bc5b1
Fixed crash due to unhandled bluepy.btle.BTLEDisconnectError exception
2019-01-31 12:14:18 +02:00
aqualx
3a7842eee9
Merge branch 'mitempbt' of github.com:aqualx/miflora-mqtt-daemon into mitempbt
2019-01-31 00:37:47 +02:00
aqualx
51ad7d6320
* added separate setting "period" per device type in config.ini
...
* switched library 'Mijia Bluetooth Temperature Smart Humidity' from mitemp_bt to mithermometer
* fixed schema generation for openHAB
* set 'retain=True' for mqtt messages for homeassistant-mqtt
* other minor fixes
2019-01-31 00:15:19 +02:00
Oleksandr Kurbatov
aed49afe55
Fixed MAC address check for mitemp_bt sensors
2019-01-29 22:01:31 +02:00
aqualx
4c41adf740
minor changes
2019-01-29 00:22:01 +02:00
aqualx
ddb1b8b5eb
Added support for 'Xiaomi Mijia Smart Temperature and Humidity Sensor'
2019-01-28 23:44:58 +02:00
aqualx
d60071f7aa
Added warning when reporting_mode set to 'wirenboard-mqtt' and base_topic defined in configuration file.
2019-01-15 13:51:58 +02:00
aqualx
affeac7b80
Added support for Wiren Board MQTT Conventions
2019-01-14 00:40:02 +02:00
Artur Neumann
58aeb016fc
Add support for ThingsBoard ( #63 )
...
* posibility to upload MQTT data to thingsboard
* use reconnect for thingsboard-json
* update readme and config example
* Update README.md
* Update config.ini.dist
* Update config.ini.dist
2018-12-27 10:53:47 +01:00
LarsAC
b795a42c50
Add Dockerfile and docker usage details ( #43 )
...
* Added config dir to simplify docker handling
* Added a Dockerfile
* Implement suggested fix for issue #39
* Improved documentation
* Added documentation on homeasssistant-mqtt reporting mode
* Use local directory as default for config
* Update README.md
2018-06-17 20:03:15 +02:00
William Hughes
4888937f56
Stop the daemon from crashing if connection to a MiFlora device fails
...
Fixes #39
2018-06-17 19:58:03 +02:00
William Hughes
59bb336042
Fix HomeAssistant autodiscovery not working with HomeAssistant v0.69+
...
Fixes #42
2018-06-17 19:50:50 +02:00
Alex Barcelo
02d4aaaee4
Fix incorrect use of `get` for a boolean field ( #46 )
...
Current implementation was failing if the config.ini included an explicit `false` --it was read as a string and thus a `'false'` as a string was `get`ted and it was considered `True`.
The `enabled` flag of the daemon was correctly using `getboolean` already.
2018-06-17 19:47:29 +02:00
muhkuhgh
20aafd324f
Switch backend imports to miflora lib v0.4 ( #37 )
2018-04-21 18:52:52 +02:00
Norbert Bartels
16c7bf1067
Switch over to miflora lib v0.3 ( #31 )
2018-04-01 18:18:36 +02: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
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