Search found 200 matches

by gschmidt
Tuesday 03 January 2023 15:55
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: WebServer(HTTP/SSL) startup failed on address ::
Replies: 5
Views: 2474

WebServer(HTTP/SSL) startup failed on address ::

Hi, I recently installed a fresh version of Domoticz on my Raspberry pi. I want to access Domoticz secured from outside but I get errors in my current setup. Current Setup: On my main Router, a Mini PC with pfSense (192.168.1.1), I run 2 plug-ins: HAproxy ACME, which generates the certs for the ...
by gschmidt
Tuesday 03 January 2023 14:57
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Security Issue Domoticz
Replies: 8
Views: 1196

Re: Security Issue Domoticz

There are more problems then only the SSL DH Parameters.
I just figured out this probably has to do with my HAproxy/ACME setup to secure domoticz.
I will close this post and start a new one which is more suitable for my problem
by gschmidt
Tuesday 03 January 2023 12:10
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Security Issue Domoticz
Replies: 8
Views: 1196

Re: Security Issue Domoticz

I have copied the PEM file from ACME to the domoticz directory and renamed it to server_cert.pem And tested again with: ./domoticz -www 8080 -sslwww 443 -log "/var/log/domoticz.log" -loglevel all -debuglevel normal,auth,hardware,received,webserver,eventsystem,python,thread_id But I get the following ...
by gschmidt
Tuesday 03 January 2023 11:06
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Security Issue Domoticz
Replies: 8
Views: 1196

Re: Security Issue Domoticz

Try to run Domoticz with debugging flags enabled (especially ‘auth,webserver,received’) and look what the debug logs tell you when performing requests from the outside. I see what the error is: 2023-01-03 10:57:52.350 [76fdd040] Debug: [web:443] Enabled ciphers (TLSv1.2) ECDHE-ECDSA-AES128-GCM-SHA ...
by gschmidt
Tuesday 03 January 2023 10:37
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Security Issue Domoticz
Replies: 8
Views: 1196

Re: Security Issue Domoticz

Plus, why live on the edge and work with beta instead of stable. Is there a good reason to do so? Well in the past I was using the Yamaha Receiver Plugin which only worked properly with the Beta version (according to the help file) Now I control the Yamaha with Node-Red/Google Home, so there is no ...
by gschmidt
Tuesday 03 January 2023 10:32
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Security Issue Domoticz
Replies: 8
Views: 1196

Re: Security Issue Domoticz

Steps look all fine. How do you access Domoticz from the outside? Through a Proxy server? Try to run Domoticz with debugging flags enabled (especially ‘auth,webserver,received’) and look what the debug logs tell you when performing requests from the outside. Yep, I run on a mini PC pfSense as main r ...
by gschmidt
Monday 02 January 2023 20:05
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Security Issue Domoticz
Replies: 8
Views: 1196

Security Issue Domoticz

Hi, Because of a corrupt domoticz.db file (also my older backups caused an "Offline" error), I had to install a fresh version of Domoticz. Before I performed a fresh install, I first removed: Domoticz with sudo rm -r domoticz/ /etc/init.d/domoticz.sh /etc/domoticz Then I executed: sudo curl -L https ...
by gschmidt
Tuesday 31 August 2021 21:56
Forum: dzVents
Topic: Passing timer value
Replies: 0
Views: 225

Passing timer value

