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

    Zdeněk Kolář

    @zdenek_jotio

    0
    Reputation
    237
    Profile views
    3
    Posts
    0
    Followers
    0
    Following
    Joined Last Online
    Email zdenek.kolar@jotio.tech Website www.jotio.tech

    zdenek_jotio Unfollow Follow

    Latest posts made by zdenek_jotio

    • RE: Switching output or relay on

      @lessmann
      Hello, Maybe the problem could be wrong parameter in your inject node, property "circuit". Try to write 1_01.

      [
          {
              "id": "ea2bcddd.a24bd",
              "type": "websocket out",
              "z": "30748b10.e19c14",
              "name": "",
              "server": "",
              "client": "dd64b36.1f0375",
              "x": 870,
              "y": 620,
              "wires": []
          },
          {
              "id": "8d47e7f7.2cd0a8",
              "type": "inject",
              "z": "30748b10.e19c14",
              "name": "OUT1 ON",
              "topic": "",
              "payload": "{\"cmd\":\"set\",\"dev\":\"relay\",\"circuit\":\"1_01\",\"value\":1}",
              "payloadType": "json",
              "repeat": "",
              "crontab": "",
              "once": false,
              "onceDelay": 0.1,
              "x": 360,
              "y": 620,
              "wires": [
                  [
                      "ea2bcddd.a24bd"
                  ]
              ]
          },
          {
              "id": "ff63b95.a35eb48",
              "type": "inject",
              "z": "30748b10.e19c14",
              "name": "OUT1 OFF",
              "topic": "",
              "payload": "{\"cmd\":\"set\",\"dev\":\"relay\",\"circuit\":\"1_01\",\"value\":0}",
              "payloadType": "json",
              "repeat": "",
              "crontab": "",
              "once": false,
              "onceDelay": 0.1,
              "x": 360,
              "y": 660,
              "wires": [
                  [
                      "ea2bcddd.a24bd"
                  ]
              ]
          },
          {
              "id": "dd64b36.1f0375",
              "type": "websocket-client",
              "z": "",
              "path": "ws://192.168.1.7/ws",
              "tls": "",
              "wholemsg": "false"
          }
      ]
      
      posted in Node-RED
      Z
      zdenek_jotio
    • RE: Simple input output map

      @matrixratrix said in Simple input output map:

      I new on node red.

      I trying map a simple input to a relay bu Node red unsing Unipi, ai use this example:

      https://flows.nodered.org/node/@unipitechnology/node-red-contrib-unipi-evok

      The "Unipi Control Panel" tell me that the comunication is working, the WS ip is set and is connected, but for some
      reason the output is not working.

      the debug is tell me the same:
      0_1571852498572_uni.JPG

      There is there any other detail you should configure?

      Hello matrixratrix,

      Please can you check if the configuration of your ws node - if the "Type" is set to "Connect to" as is shown in the picture.

      0_1572474763431_768637ba-7b75-4ded-b7aa-c323d09628f3-image.png

      This config change should solve your problem.

      posted in Node-RED
      Z
      zdenek_jotio
    • RE: NodeRed with analog OUTput

      Hello @beergeek

      You are right with problem when using analog output in configuration 0-20mA. When we designed nodes, we only implemented voltage output.

      To fast repair you can add function node to output, that recalculate output value from 0-10 to 0-20. So your input value will be 0 to 10, but output value will be 0-20. We will try to repair output node with support for current output it in next week.

      Function code to fast implementation:
      0_1562793741763_b5537379-d362-4d19-b00b-00d50f3b5464-image.png

      Try to import funtion and connect it as in picture.

      [{"id":"98b4db11.a43aa8","type":"function","z":"dd6bd412.3bde08","name":"0-20mA","func":"if(msg.payload.value) \n{\n    msg.payload.value = msg.payload.value*2.00;\n}\nreturn msg;","outputs":1,"noerr":0,"x":1260,"y":220,"wires":[["a7851ed2.a7d6"]]}]
      

      Thank you for your notice.

      posted in Node-RED
      Z
      zdenek_jotio