no
does Mervis has an api? or how connect with zabbix
no
does Mervis has an api? or how connect with zabbix
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
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