Commit graph

12 commits

Author SHA1 Message Date
Victor Hagelbäck
436ed6b759 Split device communication and BLE handling into separate files 2021-02-20 08:33:42 +01:00
Victor Hagelbäck
53e67fb487 Break out and structure creation of BLE command payloads 2021-02-20 08:33:31 +01:00
Victor
99f073ba84
Fix error subtracting time zone diff to time set command 2021-02-18 21:38:11 +01:00
Victor Hagelbäck
fa0ba6be31 Config setting to opt-in to setting Plejd clock time 2021-02-18 21:17:29 +01:00
Victor Hagelbäck
74716557c8 Set Plejd time only hourly when explicityly requesting 2021-02-18 20:21:57 +01:00
Victor Hagelbäck
12ec9a1b7c Implement time parsing and periodic time updating
- Relates to #130
2021-02-18 10:47:33 +01:00
Victor Hagelbäck
d133efe228 Fix type-o in writeFailed error handling 2021-02-11 22:45:13 +01:00
Victor Hagelbäck
ef7a5086a1 Handle when scene and device have the same Id
- Catch emitted errors in Mqtt
2021-02-10 10:10:28 +01:00
Victor Hagelbäck
dca491bf00 Lifecycle improvement including catching dbus-next error events
- Avoid UnhandledPromiseRejectionWarnings from dbus-next
- Improve retry logic
2021-02-09 19:20:09 +01:00
Victor Hagelbäck
7c0fc24bc6 Slight restructure of inspectDevicesDiscovered method to avoid scattered returns 2021-02-08 20:08:40 +01:00
Victor Hagelbäck
f93d3854d0 Improve BLE resilience 2021-02-08 19:54:24 +01:00
Victor Hagelbäck
40f79df37e Rename PlejdBLE to PlejdBLEHandler 2021-02-08 07:39:53 +01:00
Renamed from plejd/PlejdBLE.js (Browse further)