50 Commits
Author SHA1 Message Date
matzman 71f58713fc . 2020-12-28 22:45:53 +01:00
matzman 53b8d957cd . 2020-12-28 01:53:21 +01:00
matzman 53a29b138e Improved MySensors-Worker. 2020-12-28 00:01:34 +01:00
matzman 20abf8e8c0 . 2020-07-09 21:11:52 +02:00
zewelor 8dfda3080d Add bluepy to mithermoter requirements 2019-06-28 10:07:16 +02:00
Marcel Hoppe 5ccf09a710 add payload type for thermostat auto config (#76) 2019-06-26 19:45:37 +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
Yoda-x 01b30f6c4a Support for Inkbird BLE BBQ Thermometer (#72)
* first version for inkbird ibbq

* fix codestyle and move to 2-spaces-indents

* battery level and online status
all data as single mqtt message
2019-05-25 15:41:28 +02:00
westenberg ee6e7ee8b8 Added toothbrush worker with Home Assistant support (#67)
The worker has dicts with possible brush states, modes and sectors
It sends a one time retained Home Assistant autoconfig message to automatically setup a sensor with the correct topics
It sends the state in a state topic and other attributes in an attribute topic
2019-05-02 17:51:14 +02:00
zewelor 6561c2cb60 Fix SCAN_TIMEOUT consts 2019-04-16 21:32:28 +02:00
zewelor a0f9ef4da0 Fix mysensors serial import 2019-03-14 23:46:01 +01:00
Dennis Keitzel a655504f78 Make command timeout for workers configurable (#62) 2019-03-10 09:51:50 +01:00
AS137430 bc681fd85f Added support for Switchbot (#60)
* Added worker for Switchbot

* config.yaml example for switchbot
2019-03-07 17:15:53 +01:00
Dennis Keitzel 68dfdbcbf5 Update dependencies to include btlewrap 0.0.4 (#58) 2019-03-03 20:55:02 +01: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
Adam Strojek c6a068f811 blescanmulti - improve scanners options (#56)
* Helpful utils that will allow to reduce common code

* Update config with new options for blescanmulti

* Default values for blescanmulti if not provided by config file

* Allow to configure scan behavior

* Allow to configure returned payload

* Initial version of saving last state

* Support class that will remember last status of device

* Add docs for available options

* Move scanner to instance, this will prevent recreating it each time it is required to scan

* Use items instead of values. We require here to have pair of key and value, not just value

* Make sure that mac address is in lower case

* Optimize searching for devices, use hash maps

* Remove unused method

* Because YAML is already doing some conversions this change will allow to always get proper value

* Fix issue. Mac address and name was provided in wrong order

* Use worker to format topic

* Send also RSSI info
2019-03-03 09:12:00 +01:00
felix schwenzel 0fbbc50990 Add worker for Oral-B connected toothbrush (#55)
* create toothbrush.py

add oral-b connected toothbrushs (based on https://github.com/rfaelens/domotica/blob/master/mqtt-toothbrush.py, see https://community.home-assistant.io/t/oral-b-bluetooth-connected-toothbrush/)

* add configuration example for oral-b toothbrush

* Update README.md
2019-03-01 11:07:37 +01:00
Dennis Keitzel ed4fc26f74 Do not clear cache for each attribute (#52) 2019-02-18 12:45:15 +01:00
zewelor 83d84e27de Add egg to linak desk lib 2019-01-28 22:11:28 +01:00
zewelor e9d79cca66 Handle bluetooth connection exception 2019-01-28 21:55:50 +01:00
Elvio Sebastianelli 345b200113 New worker: ble devices scanner (#46)
* Worker for ble devices scanning

Added a worker that scan for ble devices and notify, by mqtt, presence of mac addresses and rssi.

Configuration section example:

....
workers:
    blescanmulti:
      args:
        devices:
          nut: xx:xx:xx:xx:xx:xx
          ionic: xx:xx:xx:xx:xx:xx
        topic_prefix: blescan
      update_interval: 60
...

* Update README.md 

blescanmulti worker added

* Update config.yaml.example

Added configuration section for blescanmulti worker

* Converted blescanmulti.py indentation to 2 spaces

* changed mqtt message syntax

* Update README.md

Added contributor repos url

* Update .gitignore

Removed .vscode/

* Delete settings.json

* Changes by pull request review 11/01/2019
 On branch master
	modified:   workers/blescanmulti.py
2019-01-11 22:02:49 +01:00
Dennis Keitzel 2e27c9a7e7 Do not clear cache for each attribute (#38) 2019-01-07 16:08:58 +01:00
zewelor 460204ed72 Update thermostat worker to reflect new eq3 ha changes (#36) 2018-12-20 16:25:27 +01:00
zewelor 1dad41cbc4 Revert wrong topic_prefix handling 2018-12-19 11:53:44 +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
zewelor 4e187b6820 Fix miflora worker requirements and fix pip version check 2018-10-05 22:26:54 +02:00
Marcel Hoppe c2be780b75 Disable the cache_timeout in the MiFloraPoller (#25) 2018-10-04 09:52:24 +02:00
zewelor 6bfe0fb772 Return more values from eq3 thermostat 2018-10-02 16:12:12 +02:00
zewelor e6d8425d4a Bind heat to boost mode and fix away mode setting 2018-10-02 15:36:58 +02:00
zewelor 0aee261d29 Specificy linak git commit 2018-09-30 17:12:34 +02:00
zewelor 1187855f97 Use miflora from GH 2018-09-22 11:47:53 +02:00
Marcel Hoppe c2946d5016 updating to mithermometer 0.1.2 and disable cache (#20) 2018-08-11 14:18:14 +02: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 774883e7a2 Fix miflora import 2018-05-14 19:19:40 +02:00
Benji 4fe1ed8518 Add initial MiFlora worker 2018-05-10 00:53:35 +02:00
zewelor d0d08ae4b0 Add linak desk worker 2018-04-27 02:21:00 +02:00
zewelor e670451977 Add timeouts per thermostat device 2018-01-18 08:40:52 +01:00
zewelor 7e5ed968b6 Cleanups and add support for mysensors 2018-01-14 12:14:55 +01:00
zewelor b32897f949 Add support for mqtt birth message 2017-12-06 10:14:43 +01:00
zewelor 2295cdc1df Fix miscale worker 2017-11-29 10:35:30 +01:00
zewelor 1bc7b1f92b Fix thermostat commands 2017-11-29 10:23:21 +01:00
zewelor ddc224f389 Fix installing requirements 2017-11-29 09:29:06 +01:00
zewelor 6a1c7b0181 Support for commands handling 2017-11-26 21:57:12 +01:00
zewelor d463345707 Add basic cron support 2017-11-24 07:30:42 +01:00
zewelor 939d1e66c6 Introduce mqttMessage object 2017-11-23 22:16:29 +01:00
zewelor 7b8e1dad12 Add comment about bluepy setup 2017-11-23 22:05:11 +01:00
zewelor 3195ad1f20 Add xiaomi scale + dynamic requirements support 2017-11-23 22:02:41 +01:00
zewelor 23dc19e955 Add mode and away status messages 2017-11-22 23:36:10 +01:00
zewelor e384a19eff Initial commit 2017-11-22 17:28:01 +01:00