Question about the working of domoticz Webinterface 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
zicht
Posts: 300
Joined: Sunday 11 May 2014 11:09
Target OS: Windows
Domoticz version: 2023.1+
Location: NL
Contact:

Question about the working of domoticz Webinterface

Post by zicht »

Hi,

I am just wondering :
if you have domoticz open in the webpage, will all sensors be loaded but just the ones from the selected tab will be shown ?

Why :
I am thinking about making a text sensor that will be populated with some html code. I want to avoid it "breaks out" the page by malformat of the HTML <Div>

if domoticz is realy selective in showing information on the tabs then i do not have to worry for breaking things by making a typo or another stupid mistake.
Rpi & Win x64. Using : cam's,RFXCom, LaCrosse, RFY, HuE, google, standard Lua, Tasker, Waze traveltime, NLAlert&grip2+,curtains, vacuum, audioreceiver, smart-heating&cooling + many more (= automate all repetitive simple tasks)
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Question about the working of domoticz Webinterface

Post by waaren »

zicht wrote: Wednesday 21 August 2019 11:33 Hi,

I am just wondering :
if you have domoticz open in the webpage, will all sensors be loaded but just the ones from the selected tab will be shown ?

Why :
I am thinking about making a text sensor that will be populated with some html code. I want to avoid it "breaks out" the page by malformat of the HTML <Div>

if domoticz is realy selective in showing information on the tabs then i do not have to worry for breaking things by making a typo or another stupid mistake.
Which sensors are loaded depend on the tab you requested.
If you refer to the switches tab

Code: Select all

http://<domoticz ip>:<domoticz port>/json.htm?type=devices&filter=light&used=true&order=[Order]&plan=0
utility

Code: Select all

http://<domoticz ip>:<domoticz port>/json.htm?type=devices&filter=utility&used=true&order=[Order]&plan=0
weather

Code: Select all

http://<domoticz ip>:<domoticz port>/json.htm?type=devices&filter=weather&used=true&order=[Order]
temperature

Code: Select all

http://<domoticz ip>:<domoticz port>/json.htm?type=devices&filter=temp&used=true&order=[Order]&plan=0
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
zicht
Posts: 300
Joined: Sunday 11 May 2014 11:09
Target OS: Windows
Domoticz version: 2023.1+
Location: NL
Contact:

Re: Question about the working of domoticz Webinterface

Post by zicht »

Thank you Waaren !
Rpi & Win x64. Using : cam's,RFXCom, LaCrosse, RFY, HuE, google, standard Lua, Tasker, Waze traveltime, NLAlert&grip2+,curtains, vacuum, audioreceiver, smart-heating&cooling + many more (= automate all repetitive simple tasks)
Post Reply

Who is online

Users browsing this forum: Google Adsense [Bot] and 1 guest