Search found 329 matches

by gordonb3
Monday 23 January 2017 11:21
Forum: Meters
Topic: Energy read "computed" or "from device"
Replies: 14
Views: 494

Re: Energy read "computed" or "from device"

Makes sense, yet that doesn't explain why the accumulated day values stay at zero. I'm actually a bit puzzled by this device. As this only counts up from any random starting time, shouldn't one be able to enter some kind of offset to let Domoticz display the same value as the device that generates t...
by gordonb3
Saturday 21 January 2017 10:47
Forum: Bugs and Problems
Topic: A bug with P1 Smartmeter
Replies: 4
Views: 132

Re: A bug with P1 Smartmeter

Doesn't seem possible as the code does check the number of elements in svalue. Or are you adding empty values like this?

Code: Select all

...&svalue=123456;123456;;;;
by gordonb3
Friday 20 January 2017 14:14
Forum: Bugs and Problems
Topic: Issue with display of daily graphs in counter devices
Replies: 23
Views: 1046

Re: Issue with display of daily graphs in counter devices

Looks like a problem with SQLite to me. Unlike implied by its name, it should not be possible for the 'Date' field to contain a date only.
by gordonb3
Thursday 19 January 2017 17:54
Forum: Others
Topic: European solution for 2-way light switches
Replies: 6
Views: 260

Re: European solution for 2-way light switches

Did I misinterpret the bottom scheme? The kaku devices will go into learning mode when you plug it in, or when you put it behind a switch when you turn that switch on. I'm unsure though if this is also true for devices that are supposed to be built-in to electrical boxes, like kaku awmr-210, which h...
by gordonb3
Thursday 19 January 2017 16:58
Forum: Meters
Topic: Energy read "computed" or "from device"
Replies: 14
Views: 494

Re: Energy read "computed" or "from device"

It's a pulse counter. All values will be computed because to get to Wattage you need to divide by the time frame (which is 10 seconds for the S0PCM). The difference between the two selectable modes is likely that the day value is either the result of Domoticz accumulating the number of pulses since ...
by gordonb3
Thursday 19 January 2017 14:13
Forum: Suggestions
Topic: Ability to ignore 0 values
Replies: 5
Views: 116

Re: Ability to ignore 0 values

May be. I'm just stating the fact. Unwritten and/or cached data may still be in the original application (i.e. Domoticz) or I/O buffers. Results will be unpredictable. And as said it will depend on the OS in use whether you'll even be able to open the file using a second application. I'm quite certa...
by gordonb3
Thursday 19 January 2017 10:35
Forum: General Discussion
Topic: Timer Plan Edit
Replies: 18
Views: 717

Re: Timer Plan Edit

Would be nice (or nicer) to be able to copy plans. Or import/export. A new plan would in most cases likely not be very different from 'default' and setting it up from scratch take longer than simply enable/disable some timers depending on season. Like a scene for Christmas lighting.
by gordonb3
Thursday 19 January 2017 10:24
Forum: Suggestions
Topic: Ability to ignore 0 values
Replies: 5
Views: 116

Re: Ability to ignore 0 values

Ahum...

SQLite is not multi user. While it may be possible on some systems to open the db file using a second process, the content cannot be trusted at that time. To run that script you must therefore first stop Domoticz and then start it again after the script has finished.
by gordonb3
Wednesday 18 January 2017 11:04
Forum: Others
Topic: European solution for 2-way light switches
Replies: 6
Views: 260

Re: European solution for 2-way light switches

Still don't get it. Do you want to control the light with a dimmer or a switch? Or both? Like indicated in the bottom image of the previous post? That would be a very bad idea indeed, because switching on the power in the shown schema will put the dimmer in learning mode. Which in this schema may no...
by gordonb3
Tuesday 17 January 2017 17:14
Forum: Others
Topic: European solution for 2-way light switches
Replies: 6
Views: 260

Re: European solution for 2-way light switches

