Closed rucanunes closed 3 years ago
This plugin makes no requests, it listens for BLE advertising packages emitted by the sensor. It's not possible to control the frequency of these packages. The setting updateInterval
that you tried causes the plugin to ignore packages within the specified interval but it will still receive them but not update homekit. If you're experiencing slowness I would turn off the debug logging or buy a beefier device.
Thank you!
Hi,
My LYWSD03MMC is updating every second despite config... This causes other plugins to slow down.
My config:
{ "bridge": { "name": "Homebridge", "username": "E4:5F:01:xx:xx:xx", "port": 51737, "pin": "176-XX-XXX", "advertiser": "ciao", "bind": [ "eth0" ] }, "accessories": [ { "name": "Temperatura", "address": "A4:C1:38:xx:xx:xx", "temperatureName": "Temperature", "humidityName": "Humidade", "fakeGatoEnabled": false, "timeout": 15, "forceDiscovering": true, "forceDiscoveringDelay": 2500, "updateInterval": 120, "disableBatteryLevel": false, "lowBattery": 10, "temperatureOffset": 0, "humidityOffset": 0, "_bridge": { "username": "0E:3A:F8:xx:xx:xx", "port": 36670 }, "accessory": "Hygrotermograph" },
Log:
`[23/02/2021, 14:02:43] [Temperatura] [a4:c1:38:xx:xx:xx] Battery level: 65% [23/02/2021, 14:02:45] [Temperatura] [a4:c1:38:xx:xx:xx] Discovered peripheral Id: xxxxxxxxxxxx LocalName: ATC_461E07 rssi: -68 serviceData: 50305b053c071e4638c1a40a100141000000
[23/02/2021, 14:02:45] [Temperatura] [a4:c1:38:xx:xx:xx] Battery level: 65% [23/02/2021, 14:02:49] [Temperatura] [a4:c1:38:xx:xx:xx] Discovered peripheral Id: xxxxxxxxxxxx LocalName: ATC_461E07 rssi: -69 serviceData: 50305b053c071e4638c1a40a100141000000 [23/02/2021, 14:02:49] [Temperatura] [a4:c1:xx:xx:xx] Battery level: 65% [23/02/2021, 14:02:51] [Temperatura] [a4:c1:38:xx:xx:xx] Discovered peripheral Id: xxxxxxxxxxxx LocalName: ATC_461E07 rssi: -65 serviceData: 50305b053c071e4638c1a40a100141000000 [23/02/2021, 14:02:51] [Temperatura] [a4:c1:38:xx:xx:xx] Battery level: 65% [23/02/2021, 14:02:53] [Temperatura] [a4:c1:38:xx:xx:xx] Discovered peripheral Id: xxxxxxxxxxxx LocalName: ATC_461E07 rssi: -71 serviceData: 50305b053c071e4638c1a40a100141000000 [23/02/2021, 14:02:53] [Temperatura] [a4:c1:38:xx:xx:xx] Battery level: 65% [23/02/2021, 14:02:55] [Temperatura] [a4:c1:38:xx:xx:xx] Discovered peripheral Id: xxxxxxxxxxxx LocalName: ATC_461E07 rssi: -67 serviceData: 50305b053c071e4638c1a40a100141000000 [23/02/2021, 14:02:55] [Temperatura] [a4:c1:38:xx:xx:xxBattery level: 65% [23/02/2021, 14:03:00] [Temperatura] [a4:c1:38:xx:xx:xx] Discovered peripheral Id: xxxxxxxxxxxx LocalName: ATC_461E07 rssi: -70 serviceData: 50305b053c071e4638c1a40a100141000000 [23/02/2021, 14:03:00] [Temperatura] [a4:c1:38:xx:xx:xx] Battery level: 65% [23/02/2021, 14:03:02] [Temperatura] [a4:c1:38:xx:xx:xx] Discovered peripheral Id: xxxxxxxxxxxx LocalName: ATC_461E07 rssi: -69 serviceData: 50305b053c071e4638c1a40a100141000000 [23/02/2021, 14:03:02] [Temperatura] [a4:c1:38:xx:xx:xx] Battery level: 65% [23/02/2021, 14:03:06] [Temperatura] [a4:c1:38:xx:xx:xx] Discovered peripheral Id: xxxxxxxxxxxx LocalName: ATC_461E07 rssi: -69 serviceData: 50305b053c071e4638c1a40a100141000000 [23/02/2021, 14:03:06] [Temperatura] [a4:c1:38:xx:xx:xx] Battery level: 65% [23/02/2021, 14:03:12] [Temperatura] [a4:c1:38:xx:xx:xx] Discovered peripheral Id: xxxxxxxxxxxx LocalName: ATC_461E07 rssi: -66 serviceData: 50305b053c071e4638c1a40a100141000000 [23/02/2021, 14:03:12] [Temperatura] [a4:c1:38:xx:xx:xx] Battery level: 65% [23/02/2021, 14:03:14] [Temperatura] [a4:c1:38:xx:xx:xx] Discovered peripheral Id: xxxxxxxxxxxx LocalName: ATC_461E07 rssi: -66 serviceData: 50305b053c071e4638c1a40a100141000000 [23/02/2021, 14:03:14] [Temperatura] [a4:c1:38:xx:xx:xx] Battery level: 65% [23/02/2021, 14:03:16] [Temperatura] [a4:c1:38:xx:xx:xx] Discovered peripheral Id: xxxxxxxxxxxx LocalName: ATC_461E07 rssi: -69 serviceData: 50305b053c071e4638c1a40a100141000000 [23/02/2021, 14:03:16] [Temperatura] [a4:c1:38:xx:xx:xx] Battery level: 65% [23/02/2021, 14:03:17] [Temperatura] [a4:c1:38:xx:xx:xx] Discovered peripheral Id: xxxxxxxxxxxx LocalName: ATC_461E07 rssi: -69 serviceData: 50305b053c071e4638c1a40a100141000000 [23/02/2021, 14:03:17] [Temperatura] [a4:c1:38:xx:xx:xx] Battery level: 65% [23/02/2021, 14:03:21] [Temperatura] [a4:c1:38:xx:xx:xx] Discovered peripheral Id: xxxxxxxxxxxx LocalName: ATC_461E07 rssi: -67 serviceData: 50305b053d071e4638c1a40d1004ae00a802 [23/02/2021, 14:03:21] [Temperatura] [a4:c1:38:xx:xx:xx] Temperature: 17.4C [23/02/2021, 14:03:21] [Temperatura] [a4:c1:38:xx:xx:xx] Humidity: 68% [23/02/2021, 14:03:23] [Temperatura] [a4:c1:38:xx:xx:xx] Discovered peripheral Id: xxxxxxxxxxxx LocalName: ATC_461E07 rssi: -67 serviceData: 50305b053d071e4638c1a40d1004ae00a802 [23/02/2021, 14:03:23] [Temperatura] [a4:c1:38:xx:xx:xx] Temperature: 17.4C [23/02/2021, 14:03:23] [Temperatura] [a4:c1:38:xx:xx:xx] Humidity: 68% [23/02/2021, 14:03:29] [Temperatura] [a4:c1:38:xx:xx:xx] Discovered peripheral Id: xxxxxxxxxxxx LocalName: ATC_461E07 rssi: -70 serviceData: 50305b053d071e4638c1a40d1004ae00a802 [23/02/2021, 14:03:29] [Temperatura] [a4:c1:38:xx:xx:xx] Temperature: 17.4C [23/02/2021, 14:03:29] [Temperatura] [a4:c1:38:xx:xx:xx] Humidity: 68%`