Search found 353 matches

by gordonb3
Friday 24 February 2017 10:37
Forum: Bugs and Problems
Topic: Reverse Proxy and login page
Replies: 1
Views: 77

Re: Reverse Proxy and login page

Assuming you are on Apache 2.4, did you install and enable mod_remoteip? This will add a header entry 'X-Forwarded-For' in the request to Domoticz. There is support for this header in Domoticz and it should bring back the login prompt. There is something of an issue with logging though: this will no...
by gordonb3
Sunday 19 February 2017 22:19
Forum: Bugs and Problems
Topic: timeofday['Nighttime'] not working (LUA) Topic is solved
Replies: 11
Views: 324

Re: timeofday['Nighttime'] not working (LUA) Topic is solved

I'd say a full init might be in order here. Anyway thanks for rattling this up. It did help to find another time related issue before it even occurred.
by gordonb3
Sunday 19 February 2017 14:05
Forum: Bugs and Problems
Topic: timeofday['Nighttime'] not working (LUA) Topic is solved
Replies: 11
Views: 324

Re: timeofday['Nighttime'] not working (LUA) Topic is solved

Hi, The change I committed was because the minutes since midnight calculation contained a DST adjustment, which I actually added myself last November. In itself this was not wrong, but I found that the related calculation for sunrise and sunset minutes did not have the DST correction. The choice her...
by gordonb3
Saturday 18 February 2017 14:37
Forum: Heating/cooling
Topic: Domoticz on synology for evohome
Replies: 141
Views: 7984

Re: Domoticz on synology for evohome

Seems to me your credentials are wrong.
by gordonb3
Friday 17 February 2017 23:54
Forum: Heating/cooling
Topic: Domoticz on synology for evohome
Replies: 141
Views: 7984

Re: Domoticz on synology for evohome

EMEA stands for Europe, Middle East and Africa. You are on the correct server.
by gordonb3
Friday 17 February 2017 11:05
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Nginx reverse proxy and Domoticz with no authentication on local network
Replies: 12
Views: 262

Re: Nginx reverse proxy and Domoticz with no authentication on local network

What do you think, how does this compare to x509 authentication from security perspective? A user/password combo will work from any machine that can get access to the machine and will be open for password guessing routines. x509 authentication will restrict access to machines that have a client cer...
by gordonb3
Thursday 16 February 2017 17:42
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Nginx reverse proxy and Domoticz with no authentication on local network
Replies: 12
Views: 262

Re: Nginx reverse proxy and Domoticz with no authentication on local network

Well, this is for Apache but it shouldn't be much different for Nginx SSLVerifyClient optional SSLVerifyDepth 1 <Location /domoticz> DirectoryIndex disabled RewriteEngine On RewriteCond %{SSL:SSL_CLIENT_VERIFY} ^SUCCESS$ RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-f RewriteRule ^/home/web/ssl-...
by gordonb3
Thursday 16 February 2017 15:03
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Nginx reverse proxy and Domoticz with no authentication on local network
Replies: 12
Views: 262

Re: Nginx reverse proxy and Domoticz with no authentication on local network

You can either shield the whole web root or individual folders. I prefer the latter myself and then use PHP to test whether a valid x509 client certificate is available so I can display alternate versions of a home page. This also allows me to access certain pages from untrusted devices, e.g. access...
by gordonb3
Thursday 16 February 2017 13:19
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Nginx reverse proxy and Domoticz with no authentication on local network
Replies: 12
Views: 262

Re: Nginx reverse proxy and Domoticz with no authentication on local network

I use no authentication in Domoticz. Security to the outside world is provided by x509 client restriction.
by gordonb3
Thursday 16 February 2017 13:12
Forum: Bugs and Problems
Topic: timeofday['Nighttime'] not working (LUA) Topic is solved
Replies: 11
Views: 324

Re: timeofday['Nighttime'] not working (LUA) Topic is solved

Could there be a different result between time(0) and mytime(NULL)? Possibly platform specific? I cannot replicate the issue on any of my systems. I also fail to see the relation with the database being old or new. That said, I did find an issue with this calculation with respect to the last Sunday ...
by gordonb3
Monday 13 February 2017 18:01
Forum: Bugs and Problems
Topic: Weird values and wrong dates CSV export energy meter
Replies: 3
Views: 360

Re: Weird values and wrong dates CSV export energy meter

Hmmm... What are these values anyway? I don't have any data for 2015 but I also get "past usage" that shows different (non zero) numbers from what should be the 2016 data.
by gordonb3
Friday 10 February 2017 20:30
Forum: Other questions and discussions
Topic: Domoticz and evohome wifi
Replies: 6
Views: 177

Re: Domoticz and evohome wifi

If you don't like to install python, curl and/or other scripting tools on Windows: https://github.com/gordonb3/evohomeclient#evohomeclient
by gordonb3
Tuesday 07 February 2017 18:23
Forum: Camera's
Topic: Wifi IP Camera moving detection > snapshot
Replies: 13
Views: 405

Re: Wifi IP Camera moving detection > snapshot

Just an idea: As 'lost' states an IP camera will not function as a PIR. Many camera's can be configured however to send a string of snapshots (usually about four) to a predefined upload location. If you have a monitor on that location you can feed that into Domoticz by triggering a dummy switch whic...
by gordonb3
Tuesday 07 February 2017 10:18
Forum: Bugs and Problems
Topic: Domoticz does not daemonize when started from Systemd with type=forking Topic is solved
Replies: 5
Views: 178

Re: Domoticz does not daemonize when started from Systemd with type=forking Topic is solved

If you have another Linux machine (a faster one) you could also try cross compiling. I build Domoticz for ARM v5 from scratch in about ten minutes.
by gordonb3
Monday 06 February 2017 23:35
Forum: Bugs and Problems
Topic: Domoticz does not daemonize when started from Systemd with type=forking Topic is solved
Replies: 5
Views: 178

Re: Domoticz does not daemonize when started from Systemd with type=forking Topic is solved

I think you need to specify the location of the PID File in de [service] section for systemd to find it

Code: Select all

PIDFile=/var/run/domoticz/domoticz.pid
by gordonb3
Monday 06 February 2017 15:40
Forum: Meters
Topic: P1 Meter met ISKRA SMR 5.0
Replies: 9
Views: 366

Re: P1 Meter met ISKRA SMR 5.0

You're right. Looks like an old commit was unintentionally reverted when the update rate was restricted to a minimum of ten seconds.

It's actually this commit btw: https://github.com/domoticz/domoticz/commit/2f1cb58
by gordonb3
Thursday 02 February 2017 13:40
Forum: Meters
Topic: P1 Meter met ISKRA SMR 5.0
Replies: 9
Views: 366

Re: P1 Meter met ISKRA SMR 5.0

Bad counting on my side. :oops: The timestamp value with the DST flag is in fact correct and leads to the expected offset for the gas counter value. The problem in the highlighted line is the space preceding the closing bracket. So this was just a simple corrupted line. Don't know about the gas mete...
by gordonb3
Wednesday 01 February 2017 23:56
Forum: Meters
Topic: P1 Meter met ISKRA SMR 5.0
Replies: 9
Views: 366

Re: P1 Meter met ISKRA SMR 5.0

From the times shown in the log I'd say there must be messages coming through. However if you do suspect the CRC validation you can disable it in the hardware page. Yes messages are coming through. I forgot to accept new hardware in the first place. :( Okay. Nice to see that sorted. This line on th...
by gordonb3
Wednesday 01 February 2017 17:16
Forum: Meters
Topic: P1 Meter met ISKRA SMR 5.0
Replies: 9
Views: 366

Re: P1 Meter met ISKRA SMR 5.0

From the times shown in the log I'd say there must be messages coming through. However if you do suspect the CRC validation you can disable it in the hardware page. This line on the other hand is something of an issue: 2017-02-01 12:04:31.493 P1: dismiss incoming - value in line "0-1:24.2.1(700...
by gordonb3
Saturday 28 January 2017 11:50
Forum: General Discussion
Topic: Best cheap hardware to run domoticz on?
Replies: 12
Views: 845

Re: Best cheap hardware to run domoticz on?

That Cubie Truck looks like an excellent device. Nifty price as well, considering the SSD is included. I use an Excito B3 myself. The core system is a bit outdated, using an ARMv5te SoC, but it is a very versatile little machine packing two 10/100/1000 ethernet ports and ath9k wifi adapter that allo...

Go to advanced search