Page 1 of 1

System Alive Checker question

Posted: Monday 25 September 2023 19:19
by ilex
Hi.

I use System Alive Checker (Ping).

Below example from Domoticz Wiki:
Ping.png
Ping.png (60.38 KiB) Viewed 2885 times
Simple question: is there any way with script or better w json url to change "Sauron" device to other value ?

Why I need that ? My Mikrotik router has a backup LTE ISP uplink with dynamic IP address. I wish to send obtained IP address to domoticz every time it is changed.

Any hint ?

Best regards to all

Re: System Alive Checker question

Posted: Tuesday 26 September 2023 0:26
by waltervl
Change the value from the web ui and check with F12, section network the API call to modify. It could be that part of the url is base64 encoded

Re: System Alive Checker question

Posted: Tuesday 26 September 2023 11:29
by Kedi
This is the url:

Code: Select all

http://192.168.2.xxx:8080/json.htm?type=command&param=pingerupdatenode&idx=<hardware idx>&nodeid=<node ID>&name=<name>&ip=<ip-address>&timeout=5

Re: System Alive Checker question

Posted: Thursday 28 September 2023 22:31
by ilex
@Kedi: You have made my day - thx !

{
"status" : "OK",
"title" : "PingerUpdateNode"
}

Re: System Alive Checker question

Posted: Monday 15 July 2024 12:05
by ilex
Hi,

After upgrade of domoticz to Version: 2024.6 (build 16150) it seems to me code is not working any longer. Can someone confirm that ?

BR.

Re: System Alive Checker question

Posted: Friday 01 November 2024 2:59
by solarboy
I get lots of false positives with this.