Page 1 of 1

How the Domoticz web page is updated ?

Posted: Saturday 16 December 2023 22:00
by Thorgal789
Hello, I have a question, how is updated the Domoticz Webpage ? Because when a device is updated the page too, in realy few time.
It use Websocket connexion ? Polling ? Other magic ?

I m asking that, because I m on a new project, it 's small hardware with display (Cheap Yellow Display) and I will use it at small interface with bi directionnal communication.
So the device need to know if something have moved on domoticz (and on the whole application)

I know how to do with script but not realy friendly for user, I can do a python plugin but IDK if it's possible to have information for other device not managed by the python plugin itself.

And OFC I m searching to avoid the polling method.

Re: How the Domoticz web page is updated ?

Posted: Saturday 16 December 2023 22:53
by waltervl
Websockets.
Check this topic viewtopic.php?t=40352

Re: How the Domoticz web page is updated ?

Posted: Sunday 17 December 2023 10:03
by Thorgal789
Yeah Thx, it's exactly what I m searching.
I add a doubt because I can't see websocket connection on browser developper console, and I don't found official documentation for it.

Realy usefull feature. There is no settings availables to custom it ?

Re: How the Domoticz web page is updated ?

Posted: Sunday 17 December 2023 23:38
by waltervl
I have no more info then what is in that other topic...