Commit Graph
96 Commits
Author SHA1 Message Date
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
Benji 33580ddd6b Merge pull request #37 from unconfigured/master
Fix global mqtt_prefix try 2
2018-12-20 13:04:57 +01:00
unconfigured f9f95a756b global topic_prefix fix try 2 2018-12-20 12:33:29 +01:00
unconfigured fabc48784b Merge remote-tracking branch 'upstream/master' 2018-12-20 10:56:14 +01:00
zewelor 1dad41cbc4 Revert wrong topic_prefix handling 2018-12-19 11:53:44 +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
unconfigured 8770c625cc Fix mqtt prefix handling on thermostat worker 2018-11-28 11:53:06 +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
Benji addc0fcb54 Merge pull request #27 from hobbypunk90/patch-2
change greater than to greater equals version 10
2018-10-06 17:08:47 +02:00
Marcel Hoppe 2f7bab8028 change greater than to greater equals version 10 2018-10-06 15:53:26 +02: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
Marcel Hoppe f0f98c3574 add a switch for pip versions < 10.0 (#26)
fixes #24
2018-10-04 03:56:16 +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
zewelor bd94492c20 Update README.md 2018-09-12 07:30:07 +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
Hervé Beraud 8d0e4f5a0e fix CVE-2017-2809 - code injection interpreted by yaml loader (#16) 2018-06-30 17:47:08 +02:00