119 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 28ee17bf16 add docker support (#75)
* add docker support

* exit with gateway status on debug mode

* Remove timezone variable

* remove copying sample config
2019-06-26 08:40:34 +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
zewelor e11f761c6e Update README.md 2019-05-04 23:10:17 +02:00
Pascal Deneaux a573969608 Update README.md (#69)
need libglib2.0-dev for bluepy
2019-05-03 20:47:17 +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 074a7837d8 Improve mqtt lwt on reconnect 2019-04-19 18:16:02 +02:00
zewelor 6561c2cb60 Fix SCAN_TIMEOUT consts 2019-04-16 21:32:28 +02:00
zewelor d8b6736b06 Update README.md 2019-03-23 11:41:08 +01:00
zewelor 220fef47f0 Update README.md 2019-03-23 11:39:45 +01:00
zewelor b6048e6d39 Update README.md 2019-03-23 11:37:47 +01: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
Benji 23fea388e6 Merge pull request #57 from zewelor/add_example_worker_to_readme
Add example worker to readme
2019-03-05 00:32:58 +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
zewelor 41494ce90d Add example worker to readme 2019-03-03 15:36:58 +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
Benji 716ea4578c Reference ble toothbrushes in readme 2019-03-01 11:21:52 +01:00
zewelor df207447b6 Update README.md 2019-03-01 11:14:10 +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 a477c0b3cb Improve config loading (#51) 2019-02-14 07:29:43 +01:00
zewelor 0fe8234173 Test force utc timezone (#50) 2019-02-12 07:01:20 +01:00
Ben Dews e089d53d16 Feature: dynamic update intervals (#49)
* Updated workers_manager with ability to dynamically set update_interval

* Updated README file with documentation for dynamic update intervals
2019-02-09 09:17:25 +01:00
zewelor dabdccc47e Fix minimum python version requirement 2019-02-03 21:55:43 +01:00
zewelor 829691f541 Update config.yaml.example 2019-01-30 20:04:38 +01:00
zewelor cff6d1940f Update README.md 2019-01-30 20:03:54 +01:00
zewelor 0ba2832064 Add quiet option 2019-01-29 23:12:38 +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 54ae51814e Fix lwt topic with global prefix (#44) 2019-01-07 12:27:35 +01:00
Benji 591f643c0c Create PULL_REQUEST_TEMPLATE.md 2018-12-31 13:00:20 +01:00
Benji 677788a62a Update issue templates 2018-12-31 12:56:14 +01:00
Benji 8f69a44576 Create LICENSE 2018-12-31 12:52:20 +01:00
Benji 00c2c7ad34 Create CODE_OF_CONDUCT.md 2018-12-31 12:49:00 +01:00
Benji f21ff959fc Create CONTRIBUTING.md 2018-12-31 12:48:03 +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
zewelor 460204ed72 Update thermostat worker to reflect new eq3 ha changes (#36) 2018-12-20 16:25:27 +01:00