23 Commits
Author SHA1 Message Date
matzman 20abf8e8c0 . 2020-07-09 21:11:52 +02:00
Marcel Hoppe 8fbf3540bd Discovery (#74)
* add support for Home Assistants MQTT discovery

* add format_topic a flexible separator

* add mqtt discovery for miflora

* add mqtt discovery for mithermometer

* add mqtt discovery for thermostat

* add unit to illuminance in miflora

* switch to 'away_mode_command_topic' instead of 'away_command_topic'

* revert changing the date format

* add mac to ientifiers and change the id generation

* add mac to ientifiers and change the id generation on thermostat

* add mac to ientifiers and change the id generation for mithermometer
2019-06-21 12:25:27 +02:00
zewelor 074a7837d8 Improve mqtt lwt on reconnect 2019-04-19 18:16:02 +02:00
Dennis Keitzel c9a634870f Improved logging mechanism (and a few minor goodies) (#54)
* Improved logging mechanism

* Allow for suppression of any errors regarding failed device updates
2019-03-03 19:46:38 +01:00
zewelor 54ae51814e Fix lwt topic with global prefix (#44) 2019-01-07 12:27:35 +01:00
zewelor 315c317b99 Add availbility topic support (#42) 2018-12-31 07:21:33 +01:00
zewelor 6faf7ec141 Test mqtt topic subscription problem (#41) 2018-12-31 07:19:52 +01:00
zewelor 6496e88d7b Respect global topic prefix when debug logging topic subscription 2018-12-23 09:48:01 +01:00
unconfigured f9f95a756b global topic_prefix fix try 2 2018-12-20 12:33:29 +01:00
Dennis Keitzel 0252aac8ae Use a single mqtt connection for publish and subscribe operations instead of separate one-shot connections for each update (#35) 2018-12-19 10:36:02 +01:00
zewelor 03bb93e2eb Fix global topic prefix handling (#32) 2018-12-19 10:31:17 +01:00
Friedo a5a4797a1d Fix mqtt prefix handling on thermostat worker (#30) 2018-11-28 15:52:52 +01:00
Benji 7a3fedac36 Oops, that comment shouldn't be there 2018-11-06 19:57:41 +01:00
Benji 2aaff0bb41 add configurable client_id 2018-11-06 19:53:17 +01:00
Marcel Hoppe 8ea82f14fd support for xiaomi aqara thermometer and few other fixes (#18)
* import pip._internal.main to work with pip version > 10

* make auth optional and add support for an optional port

* add worker for xiaomi aqara thermometer

* add support for optional global publishing topic_prefix

* Update config.yaml.example
2018-08-06 16:05:59 +02:00
zewelor 6f64df929a Small mqtt refactor 2018-04-02 21:06:00 +02:00
zewelor 06cfca60c1 Fix to keep mqtt client in memory 2018-04-02 11:37:27 +02:00
zewelor b32897f949 Add support for mqtt birth message 2017-12-06 10:14:43 +01:00
zewelor 6a1c7b0181 Support for commands handling 2017-11-26 21:57:12 +01:00
zewelor 09d1332b92 Add logger and better exception handling 2017-11-24 08:53:21 +01:00
zewelor 939d1e66c6 Introduce mqttMessage object 2017-11-23 22:16:29 +01:00
zewelor 1fa48fc778 Cleanups and improvements 2017-11-22 21:59:47 +01:00
zewelor e384a19eff Initial commit 2017-11-22 17:28:01 +01:00