Commit graph

  • 4b85782784
    Merge pull request #3 from faanskit/Develop faanskit 2021-05-07 18:30:14 +02:00
  • 672c957fd3 Updated CHANGELOG to reflect additions with rooms. Updated README to provide clarity how different Plejd units will be propagated into Home Assistant. Updated README to solve #189 faanskit 2021-05-07 18:25:47 +02:00
  • dc3d2237da Updating the Plejd / HA Device information model to be compatible with suggested_area. faanskit 2021-05-07 10:59:52 +02:00
  • 7ba38d6acf Lights and switches, including roomsAsLighs, is now proposing an area for Home Assistant based on the room name from Plejd. This by using suggested_area in MQTT config. faanskit 2021-05-07 08:52:57 +02:00
  • 49024f5392 Updated README.md to include information about WRT-01, tested by @vBrolin faanskit 2021-05-06 13:43:51 +02:00
  • 535c8f6c0f Fixed the issue when a WPH were configured with single click to run a scene. Made code a bit more resilient. faanskit 2021-05-06 13:28:13 +02:00
  • c8890b8cd7 Updates based om comments from @SweVictor faanskit 2021-05-06 07:58:06 +02:00
  • 531aa8ee3e Fixed errors from npm run lint:fix faanskit 2021-05-05 19:34:34 +02:00
  • 2610c1eaa4 Incorrect trigger faanskit 2021-05-05 19:18:43 +02:00
  • 5190341be6 removed ts-ignore faanskit 2021-05-05 19:05:52 +02:00
  • 78e1616b4e Updated to match the latest developer branch and modified according to feedback from review. faanskit 2021-05-05 19:02:10 +02:00
  • cbcd33fde6
    Added support for WRT-01 faanskit 2021-05-05 12:33:30 +02:00
  • 39c0658871
    Merge pull request #2 from faanskit/feature/id-refactor faanskit 2021-05-05 12:30:38 +02:00
  • 792a9e9840
    Merge branch 'develop' into feature/id-refactor faanskit 2021-05-05 12:30:25 +02:00
  • a9f31d188d
    Merge pull request #1 from icanos/develop faanskit 2021-05-05 12:23:40 +02:00
  • 34cb7b36d1
    Merge pull request #179 from icanos/feature/id-refactor Victor 2021-05-05 11:23:02 +02:00
  • 236e533c8a Set entiteis to correct type (switch/light) and fix availability for scenes Victor Hagelbäck 2021-05-03 09:45:57 +02:00
  • 5a21290364 Added support for WRT-10 as a Device Automation faanskit 2021-05-01 19:41:29 +02:00
  • 36e5c62b4f Fix for devices without output Victor Hagelbäck 2021-04-28 20:07:53 +02:00
  • a633ffacb3 Quick-fix to force switch devices to the light mqtt domain Victor Hagelbäck 2021-04-27 11:36:38 +02:00
  • 74e381f009 Device triggers for scenes implemented Victor Hagelbäck 2021-04-26 13:13:10 +02:00
  • b10583336e Replace mqttt scene switches with actual scenes Victor Hagelbäck 2021-04-24 09:22:36 +02:00
  • aacf87a50c Revert mqtt v5 code since not supported by HassIO Mosquitto plugin Victor Hagelbäck 2021-04-23 10:42:18 +02:00
  • c646bc55eb Revert scenes to register as switches over mqtt Victor Hagelbäck 2021-04-21 21:07:17 +02:00
  • 7c8373d2c7 Update mqtt package to v4 Victor Hagelbäck 2021-04-07 10:26:33 +02:00
  • 464c17d920 Fixes to scene handling and device unique id Victor Hagelbäck 2021-04-01 13:19:02 +02:00
  • 754fe00c9a Bump version to signify dev release and notify in changelog of breaking changes Victor Hagelbäck 2021-03-31 23:37:12 +02:00
  • dbc0e02f11 Minor fixes Victor Hagelbäck 2021-03-31 23:28:25 +02:00
  • 7de1238c12 Refactor mqtt messaging to use unique id:s and trigger scenes rather than switches Victor Hagelbäck 2021-03-31 20:07:46 +02:00
  • 9a76a3ba50 Refactor code to use plejd outputs rather than devices as main entity Victor Hagelbäck 2021-03-31 20:04:45 +02:00
  • ef718cf1db Add physical devices to DeviceRegistry to allow for serial number lookup during BLE startup Victor Hagelbäck 2021-03-31 19:57:25 +02:00
  • d6b9d9104a Refactor DeviceRegistry to start use unique ids based on device serial and output index Victor Hagelbäck 2021-03-29 12:51:48 +02:00
  • 764a3ca223 Add typings and jsdoc comments to improve developer experience Victor Hagelbäck 2021-03-29 12:48:27 +02:00
  • f219b4b2bf
    Merge pull request #178 from zissou1/patch-1 Victor 2021-03-25 20:53:46 +01:00
  • c70731444c
    Update README.md zissou1 2021-03-25 20:10:27 +01:00
  • e5df9c9f52
    Merge pull request #177 from icanos/develop Victor 2021-03-25 16:48:42 +01:00
  • 44856e16c2 Release 0.7.1 Victor Hagelbäck 2021-03-25 16:47:33 +01:00
  • 5454c8e16b Fix room devices and bump version Victor Hagelbäck 2021-03-25 16:39:56 +01:00
  • afe7dba757
    Merge pull request #174 from icanos/feature/0.7.0 Victor 2021-03-23 13:51:16 +01:00
  • 8dd43979d8 Update changelog for 0.7.0 Victor Hagelbäck 2021-03-23 13:50:08 +01:00
  • f663cf4990 Update config for version 0.7.0 Victor Hagelbäck 2021-03-23 13:45:12 +01:00
  • 744230d5d3
    Merge pull request #167 from SweVictor/feature/restructure-ble Victor 2021-03-08 17:18:27 +01:00
  • 0f9ad41b9f Merge remote-tracking branch 'origin/feature/restructure-ble' into feature/restructure-ble Victor Hagelbäck 2021-02-28 10:32:44 +01:00
  • 517ab75e8e Invoke power cycling of the BLE adapter every 10th reconnect attempt Victor Hagelbäck 2021-02-27 13:46:41 +01:00
  • 042447d1a8 Stop recreating the dbus.systemBus on retries (old instances are not disposed correctly by underlying code) Victor Hagelbäck 2021-02-27 09:57:29 +01:00
  • e7b8a5a82a Stop write queue when BLE is not connected to avoid loosing commands Victor Hagelbäck 2021-02-22 09:50:06 +01:00
  • 4591af57b9 Remove redundant log row Victor Hagelbäck 2021-02-20 19:48:08 +01:00
  • ca7a5cdd57 Clean up events and subscriptions Victor Hagelbäck 2021-02-20 15:33:06 +01:00
  • 4d7de61e42 Move BLE states to DeviceRegistry and improve logging Victor Hagelbäck 2021-02-20 12:34:30 +01:00
  • 8d259a768b Fix turn off and dim commands Victor Hagelbäck 2021-02-20 10:49:00 +01:00
  • fb48b1fd1f Split device communication and BLE handling into separate files Victor Hagelbäck 2021-02-20 07:55:26 +01:00
  • b3adf221e2 Break out and structure creation of BLE command payloads Victor Hagelbäck 2021-02-18 22:24:20 +01:00
  • e986c8b85a Bump version to 0.6.2 Victor Hagelbäck 2021-02-27 16:41:20 +01:00
  • 55f0f60be9 Fix setting state for created Plejd room devices Victor Hagelbäck 2021-02-27 16:41:05 +01:00
  • 6855e03e68 Invoke power cycling of the BLE adapter every 10th reconnect attempt Victor Hagelbäck 2021-02-27 13:46:41 +01:00
  • 3804c63991
    Merge pull request #166 from icanos/develop Victor 2021-02-27 10:43:15 +01:00
  • 925ccba647 Stop recreating the dbus.systemBus on retries (old instances are not disposed correctly by underlying code) Victor Hagelbäck 2021-02-27 09:57:29 +01:00
  • 4d5a4ddbe3 Stop write queue when BLE is not connected to avoid loosing commands Victor Hagelbäck 2021-02-22 09:50:06 +01:00
  • e8ab13aed3 Remove redundant log row Victor Hagelbäck 2021-02-20 19:48:08 +01:00
  • 50d664c933 Clean up events and subscriptions Victor Hagelbäck 2021-02-20 15:33:06 +01:00
  • 0dbe0bb95f Move BLE states to DeviceRegistry and improve logging Victor Hagelbäck 2021-02-20 12:34:30 +01:00
  • e528e2be1f Fix turn off and dim commands Victor Hagelbäck 2021-02-20 10:49:00 +01:00
  • 70059da094 Merge branch 'feature/restructure-ble' of https://github.com/SweVictor/hassio-plejd into feature/restructure-ble Victor Hagelbäck 2021-02-20 08:33:53 +01:00
  • 436ed6b759 Split device communication and BLE handling into separate files Victor Hagelbäck 2021-02-20 07:55:26 +01:00
  • 53e67fb487 Break out and structure creation of BLE command payloads Victor Hagelbäck 2021-02-18 22:24:20 +01:00
  • 99b70a1d6d
    Update CHANGELOG.md Victor 2021-02-20 08:23:02 +01:00
  • 2702365a95 Prepeare 0.6.1 release Victor Hagelbäck 2021-02-20 08:18:40 +01:00
  • 4ba534e229
    Merge pull request #165 from icanos/feature/time Victor 2021-02-20 08:06:58 +01:00
  • 3fdb9bad2a Split device communication and BLE handling into separate files Victor Hagelbäck 2021-02-20 07:55:26 +01:00
  • 2694c67808 Break out and structure creation of BLE command payloads Victor Hagelbäck 2021-02-18 22:24:20 +01:00
  • 99f073ba84
    Fix error subtracting time zone diff to time set command Victor 2021-02-18 21:38:11 +01:00
  • fa0ba6be31 Config setting to opt-in to setting Plejd clock time Victor Hagelbäck 2021-02-18 21:17:29 +01:00
  • 74716557c8 Set Plejd time only hourly when explicityly requesting Victor Hagelbäck 2021-02-18 20:21:57 +01:00
  • 12ec9a1b7c Implement time parsing and periodic time updating Victor Hagelbäck 2021-02-18 10:47:33 +01:00
  • 062bfca11a Changelog lint fix Victor Hagelbäck 2021-02-18 10:35:24 +01:00
  • 245fe6f487 Update changelog Victor Hagelbäck 2021-02-16 21:38:15 +01:00
  • 017858e3a7 Update version to 0.6.0 Victor Hagelbäck 2021-02-16 21:15:04 +01:00
  • 05f7aa6906
    Merge pull request #164 from SweVictor/features/code-architecture Victor 2021-02-16 20:50:41 +01:00
  • a3244cd6fc Read version info from config instead of hard-coded string Victor Hagelbäck 2021-02-13 12:58:18 +01:00
  • d133efe228 Fix type-o in writeFailed error handling Victor Hagelbäck 2021-02-11 22:45:13 +01:00
  • 853511a755 Clarify login 403 error message Victor Hagelbäck 2021-02-10 10:23:27 +01:00
  • ef7a5086a1 Handle when scene and device have the same Id Victor Hagelbäck 2021-02-10 10:10:28 +01:00
  • dca491bf00 Lifecycle improvement including catching dbus-next error events Victor Hagelbäck 2021-02-09 19:20:09 +01:00
  • be86f08bec Implement caching of API responses including setting to prefer cache to avoid api requests Victor Hagelbäck 2021-02-08 22:23:54 +01:00
  • 7c0fc24bc6 Slight restructure of inspectDevicesDiscovered method to avoid scattered returns Victor Hagelbäck 2021-02-08 20:08:40 +01:00
  • c6d7bc2e3e Minor updates and fixes Victor Hagelbäck 2021-02-08 19:55:18 +01:00
  • f93d3854d0 Improve BLE resilience Victor Hagelbäck 2021-02-08 19:54:24 +01:00
  • 40f79df37e Rename PlejdBLE to PlejdBLEHandler Victor Hagelbäck 2021-02-08 07:39:53 +01:00
  • 7436c56c25 First async/await rewrite of PlejdBLE Victor Hagelbäck 2021-02-08 07:38:31 +01:00
  • 2653119b85
    Merge pull request #160 from SweVictor/feature/fix-ble-data-parsing Victor 2021-02-07 13:37:34 +01:00
  • 898a9d822f Lint and style fixes Victor Hagelbäck 2021-02-01 21:36:40 +01:00
  • 4e7ec6a1da Update DOCKERFILE with new file names Victor Hagelbäck 2021-02-01 21:31:02 +01:00
  • 5ac7d9893d Break out main program flow to PlejdAddon class and add catching of init errors with slow retry Victor Hagelbäck 2021-02-01 21:30:44 +01:00
  • 62a6359544 Restructure PlejdBLE slightly to async/await and clarify flow by logging Victor Hagelbäck 2021-02-01 21:29:44 +01:00
  • c5ee71d503 Improve SceneManager structure and use central DeviceRegistry Victor Hagelbäck 2021-02-01 21:24:27 +01:00
  • 377c6a75db Rewrite PlejdAPI to async/await, set data in central DeviceRegistry Victor Hagelbäck 2021-02-01 21:22:53 +01:00
  • 75b9a1a8d7 Clarify MqttClient structure, logging, and start using DeviceRegistry Victor Hagelbäck 2021-02-01 21:19:22 +01:00
  • 4f51063c41 Break out central DeviceRegistry for all Plejd data Victor Hagelbäck 2021-02-01 21:18:42 +01:00
  • f2aa7b84c0 Minor refactors Victor Hagelbäck 2021-02-01 21:13:25 +01:00
  • a406a31da4 Make config extend default config and log merged params verbose at startup Victor Hagelbäck 2021-02-01 21:12:05 +01:00