Raspberry Pi:通過WebSocket遠程控制PiFace



WebSocket伺服器:Python和龍捲風
客戶端:瀏覽器(HTML5-Javascript [ jQuery ] )

來源:https://github.com/adcomp/piface-python-websocket-server。

10 comments
  1. I have intall it on my Raspi and it works fine. Thank you.
    Now i want to control it over dyndns. I have forwarded the ports in my router.
    When I try to connect it with xxxxxx.dyndns.xxx:8888 the connection runs until the site i can type the IP of the host.
    When i now will connect to host it does not work. In my local Net everythings works fine. Is their an other Port i had to forward apart from 8888. Or is their an option in the python script or html file that only local connections are allowed?

  2. It would be awesome if the author of the code didn't floss about how he wrote it, and instead address the 5+ people on here asking why they are getting a "Upgrade" header notice.

  3. Ya, I'm in the same boat. I can't find any documentation what this means. It appears to be a tornado thing, but I'm not even certain of that. All I get is: Can "Upgrade" only to "WebSocket". Any help out there? This is very frustrating.

  4. OK I install tornado webserver and run..
    "Raspberry Pi – PiFace
    WebSocket Server start .."
    but when i connected to 192.168.1.xxx:8888/piface
    this message appears: Can "Upgrade" only to "WebSocket".
    what does it means?
    please help 🙁

Comments are closed.