Victor Hagelbäck
|
2694c67808
|
Break out and structure creation of BLE command payloads
|
2021-02-18 22:24:20 +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
|
062bfca11a
|
Changelog lint fix
|
2021-02-18 10:35:24 +01:00 |
|
Victor Hagelbäck
|
245fe6f487
|
Update changelog
|
2021-02-16 21:38:15 +01:00 |
|
Victor Hagelbäck
|
017858e3a7
|
Update version to 0.6.0
|
2021-02-16 21:15:04 +01:00 |
|
Victor Hagelbäck
|
a3244cd6fc
|
Read version info from config instead of hard-coded string
|
2021-02-13 12:58:18 +01:00 |
|
Victor Hagelbäck
|
d133efe228
|
Fix type-o in writeFailed error handling
|
2021-02-11 22:45:13 +01:00 |
|
Victor Hagelbäck
|
853511a755
|
Clarify login 403 error message
|
2021-02-10 10:23:27 +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
|
be86f08bec
|
Implement caching of API responses including setting to prefer cache to avoid api requests
|
2021-02-08 22:23:54 +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
|
c6d7bc2e3e
|
Minor updates and fixes
|
2021-02-08 19:55:18 +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 |
|
Victor Hagelbäck
|
7436c56c25
|
First async/await rewrite of PlejdBLE
|
2021-02-08 07:38:31 +01:00 |
|
Victor Hagelbäck
|
898a9d822f
|
Lint and style fixes
|
2021-02-04 08:08:28 +01:00 |
|
Victor Hagelbäck
|
4e7ec6a1da
|
Update DOCKERFILE with new file names
|
2021-02-04 08:08:28 +01:00 |
|
Victor Hagelbäck
|
5ac7d9893d
|
Break out main program flow to PlejdAddon class and add catching of init errors with slow retry
|
2021-02-04 08:08:28 +01:00 |
|
Victor Hagelbäck
|
62a6359544
|
Restructure PlejdBLE slightly to async/await and clarify flow by logging
|
2021-02-04 08:08:23 +01:00 |
|
Victor Hagelbäck
|
c5ee71d503
|
Improve SceneManager structure and use central DeviceRegistry
|
2021-02-04 08:06:23 +01:00 |
|
Victor Hagelbäck
|
377c6a75db
|
Rewrite PlejdAPI to async/await, set data in central DeviceRegistry
|
2021-02-04 08:06:23 +01:00 |
|
Victor Hagelbäck
|
75b9a1a8d7
|
Clarify MqttClient structure, logging, and start using DeviceRegistry
|
2021-02-04 08:06:23 +01:00 |
|
Victor Hagelbäck
|
4f51063c41
|
Break out central DeviceRegistry for all Plejd data
|
2021-02-04 08:06:23 +01:00 |
|
Victor Hagelbäck
|
f2aa7b84c0
|
Minor refactors
|
2021-02-04 08:06:14 +01:00 |
|
Victor Hagelbäck
|
a406a31da4
|
Make config extend default config and log merged params verbose at startup
|
2021-02-04 08:03:34 +01:00 |
|
Victor Hagelbäck
|
73e04b71dd
|
Rename PlejdService to PlejdBLE
|
2021-02-04 08:03:33 +01:00 |
|
Victor Hagelbäck
|
bf93ec9545
|
Fix typo in readme
|
2021-02-04 08:03:33 +01:00 |
|
Victor Hagelbäck
|
5b3efb4b79
|
Fix BLE data parsing and move from toString-based Buffer parsing to int-based
- parsing only 1 byte for command (hex "98" vs earlier "0098")
|
2021-02-02 19:23:19 +01:00 |
|
Victor Hagelbäck
|
5528a31685
|
Version bump to 0.5.1 due to CRLF issue that broke startup
|
2021-01-30 11:00:13 +01:00 |
|
Victor Hagelbäck
|
f02a58e79d
|
Update changelog with links to 0.5.0 release
|
2021-01-30 10:04:17 +01:00 |
|
Victor Hagelbäck
|
395397b606
|
Update changelog
|
2021-01-30 10:00:42 +01:00 |
|
Victor Hagelbäck
|
5af6a8c452
|
Code lint fixes
|
2021-01-30 10:00:09 +01:00 |
|
Victor Hagelbäck
|
20b64c9acb
|
Merge readme with listen to default HA birth message PR
|
2021-01-30 09:54:40 +01:00 |
|
Victor Hagelbäck
|
97d57f1a22
|
Add readme section on how to install older/dev releases
|
2021-01-30 09:50:27 +01:00 |
|
Victor Hagelbäck
|
1851087d88
|
Updated changelog with links after creating tags/releases in git
|
2021-01-30 09:47:26 +01:00 |
|
Victor Hagelbäck
|
fdc082c273
|
Copied README and CHANGELOG to /plejd directory to get them picked up by addon
|
2021-01-30 09:47:26 +01:00 |
|
Victor Hagelbäck
|
ab2e4de8be
|
Update changelog and config.json to prepare for 0.5.0 release
|
2021-01-30 09:47:26 +01:00 |
|
Victor Hagelbäck
|
8148569f5a
|
Remove outdated plejd/README.md
|
2021-01-30 09:47:26 +01:00 |
|
Victor
|
dba9c98097
|
Merge pull request #115 from thomasloven/publish-availability
Publish availability of devices
|
2021-01-30 09:26:59 +01:00 |
|
Thomas Lovén
|
f3b8181107
|
Publish availability of devices
|
2021-01-29 22:56:29 +01:00 |
|
Thomas Lovén
|
9bb8f69c23
|
Actually listen to all topics too. Not just subscribe.
|
2021-01-29 21:06:50 +01:00 |
|
Thomas Lovén
|
2a3bcb0753
|
Listen to Home Assistant default birth topic by default
|
2021-01-28 14:24:04 +01:00 |
|
Victor Hagelbäck
|
0d17c388d8
|
Minor changes to improve logger performance slightly and to lock down logging options in config
|
2021-01-25 16:09:24 +01:00 |
|
Victor Hagelbäck
|
b3de8eaeb6
|
Fix log renaming for warn logs => WRN
|
2021-01-25 10:40:25 +01:00 |
|
Victor Hagelbäck
|
5562c2d838
|
Improved error handling in event handling code
- Earlier errors would restart the addon
|
2021-01-25 08:06:28 +01:00 |
|
Victor Hagelbäck
|
3adadd3f7c
|
Updates to Dockerfile to copy renamed files
|
2021-01-25 08:03:50 +01:00 |
|
Victor Hagelbäck
|
281acd6ad8
|
Adjust code to airbnb style guide, including eslint rules and prettier configuration for code base
|
2021-01-22 15:49:02 +01:00 |
|