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.

jorden

About

Username
jorden
Joined
Visits
1,268
Last Active
Roles
Member

Comments

  • @superice to be honest, I would be pretty much satisfied if it would detect me as "home" as soon as I am on the same wifi network. That means I am already out of the elevator and in front of my house
  • A lot of programming goes into this. So it's not like 'you do this and that, and then it works', you really need to know what you are doing
  • Yeah that's correct. In that case it SHOULD work. But I guess there's a bug somewhere. I'll make sure to check that ASAP.
  • Did you enable polling on the settings page? Otherwise it doesn't check the status of the cam. 
  • @Menno sorry, improper testing from my end (I was sooooo tired this afternoon!). I just got around to fixing it. It is on github now.
  • At least now we know the 'undefined'  is a connection refused message. Next thing is trying to find out why... Is it a setting that needs to be enabled, or a different port to connect to, or is this is a version of the TV that is simply not supporti…
  • Just released a small update to Github, and submitted to app store (not approved yet). This update will make sure "ErrorUndefined" during pairing will show more information. Perhaps that way we can manage to fix this.
  • There is no code available for infrared for developers, I think.
  • I'm sorry I cannot help much... I'm not sure why it won't work if it doesn't. I just picked up this project because it looked 'fairly easy to do' and the documentation was already provided, even though I don't have a LG tv to test it on. The connec…
  • My flow is actually like this, because it doesn't understand 'sunscreen' well enough: (Just make sure not to use 'down' in your other flows)
  • No, it will overwrite the version you have installed.
  • If you run: athom project --run (instead of athom project --install) then it will run on Homey until you CTRL+C it. It will also show all information logs.
  • @phil_s is it the correct IP? My installation at home detected the Philips Hue bridge as a television. Also, logs from the commandline will help a lot!
  • I made a typo in the error reporting, rest. instead res. You can search and replace it (in drivers/smarttv/driver.js) or redownload it from Github.
  • Ah that's so good to hear! I'll resubmit it to the app store now for validation. And ofcourse would love to hear your comments tomorrow if you run across anything!
  • Updated again... used an uppercase K instead of lowercase k. Sorry to have you go through so much testing... normally I'd do that myself
  • I think I know what I did wrong. I have uploaded a new version, hopefully pairing works again now but if not, I think it should show more info in the logs.
  • Good, good! My girlfriend was mad at me for working on the LG TV app while we have a Sony TV... LOL.
  • Maybe you can look into the console log of your browser as well, to see if that shows any errors. As well as the log by athom project --run.
  • @phil_s thanks so much! @mbalik79 Sorry, made an error in the code. Can you please try again?
  • The discover function actually finds my Philips Hue system... LOL Well, I have simplified the pairing a little. Fixed a small bug where the IP address would disappear from the field. And hopefully it now correctly receives a session key 'on the fly…
  • I think the pairing key should stay the same, but the session key probably changes.
  • OK, that probably means the session key is really just for one session. No problem, will fix that ASAP.
  • BTW was the session key inserted correctly now? I am very curious if the session key stays the same after you turn off the television and after a few days. Otherwise next improvement will be to request a new session key for each command
  • Nice! I will make a better README and then submit this 'very early' version to the app store. Will ofcourse stay available for making improvements
  • I have added the new keys to the update. Some small changes in pairing, don't know if it solves anything.
  • OK, great! Now time to add the other commands as well (as listed on https://github.com/migueljteixeira/nodejs-lgtvRemoteControl) And maybe make the pairing better, LOL
  • Hmm only numbers... strange stuff I have now changed the mappings to the keys on Github, perhaps now it can do volume up / down / mute ?
  • Hmm. When you tried with the original nodejs files, what did you enter to make the volume  go up... KEY_IDX_VOL_UP or characterKey=24 ? Or something else? I have made a small update to include some more logging of the stuff that goes into the comma…
  • Got a new version up, does it add the session key to the pairing window now? That is part 1 Part 2; Does it add the device when you click the save button? Part 3; Does it work when you try the send command-function in your flows? PS: @mbalik79 yo…