I'm not quite sure about the issue here. DiO is sold in The Netherlands as KlikAanKlikUit I think and their dimmer units can be controlled by up to six transmitters.
by gordonb3
Monday 16 January 2017 10:47
Forum: Scripts [cleaning in progress]
Topic: Switch time based on sunrise/sunset but between limits
Replies: 2
Views: 110

Re: Switch time based on sunrise/sunset but between limits

Should both work. LUA will give you more programming freedom, which is not really required for something as straightforward as this, Blockly a more intuitive graphic representation.
by gordonb3
Saturday 14 January 2017 0:14
Forum: Bugs and Problems
Topic: Error when compiling from source Topic is solved
Replies: 5
Views: 161

Re: Error when compiling from source Topic is solved

In my install method (Gentoo ebuilds) I always start with clean folders and I cannot replicate the error you are seeing.

Somewhat confused btw. If you want to run the stable, can't you just grab the binary for Pi2?
by gordonb3
Friday 13 January 2017 17:46
Forum: Bugs and Problems
Topic: version problem
Replies: 2
Views: 100

Re: version problem

Also: you're right.

Stable 3.5877 actually installs version 3.5876. It's a bit of a catch-22: you can only load the version info from a previous commit into the source, so releases are always one commit ahead of the actual version you are installing.
by gordonb3
Friday 13 January 2017 17:08
Forum: Bugs and Problems
Topic: Error when compiling from source Topic is solved
Replies: 5
Views: 161

Re: Error when compiling from source Topic is solved

Don't do git clone and then overwrite it with a stable source. You'll end up with a mix of files from two different versions.

Just get and unpack the source archive of the required stable version in a clean folder and run your cmake command.
by gordonb3
Wednesday 11 January 2017 22:47
Forum: Heating/cooling
Topic: Evohome temperature stops updating after succesful setting temperature
Replies: 9
Views: 476

Re: Evohome temperature stops updating after succesful setting temperature

The .py extension indicates (or suggests) a python script. In my client this is not the case - it's purely a config file (or ini file if you are more a Windows type of person). Hence the dropping of the extension. Of course I don't know your specific setup, but let's say you put the client in /home/...
by gordonb3
Wednesday 11 January 2017 11:07
Forum: dzVents Lua Framework
Topic: Timer events start on the hour, every hour
Replies: 10
Views: 232

Re: Timer events start on the hour, every hour

Beat you to it ;) Without something of a data store (or 'state') I'd say the only method is to reference the original firing time. Calculate the difference, which will likely be in seconds, and check whether this value is within a 60 second range of a full multiple of the 'every nn minutes' value. S...
by gordonb3
Wednesday 11 January 2017 10:35
Forum: dzVents Lua Framework
Topic: Timer events start on the hour, every hour
Replies: 10
Views: 232

Re: Timer events start on the hour, every hour

Well now, here you go: function self.isTriggerByMinute(m, testTime) local time = self.getNow(testTime) return (time.min / m == math.floor(time.min / m)) end This just tests whether the current minute is a full multiple of the fixed 'every nn minutes' value, which includes zero. i.e. the whole hour. ...
by gordonb3
Wednesday 11 January 2017 10:06
Forum: dzVents Lua Framework
Topic: Timer events start on the hour, every hour
Replies: 10
Views: 232

Re: Timer events start on the hour, every hour

Looks like an oversight at design time to me.
by gordonb3
Tuesday 10 January 2017 20:52
Forum: dzVents Lua Framework
Topic: Timer events start on the hour, every hour
Replies: 10
Views: 232

Re: Timer events start on the hour, every hour

So essentially what you are saying is that the timer does work as expected, except that it is reset on the hour?
by gordonb3
Saturday 07 January 2017 21:31
Forum: Other questions and discussions
Topic: Am I doing this right?
Replies: 9
Views: 428

Re: Am I doing this right?

You might as well ask how stable the 'stables' are. As said before: there is a wide range of hardware supported and it is very unlikely that anyone, including the lead devs, would have every bit of hardware and put out a claim that everything is thoroughly tested. Of course the stables do receive so...

Go to advanced search