Victor Hagelbäck
7cbbba3ad6
Rewrite write queue to optimize performance without discarding messages
...
- "important" (all non mid-transition) commands are retried 5 times, first time without delay
- Commands are skipped in queueif newer command exist for that device
- Result is a lot smoother transitions that always send last wanted brightness to each device
- Should be able to handle dim-on-slide UI well, similar to Plejd native app
2021-01-18 17:24:55 +01:00
Victor Hagelbäck
a41cebd60e
Fix includeRoomsAsLights and improve logging
2021-01-18 17:24:55 +01:00
Marcus Westin
9552baeb87
Merge pull request #140 from buffedelic/patch-2
...
Update README.md
2021-01-18 15:38:30 +01:00
Marcus Westin
a3b3efefeb
Merge pull request #142 from SweVictor/feature/fix-initial-dim-level
...
Fix wrong initial brightness when transitioning turned-off lights
2021-01-18 15:29:42 +01:00
Victor Hagelbäck
2bf2c05915
Fix wrong initial brightness when transitioning turned-off lights
2021-01-16 10:00:33 +01:00
Victor Hagelbäck
58d2893f71
Fix includeRoomsAsLights and improve logging
2021-01-16 09:14:33 +01:00
Christofer Andersson
bd1ccf85fa
Update README.md
2021-01-15 17:20:27 +01:00
Christofer Andersson
9046db511e
Update README.md
2021-01-15 17:18:52 +01:00
Marcus Westin
fe8d2b84f1
Merge pull request #137 from JohnPhoto/lifecycle-fixes
...
multiple fixes for improved lifecycle and errors
2021-01-13 21:39:36 +01:00
John Lindahl
7bc4801289
Cleanup of clearTimeout and nonasync funcs
2021-01-13 19:43:11 +01:00
John Lindahl
8fda4a8d61
Define delayedInit in constructor
2021-01-13 10:00:07 +01:00
John Lindahl
126c393cee
multiple fixes for improved lifecycle and errors
...
* Init and _internalInit is actually awaitable
* this.bleDevices is reset on init
* check for actual data in write to preven length of undefined
* Throttled re-inits on write-errors.
2021-01-13 01:47:05 +01:00
Marcus Westin
aa46579f7a
Merge pull request #113 from thomasloven/dead-code
...
Remove dead code
2021-01-11 14:42:44 +01:00
Thomas Lovén
9ebc8e62db
Remove removed files from Dockerfile
2021-01-11 14:41:32 +01:00
Marcus Westin
d4878f7066
Merge pull request #112 from icanos/dependabot/npm_and_yarn/plejd/bl-1.2.3
...
Bump bl from 1.2.2 to 1.2.3 in /plejd
2021-01-11 14:22:32 +01:00
Marcus Westin
dce00978ec
Merge pull request #133 from icanos/dependabot/npm_and_yarn/plejd/axios-0.21.1
...
Bump axios from 0.19.0 to 0.21.1 in /plejd
2021-01-11 14:22:03 +01:00
Marcus Westin
b02e33369e
Merge pull request #127 from SweVictor/feature/improved-transitions
...
Improve transitioning of brightness
2021-01-11 14:21:30 +01:00
dependabot[bot]
ae4f1b6092
Bump axios from 0.19.0 to 0.21.1 in /plejd
...
Bumps [axios](https://github.com/axios/axios ) from 0.19.0 to 0.21.1.
- [Release notes](https://github.com/axios/axios/releases )
- [Changelog](https://github.com/axios/axios/blob/v0.21.1/CHANGELOG.md )
- [Commits](https://github.com/axios/axios/compare/v0.19.0...v0.21.1 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-01-05 18:08:26 +00:00
Victor Hagelbäck
a618c038d2
Fix incorrect branching when brightness === 0
2021-01-02 10:04:24 +01:00
Victor Hagelbäck
d3759158d2
Update readme with info about transitions
2021-01-01 20:49:20 +01:00
Victor Hagelbäck
4eeaac0626
Fix typo omitting "this"
2021-01-01 20:48:53 +01:00
Victor Hagelbäck
e01f0f2061
Improved transitioning of brightness
...
- Unified turn on/off - brightness = 0 => turn off command
- Cancel any ongoing transition before starting new
- Drop transition steps if communication is slow
2021-01-01 20:15:00 +01:00
Marcus Westin
318724865a
Merge pull request #116 from icanos/dependabot/npm_and_yarn/plejd/ini-1.3.8
...
Bump ini from 1.3.5 to 1.3.8 in /plejd
2020-12-17 08:31:54 +01:00
dependabot[bot]
caf99803ab
Bump ini from 1.3.5 to 1.3.8 in /plejd
...
Bumps [ini](https://github.com/isaacs/ini ) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases )
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-12-12 03:34:42 +00:00
Thomas Lovén
0bb089ff21
Remove dead code
2020-12-04 10:33:07 +01:00
dependabot[bot]
7d2927d8d6
Bump bl from 1.2.2 to 1.2.3 in /plejd
...
Bumps [bl](https://github.com/rvagg/bl ) from 1.2.2 to 1.2.3.
- [Release notes](https://github.com/rvagg/bl/releases )
- [Commits](https://github.com/rvagg/bl/compare/v1.2.2...v1.2.3 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-11-24 14:02:38 +00:00
icanos
6fb1a94049
resolved build issues
2020-11-24 14:00:16 +00:00
Marcus Westin
21453f302f
Merge pull request #93 from icanos/dependabot/npm_and_yarn/plejd/lodash-4.17.19
...
Bump lodash from 4.17.15 to 4.17.19 in /plejd
2020-07-19 22:32:28 +02:00
dependabot[bot]
40f647ea8f
Bump lodash from 4.17.15 to 4.17.19 in /plejd
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-07-19 01:57:42 +00:00
Marcus Westin
d972e27d17
Merge pull request #89 from icanos/feature/transitions
...
transitions work
2020-06-12 11:17:16 +02:00
Marcus Westin
4455d6cb8c
added missing state
2020-06-12 11:16:48 +02:00
Marcus Westin
fb585a6550
increased version
2020-06-12 11:15:24 +02:00
Marcus Westin
8a2da6d46f
reworked some transitions stuff
2020-06-12 11:15:00 +02:00
Marcus Westin
38b8b8f79c
Merge pull request #84 from icanos/feature/new-api-version
...
fixed build error
2020-05-06 08:18:46 +02:00
icanos
97e3216a44
upped version
2020-05-06 07:18:14 +01:00
icanos
a32a5b5e8e
updated build error
2020-05-06 07:17:23 +01:00
Marcus Westin
160e10e09f
Update README.md
2020-03-26 09:21:38 +01:00
Marcus Westin
816f6e21dc
Merge pull request #81 from icanos/feature/new-api-version
...
fixed build error and upped version
2020-03-26 09:12:11 +01:00
Marcus Westin
3ba93d50e0
fixed build error and upped version
2020-03-26 09:11:37 +01:00
Marcus Westin
1fc9584e5b
Update README.md
2020-03-19 11:17:12 +01:00
Marcus Westin
5ed0c7bbd7
Update README.md
2020-03-19 11:13:00 +01:00
Marcus Westin
d57760c56e
Merge pull request #76 from icanos/feature/new-api-version
...
disabled apparmor since lots of issues with that
2020-03-19 11:12:03 +01:00
Marcus Westin
a6d9868c7d
disabled apparmor since lots of issues with that
2020-03-19 11:11:22 +01:00
Marcus Westin
e3e3e242ba
Update README.md
2020-03-13 12:05:02 +01:00
Marcus Westin
bb8f43f4a4
Merge pull request #73 from icanos/feature/new-api-version
...
updated to comply with new api version
2020-03-13 12:04:30 +01:00
Marcus Westin
f2a0da5ae8
removed debugging
2020-03-13 12:03:57 +01:00
Marcus Westin
7260de46ca
fixed wrong reference in scene manager
2020-03-13 12:02:56 +01:00
Marcus Westin
35bbfbe746
debug
2020-03-13 12:01:22 +01:00
Marcus Westin
9ece2b3cf3
debug
2020-03-13 12:00:46 +01:00
Marcus Westin
40b538589b
updated to comply with new api version
2020-03-13 11:58:15 +01:00