This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
Comments
https://github.com/migueljteixeira/nodejs-lgtvRemoteControl
Hence: you'll have to wait for Athom or an app dev who owns the specific device...
Actually made a first setup at https://github.com/jordenc/com.lg.smarttv but nothing works yet, it's just a general template. Will see if I can take that a little further without actually being able to test
What would greatly help; if someone could run the app on their Homey (some developer-skills required, see https://developers.athom.com ... you need to install NodeJS and athom-cli) and run it, try to add a LG SmartTV device and let me know the output the athom cli app shows you... then I can take a step further. The most important step, probably.
I'm willing to test is for you and report back!
Edit: spam cleaned
However I will be gone in an hour for a weekend off, so no progress for a few days.
My output in debug from the github update
Please install it, run "athom project --run" and then in Homey try the following steps:
1. Add a device, choose the LG SmartTV app
2. It should find a device and fill in the IP as IP and name. If it didn't find anything, after 1 second (will make that longer once the app is done) you should be able to fill in the IP yourself (name is not used yet)
3. Turn on your TV and try to click the button 'Request pairing key' ('Sleutel aanvragen'). Your TV should show a key (I hope). If an error happens it should show that on top of the pairing fields in Homey.
4. Fill in the pairing key in the field 'Pairing key' ('Sleutel').
5. Click the button 'Try pairing' ('Koppelen').
Let me know what happens. If everything goes okay (I doubt it ) at the top of the window there should be output that I can use to proceed with the app. If things don't work, let me know which step!
This is the debug out-put
What is new:
- When pairing, it should read out the session ID correctly now, into the field. => A lot of work should still be put into the pairing, since it is now a mess, but it should work for now.
- When you have a session key, it should display the 'save' button, which directly adds the device.
- You can go to flows, and drag the device to the 'Then' column. There are 3 keys / commands I have added now: Volume up, volume down, and mute.
Try to run that, I am very curious if this works!
In debug I'm only seeing "Hello World!"
Update: Hmm, same here. Doesn't run the get_devices anymore. Will work on it for a bit, probably a fix tomorrow.