Page 1 of 1

Question about the working of domoticz Webinterface

Posted: Wednesday 21 August 2019 11:33
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.

Re: Question about the working of domoticz Webinterface

Posted: Wednesday 21 August 2019 17:54
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

Re: Question about the working of domoticz Webinterface

Posted: Sunday 25 August 2019 8:41
by zicht
Thank you Waaren !