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.
Closed
APP idea: Sony Bravia
This discussion has been closed.
Comments
when it's "ready enough" for "release.
I'm still experiencing some strange connection refused/timedout issues with the requests.
Very strange and annoying, especially because when I do the request with Homey the connection is refused and direct after it run a request through Chrome it works.
Last night I ran some test and it resulted in a ~90% connection fail from Homey to the TV while my laptop at the same time had a 2% connection lost over 8u+ runtime.
Both devices were using the same script in Node.
Development is at a standstill, this because I can't guarantee a functioning app.
more info:
https://athomcommunity.slack.com/archives/developers/p1464845269001565
This is the code I use on Eventghost to control my Sony. Maybe it helps.
To be more precise I need a URL which is ' http://<sonyIP>//sony/IRCC'
a Method: GET, POST, PUT, HEAD, DELETE, PATCH, OPTIONS of which I use POST
a Content Type: application/json, application/x-www-form-urlencoded, text/plain of which I have used text/plain
and finally a Body: where I have put the codes discussed here
Like I said before I can authenticate because that command doesnt require a header. But I dont know how to send the commands because there is not a header field to fill up.
Since this works from the web I setup a DMZ from my router and put the TV on a static address and made my router send all traffic from the DMZ to the TVs address.
Any help would be greatly appreciated.
It's exactly as you say.
IFTTT does not support headers.
And probably won't do that for a while (they have been talking (complaining) about it for a while already)
So it's just not (easily) possible with "the American way" echo.
If you really really want it, create a device (IE: Raspberry pi) that runs a callback server to add the header midway.
Or just buy a homey, cause it will work as perfectly as here in Europe, all settings can be easily changed to make it fully compatible there so the "it's an European product" is bull..
I will try out the update tonight to see if it works well, am not at home so I cannot test currently.
Thanks for the great Sony Bravia app. I am trying to get it working with my KDL-32EX5000 (non Android TV) from 2014/2015.
First problem is overlaying text and pictures in the setup screen:
I am not able to enter the IP adres.
Next, my non Android Bravia doesn't work with a PSK. When I connect the first time a four digit code shows up on the TV. When I enter this code in the software I can connect.
I did some tests with a Bravia NodeJS library, this seems to work ok. I would like to help you to get your app also compatible with then non Android Bravia TV's.
I managed to add a Bravia TV which i could turn off with your app, but nothing else, and the device was not present anymore after a few minutes.
Gr. Remco
The result from my model looks likes this: