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
Could you give me an example?
Or see if your TV has a web server so you can poll it using HTTP. If it responds, turn on a light. Pinging also works, but you'll have to write an app for that (you could use Better Presence as an inspiration, that should have all the code you need).
So its not always reliable.
I will try creating a ping app.
I don't have The skills to do that.
Thanks, I will also have a look at this : https://www.npmjs.com/package/net-ping
You can use presence app and TCP connect provider, which checks if it can connect to specified ip/port(TCP). This could be also done in Homey app alone. See TCP connect provider.