Commit graph

261 commits

Author SHA1 Message Date
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
f233147fe9
Merge pull request #155 from SweVictor/feature/lf-fix
Fix CRLF line endings that snuck into plejd.sh
2021-01-30 10:51:14 +01:00
Victor Hagelbäck
9640cdf6dc Remove extra LF added in previous commit 2021-01-30 10:39:26 +01:00
Victor Hagelbäck
d038baf826 Fix CRLF line endings in plejd.sh, breaks startup of addon 2021-01-30 10:38:28 +01:00
Victor
ecafc3e62b
Merge pull request #154 from SweVictor/feature/readme-changelog
Improve readme and changelog
2021-01-30 10:05:01 +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
33bda6ec56 Merge branch 'feature/readme-changelog' of https://github.com/SweVictor/hassio-plejd into feature/readme-changelog 2021-01-30 09:50:59 +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
ae05602646 Remove addon info and changelog from root readme that pertains to the addon repository 2021-01-30 09:50:08 +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
b8811c1132 Update readme with info on how to get the addon working 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 Hagelbäck
4b37915e26 Make changelog more complete and rewrite to clearer format with links 2021-01-30 09:47:26 +01:00
Victor Hagelbäck
fb77e6cb4c Move changelog to separate file 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
Marcus Westin
594e6e214e
Merge pull request #114 from thomasloven/status-topic
Listen for Home Assistant default birth message
2021-01-29 22:02:37 +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
711168f5aa Add readme section on how to install older/dev releases 2021-01-28 14:05:18 +01:00
Victor Hagelbäck
4cf0246f1f Remove addon info and changelog from root readme that pertains to the addon repository 2021-01-28 14:04:59 +01:00
Victor Hagelbäck
0e70c18851 Updated changelog with links after creating tags/releases in git 2021-01-27 16:48:53 +01:00
Victor Hagelbäck
be2fbf34e8 Copied README and CHANGELOG to /plejd directory to get them picked up by addon 2021-01-26 21:09:20 +01:00
Victor Hagelbäck
69a9e9899c Update changelog and config.json to prepare for 0.5.0 release 2021-01-26 21:08:41 +01:00
Victor Hagelbäck
b5a385f766 Update readme with info on how to get the addon working 2021-01-26 21:08:01 +01:00
Victor Hagelbäck
851edbe139 Remove outdated plejd/README.md 2021-01-26 20:31:04 +01:00
Victor Hagelbäck
9595281813 Make changelog more complete and rewrite to clearer format with links 2021-01-26 20:28:48 +01:00
Victor Hagelbäck
b29513ea14 Move changelog to separate file 2021-01-26 19:27:20 +01:00
Marcus Westin
61d16fc07c
Merge pull request #150 from SweVictor/feature/code-style
Feature/code style
2021-01-26 10:58:19 +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
35cbf9a12a Minor update prettierrc override 2021-01-25 08:05:14 +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
Victor Hagelbäck
1b55cabf63 Read log level from configuration and update readme
- Break out reading of settings in js and remove it from shell scripts
- Pick up config from Logger via Configuration class
2021-01-21 23:40:59 +01:00
Victor Hagelbäck
4176cfb714 Improve logging across all js files
- Based on "winston" logging library
- Removed no longer needed lodash
- Locked npm dependencies to most recent major versions to avoid installs breaking due to node module updates
2021-01-21 21:31:37 +01:00
Marcus Westin
ba27dd6d18
Merge pull request #144 from SweVictor/feature/per-device-write-queue
Feature/per device write queue
2021-01-21 10:48:04 +01:00
Victor Hagelbäck
b29773b168 Fix of log function name called 2021-01-19 14:38:06 +01:00
Victor Hagelbäck
80dcf6dd42 Merge branch 'feature/per-device-write-queue' of https://github.com/SweVictor/hassio-plejd into feature/per-device-write-queue 2021-01-19 14:11:24 +01:00
Victor Hagelbäck
633f8d7d71 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-19 14:10:46 +01:00
Marcus Westin
38beca6d6e
Merge pull request #141 from SweVictor/feature/fix-rooms-lights
Fix includeRoomsAsLights and improve logging
2021-01-19 11:46:15 +01:00
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