Hi, 2 dzVents questions: 1. Is it possible to get the Timer value e.g 'at 06:45 on mon,tue,wed,thu,fri', to use in the dz.log notification? 2. Is it possible to get the same Timer value in the dz.log of another dzVents script? This is my current code: return { on = { timer = { 'at 06:45 on mon,tue ...
by gschmidt
Saturday 22 May 2021 11:57
Forum: dzVents
Topic: How to stop Blinds when a Door Contact is open
Replies: 6
Views: 817

Re: How to stop a Shutter when doorcontact is open

Not working....The log produces the following Error All dzVents methods and functions use camelCase (so every single one starts with lowercase) Edited my previous post to reflect this. Working, thanx! but the devices must be switched like madpatrik said. Here the final Code --- Rolluik security ...
by gschmidt
Friday 21 May 2021 16:22
Forum: dzVents
Topic: How to stop Blinds when a Door Contact is open
Replies: 6
Views: 817

Re: How to stop a Shutter when doorcontact is open

I tried with following script but nothing happens when I first "Open" the "Door Contact" and "Close" the "Blinds" (not attached yet to the window ofcourse): Made some small adjustments to the script. It might not directly solve the issue but it will show some more information. (if you set the ...
by gschmidt
Thursday 20 May 2021 21:13
Forum: dzVents
Topic: How to stop Blinds when a Door Contact is open
Replies: 6
Views: 817

How to stop Blinds when a Door Contact is open

Hi, I have Blinds (RFXtrx433XL - Type DC106) at the second floor which doesn't have an autostop function. So if the window is open and the Blind command is "Close" it may get broken. Now I also have a "Door Contact" (Zigbee2mqtt) device which I have attached to the window behind the Blinds. Is it ...
by gschmidt
Saturday 15 May 2021 12:04
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Letsencrypt certificate error in Domoticz log
Replies: 5
Views: 801

Re: Letsencrypt certificate error in Domoticz log

Is it possible in Domoticz to retrieve this ipadress? Not without changing the source code. btw. this question will probably not get the attention from members knowledgeable in this area because you posted in this topic. Better to post new questions that are only remotely related to the original ...
by gschmidt
Saturday 15 May 2021 11:12
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Letsencrypt certificate error in Domoticz log
Replies: 5
Views: 801

Re: Letsencrypt certificate error in Domoticz log

So apparently Domoticz thinks that the certificate is still needed. Where or how can I remove the "previous" SSL method, to get rid of the error? domoticz ships with a default server_cert.pem (added here in zip format for your convenience) If you save it in the domoticz directory you will not get ...
by gschmidt
Saturday 15 May 2021 10:47
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Letsencrypt certificate error in Domoticz log
Replies: 5
Views: 801

Re: Letsencrypt certificate error in Domoticz log

So apparently Domoticz thinks that the certificate is still needed. Where or how can I remove the "previous" SSL method, to get rid of the error? domoticz ships with a default server_cert.pem (added here in zip format for your convenience) If you save it in the domoticz directory you will not get ...
by gschmidt
Saturday 15 May 2021 9:41
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Letsencrypt certificate error in Domoticz log
Replies: 5
Views: 801

Letsencrypt certificate error in Domoticz log

Hi, I used to have Native secure access with Lets Encrypt at the host (Rpi Domoticz) side with a free duckdns domain. This method installs the server_cert.pem file in the domoticz folder. But recently I have changed this (with a new domain name) to an HAproxy server, which does the SSL offloading in ...
by gschmidt
Saturday 15 May 2021 9:16
Forum: Node-RED
Topic: MQTT msg.payload to domoticz log issue
Replies: 2
Views: 4986

Re: MQTT msg.payload to domoticz log issue

Since the last domoticz update to 2021.1, the msg.payload of an MQTT message from node-red to domoticz/in is not shown in the domoticz log anymore. It is by design. Discussed both on the forum and on github . If you need to see this messsage to debug see howto in this topic / issue Ah OK, thanx!
by gschmidt
Saturday 08 May 2021 11:55
Forum: Node-RED
Topic: MQTT msg.payload to domoticz log issue
Replies: 2
Views: 4986

MQTT msg.payload to domoticz log issue

Hi,

Since the last domoticz update to 2021.1, the msg.payload of an MQTT message from node-red to domoticz/in is not shown in the domoticz log anymore.

Is this a deliberate change or a bug?
by gschmidt
Sunday 02 May 2021 9:44
Forum: dzVents
Topic: How to check if Group Scene is activated
Replies: 5
Views: 875

Re: How to check if Group Scene is activated

Now if I switch from Scene 1 to Scene 3 (Netflix) the Ziggo Next Box turns off correctly. But when I switch from Scene 3 to one of the other Scenes (Except Scene 1), those Scenes also want to Turn Off the Ziggo Next...but it is already Turned Off by switching from Scene 1 to Scene 3, As a result ...
by gschmidt
Saturday 01 May 2021 20:31
Forum: dzVents
Topic: How to check if Group Scene is activated
Replies: 5
Views: 875

Re: How to check if Group Scene is activated

Hi, How can I check in dzVents if a Group Scene is activated? Is it like this: local TV = dz.groups('Ziggo TV') if TV.state == 'On' then blabla or else? Yes something like that return { on = { groups = { 'Ziggo TV', }, }, logging = { level = domoticz.LOG_INFO, marker = 'groupState', }, execute ...
by gschmidt
Saturday 01 May 2021 10:58
Forum: dzVents
Topic: How to check if Group Scene is activated
Replies: 5
Views: 875

How to check if Group Scene is activated

Hi,

How can I check in dzVents if a Group Scene is activated?
Is it like this:

Code: Select all

local TV = dz.groups('Ziggo TV')

if TV.state == 'On' then blabla
or else?