swevictor
|
9146f9c7d3
|
Lint and code style fixes
|
2023-10-06 14:11:23 +02:00 |
|
swevictor
|
1f2c2df5ca
|
Improve handling of too short BLE time update messages
|
2023-10-06 14:02:04 +02:00 |
|
swevictor
|
75306827ae
|
Improve user-facing logging and BLE id handling in device registry and PlejdBLEHandler
- Resolves #265
|
2023-10-06 11:57:09 +02:00 |
|
swevictor
|
cacd9fc4ba
|
Linting of all fixes
|
2023-08-16 15:32:53 +02:00 |
|
faanskit
|
c8890b8cd7
|
Updates based om comments from @SweVictor
|
2021-05-06 07:58:06 +02:00 |
|
faanskit
|
531aa8ee3e
|
Fixed errors from npm run lint:fix
|
2021-05-05 19:34:34 +02:00 |
|
faanskit
|
78e1616b4e
|
Updated to match the latest developer branch and modified according to feedback from review.
|
2021-05-05 19:02:10 +02:00 |
|
faanskit
|
5a21290364
|
Added support for WRT-10 as a Device Automation
|
2021-05-01 19:41:29 +02:00 |
|
Victor Hagelbäck
|
7c8373d2c7
|
Update mqtt package to v4
- Minor updates to other packages
- Relates to #181
|
2021-04-07 10:26:33 +02:00 |
|
Victor Hagelbäck
|
464c17d920
|
Fixes to scene handling and device unique id
|
2021-04-01 13:19:02 +02:00 |
|
Victor Hagelbäck
|
dbc0e02f11
|
Minor fixes
|
2021-03-31 23:28:25 +02:00 |
|
Victor Hagelbäck
|
9a76a3ba50
|
Refactor code to use plejd outputs rather than devices as main entity
|
2021-03-31 20:07:15 +02:00 |
|
Victor Hagelbäck
|
764a3ca223
|
Add typings and jsdoc comments to improve developer experience
|
2021-03-29 12:50:59 +02:00 |
|
Victor Hagelbäck
|
f663cf4990
|
Update config for version 0.7.0
|
2021-03-23 13:45:12 +01:00 |
|
Victor Hagelbäck
|
517ab75e8e
|
Invoke power cycling of the BLE adapter every 10th reconnect attempt
|
2021-02-28 10:32:17 +01:00 |
|
Victor Hagelbäck
|
042447d1a8
|
Stop recreating the dbus.systemBus on retries (old instances are not disposed correctly by underlying code)
|
2021-02-28 10:32:17 +01:00 |
|
Victor Hagelbäck
|
e7b8a5a82a
|
Stop write queue when BLE is not connected to avoid loosing commands
- Set max retry count to 10 since BLE loop will set channel to disconnected after 5 retries (or known unrecoverable errors)
|
2021-02-28 10:32:17 +01:00 |
|
Victor Hagelbäck
|
4591af57b9
|
Remove redundant log row
|
2021-02-28 10:20:05 +01:00 |
|
Victor Hagelbäck
|
ca7a5cdd57
|
Clean up events and subscriptions
|
2021-02-28 10:20:05 +01:00 |
|
Victor Hagelbäck
|
4d7de61e42
|
Move BLE states to DeviceRegistry and improve logging
- Make deviceRegistry states/lists immutable
|
2021-02-28 10:20:05 +01:00 |
|
Victor Hagelbäck
|
8d259a768b
|
Fix turn off and dim commands
|
2021-02-28 10:20:05 +01:00 |
|
Victor Hagelbäck
|
fb48b1fd1f
|
Split device communication and BLE handling into separate files
|
2021-02-28 10:18:32 +01:00 |
|
Victor Hagelbäck
|
b3adf221e2
|
Break out and structure creation of BLE command payloads
|
2021-02-28 10:18:32 +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 |
|