Search found 9 matches

by Wroopy
Tuesday 02 May 2017 8:36
Forum: Temperature and Weather
Topic: Sensor for rain and wind not created
Replies: 2
Views: 1718

Re: Sensor for rain and wind not created

Mheel wrote:Did you get it to work?
I have the same problem.
Didn't see your question until today. I made a change in the source for reading from tellstick and after that change Rain and wind is handled.
by Wroopy
Friday 04 November 2016 17:31
Forum: dzVents
Topic: Introducing dzVents - Domoticz Lua file based event scripting made e-z!
Replies: 337
Views: 72723

Re: Introducing dzVents - Domoticz Lua file based event scripting made e-z!

Aha.. that explains... we should certainly ignore those .dotted scripts completely. Right now they are executed as normal scripts!! I'm very busy at home right now (renovation) which will take at least one or two weeks so I don't have time to fix that I think. I will try but no promises. On the ...
by Wroopy
Monday 31 October 2016 9:11
Forum: dzVents
Topic: Introducing dzVents - Domoticz Lua file based event scripting made e-z!
Replies: 337
Views: 72723

Re: Introducing dzVents - Domoticz Lua file based event scripting made e-z!

Hi dannybloe, what is the reason for the __data. Dot files in the scripts/storage folder? 2016-10-27_19-15-05.gif I got the same dot-file in the data directory. For me, the reason is that I'm using vi as editor and when you open a file in vi a backup file is created with a leading dot in the ...
by Wroopy
Sunday 30 October 2016 17:54
Forum: Temperature and Weather
Topic: Sensor for rain and wind not created
Replies: 2
Views: 1718

Sensor for rain and wind not created

Hi, I've just started to use Domoticz. Devices for rain and wind is not created. The devices are from Oregon WMR200 and are collected via Tellstick. I've been using version 5745 and just upgraded to 5838. The readings is found and decoded, but a sensor is not created. What do I need to do to create ...
by Wroopy
Wednesday 19 October 2016 16:36
Forum: dzVents
Topic: Introducing dzVents - Domoticz Lua file based event scripting made e-z!
Replies: 337
Views: 72723

Re: Introducing dzVents - Domoticz Lua file based event scripting made e-z!

I just tested it here and it works with this script: return { active = true, on = { 'mySensor' }, data = { history = {history = true, maxItems = 10} }, execute = function(domoticz, sensor) local reading = sensor.temperature domoticz.data.history.add(reading) local avg = domoticz.data.history.avg ...
by Wroopy
Wednesday 19 October 2016 14:47
Forum: dzVents
Topic: Introducing dzVents - Domoticz Lua file based event scripting made e-z!
Replies: 337
Views: 72723

Re: Introducing dzVents - Domoticz Lua file based event scripting made e-z!

I've removed the file and checked after ½ hour, according to the log I got several updates, but still one item in the list. Tested to rename the varaible to "light" but still the same. When/how is the storage file read? When/how is the content cleared? Every time the script is executed it reads the ...
by Wroopy
Wednesday 19 October 2016 11:32
Forum: dzVents
Topic: Introducing dzVents - Domoticz Lua file based event scripting made e-z!
Replies: 337
Views: 72723

Re: Introducing dzVents - Domoticz Lua file based event scripting made e-z!

Could you try to throw away that data file and try again. And, if that doesn't work, rename the variable history to something else. I've removed the file and checked after ½ hour, according to the log I got several updates, but still one item in the list. Tested to rename the varaible to "light" ...
by Wroopy
Wednesday 19 October 2016 9:26
Forum: dzVents
Topic: Introducing dzVents - Domoticz Lua file based event scripting made e-z!
Replies: 337
Views: 72723

Re: Introducing dzVents - Domoticz Lua file based event scripting made e-z!

What exactly do you mean by 'never increase'? It should hold 10 readings at most. You can check this by opening the side-car file for this script (in scripts/storage). Sometimes it helps to remove that file completely when it behaves weird. This file holds the persistent data for the variables ...
by Wroopy
Tuesday 18 October 2016 22:24
Forum: dzVents
Topic: Introducing dzVents - Domoticz Lua file based event scripting made e-z!
Replies: 337
Views: 72723

Re: Introducing dzVents - Domoticz Lua file based event scripting made e-z!

I have a light sensor (1Wire) that the readings flickers for. The historical values API in dzVents seamed to be a good choice to handle the flickering. But now I have a strange problem, the number of items in the history never increase. To limit the reasons to fault I made the testscript below. What ...