• Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. SW Q&A
    3. Official EVOK API
    Log in to post
    • Newest to Oldest
    • Oldest to Newest
    • Most Posts
    • Most Votes
    • Most Views
    • T

      Adding MCP23017 on i2c
      i2c mcp2308 • • tradlost.se

      2
      0
      Votes
      2
      Posts
      1414
      Views

      T

      @tradlost.se Basically yes, but since I do not know much about your board it is hard to tell.

    • S

      Recommended way to access inputs/ooutputs
      • sebastian-azeti

      10
      0
      Votes
      10
      Posts
      4138
      Views

      T

      @cvdd https://github.com/UniPiTechnology/neuron_tcp_modbus_overlay is only for Neurons and will not work for the UniPi 1. For UniPi 1 there is only Evok as API from us. But if you need Modbus and do not want to use the HTTP REST api, websocket or JSON RPC, then take a look at someone implementing Modbus for UniPi 1

    • U

      systemctl enable evok throws error in install script
      • ubee

      2
      0
      Votes
      2
      Posts
      1462
      Views

      T

      @ubee Thanks for the tip! I will take a look at it.

    • M

      debug log file size
      • Merv

      5
      0
      Votes
      5
      Posts
      2061
      Views

      U

      @Merv,

      I have the same problem. It doesn't help to change the log level in the service file. It still continues dumping info about every read attempt which is annoying. I guess the "I" in the log indicates log level is Info. And it remains I whatever level you set.

    • T

      Open port RS485
      • tomas254

      8
      0
      Votes
      8
      Posts
      2734
      Views

      T

      Try reinstalling the Modbus server as described here: https://github.com/UniPiTechnology/neuron_tcp_modbus_overlay

    • H

      Input State remains the same
      neuron pi l203 evok api input • • HarishKumar

      2
      0
      Votes
      2
      Posts
      1423
      Views

      T

      @HarishKumar
      The evok itself is not designed to handle the logic of your application. That's why we call it API.

      It is using Tornado which means the server itself runs in one loop so you need to have all the program behavior ready before it is called mainLoop.start(). So if you run an infinite loop anywhere in evok, you stop everything else (reading, setting, all APIs, ...).

      So I suggest using that APIs, it is much more easier to implement and you have the same functionality. But if you would REALLY want to do it in evok, you would have to prepare your program in a function, all tasks that would take more time would have to be decorated as coroutines and the call has to be yielded in order not to stop the main loop. The logic behind this is a little bit complicated to describe in one post :)

    • B

      reading relay state via WebSocket
      • Boy Lenssen

      3
      0
      Votes
      3
      Posts
      1786
      Views

      B

      @tomas_hora Awesome! When I have time again for this project, I'll try it!

    • B

      RUN1 & RUN2 blinking in 2-second interval
      • Baggz

      8
      0
      Votes
      8
      Posts
      2881
      Views

      B

      @tomas_hora

      BTW, I absolute love Neuron! <3 I'll put it everywhere.

      Having a simple REST API is a bless.

      Thank you for all your hard work that goes into UniPi!

    • Z

      Node-red : set/reset multiple output
      • zeus

      3
      0
      Votes
      3
      Posts
      2465
      Views

      T

      @zeus I will think about it how to make it possible, Thanks for the tip: https://github.com/UniPiTechnology/evok/issues/11

    • F

      Setting Password for Evok Webpage
      • fipsi72

      4
      0
      Votes
      4
      Posts
      1696
      Views

      T

      @fipsi72 You can place evok behind a proxy of course...

    • J

      Neuron with JSONPRC and python
      • Juergen

      4
      0
      Votes
      4
      Posts
      2139
      Views

      T

      @Juergen Relay 1 does not exists. Check the web interface of evok for correct identification. The correct identification is eg. 2_1

    • K

      1-Wire: Send bits to DS2408
      • Kitaps

      5
      0
      Votes
      5
      Posts
      1659
      Views

      T

      @Kitaps IC stands for Integrated Circuit. What code?

    • B

      Neuron - Addressing GPIO from C++
      • Boy Lenssen

      28
      0
      Votes
      28
      Posts
      8108
      Views

      T

      @Boy-Lenssen You should be OK.

    • U

      Installation problem
      • ubee

      3
      0
      Votes
      3
      Posts
      1703
      Views

      T

      Thanks for the report. I will take a look at it :) https://github.com/UniPiTechnology/evok/issues/10

    • M

      evok on Neuron
      • mauri

      19
      0
      Votes
      19
      Posts
      6813
      Views

      T

      @Merv Thanks a lot for the info!

    • H

      Addressing the pins while using Evok
      evok neuron pi l203 • • HarishKumar

      2
      0
      Votes
      2
      Posts
      1440
      Views

      T

      @HarishKumar It's ok. That's why the forum is here. If you visit the web interface of evok, you will see the numbers of IO of the Neuron you are using.

      In general it is numbered as X_Y where X is the number of group (1-3 depending on S/M/L model) and Y is the number of the Di/Ro/...

      So for example you would address DI1.4 as a string 1_4 with device type di.

    • F

      EVOK Documentation
      • Freud-Schiller

      1
      0
      Votes
      1
      Posts
      1140
      Views

      No one has replied

    • M

      Error using "jsonrpclib"
      • moeins

      6
      0
      Votes
      6
      Posts
      2390
      Views

      C

      I have a Raspberry Pi 3 running Jessie with fresh installation of Evok. I am also using Python 3.4. I received the error, "TypeError: 'NoneType' object is not subscriptable." The workaround Tomas referred to on Nov 25, 2016, worked, but I first had to install jsonrpclib-pelix, a version of jsonrpclib updated for Python 3. The standard jsonrpclib does not work with Python 3.

    • C

      UniPi Control Panel does not look for lost value
      • chuckhinds

      2
      0
      Votes
      2
      Posts
      1184
      Views

      T

      Thansk a lot. Could you create a pull request or a bug report on github?

    • J

      rest request result not json conform
      • juntiedt

      16
      0
      Votes
      16
      Posts
      3723
      Views

      J

      hi Tomas,

      sorry for my recent post!
      I have solved the problem!
      I had to delete the cache of my chrom browser and now it works!

      have a nice Weekend