HTTP DEVICE PLUGIN

Discussions about Z-Way software and Z-Wave technology in general
Post Reply
compmarket
Posts: 8
Joined: 27 Mar 2019 20:52

HTTP DEVICE PLUGIN

Post by compmarket » 27 Mar 2019 20:59

Dear colleagues! Prompt please, it is impossible to configure the HTTP device. The house has A wifi electricity meter with xml\json web interface. Tried to get data from it in the HTTP device in Zway. I have a Popp hub. Always get a value of 0... Maybe my knowledge of java is not enough... Could you tell me the algorithm line how to get data?

WiFi meter - http://yalga.h-net.ru:8086/xml

In Zway Http device:
sensorMultiLevel
Url http://yalga.h-net.ru:8086/xml
Inline Javascript to parse incoming data to number - document.querySelector("UPTIME").innerText;
or
Inline Javascript to parse incoming data to number - parseFloat($$.findOne('UPTIME')
http method - GET
content type - application/xml

help plz..

compmarket
Posts: 8
Joined: 27 Mar 2019 20:52

Re: HTTP DEVICE PLUGIN

Post by compmarket » 29 Mar 2019 13:10

can anybody help me with such problem?

Post Reply