• Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    • Profile
    • Following 0
    • Followers 0
    • Topics 4
    • Shares 0
    • Posts 9
    • Groups 0
    D Offline
    1. Home
    2. devmicha
    3. Topics

    Topics

    • D

      Wall switch - with Evok

      Watching Ignoring Scheduled Pinned Locked Moved Evok API
      2
      0 Votes
      2 Posts
      1k Views
      Martin KudláčekM
      Hello @devmicha, The infrastructure looks like this: IOs -> (SPI) -> ModbusTCP server -> (ModbusTCP) -> Evok -> (REST, WebSockets,...) -> your code The ModbusTCP server (unipitcp service) is polling the complete status of underlying HW via SPI. This happens very quickly, in less than milisecond interval. The Evok aggregates data from the ModbusTCP server and from the owfs (for 1-Wire devices). Your application can poll data from the Evok in multiple ways (REST, WebSockets,...) As you can see, the Evok doesn't communicate with the HW directly. We discussed the possibility of custom software pulling the SPI in this thread: https://forum.unipi.technology/topic/711/reading-spidev I fully understand your concerns about infinite polling data over GET requests. This is generally slow and causes high load on the PLC. The WebSocket offers you a way to subscribe to updates of the IO. You can poll the complete status of the PLC at any time and yet you can listen to updates and act accordingly. Check the documentation and example: https://evok-9.api-docs.io/1.08/ubmjnyexu77wxwo4q/websocket. Martin
    • D

      Disable evok.access.log

      Watching Ignoring Scheduled Pinned Locked Moved Evok API
      2
      0 Votes
      2 Posts
      2k Views
      T
      You can change the access_log /var/log/evok.access.log; line near the top of your /etc/evok-nginx.conf file to access_log off; This should take care of it. You can also pipe it to /dev/null or create some sort of a log rotation scheme using CRON instead.
    • D

      Wireless Access Point

      Watching Ignoring Scheduled Pinned Locked Moved Evok API
      9
      0 Votes
      9 Posts
      5k Views
      T
      Jessie has a different netconf stack from Stretch, so the AP will not work there - and there is a rather large all-capitals warning during the installation to not use anything else than clean Raspbian Stretch. Regardless it should work now, we'll have a quick look at what could go wrong.
    • D

      Direct Switch - setup example (without Mervis)

      Watching Ignoring Scheduled Pinned Locked Moved Evok API
      4
      0 Votes
      4 Posts
      4k Views
      T
      @devmicha Its only possible to control one RO/DO with one DI with the same number using the DirectSwitch function. If you want to do 1Di to more Do/Ro, than you have to make some program which will take care of it. Or also just do it in the cables :)