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

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

    Scheduled Pinned Locked Moved General Discussion
    4 Posts 2 Posters 2.7k Views
    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

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post