I'd like to integrate the WIFI/HTTP remote capabilities of Samsung Smart@TV into OR.
The trouble is that I don't know where to find the HTTP Command / protocol.
If you have any advise / document
Keep searching in Google. Someone has decoded and documented the protocol but I ...
Keep searching in Google. Someone has decoded and documented the protocol but I couldn't find it again with a few searches. You can replace the entire Linux system inside the TV if you want to.
If you go ahead to contribute something in this area I suggest you try to document for what models it works so that people don't need to get frustrated or dissapointed.
I just got myself a brand new Samsung UE32D5700 and looked at the sammygo websit...
I just got myself a brand new Samsung UE32D5700 and looked at the sammygo website a little.
Did not find much info about remote controlling yet, but I am on to it now
My TV only has a setting "Allow LAN remote" or something like that.
Just played around with it a little. The TV is the coolest
The Samsung APP for ...
Just played around with it a little. The TV is the coolest
The Samsung APP for iPhone is pretty cool and you can do pretty much everything except turning on
The APP autodiscovered the TV and then I had to confirm with the TV remote that a new remote wants to control the TV.
After that everything works really smooth. They even stole our idea to use gesture for channel selection and volume control
The TV is announcing it's IP through UPnP and also a service for remote control....
The TV is announcing it's IP through UPnP and also a service for remote control. But that looks like not working
The link to the sammygo website which Torbjörn posted is perfect. It should not be to hard to convert the perl code into Java and create a OpenRemote protocol for the Samsung TV's using that protocol.
I will look into this.
Another very interesting application would be to use a Ceton tuner card with Myt...
Another very interesting application would be to use a Ceton tuner card with MythTV and then transmit live streams to the Samsung TV without an external box by the TV. The question is to see if the Samsung has the appropriate Windows codec installed that is needed to decrypt the Media Player stream from the MythTV/Ceton combo. The TV already has the front end for a Media Extender in it.
I also use MythTV for TV recording and have a cheap SAT receiver card inside my ...
I also use MythTV for TV recording and have a cheap SAT receiver card inside my Linux box.
MythTV is recording the original MPEG stream which is played without any problem from Samsung TV.
I don't think the TV can do that.
The TV supports DLNA which is using the build-...
I don't think the TV can do that.
The TV supports DLNA which is using the build-in MythTV UpNP server which serves the files from "recording" directory.
It should be possible for Myth to feed live streams out to a DLNA consumer. For ...
It should be possible for Myth to feed live streams out to a DLNA consumer. For example Internet radio streams are live streams and they work. This is probably more of a question on how to configure Myth to make the live video stream available. The TV should never be aware if the stream is live or recorded.
My commercial FIOS DVR works like Myth does. The FIOS DVR continuously records w...
My commercial FIOS DVR works like Myth does. The FIOS DVR continuously records whatever channel you are tuned to and you actually watch the recording instead of true live TV. They advertise this as the ability to "pause live TV"
How do you change channels while watching the live stream? You need to get a sig...
How do you change channels while watching the live stream? You need to get a signal from your remote device back to the Myth backend somehow. And tuning to a different channel on Myth doesn't break the connection between the DLNA in the TV and Myth?
There is an app SDK for the Samsung TVs. I believe it has the ability to play DLNA streams. You might be able to write an app for the TV that forwards the signals from the remote to the Myth backend.
Samsung is still offering free TVs for doing app development. Last time around t...
Samsung is still offering free TVs for doing app development. Last time around they had so few entries that every submission won free equipment. Now they are adding cash to the prize too.
There is a comment in the forums from Samsung that they are working on opening i...
There is a comment in the forums from Samsung that they are working on opening it up to more countries. Since it takes a while to develop these apps there is a chance they will have it opened to more countries by the time you are finished. This current contest for the US closes in a few weeks so you probably weren't going to be ready in time anyway. You could also add a US based member to your team.
The one developer I know who has worked on these apps says that they are pretty free with giving away hardware once they are sure you are a serious developer. You could always try working with them outside the official contest channel.
You could, but then you need to use a cell phone or something for the remote tha...
You could, but then you need to use a cell phone or something for the remote that has a browser. Doing it as an app for the TV lets you use the TV's IR remote.
Hi Markus,
This is a very good news, thank you for your work.
Even if I'd like ...
Hi Markus,
This is a very good news, thank you for your work.
Even if I'd like to share my experience for the issues I'm facing, First result test is SUCCESS.
I've successfully been able to send 5 basic commands to my SAMSUMG TV D6530
All 3 are running locally on my environment, but may be not correctly.
Beehive is running and have access to a MySQL database. Through the URL: http://192.168.0.180:8080/beehive/index.html I've got access to the LIRC selection page. So I presume it's OK
the Modeler is running, I have access locally and have created 5 Samsung commands (vol/ch up, down+tools)+ iPAD panel to test. But with trouble to save.
The controller is running, access to my account seems OK, but when clicking on sync I've received an error: "can't find openremote.zip"
So I've used the zip file in the modeler_tmp and bring it into the controller DIR, unzip, relaunch controller.
At least I can upload the panel on ipad.
when trying to pilot the TV, I'm receiving a error: unknown command error 400.
So go back to designer and now, I can save my project. So Sync with controller, load on iPAD , test again and "unknown command". Look at the log and I see: "Invlid KeyCode:K" (with the typo in 'invalid'
Go back in designer and indeed, I've noticed that some KEY_Code was trunked to value "K"or "KEY". I've re-entered all the 5 Samsung commands, save, sync, load and now it's working
So, yes the result is positive, but what's going on with my install?
Another question; Do I have to change something to have my KNX commands working with your Controller? I'm receiving error for the sensor: No Pooling connection available.
My controller version has a problem with the KNX Command builder. You have to re...
My controller version has a problem with the KNX Command builder. You have to remove the "count" stuff in the constructor. This was a workaround for another problem that seems to be fixed but the count has to be removed also.
I am not sure what could be wrong with your install. If you have everything running locally maybe a .properties file is still pointinng to a wrong URL?
Hi Marcus,
This is tha "sales" period and I've bought a new Samsung 3D blu-ray ...
Hi Marcus,
This is tha "sales" period and I've bought a new Samsung 3D blu-ray disc player (BD D5500)
This one, like the television, can be IP remotely controlled.
I assume, the implementation done for the TV will work for the player. The protocol & commands should be the same.
the only issue is that it's another device, so another IP address. In the current controller, we have to hard-code one IP. So either the TV or the player.
Would be usefull if we could defined several SAMSUNG devices in the controller or entered the IP at runtime, through a panel.
OK, good point. I can take a look and see if it's easy to extend.
Right now the ...
OK, good point. I can take a look and see if it's easy to extend.
Right now the implementation only supports one device
The future plan goes into the direction that the controller will disvover everything that is discoverable and that he supports and will give that information to the online designer after giving the controller your online credentials.
The designer would automatically see that you have multiple Samsung devices, a KNX gateway and maybe some other stuff.
All you need todo then, is to say which devices should be controlled and create a remote for it or choose a layout from predefined remotes (eg. TV, DVD, ...)
But this will take a little longer until all our dreams come true
I will have to rewrite some stuff and support multiple configuration properties....
I will have to rewrite some stuff and support multiple configuration properties.
Since the change of the configuration of the controller is another TODO (ORCJAVA-183), I will wait.
I realize that this functionality is for Samsung TVs. Does anyone know whether t...
I realize that this functionality is for Samsung TVs. Does anyone know whether this functionality would control a Samsung Blu-ray player in any capacity? I am sure there is some functionality that does not apply. I am really wondering how much cross-over there is, if any, to Samsung Blu-ray players.
Just try it out. Some commands will probably work with no problems.
In the momen...
Just try it out. Some commands will probably work with no problems.
In the moment you can only control one Samsung device at a time though.
The configuration only support one IP address for now.
Comments (29)
Oct 13
Jon Smirl says:
Keep searching in Google. Someone has decoded and documented the protocol but I ...Keep searching in Google. Someone has decoded and documented the protocol but I couldn't find it again with a few searches. You can replace the entire Linux system inside the TV if you want to.
Oct 14
Torbjörn Österdahl says:
I quickly looked for it the other day. This is the bookmarks I collected. ..in...I quickly looked for it the other day. This is the bookmarks I collected.
..inofficial documentation for the http protocol: http://forum.samygo.tv/viewtopic.php?f=12&t=1792
..and here is some proposal on how to do something similar over HDMI (requires an adapter): http://rainshadowtech.com/default.htm
If you go ahead to contribute something in this area I suggest you try to document for what models it works so that people don't need to get frustrated or dissapointed.
Regards,
Torbjörn
Oct 14
Jon Smirl says:
I recall a Linux app that implements the http protocol exist too. You are on the...I recall a Linux app that implements the http protocol exist too. You are on the right track.
HDMI CEC is another way. Here's an Arduino library implementing the protocol. http://code.google.com/p/cec-arduino/
Hardware is in this thread... http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1261237176/all
About a dozen parts, easily hacked together since it is all low frequency.
Building HDMI CEC hardware will let you control all of the CEC enabled devices - like receiver, satellite/cable box, TV, DVD player. etc.
Oct 15
Marcus Redeker says:
I just got myself a brand new Samsung UE32D5700 and looked at the sammygo websit...I just got myself a brand new Samsung UE32D5700 and looked at the sammygo website a little.
Did not find much info about remote controlling yet, but I am on to it now
My TV only has a setting "Allow LAN remote" or something like that.
Oct 15
Marcus Redeker says:
Just played around with it a little. The TV is the coolest The Samsung APP for ...Just played around with it a little. The TV is the coolest

The Samsung APP for iPhone is pretty cool and you can do pretty much everything except turning on
The APP autodiscovered the TV and then I had to confirm with the TV remote that a new remote wants to control the TV.
After that everything works really smooth. They even stole our idea to use gesture for channel selection and volume control
More to come ...
Oct 24
Marcus Redeker says:
The TV is announcing it's IP through UPnP and also a service for remote control....The TV is announcing it's IP through UPnP and also a service for remote control. But that looks like not working
The link to the sammygo website which Torbjörn posted is perfect. It should not be to hard to convert the perl code into Java and create a OpenRemote protocol for the Samsung TV's using that protocol.
I will look into this.
Oct 25
Jon Smirl says:
Another very interesting application would be to use a Ceton tuner card with Myt...Another very interesting application would be to use a Ceton tuner card with MythTV and then transmit live streams to the Samsung TV without an external box by the TV. The question is to see if the Samsung has the appropriate Windows codec installed that is needed to decrypt the Media Player stream from the MythTV/Ceton combo. The TV already has the front end for a Media Extender in it.
Some posts on using Ceton with MythTV http://mythtvblog.blogspot.com/2011/07/ceton-inifinitv-4-in-mythtv-024-part-1.html http://mythtvblog.blogspot.com/2011/07/ceton-inifinitv-4-in-mythtv-024-part-2.html http://mythtvblog.blogspot.com/2011/07/ceton-inifinitv-4-in-mythtv-024-part-3.html
There are some issues with copy freely content. Almost all content on FIOS is marked copy freely. This suggests that Myth can transmit it unencrypted which means the media player in the Samsung should be able to pick it up. http://hd.engadget.com/2010/08/15/cablelabs-amends-ocur-spec-tuner-sharing-and-mythtv-are-on/
The point in doing this is to eliminate the need for a cable box on each TV.
Oct 26
Marcus Redeker says:
I also use MythTV for TV recording and have a cheap SAT receiver card inside my ...I also use MythTV for TV recording and have a cheap SAT receiver card inside my Linux box.
MythTV is recording the original MPEG stream which is played without any problem from Samsung TV.
Oct 26
Jon Smirl says:
Can you send live streams to the TV?Can you send live streams to the TV?
Oct 26
Marcus Redeker says:
I don't think the TV can do that. The TV supports DLNA which is using the build-...I don't think the TV can do that.
The TV supports DLNA which is using the build-in MythTV UpNP server which serves the files from "recording" directory.
Oct 26
Jon Smirl says:
It should be possible for Myth to feed live streams out to a DLNA consumer. For ...It should be possible for Myth to feed live streams out to a DLNA consumer. For example Internet radio streams are live streams and they work. This is probably more of a question on how to configure Myth to make the live video stream available. The TV should never be aware if the stream is live or recorded.
http://www.mythtv.org/wiki/LiveTV
Oct 26
Jon Smirl says:
My commercial FIOS DVR works like Myth does. The FIOS DVR continuously records w...My commercial FIOS DVR works like Myth does. The FIOS DVR continuously records whatever channel you are tuned to and you actually watch the recording instead of true live TV. They advertise this as the ability to "pause live TV"
Oct 26
Marcus Redeker says:
That his how MythTV is doing also. You can use the SamsungTV to connect to the r...That his how MythTV is doing also. You can use the SamsungTV to connect to the recording stream of live tv
Oct 26
Jon Smirl says:
How do you change channels while watching the live stream? You need to get a sig...How do you change channels while watching the live stream? You need to get a signal from your remote device back to the Myth backend somehow. And tuning to a different channel on Myth doesn't break the connection between the DLNA in the TV and Myth?
There is an app SDK for the Samsung TVs. I believe it has the ability to play DLNA streams. You might be able to write an app for the TV that forwards the signals from the remote to the Myth backend.
Oct 26
Jon Smirl says:
Samsung is still offering free TVs for doing app development. Last time around t...Samsung is still offering free TVs for doing app development. Last time around they had so few entries that every submission won free equipment. Now they are adding cash to the prize too.
http://www.freethetvchallenge.com/
Oct 26
Marcus Redeker says:
Only US residenceOnly US residence
Oct 26
Jon Smirl says:
There is a comment in the forums from Samsung that they are working on opening i...There is a comment in the forums from Samsung that they are working on opening it up to more countries. Since it takes a while to develop these apps there is a chance they will have it opened to more countries by the time you are finished. This current contest for the US closes in a few weeks so you probably weren't going to be ready in time anyway. You could also add a US based member to your team.
The one developer I know who has worked on these apps says that they are pretty free with giving away hardware once they are sure you are a serious developer. You could always try working with them outside the official contest channel.
Oct 26
Marcus Redeker says:
Might be worth a try. Could create an App to control OpenRemote from the Samsung...Might be worth a try.
Could create an App to control OpenRemote from the Samsung TV
Oct 26
yann philippe says:
Can't you do that using the OpenRemote WebConsole?Can't you do that using the OpenRemote WebConsole?
Oct 26
Jon Smirl says:
You could, but then you need to use a cell phone or something for the remote tha...You could, but then you need to use a cell phone or something for the remote that has a browser. Doing it as an app for the TV lets you use the TV's IR remote.
Oct 25
Marcus Redeker says:
Based on the Android App from Tom Quist, I added support to remote control Samsu...Based on the Android App from Tom Quist, I added support to remote control Samsung TV's through network.
The code is available in my current developer branch: http://openremote.svn.sourceforge.net/svnroot/openremote/workspace/mredeker/Controller_EP_SNAP_DateTime_WOL
Auto-Discovery with UpNP is not yet supported and you have to configure your TV IP-address within config.properties.
The protocol tag is called 'samsungTV' and you need to configure the commands with one property 'keyCode' which takes a String like:
All supported keycodes can be found here: https://openremote.svn.sourceforge.net/svnroot/openremote/workspace/mredeker/Controller_EP_SNAP_DateTime_WOL/src/org/openremote/controller/protocol/samsungtv/Key.java
Maybe not all of the codes will work for your TV. Mine eg. does not support "KEY_POWERON" but maybe others do.
Oct 25
yann philippe says:
Hi Markus, This is a very good news, thank you for your work. Even if I'd like ...Hi Markus,
This is a very good news, thank you for your work.
Even if I'd like to share my experience for the issues I'm facing, First result test is SUCCESS.
I've successfully been able to send 5 basic commands to my SAMSUMG TV D6530
An issue: I've downloaded :
and beehive3 Beta.
All 3 are running locally on my environment, but may be not correctly.
Beehive is running and have access to a MySQL database. Through the URL: http://192.168.0.180:8080/beehive/index.html I've got access to the LIRC selection page. So I presume it's OK
the Modeler is running, I have access locally and have created 5 Samsung commands (vol/ch up, down+tools)+ iPAD panel to test. But with trouble to save.
The controller is running, access to my account seems OK, but when clicking on sync I've received an error: "can't find openremote.zip"
So I've used the zip file in the modeler_tmp and bring it into the controller DIR, unzip, relaunch controller.
At least I can upload the panel on ipad.
when trying to pilot the TV, I'm receiving a error: unknown command error 400.
So go back to designer and now, I can save my project. So Sync with controller, load on iPAD , test again and "unknown command". Look at the log and I see: "Invlid KeyCode:K" (with the typo in 'invalid'
Go back in designer and indeed, I've noticed that some KEY_Code was trunked to value "K"or "KEY". I've re-entered all the 5 Samsung commands, save, sync, load and now it's working
So, yes the result is positive, but what's going on with my install?
Another question; Do I have to change something to have my KNX commands working with your Controller? I'm receiving error for the sensor: No Pooling connection available.
Thank you for your work
Regards
Oct 25
Marcus Redeker says:
My controller version has a problem with the KNX Command builder. You have to re...My controller version has a problem with the KNX Command builder. You have to remove the "count" stuff in the constructor. This was a workaround for another problem that seems to be fixed but the count has to be removed also.
I am not sure what could be wrong with your install. If you have everything running locally maybe a .properties file is still pointinng to a wrong URL?
Jan 06
yann philippe says:
Hi Marcus, This is tha "sales" period and I've bought a new Samsung 3D blu-ray ...Hi Marcus,
This is tha "sales" period and I've bought a new Samsung 3D blu-ray disc player (BD D5500)
This one, like the television, can be IP remotely controlled.
I assume, the implementation done for the TV will work for the player. The protocol & commands should be the same.
the only issue is that it's another device, so another IP address. In the current controller, we have to hard-code one IP. So either the TV or the player.
Would be usefull if we could defined several SAMSUNG devices in the controller or entered the IP at runtime, through a panel.
regards
Jan 06
Marcus Redeker says:
OK, good point. I can take a look and see if it's easy to extend. Right now the ...OK, good point. I can take a look and see if it's easy to extend.
Right now the implementation only supports one device
The future plan goes into the direction that the controller will disvover everything that is discoverable and that he supports and will give that information to the online designer after giving the controller your online credentials.
The designer would automatically see that you have multiple Samsung devices, a KNX gateway and maybe some other stuff.
All you need todo then, is to say which devices should be controlled and create a remote for it or choose a layout from predefined remotes (eg. TV, DVD, ...)
But this will take a little longer until all our dreams come true
Jan 08
yann philippe says:
whaouw .... sounds incredible. Waiting for the v3 of controller and designer. t...whaouw .... sounds incredible.
Waiting for the v3 of controller and designer.
thank you for your work
Jan 16
Marcus Redeker says:
I will have to rewrite some stuff and support multiple configuration properties....I will have to rewrite some stuff and support multiple configuration properties.
Since the change of the configuration of the controller is another TODO (ORCJAVA-183), I will wait.
Jan 16
Matthew Z says:
I realize that this functionality is for Samsung TVs. Does anyone know whether t...I realize that this functionality is for Samsung TVs. Does anyone know whether this functionality would control a Samsung Blu-ray player in any capacity? I am sure there is some functionality that does not apply. I am really wondering how much cross-over there is, if any, to Samsung Blu-ray players.
Thanks.
Jan 16
Marcus Redeker says:
Just try it out. Some commands will probably work with no problems. In the momen...Just try it out. Some commands will probably work with no problems.
In the moment you can only control one Samsung device at a time though.
The configuration only support one IP address for now.