• Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. lukec
    L
    • Profile
    • Following 0
    • Followers 0
    • Topics 5
    • Posts 10
    • Best 0
    • Controversial 0
    • Groups 0

    lukec

    @lukec

    0
    Reputation
    441
    Profile views
    10
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    lukec Unfollow Follow

    Latest posts made by lukec

    • Patron: image with NodeRed preinstalled

      hi,

      I am running at some troubles with flashing image with Node-Red preinstalled for Patreon controllers.

      after flash conterller doesnt get ip over DHCP - is there any possibility to get an older image (or fix thise one)?

      Im am using image patron-node-red_image.20220406.0

      BR
      luka

      posted in Operating system
      L
      lukec
    • EVOk API in docker

      Hi all,

      has anyone successfully run EVOK API in docker container?

      Will there be any official support to run EVOK API in docker?

      BR

      posted in Official EVOK API
      L
      lukec
    • RE: EVOK configure additional 1wire port

      Tomas,

      thank you, putting "-d" in front (bus = -d /dev/ttyUSB0) worked - maybe you could update the evok.conf file with this (as example)

      BR

      posted in Official EVOK API
      L
      lukec
    • EVOK configure additional 1wire port

      Hi,

      i'm trying to add additional 1-wire port to evok (unipi v1.1), by adding usb-1wire converter.

      In evok.conf I defined second OW bus by adding:
      [OWBUS_2]
      bus = /dev/ttyUSB0
      interval = 5
      scan_interval = 300

      but I cannot read any sensors. Any help wil be appriciated.

      BR

      posted in Official EVOK API
      L
      lukec
    • RE: EVOK and websockets

      True, if "cmd":"set" addet to json string, ws command works.

      Reliability of ws is not as expected - bmo it is beter to use http post methods.

      ps.
      Can you please tell what are other commands in cmd?

      posted in Official EVOK API
      L
      lukec
    • RE: loosing 1-wire DS18B20 sensors during opreation in node-red

      I did as sugested I grounded cables for 1wire network connection. But it doesnt solve the issue.

      I guess it has to be power issue - I have 1x Unipi, 1x Rasperry Pi 3 and 1x EMO-8R module in addition 14x 1wire DS1820 temperature sensors.

      I am trying to figure out maximal power needed and so far I come with:
      1.5mA/1wire DS18b20
      1.5A/Unipi+RPi - 2.5A - RPi 3 model B (but only 1.1A is provided through Uni.pi) in opreational mode 250-500mA, that leaves around 1A for UniPi board and another 750mA for EMO-R8.

      Bottom line 2.4A should be enough for uni.pi main board, but not necesaray for extension module - could this cause 1wire lost problems?

      posted in Official EVOK API
      L
      lukec
    • EVOK and websockets

      Hi,

      I am running raspbian jessie recently and I cannot figure out websockets. I can not change relay states trough websocket connection (whic has state connected, aslo if I use websockets as input it works)

      I created simple flow (which gives me trouble):

      [{"id":"c19d5eed.d773c","type":"inject","z":"a5e9eb30.633008","name":"unipiR2on","topic":"unipiR2on","payload":"{\"dev\":\"relay\", \"circuit\":\"2\", \"value\":\"1\"}","payloadType":"json","repeat":"","crontab":"","once":false,"x":372,"y":338,"wires":[["d9c4b8fa.078788","af5dc7d8.1bc2e8"]]},{"id":"bad348d9.50a668","type":"inject","z":"a5e9eb30.633008","name":"unipiR2off","topic":"unipiR2off","payload":"{\"dev\":\"relay\", \"circuit\":\"2\", \"value\":\"0\"}","payloadType":"json","repeat":"","crontab":"","once":false,"x":382.9000434875488,"y":480.5667152404785,"wires":[["d9c4b8fa.078788","af5dc7d8.1bc2e8"]]},{"id":"d9c4b8fa.078788","type":"debug","z":"a5e9eb30.633008","name":"","active":true,"console":"false","complete":"payload","x":696.0477447509766,"y":179.5238332748413,"wires":[]},{"id":"af5dc7d8.1bc2e8","type":"websocket out","z":"a5e9eb30.633008","name":"","server":"d4a09910.dd7638","client":"","x":778.8095528738838,"y":395.23812430245533,"wires":[]},{"id":"d4a09910.dd7638","type":"websocket-listener","z":"","path":"ws://127.0.0.1/ws","wholemsg":"false"}]
      
      posted in Official EVOK API
      L
      lukec
    • RE: loosing 1-wire DS18B20 sensors during opreation in node-red

      tnx for quick reply - will try to ground FTP cables and will report back.

      posted in Official EVOK API
      L
      lukec
    • RE: loosing 1-wire DS18B20 sensors during opreation in node-red

      Update: as mentioned only software reboot is not enough, I have to unplug and plug UNI.pi board to electricity to have 1-wire sensors reading again.

      Could it be, that this is hardware problem (for connection I use standard UTP patch cable)?

      posted in Official EVOK API
      L
      lukec
    • loosing 1-wire DS18B20 sensors during opreation in node-red

      I'm having trouble with EVOK, when I read 1-wire (DS18D20) sensors in node-red flow, after some time sensors are lost (if I look at uni.pi.ip/rest/all, for sensor ID I get "lost": true). If I restart EVOK service, no 1-wire sensors are shown.

      Is there any known solution for this?

      BR Luka

      PS. I am running Rasbian on RPI3.

      posted in Official EVOK API
      L
      lukec