4 Responses

  1. mihajlo
    mihajlo at |

    don’t waist your time with making custom tasker+webservice stuff.. checkout gtalksms ;)

  2. Cloom
    Cloom at |

    Hello Shatanu,

    That is exactly what I would like to have but it does not work on my TV :(
    I have a quite recent one Samsung UE46F6740 and I can simulate a remote control using:
    https://gist.github.com/danielfaust/998441
    but I can’t send notifications!

    I tried your piece of code but it does not seem to work. I am not sure about the port I have to use! I have performed nmap scan on my TV and I have this:
    PORT STATE SERVICE VERSION
    80/tcp open http?
    443/tcp open ssl/https?
    514/tcp filtered shell
    4443/tcp open ssl/pharos?
    6000/tcp open X11 (access denied)
    7676/tcp open unknown

    So I tried the last 2 and it does not work:
    user@pc$ ./samsung-msgbox.py -i 192.168.1.5 -p 6000 -m “hello”
    POST /PMR/control/MessageBoxService HTTP/1.0
    Content-Type: text/xml; charset=”utf-8″
    HOST: cloomgle
    Content-Length: 817
    SOAPACTION: “uuid:samsung.com:service:MessageBoxService:1#AddMessage”
    Connection: close

    text/xml MessageId<Category>SMS</Category><DisplayType>Maximum</DisplayType><ReceiveTime><Date>2014-01-04</Date><Time>21:51:13</Time></ReceiveTime><Receiver><Number>1234567890</Number><Name>Receiver</Name></Receiver><Sender><Number>1234567890</Number><Name>Sender</Name></Sender><Body>hello</Body>

    user@pc$ ./samsung-msgbox.py -i 192.168.1.5 -p 7676 -m “hello”
    POST /PMR/control/MessageBoxService HTTP/1.0
    Content-Type: text/xml; charset=”utf-8″
    HOST: cloomgle
    Content-Length: 817
    SOAPACTION: “uuid:samsung.com:service:MessageBoxService:1#AddMessage”
    Connection: close

    text/xml MessageId<Category>SMS</Category><DisplayType>Maximum</DisplayType><ReceiveTime><Date>2014-01-04</Date><Time>21:51:23</Time></ReceiveTime><Receiver><Number>1234567890</Number><Name>Receiver</Name></Receiver><Sender><Number>1234567890</Number><Name>Sender</Name></Sender><Body>hello</Body>
    HTTP/1.1 400 Bad Request
    Content-Type:
    Content-Length: 0
    Connection: close

    Any idea if the F series support your code? I would really love to be able to send messages to my TV! :)

  3. Cloom
    Cloom at |

    I also tried with the port 55000 which is the one used to simulate the remote key and it does nothing neither :(

    user@pc $ $ ./samsung-msgbox.py -i 192.168.1.5 -p 55000 -m “hello”
    POST /PMR/control/MessageBoxService HTTP/1.0
    Content-Type: text/xml; charset=”utf-8″
    HOST: cloomgle
    Content-Length: 817
    SOAPACTION: “uuid:samsung.com:service:MessageBoxService:1#AddMessage”
    Connection: close

    text/xml MessageId<Category>SMS</Category><DisplayType>Maximum</DisplayType><ReceiveTime><Date>2014-01-04</Date><Time>22:09:38</Time></ReceiveTime><Receiver><Number>1234567890</Number><Name>Receiver</Name></Receiver><Sender><Number>1234567890</Number><Name>Sender</Name></Sender><Body>hello</Body>

    czunino@cloomgle ~/raspberrypi/samsung_notifications/samsung-messagebox-master$

  4. Ricardo
    Ricardo at |

    Doesn’t work in a UN32D5500.
    Here is the outgoing packet capture from the minidlna server once restarted.

    https://dl.dropboxusercontent.com/u/54639/samsung.cap

    The minidlna sends a message that display in the tv everytime it starts or reload

    If you could replicate the schema in the python app.

Comments are closed.