Search found 16 matches

by redswan
Sunday 23 March 2025 20:10
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Enable SSL on docker
Replies: 9
Views: 2504

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: 1507

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: 1507

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: 2620

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: 4895

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: 4895

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: 417

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: 417

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: 2620

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: 417

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: 2620

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: 26175

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: 1566

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: 333

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: 725

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: 725

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.