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-0416c20bf3ffroot@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=28437And can read from Mervis
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 -
@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..
-
no
does Mervis has an api? or how connect with zabbix
-
@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..