Search found 340 matches

by gordonb3
Tuesday 28 March 2017 21:29
Forum: Bugs and Problems
Topic: Timers doesn't work even after restart :-(
Replies: 8
Views: 129

Re: Timers doesn't work even after restart :-(

Hmmm yes... I actually forgot to add the fix I created myself last month to my live system. As a result the whole system froze Sunday morning after a logrotate. I did a rush job on compiling the latest beta at that time (3.7153) and the only issue I saw since was my 2:30AM timer being fired an hour ...
by gordonb3
Tuesday 28 March 2017 10:16
Forum: Bugs and Problems
Topic: MySensors - Timers not working after DST
Replies: 11
Views: 311

Re: MySensors - Timers not working after DST

Okay, thanks.

Sunrise/sunset timers do not appear to be the exact same issue as these did not experience the one hour shift. Them being off is the result of that when an event fires the next firing time is calculated at that very moment and this will take the present day values for sunrise/sunset.
by gordonb3
Monday 27 March 2017 13:25
Forum: Bugs and Problems
Topic: MySensors - Timers not working after DST
Replies: 11
Views: 311

Re: MySensors - Timers not working after DST

Right... Seems I overlooked a bit of code that forces adding 24 hours *after* the time calculation is complete. Which it will continue to do each time the affected events are triggered, so I fear you'll have to either restart Domoticz or reinitialize the timers to make them run at the correct time a...
by gordonb3
Monday 27 March 2017 10:37
Forum: Python
Topic: Python expert needed :-)
Replies: 5
Views: 281

Re: Python expert needed :-)

Hmmm... You may want to verify the value of doc['log']['record'][rec_no]['data'][field_no][[email protected]'] rather than simply assume that the order and number of fields is always the same (even if it is).
by gordonb3
Wednesday 22 March 2017 23:40
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: What is your preferred platform for Domoticz?
Replies: 13
Views: 1858

Re: What is your preferred platform for Domoticz?

I think the backup is just a bunch of SQL script, so that should restore just fine. The hardware links will most likely be different though, so you will have to check those.
by gordonb3
Wednesday 22 March 2017 13:58
Forum: Other questions and discussions
Topic: Domoticz and evohome wifi
Replies: 8
Views: 336

Re: Domoticz and evohome wifi

I get errors ERROR: the Evohome systemId specified in evoconfig cannot be found and ERROR: failed to retrieve status Combined I've had 22 of these two messages since 7:32 AM (CET) this morning, with an update running every two minutes. What this says is that the site is active and I can login but at...
by gordonb3
Wednesday 15 March 2017 18:07
Forum: Other questions and discussions
Topic: how much i need ram for compile source domoticz?
Replies: 4
Views: 125

Re: how much i need ram for compile source domoticz?

512MB is just fine. Time for compiling will depend on whether you build from scratch or rebuild with updated source files. If you own another machine with a lot more processing power that runs Linux (can be a VM as well) you can also set up a crossdev environment. I normally build Domoticz from scra...
by gordonb3
Thursday 02 March 2017 20:14
Forum: Meters
Topic: P1 Meter met ISKRA SMR 5.0
Replies: 13
Views: 727

Re: P1 Meter met ISKRA SMR 5.0

Well, to let you in on a little secret: the CRC checkbox is in reality negated. So 0 is 1 and 1 is 0. A a result the default is that CRC validation is enabled, meaning that you must have turned it off at some time. Yes, the whole point of the CRC validation is to discard messages that contain errors...
by gordonb3
Wednesday 01 March 2017 11:02
Forum: Meters
Topic: P1 Meter met ISKRA SMR 5.0
Replies: 13
Views: 727

Re: P1 Meter met ISKRA SMR 5.0

I guess you did not change any of the settings for the P1 meter since your previous post?

There is currently a rate limit you can set to prevent such frequent updates being stored. The abnormal reading will likely be the result from disabling the CRC validation.
by gordonb3
Friday 24 February 2017 10:37
Forum: Bugs and Problems
Topic: Reverse Proxy and login page
Replies: 1
Views: 150

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

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

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: 152
Views: 8805

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: 152
Views: 8805

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

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

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

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

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

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

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.

Go to advanced search