Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. lessmann
    L
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    lessmann

    @lessmann

    0
    Reputation
    16
    Posts
    153
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    lessmann Follow

    Best posts made by lessmann

    This user hasn't posted anything yet.

    Latest posts made by lessmann

    • RE: Switching output or relay on

      @zdenek_jotio Success!!
      I've changed your inject node to "1" instead of "1_01" and it's worked.
      Finally getting somewhere.... Changing the nodes is working on all examples now
      Brilliant, thanks for the direction

      posted in Node-RED
      L
      lessmann
    • RE: Switching output or relay on

      @zdenek_jotio I imported your example but it's not switching.
      0_1574252030392_zdenek example.jpg
      This is really frustrating, the Unipi responds as expected through the Evok interface but nothing is working with NodeRed.

      posted in Node-RED
      L
      lessmann
    • RE: Switching output or relay on

      @WesleyFranken
      I've gone back to the installation instructions and tutorial and trying to follow the initial basic example given but again it does not seem to do anything.

      This is the flow.....

      [{"id":"a3c2ed71.5c3d1","type":"websocket-client","path":"ws://127.0.0.1/ws","wholemsg":"false"},{"id":"c7a9d1f1.38563","type":"websocket out","name":"","server":"","client":"a3c2ed71.5c3d1","x":643,"y":272,"z":"2b1b35ba.d4e4ca","wires":[]},{"id":"80afc33f.7f504","type":"inject","name":"R1 ON","topic":"","payload":"{\"dev\":\"relay\", \"circuit\":\"1\", \"value\":\"1\"}","payloadType":"string","repeat":"","crontab":"","once":false,"x":363,"y":199,"z":"2b1b35ba.d4e4ca","wires":[["c7a9d1f1.38563"]]},{"id":"3964a515.c69b5a","type":"inject","name":"R1 OFF","topic":"","payload":"{\"dev\":\"relay\", \"circuit\":\"1\", \"value\":\"0\"}","payloadType":"string","repeat":"","crontab":"","once":false,"x":357,"y":273,"z":"2b1b35ba.d4e4ca","wires":[["c7a9d1f1.38563"]]},{"id":"aa9c56df.5563a8","type":"inject","name":"AO set 5V a","topic":"","payload":"{\"dev\":\"ao\", \"circuit\":\"1\", \"value\":\"5\"}","payloadType":"string","repeat":"","crontab":"","once":false,"x":363,"y":114,"z":"2b1b35ba.d4e4ca","wires":[["c7a9d1f1.38563"]]}]
      

      ....and this is the flow example

      0_1574170104976_NodeRed tutorial.jpg

      posted in Node-RED
      L
      lessmann
    • RE: Switching output or relay on

      Are we sure that the "local host" is connected to the Unipi? It says "connected" in Node Red
      0_1573920693790_Node Red Connection.jpg

      posted in Node-RED
      L
      lessmann
    • RE: Switching output or relay on

      As the Evok can't be changed I must be naming the Relay incorrectly on the Node Red side.
      I have attached Inject nodes into a "Relay 1" as you suggested and the screen print is below but it's not doing anything
      0_1573919442860_Node Red Relay 1.png

      posted in Node-RED
      L
      lessmann
    • RE: Switching output or relay on

      @wesleyfranken I'm obviously a sucker for punishment but I have a replacement Unipi1.1 and it's set up and ready to go. Not that sure if I am, I don't think I like Node Red very much. I do not find it very intuitive.
      Anyway I am trying to understand what you were saying about configuring the I/O in Evok. Below is my configuration page but I can't change any of this...
      0_1573918619242_Unipi Evok Configuration.jpg

      posted in Node-RED
      L
      lessmann
    • RE: Switching output or relay on

      @wesleyfranken my evok relay did not look like that and when I tried to write in the "alias" field I would get an error. Unfortunately I can't check this now as I have accidentally broken my unipi.
      In an attempt to tidy up the dinrail I rewired the power and connected it to the wrong (24v) supply by accident.
      Maybe I did it on purpose because it was causing me such a headache 😂

      Thank you for your help on this. I'll let you know when or if I get a replacement.

      posted in Node-RED
      L
      lessmann
    • RE: Example UI flow not working

      @wesleyfranken I feel like I'm trying to learn chinese here!
      I have changed the flow to "Relay 4" and at least now when I select "switch 4" it indicates an "on" (whatever that means) but the relay is not switching?

      0_1573032512256_switch 4 ui.png
      0_1573032524639_switch 4 node red.png

      posted in Node-RED
      L
      lessmann
    • RE: Switching output or relay on

      @wesleyfranken I've imported your flow into Node red thanks but I have no idea what to do with it at this stage.

      I've named the Relay 1 as it is name in Evoke and added a simple "1" into an inject node but this is not triggering the relay?
      Infact it seems to switch it off according to the screen print below.
      0_1573031150851_relay1 Node red.png

      0_1573031160849_relay1 Evoke.png

      posted in Node-RED
      L
      lessmann