The Vera Community forums have moved!

Advanced => Programming => Plugins & Plugin Development => Topic started by: chris66 on June 22, 2012, 04:13:58 pm

Title: Controlling Sony TV device
Post by: chris66 on June 22, 2012, 04:13:58 pm
I can see now that I have my Sony TV displayed in my devices, magic ::) but how to interract with the device? Such basic things like swith on off...

Thanks.

chris
Title: Re: Controlling Sony TV device
Post by: Throttleman on June 22, 2012, 06:14:32 pm
You have?  ??? 8) How?  :)
I have 2 Sony's connected to my network but "I can only see them" with Win7.
Title: Re: Controlling Sony TV device
Post by: thetwc on June 23, 2012, 06:53:34 am
I just did a scan of upnp devices in add devices, and my kdl32ex523 turned up.   

No options to do anything with it though.
Title: Re: Controlling Sony TV device
Post by: chris66 on June 23, 2012, 08:39:34 am
Yes I think it's through upnp that I can see that kind of devices, also a Acer Iconia A501. But it the settings, I just have the ip and mac address. And the goal would be to pilot this upnp interfaces, but do not know how. If they are visible, there must be a way to do something with  ::)
Title: Re: Controlling Sony TV device
Post by: thetwc on September 05, 2012, 05:34:47 pm
There's an iPhone app that scans the wireless network for Sony tvs on that network and provides full control. Surely that must be creating signals that a Vera plugin could also make? 

Any ideas? 

Even just power on and off would be great.
Title: Re: Controlling Sony TV device
Post by: anker on September 06, 2012, 09:02:38 am
Hi,

My Sony NEX700 is using Upnp. It would be fairly easy for a plugin guy to make a upnp plugin (see my sonos plugin that uses upnp).

I am not sure that it supports a on/off function though...

anker
Title: Re: Controlling Sony TV device
Post by: big517 on September 06, 2012, 12:30:01 pm

I am not sure that it supports a on/off function though...

anker

I just purchased the Sony DVD Player that allows the Remote App for this exact reason and was searching to see if there was a plugin already made.
The remote did turn the BluRay player ON from an OFF state.  That was an option during the setup.
I too need some direction on setting this up.  The model I have is BDP-BX59 from Costco.  Would love to have the Device in Vera to add to scenes, etc...

I added it through the "Add UPNP Device" route, however it says invalid JSON file when selecting it in a scene...  Any suggestions here?

I should note its DLNA compliant.
Title: Re: Controlling Sony TV device
Post by: chris66 on September 06, 2012, 01:18:20 pm
@big517
Just have a look at the site of the Samsung plugin developper: http://www.antor.fr/apps/samsung-tv-remote/ hope he could help you ;)
Title: Re: Controlling Sony TV device
Post by: big517 on September 06, 2012, 01:43:13 pm
@big517
Just have a look at the site of the Samsung plugin developper: http://www.antor.fr/apps/samsung-tv-remote/ hope he could help you ;)

Thanks, however I dont speak French, I tried the translate option in Chrome, but it keeps saying it cannot translate due to server error...
Title: Re: Controlling Sony TV device
Post by: chris66 on September 06, 2012, 02:23:53 pm
Go to the contact form and ask! He talk english!
Title: Re: Controlling Sony TV device
Post by: big517 on September 06, 2012, 02:46:25 pm
I did, in the meantime check this out;

http://www.remotecentral.com/cgi-bin/mboard/rs232-ip/thread.cgi?171,3
Title: Re: Controlling Sony TV device
Post by: chris66 on September 07, 2012, 08:37:55 am
ok, for instance,  I use the android sony remote: https://play.google.com/store/apps/details?id=com.sony.seconddisplay.view&hl=fr
I think he did the same thing with the samsung tv, with samsung android remote, like sniffing with http://www.wireshark.org/ to get the samsung commands, but do not know to use this tool.
Title: Re: Controlling Sony TV device
Post by: Antor on September 08, 2012, 08:37:23 am
Hi guy,

