• Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. vvanouytsel
    V
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 2
    • Best 0
    • Controversial 0
    • Groups 0

    vvanouytsel

    @vvanouytsel

    0
    Reputation
    297
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    vvanouytsel Unfollow Follow

    Latest posts made by vvanouytsel

    • RE: WebSockets and UniPi Neuron

      Hi @tomas_hora

      Thanks for your reply, I thought that might be the issue. Using the WebSocket example from the evok git page works perfectly so I will build on that example.

      Thanks!

      posted in Official API - Evok
      V
      vvanouytsel
    • WebSockets and UniPi Neuron

      Hi All,

      I have been tinkering with the UniPi Neuron for the past few days. I got to the point where I get everything working (REST, jsonrpc, tcp modbus) but I can't figure out the WebSocket implementation.

      I had no experience with WebSockets but after some reading I managed to create a simple client - server example using Autobahn (Python implementation of WebSockets)

      However modifying the client example and simply changing the remote address is not doing any tricks. I do receive a notification on the evok service when I am running it manually and I try to connect with my WebSocket client.

      [I 170419 13:42:47 web:2063] 200 GET / (10.3.131.5) 19.47ms

      The above line is what I get everytime I try to connect with the WebSocket client to the UniPi. Instead of polling, the WebSocket client immediately closes its connection.

      reactor.connectTCP("10.3.129.17", 8088, factory)
      reactor.run()

      Anyone has experience with WebSockets and the UniPi and has a clue what I am missing?
      Thanks in advance!

      posted in Official API - Evok
      V
      vvanouytsel