Thanks Kedi, I missed those files as I only looked in the folder "webserver" and not in "main". All I have to do now is understandKedi wrote: Tuesday 22 July 2025 13:57 I think if you search the source of 'WebServerCmds.cpp' and/or 'WebServer.cpp' for '$' you will find what you are searching for.
Search found 19 matches
- Tuesday 22 July 2025 16:06
- Forum: Other questions and discussions
- Topic: Code that hides elements whose name is prefixed with a $
- Replies: 6
- Views: 2352
Re: Code that hides elements whose name is prefixed with a $
- Tuesday 22 July 2025 11:07
- Forum: Other questions and discussions
- Topic: Code that hides elements whose name is prefixed with a $
- Replies: 6
- Views: 2352
Re: Code that hides elements whose name is prefixed with a $
Here you go Chris.
https://forum.domoticz.com/viewtopic.php?t=42583
Thanks HvdW for the tip but I was actually looking for the code which implemented this, i.e. detects the presence of a $ and hides the device.
This requested functionality could better be implemented by an edit option on ...
- Sunday 20 July 2025 22:41
- Forum: Other questions and discussions
- Topic: Code that hides elements whose name is prefixed with a $
- Replies: 6
- Views: 2352
Code that hides elements whose name is prefixed with a $
Hi all,
I'm looking for the file(s) that contain the code for hiding elements by prefixing the name with a $. I've looked through a lot of the source, XXcontroller.js, some .cpp, to no avail. Is this done server side or client side - I imagine it's client side. If someone can point me in the right ...
I'm looking for the file(s) that contain the code for hiding elements by prefixing the name with a $. I've looked through a lot of the source, XXcontroller.js, some .cpp, to no avail. Is this done server side or client side - I imagine it's client side. If someone can point me in the right ...
- Sunday 23 March 2025 20:10
- Forum: Installation, Compiling, Permissions, Security and Starting
- Topic: Enable SSL on docker
- Replies: 9
- Views: 3692
Re: Enable SSL on docker
Is this topic no longer available, link gives 404 error!
- Tuesday 18 June 2024 16:54
- Forum: MQTT Auto Discovery
- Topic: MQTT AD text sensor
- Replies: 2
- Views: 2630
Re: MQTT AD text sensor
Thanks, that works fine.
- Thursday 13 June 2024 12:10
- Forum: MQTT Auto Discovery
- Topic: MQTT AD text sensor
- Replies: 2
- Views: 2630
MQTT AD text sensor
Hello,
Does the Domoticz implementation of MQTT AD allow for the creation of text sensors? If so what is the device class needed in the config topic?
Thanks for any suggestions.
Does the Domoticz implementation of MQTT AD allow for the creation of text sensors? If so what is the device class needed in the config topic?
Thanks for any suggestions.
- Saturday 23 July 2022 17:51
- Forum: MQTT Auto Discovery
- Topic: Temp/Humidity sensor autodiscovery
- Replies: 7
- Views: 3870
Re: SOLVED: Temp/Humidity sensor autodiscovery
It took me some time to get there but with the patient help of Gizmocuz here's the explanation:
Domoticz expects the autodiscovery topic to be published in the folder "homeassistant/....
and
the state payload in a folder like zwavejs2mqtt/... or zigbee2mqtt/... or tasmota/... or myhardware ...
Domoticz expects the autodiscovery topic to be published in the folder "homeassistant/....
and
the state payload in a folder like zwavejs2mqtt/... or zigbee2mqtt/... or tasmota/... or myhardware ...
- Tuesday 28 June 2022 19:24
- Forum: Other questions and discussions
- Topic: Visual Studio (or other IDE) setup instructions
- Replies: 21
- Views: 5366
Re: Visual Studio (or other IDE) setup instructions
Hi again,
I found the answer, install VS2022, I was using VS2019 which uses build tools V142.
Then I got Error C1083 Cannot open include file: 'json/json.h': No such file or directory domoticz .......
This was solved by rerunning the various VCPKG installation steps.
Now I have a running Windows ...
I found the answer, install VS2022, I was using VS2019 which uses build tools V142.
Then I got Error C1083 Cannot open include file: 'json/json.h': No such file or directory domoticz .......
This was solved by rerunning the various VCPKG installation steps.
Now I have a running Windows ...
- Tuesday 28 June 2022 16:57
- Forum: Other questions and discussions
- Topic: Visual Studio (or other IDE) setup instructions
- Replies: 21
- Views: 5366
Re: Visual Studio (or other IDE) setup instructions
Hi,
So I've finally taken the plunge to try and debug my MQTT AD problem, devices discovered but not created.
If you're interested see forum topic https://www.domoticz.com/forum/viewtopic.php?p=290737#p290737
I've followed @barts2108's instructions and all went well until the build. It fails with ...
So I've finally taken the plunge to try and debug my MQTT AD problem, devices discovered but not created.
If you're interested see forum topic https://www.domoticz.com/forum/viewtopic.php?p=290737#p290737
I've followed @barts2108's instructions and all went well until the build. It fails with ...
- Monday 27 June 2022 16:48
- Forum: Other questions and discussions
- Topic: Dewpoint calculation.
- Replies: 4
- Views: 498
Re: Dewpoint calculation.
Just saw your replies - thanks @Kiddigital, @Firewizard
- Monday 27 June 2022 16:44
- Forum: Other questions and discussions
- Topic: Dewpoint calculation.
- Replies: 4
- Views: 498
Solved: Dewpoint calculation.
Hi,
OK, I've answered my own question - it's in main/helper.cpp.
It's the same formula that I already found except that the constants are different!
(C1 * (LOG(Hum/100) + ( (C2 *Temp / (C1 +Temp ) ))) / (C2 - (LOG(Hum/100) + ( (C2 *Temp ) / (C1 +Temp ) )))
C1 in Domoticz is 243.04, my search ...
OK, I've answered my own question - it's in main/helper.cpp.
It's the same formula that I already found except that the constants are different!
(C1 * (LOG(Hum/100) + ( (C2 *Temp / (C1 +Temp ) ))) / (C2 - (LOG(Hum/100) + ( (C2 *Temp ) / (C1 +Temp ) )))
C1 in Domoticz is 243.04, my search ...
- Monday 27 June 2022 15:57
- Forum: MQTT Auto Discovery
- Topic: Temp/Humidity sensor autodiscovery
- Replies: 7
- Views: 3870
Re: Temp/Humidity sensor autodiscovery
Still trying to figure this out, nobody have an idea?
The config topic payload is :
{"availability":[{"topic":"homeassistant/bridge/state","value_template":"{{ value_json.state }}"}],"device":{"identifiers":["zigbee2mqtt_0x00124b00251ca8fe"],"manufacturer":"SONOFF","model":"Temperature and ...
The config topic payload is :
{"availability":[{"topic":"homeassistant/bridge/state","value_template":"{{ value_json.state }}"}],"device":{"identifiers":["zigbee2mqtt_0x00124b00251ca8fe"],"manufacturer":"SONOFF","model":"Temperature and ...
- Monday 27 June 2022 15:40
- Forum: Other questions and discussions
- Topic: Dewpoint calculation.
- Replies: 4
- Views: 498
Dewpoint calculation.
Hi,
I'm trying to reconstitute some historical data to include in one of my temp/humidity sensors. Can some one please point me to the formula used to calculate the dew-point. I've found several on the web but they give different results that don't correspond to what I see in Domoticz. I've tried ...
I'm trying to reconstitute some historical data to include in one of my temp/humidity sensors. Can some one please point me to the formula used to calculate the dew-point. I've found several on the web but they give different results that don't correspond to what I see in Domoticz. I've tried ...
- Wednesday 22 June 2022 16:22
- Forum: MQTT Auto Discovery
- Topic: Temp/Humidity sensor autodiscovery
- Replies: 7
- Views: 3870
Re: Temp/Humidity sensor autodiscovery
Hi,
I have just been going through exactly the same process as you Sundansx.
I've been trying to get working, so far without success, a Sonoff SNZB-02 temperature/humidity sensor paired to a Sonoff Zigbee 3.0 USB Dongle plus.
Like you all seems correct in MQTTexplorer and I see the same messages ...
I have just been going through exactly the same process as you Sundansx.
I've been trying to get working, so far without success, a Sonoff SNZB-02 temperature/humidity sensor paired to a Sonoff Zigbee 3.0 USB Dongle plus.
Like you all seems correct in MQTTexplorer and I see the same messages ...
- Sunday 12 June 2022 12:10
- Forum: MQTT Auto Discovery
- Topic: MQTT Audo-discovery
- Replies: 107
- Views: 27313
Re: MQTT Audo-discovery
Hi,
I'm trying to setup a new Domoticz installation on an Rpi 3B with Bullseye 11 to eventually replace my current production installation.
I've installed Docker and Domoticz, MQTT (Mosquitto) and Zigbee2mqtt in their respective containers.
So far I have just one Zigbee device, a Sonoff ...
I'm trying to setup a new Domoticz installation on an Rpi 3B with Bullseye 11 to eventually replace my current production installation.
I've installed Docker and Domoticz, MQTT (Mosquitto) and Zigbee2mqtt in their respective containers.
So far I have just one Zigbee device, a Sonoff ...
- Saturday 28 May 2022 12:12
- Forum: Other questions and discussions
- Topic: IFTTT Webhook - Server returning 401
- Replies: 4
- Views: 3004
Re: IFTTT Webhook - Server returning 401
Hi,
I had the same problem and finally found that using the format
http://<username:password@>domoticz-ip<:port>/json.htm?api-call
worked for me. You also need to change the authentication method in "settings/website protection" to "basic-auth".
However base64 encoded credentials don't work for ...
I had the same problem and finally found that using the format
http://<username:password@>domoticz-ip<:port>/json.htm?api-call
worked for me. You also need to change the authentication method in "settings/website protection" to "basic-auth".
However base64 encoded credentials don't work for ...
- Wednesday 27 November 2019 22:09
- Forum: Other questions and discussions
- Topic: HTTPS access to web gui
- Replies: 0
- Views: 355
HTTPS access to web gui
For some time now I've had problems with HTTPS access to the web GUI. Roughly once a day the interface becomes unresponsive, I assumed this was linked to the problem discussed in the Github discussion "domoticz non responsive after websocket error (#3661)".
After installing the beta, 11351, with the ...
After installing the beta, 11351, with the ...
- Sunday 13 October 2019 16:06
- Forum: Other questions and discussions
- Topic: Custom sensor database table
- Replies: 2
- Views: 767
Re: Custom sensor database table [Solved]
Thanks waaren, that's what I needed.
- Sunday 13 October 2019 11:38
- Forum: Other questions and discussions
- Topic: Custom sensor database table
- Replies: 2
- Views: 767
Custom sensor database table
Hi,
Which table(s) in the database is used to store values from a custom sensor?
I need to populate it with historic data.
Something equivalent to "Temperature" and "Temperature_Calendar" for temperature.
Thanks for any insight.
Which table(s) in the database is used to store values from a custom sensor?
I need to populate it with historic data.
Something equivalent to "Temperature" and "Temperature_Calendar" for temperature.
Thanks for any insight.