• Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Evok does not display data from sensor the DS18B20 but in Mervis or raspbery it do

    General Discussion
    2
    4
    1767
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      KaniaGandzowski last edited by KaniaGandzowski

      I have got UniPI and raspberry PI 3.

      I want read temp from evok api

      root@unipi:/sys/bus/w1/devices# wget -qO- http://10.2.11.149:8088/rest/sensor/1
      {"interval": 1, "value": null, "circuit": "1", "address": "280416C20BF3FF", "time": 0, "typ": "DS18B20", "lost": false, "dev": "temp"}root@unipi:/sys/bus/w1/devices#

      value is empty (null) but in

      root@unipi:/sys/bus/w1/devices/28-0416c20bf3ff# cat name
      28-0416c20bf3ff

      root@unipi:/sys/bus/w1/devices/28-0416c20bf3ff# cat w1_slave
      c7 01 4b 46 7f ff 0c 10 fe : crc=fe YES
      c7 01 4b 46 7f ff 0c 10 fe t=28437

      And can read from Mervis
      0_1507530891004_1wire-mervis.jpg

      My file evok.conf
      /etc/evok.conf

      #!! don't use # for inline comments

      [MAIN]
      webname = unipi
      staticfiles = /var/www/evok
      ;password = test
      ;rpcpassword = test
      secret = ut5kB3hhf6VmZCujXGQ5ZHb1EAfiXHcy
      port = 8088
      enable_cors = False
      cors_domains = *
      modbus_port = 5020
      #modbus_address = 127.0.0.1
      modbus_address = *

      [OWBUS_1]
      owbus = --i2c=/dev/i2c-1:ALL
      interval = 3
      scan_interval = 300

      [SENSOR_1]
      bus = 1
      address = 280416C20BF3FF
      type = DS18B20
      interval = 1

      [SENSOR_2]
      bus = 1
      address = 280516b57798ff
      type = DS18B20
      interval = 2

      T 1 Reply Last reply Reply Quote 0
      • T
        tomas_hora administrators @KaniaGandzowski last edited by

        @KaniaGandzowski Does the sensor shows up in the web interface of evok or in the output when evok is run on hand? It might NOT work if you have all three softwares on one system running at the same time..

        1 Reply Last reply Reply Quote 0
        • K
          KaniaGandzowski last edited by

          no

          0_1507546996362_UniPi_control_panel_-_2017-10-09_13.02.58.png

          does Mervis has an api? or how connect with zabbix

          T 1 Reply Last reply Reply Quote 0
          • T
            tomas_hora administrators @KaniaGandzowski last edited by

            @KaniaGandzowski The easies API for Mervis is TCP Modbus. What about my comment: It might NOT work if you have all three softwares on one system running at the same time..

            1 Reply Last reply Reply Quote 0
            • First post
              Last post