This seems to work quite stable I’m curious how it works for you guys:
Changes
- Fixed Wake on Lan feature (Allows to turn the TV on when it has been off for >10 minutes)
- Made app ~75% smaller by removing or substituting big dependencies (Makes development faster, reduces memory (by ~33%) and CPU usage and greatly reduces possible vulnerabilities)
- Added English/Dutch translations for remote button names (in the action card)
- Stop polling the TV when you remove it from Homey (Might fix some crashes)
- Split notifyChange and device polling into separate threads (should stop on/off flickering)
How to install
- Either install git and use
git clone https://github.com/Joolee/codes.lucasvdh.philips-jointspace.git
or download and unzip from: https://github.com/Joolee/codes.lucasvdh.philips-jointspace/archive/refs/heads/beta.zip - Follow step 1 from: Getting Started - Homey Apps SDK (You don’t need to install the Docker cloud stuff)
- Run (You need to have a console started and cd’d to the directory containing the app.js file)
npm install
homey login
homey select
- Run the app with
homey app run
. Or install permanently withhomey app install
Or install using WSL / Linux
I can recommend using WSL(2) with Debian or Ubuntu if you’re comfortable with that. All commands you need to run should be:
sudo apt update
sudo apt install git npm
mkdir ~/git
cd ~/git
git clone https://github.com/Joolee/codes.lucasvdh.philips-jointspace.git
cd codes.lucasvdh.philips-jointspace
sudo npm install --global --no-optional homey
npm install
homey login
homey select
homey app run
And then
It should not be needed to remove and re-add the TV to Homey.
If you run into any problems, please run the app with homey app run
and send a copy of the crash or other applicable (error) messages.