How the Domoticz web page is updated ? Topic is solved

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
Thorgal789
Posts: 882
Joined: Wednesday 15 August 2018 14:38
Target OS: -
Domoticz version:
Contact:

How the Domoticz web page is updated ?

Post 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.
User avatar
waltervl
Posts: 6690
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2025.1
Location: NL
Contact:

Re: How the Domoticz web page is updated ?

Post by waltervl »

Websockets.
Check this topic viewtopic.php?t=40352
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Thorgal789
Posts: 882
Joined: Wednesday 15 August 2018 14:38
Target OS: -
Domoticz version:
Contact:

Re: How the Domoticz web page is updated ?

Post 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 ?
User avatar
waltervl
Posts: 6690
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2025.1
Location: NL
Contact:

Re: How the Domoticz web page is updated ?

Post by waltervl »

I have no more info then what is in that other topic...
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest