Search found 4 matches

by FritzzJan
Saturday 13 May 2017 13:25
Forum: Python
Topic: Python plugin: Battery Level for Z-Wave Devices
Replies: 167
Views: 33917

Re: Python plugin: Battery Level for Z-Wave Devices

@Logread:
My compliments to you, very nice plugin!
To see the correct status of the batterylevel was always a problem, so this plugin is very welcome.
The documentation to install the plugin is also very good.

Regards,
Frits
by FritzzJan
Saturday 24 December 2016 13:33
Forum: Z-Wave
Topic: Aeotec Siren Gen5 parameters
Replies: 28
Views: 19242

Re: Aeotec Siren Gen5 parameters

I have the same probem: when you try to change parameter 37, I get the error JosuaK describes.
If you do the same thing by the OZW-panel it is also not working.
In both cases Domoticz CRASHES, and has to be started again.
The Siren is normally working with the "old" sound.
by FritzzJan
Wednesday 25 May 2016 8:18
Forum: Other questions and discussions
Topic: Error: EventSystem: in script_time_Besparing: [string "-- Slaapkamer ..."]:49: field 'day' missing in date table
Replies: 6
Views: 2081

Re: Error: EventSystem: in script_time_Besparing: [string "-- Slaapkamer ..."]:49: field 'day' missing in date table

This is a quick and dirty solution: for i, v in pairs(otherdevices) do tc = tostring(i) if (tc == "") then print ("nil value") else timeon = 86400 -- 1 dag in seconden difference = timedifference(otherdevices_lastupdate[tc]) if (difference > timeon) then tempdiff = tostring(difference) --remove ...
by FritzzJan
Tuesday 24 May 2016 9:33
Forum: Other questions and discussions
Topic: Error: EventSystem: in script_time_Besparing: [string "-- Slaapkamer ..."]:49: field 'day' missing in date table
Replies: 6
Views: 2081

Re: Error: EventSystem: in script_time_Besparing: [string "-- Slaapkamer ..."]:49: field 'day' missing in date table

Hello remb0, I did some testing, and find out that the loop "for i, v in pairs(otherdevices) do" sometimes gives you an emty record. If you pass an emty string to the timedifference function you get the "field day missing" error. So your program is ok and you can go on testing if you check on an ...