Page 1 of 1

getting single json value from device

Posted: Wednesday 19 November 2025 13:52
by Gravityz
when i use a single http json command i get the complete json string from a watermeter device
is there a way with one command where i get one value(eg counter)

this is what i have been using but it gives me everything

Code: Select all

http://192.168.1.50:8084/json.htm?type=command&param=getdevices&rid=344

Re: getting single json value from device

Posted: Wednesday 19 November 2025 14:48
by jvdz
Gravityz wrote: Wednesday 19 November 2025 13:52 is there a way with one command where i get one value(eg counter)
What type of command are you looking for? In LUA/dzvents or do you mean a URL for a webbrowser?

Re: getting single json value from device

Posted: Wednesday 19 November 2025 14:51
by Gravityz
url from a browser

Re: getting single json value from device

Posted: Wednesday 19 November 2025 15:13
by Gravityz
never mind.
i solved my problem with mqtt

thanks