Search found 19 matches

by redswan
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: 1788

Re: Code that hides elements whose name is prefixed with a $

Kedi 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.
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 understand ;)
by redswan
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: 1788

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 the device ...
by redswan
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: 1788

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 ...
by redswan
Sunday 23 March 2025 20:10
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Enable SSL on docker
Replies: 9
Views: 3215

Re: Enable SSL on docker

Is this topic no longer available, link gives 404 error!
by redswan
Tuesday 18 June 2024 16:54
Forum: MQTT Auto Discovery
Topic: MQTT AD text sensor
Replies: 2
Views: 2245

Re: MQTT AD text sensor

Thanks, that works fine.
by redswan
Thursday 13 June 2024 12:10
Forum: MQTT Auto Discovery
Topic: MQTT AD text sensor
Replies: 2
Views: 2245

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.
by redswan
Saturday 23 July 2022 17:51
Forum: MQTT Auto Discovery
Topic: Temp/Humidity sensor autodiscovery
Replies: 7
Views: 3343

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/... The ...
by redswan
Tuesday 28 June 2022 19:24
Forum: Other questions and discussions
Topic: Visual Studio (or other IDE) setup instructions
Replies: 21
Views: 5122

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 ...
by redswan
Tuesday 28 June 2022 16:57
Forum: Other questions and discussions
Topic: Visual Studio (or other IDE) setup instructions
Replies: 21
Views: 5122

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 ...
by redswan
Monday 27 June 2022 16:48
Forum: Other questions and discussions
Topic: Dewpoint calculation.
Replies: 4
Views: 453

Re: Dewpoint calculation.

Just saw your replies - thanks @Kiddigital, @Firewizard
by redswan
Monday 27 June 2022 16:44
Forum: Other questions and discussions
Topic: Dewpoint calculation.
Replies: 4
Views: 453

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 ...
by redswan
Monday 27 June 2022 15:57
Forum: MQTT Auto Discovery
Topic: Temp/Humidity sensor autodiscovery
Replies: 7
Views: 3343

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 humidity ...
by redswan
Monday 27 June 2022 15:40
Forum: Other questions and discussions
Topic: Dewpoint calculation.
Replies: 4
Views: 453

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 ...
by redswan
Wednesday 22 June 2022 16:22
Forum: MQTT Auto Discovery
Topic: Temp/Humidity sensor autodiscovery
Replies: 7
Views: 3343

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 in ...
by redswan
Sunday 12 June 2022 12:10
Forum: MQTT Auto Discovery
Topic: MQTT Audo-discovery
Replies: 107
Views: 26518

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 temperature ...
by redswan
Saturday 28 May 2022 12:12
Forum: Other questions and discussions
Topic: IFTTT Webhook - Server returning 401
Replies: 4
Views: 2975

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 me ...
by redswan
Wednesday 27 November 2019 22:09
Forum: Other questions and discussions
Topic: HTTPS access to web gui
Replies: 0
Views: 343

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 ...
by redswan
Sunday 13 October 2019 16:06
Forum: Other questions and discussions
Topic: Custom sensor database table
Replies: 2
Views: 743

Re: Custom sensor database table [Solved]

Thanks waaren, that's what I needed.
by redswan
Sunday 13 October 2019 11:38
Forum: Other questions and discussions
Topic: Custom sensor database table
Replies: 2
Views: 743

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.