ok, for instance,  I use the android sony remote: https://play.google.com/store/apps/details?id=com.sony.seconddisplay.view&hl=fr
I think he did the same thing with the samsung tv, with samsung android remote, like sniffing with http://www.wireshark.org/ to get the samsung commands, but do not know to use this tool.

Yes, it's one way to do this job. Maybe someone has allready did that. In my case (for Samsung Remote plugin) I found lots of support on Samsung dev forum. Maybe you should look that way.

Other way is using UPNP protocol like Anker have doing for Sonos (great plugin by the way  ;)). Probably the easiest way, but maybe not support all remote function.

Sorry, it wasn't very helpfull  :-X
Title: Re: Controlling Sony TV device
Post by: chris66 on September 08, 2012, 08:59:03 am
Thanks Antor,

Good way to proceed.

A nice day.

chris
Title: Re: Controlling Sony TV device
Post by: teonebello on September 16, 2012, 07:22:34 am
Any news on it?

I'm very interested if possible to control my sony tv with a plug is, as samsung.

Thank you
Matteo
Title: Re: Controlling Sony TV device
Post by: sumbarino on May 16, 2013, 12:09:47 am
Sorry to revive old topic, but could anybody manage to control a sony internet tv via vera?

Thanks
Title: Re: Controlling Sony TV device
Post by: chris66 on May 16, 2013, 03:10:40 am
Sorry to revive old topic, but could anybody manage to control a sony internet tv via vera?

Thanks
Hello, as I'm not a developper, I've just launch the idea, wait and see  ;)
Title: Re: Controlling Sony TV device
Post by: sumbarino on May 16, 2013, 07:51:34 am
Lately I've been learning that patience is a virtue.

Thanks for the response.  ;D
Title: Re: Controlling Sony TV device
Post by: rtaxerxes on June 04, 2013, 04:58:54 pm
Just seconding a request. I have KDL46CX525 which I can control from Sony iPhone app.
Title: Re: Controlling Sony TV device
Post by: chris66 on June 05, 2013, 04:46:43 am
Just seconding a request. I have KDL46CX525 which I can control from Sony iPhone app.

Thank you for this information, I can also control My Sony with my andro?d app, that's not the point. The objective is to control it with Vera.
Title: Re: Controlling Sony TV device
Post by: rtaxerxes on June 10, 2013, 03:21:46 am
Hi Chris

I think we got mixed up. I am saying I am able to control from my iPhone with Sony app, so it is possible, but I would also like to be able to control from Vera. If anyone is willing to tackle it, I can give some Wireshark logs to try and reverse engineer.
Title: Re: Controlling Sony TV device
Post by: teonebello on June 10, 2013, 04:44:12 am
Hi Chris

I think we got mixed up. I am saying I am able to control from my iPhone with Sony app, so it is possible, but I would also like to be able to control from Vera. If anyone is willing to tackle it, I can give some Wireshark logs to try and reverse engineer.

+1
Title: Re: Controlling Sony TV device
Post by: chris66 on June 10, 2013, 06:56:27 am
Hi Chris

I think we got mixed up. I am saying I am able to control from my iPhone with Sony app, so it is possible, but I would also like to be able to control from Vera. If anyone is willing to tackle it, I can give some Wireshark logs to try and reverse engineer.

Sorry for the missunderstand, ok, good idea!
Title: Re: Controlling Sony TV device
Post by: chuck1026 on August 14, 2013, 10:40:13 pm
Any updates on this???
Title: Re: Controlling Sony TV device
Post by: chris66 on August 21, 2013, 09:22:19 am
Any updates on this???
chuck1026, did you develop something???
Title: Re: Controlling Sony TV device
Post by: chuck1026 on August 21, 2013, 03:33:02 pm
No... My development skills are weak at best for now :( .
Title: Re: Controlling Sony TV device
Post by: chris66 on August 22, 2013, 05:37:14 am
The same situation for me  ;) Wait and see!
Title: Re: Controlling Sony TV device
Post by: Santos on January 21, 2016, 07:18:29 am
Reviving this old topic, has anyone managed to control a Sony TV set from Vera?

I found this on the net, which may be useful for someone who can write code :)

https://wolstenhol.me/blog/using-tasker-autovoice-yatse-and-xbmc