• Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. KaniaGandzowski
    K
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 2
    • Best 0
    • Controversial 0
    • Groups 0

    KaniaGandzowski

    @KaniaGandzowski

    0
    Reputation
    356
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    KaniaGandzowski Unfollow Follow

    Latest posts made by KaniaGandzowski

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

      no

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

      does Mervis has an api? or how connect with zabbix

      posted in General Discussion
      K
      KaniaGandzowski
    • Evok does not display data from sensor the DS18B20 but in Mervis or raspbery it do

      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

      posted in General Discussion
      K
      KaniaGandzowski