• Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Websocket disconnected

    Scheduled Pinned Locked Moved Unipi 1 - First Generation
    2 Posts 2 Posters 1.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      wolge
      last edited by

      I prefer to run node-red on my raspberry pi with desktop environment.

      When I install "node-red-contrib-unipi-evok" and I insert a unipi flow the websocket node doesn't connect:
      Schermafbeelding 2020-12-19 om 14.38.12.png

      When I install the "Unipi 1.1 Node-RED OS" image on the SD card and start node-red the websocket works fine:
      Schermafbeelding 2020-12-19 om 13.58.43.png
      But in this option I have no desktop environment on my Raspberry Pi.

      I'm trying to find out why the websocket doesn't work in the node-red installed in the first example with desktop environment.

      I don't onderstand way this doesn't work. 😩
      How can i fix this problem?
      Can anyone help me with this?

      Martin KudláčekM 1 Reply Last reply
      Reply Quote 0
      • Martin KudláčekM
        Martin Kudláček @wolge
        last edited by

        Hello @wolge, from the screenshot it looks like you are using two different URLs. The first one is /ws/127.0.0.1:8080 which is incorrect.

        1 Reply Last reply
        Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post