Search found 69 matches

by fvdp80
Friday 10 November 2023 12:28
Forum: dzVents
Topic: Set filter without idx numbers [Solved]
Replies: 6
Views: 832

Re: Set filter without idx numbers [Solved]

Oke, i think i understand now. So this should work:

Code: Select all

 
 wkhue = dz.devices(8)
 keuken_spots = dz.devices(73)
 kookeiland = dz.devices(78)
 eettafel = dz.devices(130)
 spotshal = dz.devices(97)
 lampenwk = {wandlamp, lichtstraat, wkhue, keuken_spots, kookeiland} --alle lampen in woonkamer
by fvdp80
Thursday 09 November 2023 10:13
Forum: dzVents
Topic: Set filter without idx numbers [Solved]
Replies: 6
Views: 832

Re: Set filter without idx numbers [Solved]

The thing i would like to know is: local kookeiland = 78 kookeiland = dz.devices(kookeiland) lampenwk = {wandlamp, lichtstraat, wkhue, keuken_spots, kookeiland} In my script, if I start with declaring idx 78 as kookeiland, I would like to use the definition "kookeiland" in the filter part without ...
by fvdp80
Thursday 09 November 2023 9:16
Forum: dzVents
Topic: Set filter without idx numbers [Solved]
Replies: 6
Views: 832

Set filter without idx numbers [Solved]

I'm trying to minimize the usage of idx numbers in my scripts and only want to mention them at the start once. But with the following script i get stuck on the filter and forEach function as the lights aren't turned off. Help is appreciated :D local w2k1 = 127 --wandschakelaar 2 knops knop 1 local ...
by fvdp80
Wednesday 06 July 2022 8:24
Forum: dzVents
Topic: Minimum dimmer level
Replies: 2
Views: 365

Re: Minimum dimmer level

Works, thnx!
by fvdp80
Thursday 30 June 2022 6:37
Forum: dzVents
Topic: Minimum dimmer level
Replies: 2
Views: 365

Minimum dimmer level

To prevent a flickering lamp i want to restrict the dimming level when the light is dimmed through a remote control. Is there a way to set this minimum level in dzvents? I tried the follow code, but it interferes with some other scripts when using the switchOff() function. { on = { devices = { 304 ...
by fvdp80
Monday 10 January 2022 10:30
Forum: Python
Topic: Python Plugin: Zigbee2Mqtt
Replies: 347
Views: 82003

Re: Python Plugin: Zigbee2Mqtt

Ah, missed that one as it is marked as a closed issue.
by fvdp80
Monday 10 January 2022 8:45
Forum: Python
Topic: Python Plugin: Zigbee2Mqtt
Replies: 347
Views: 82003

Re: Python Plugin: Zigbee2Mqtt

I'm getting errors regarding an Aqara Opple switch (WXCJKG11LM). First it seemed like it was caused by an empty battery, but after replacement and also reconnecting to the netwerk I keep getting the following errors: 2022-01-10 08:02:18.317 Error: Zigbee2MQTT: 'onMessage' failed 'TypeError ...
by fvdp80
Monday 08 November 2021 15:54
Forum: Python
Topic: Python Plugin: Zigbee2Mqtt
Replies: 347
Views: 82003

Re: Python Plugin: Zigbee2Mqtt

Any idea where these errors come from? 2021-11-08 13:40:02.755 Error: SQL Query("INSERT INTO Temperature (DeviceRowID, Temperature, Chill, Humidity, Barometer, DewPoint, SetPoint) VALUES ('80', '11.90', '0.00', '69', '10231', '6.39', '0.00')") : no more rows available Same errors are also mentioned ...
by fvdp80
Wednesday 20 October 2021 11:32
Forum: Other questions and discussions
Topic: Integrating Marmitek Buzz LO (doorbell)
Replies: 0
Views: 234

Integrating Marmitek Buzz LO (doorbell)

The Marmitek Buzz LO doorbell is based on Tuya platform and using Marmiteks Smart Me app. As the doorbell is Tuya based, it will probably work with the Tuya app (haven't tried yet). That way I think it can be integrated within domoticz using Tuya plugin. But does anybody know a way to integrate the ...
by fvdp80
Monday 27 September 2021 20:45
Forum: dzVents
Topic: Error: generic_device.lua:67: attempt to index a nil value [Solved]
Replies: 38
Views: 6413

Re: Error: generic_device.lua:67: attempt to index a nil value [Solved]

Big thnx to rrozema for helping out!
by fvdp80
Friday 17 September 2021 17:00
Forum: dzVents
Topic: Error: generic_device.lua:67: attempt to index a nil value [Solved]
Replies: 38
Views: 6413

Re: Error: generic_device.lua:67: attempt to index a nil value [Solved]

waltervl wrote: Friday 17 September 2021 15:43 Did someone report this on the zigbee2mqtt issue list? Seems that it doing wrong with device updates (but could also relate to Python DomoticzEx).
I just did.
by fvdp80
Friday 17 September 2021 13:02
Forum: dzVents
Topic: Error: generic_device.lua:67: attempt to index a nil value [Solved]
Replies: 38
Views: 6413

Re: Error: generic_device.lua:67: attempt to index a nil value [Solved]

Thanks all, especially rrozema.
For now this will do, but i'm also curious what is causing the error.
by fvdp80
Thursday 16 September 2021 14:42
Forum: dzVents
Topic: Error: generic_device.lua:67: attempt to index a nil value [Solved]
Replies: 38
Views: 6413

Re: Error: generic_device.lua:67: attempt to index a nil value [Solved]

For the 2nd alternative i'm getting some output: 2021-09-16 14:38:27.765 Status: dzVents: Info: Discarding device Blitzwolf 1 (Power). No last update info found: table: 0x72267b80 2021-09-16 14:38:27.875 Status: dzVents: Info: Discarding device Blitzwolf 1 (Voltage). No last update info found: table ...
by fvdp80
Thursday 16 September 2021 14:34
Forum: dzVents
Topic: Error: generic_device.lua:67: attempt to index a nil value [Solved]
Replies: 38
Views: 6413

Re: Error: generic_device.lua:67: attempt to index a nil value [Solved]

I hate to say it, but still got errors:

Code: Select all

2021-09-16 14:32:52.047 Error: EventSystem: in /home/pi/domoticz/dzVents/runtime/dzVents.lua: ...oticz/dzVents/runtime/device-adapters/generic_device.lua:73: attempt to call a nil value (field 'toStr')
by fvdp80
Thursday 16 September 2021 14:13
Forum: dzVents
Topic: Error: generic_device.lua:67: attempt to index a nil value [Solved]
Replies: 38
Views: 6413

Re: Error: generic_device.lua:67: attempt to index a nil value [Solved]

Tried your code in generic_device.lua and got this output: 2021-09-16 14:12:51.868 Error: EventSystem: in /home/pi/domoticz/dzVents/runtime/dzVents.lua: ...oticz/dzVents/runtime/device-adapters/generic_device.lua:73: attempt to call a table value (global 'string') With the 2nd alternative i got this ...
by fvdp80
Wednesday 15 September 2021 20:27
Forum: dzVents
Topic: Error: generic_device.lua:67: attempt to index a nil value [Solved]
Replies: 38
Views: 6413

Re: Error: generic_device.lua:67: attempt to index a nil value [Solved]

Ran the code and, fter a while, it got me this in domoticz log: 2021-09-15 20:23:33.804 Error: EventSystem: in /home/pi/domoticz/dzVents/runtime/dzVents.lua: ...oticz/dzVents/runtime/device-adapters/generic_device.lua:67: attempt to index a nil value (field '_') 2021-09-15 20:23:39.102 (Evohome ...
by fvdp80
Monday 13 September 2021 12:59
Forum: dzVents
Topic: Error: generic_device.lua:67: attempt to index a nil value [Solved]
Replies: 38
Views: 6413

Error: generic_device.lua:67: attempt to index a nil value [Solved]

Keep getting these error messages:

Code: Select all

2021-09-13 12:56:31.895 Error: EventSystem: in /home/pi/domoticz/dzVents/runtime/dzVents.lua: ...oticz/dzVents/runtime/device-adapters/generic_device.lua:67: attempt to index a nil value (field '_')
Does anybody know what the problem could be?
by fvdp80
Friday 20 August 2021 8:26
Forum: dzVents
Topic: Garden lights and motion sensor [Solved]
Replies: 4
Views: 838

Re: Garden lights and motion sensor [Solved]

The problem was in the timer logic in the matchesrule part. It seems that Domoticz doesn't understand "after 23:30". This code is working now: local gardenMotion = 157 --motion sensor tuin return { on = { devices = { [gardenMotion] = { 'at nighttime' }, }, timer = { 'at sunset', 'at 23:30 ...
by fvdp80
Monday 16 August 2021 11:41
Forum: dzVents
Topic: Garden lights and motion sensor [Solved]
Replies: 4
Views: 838

Re: Garden lights and motion sensor [Solved]

Good suggestion, will try it!
by fvdp80
Monday 16 August 2021 11:16
Forum: dzVents
Topic: Garden lights and motion sensor [Solved]
Replies: 4
Views: 838

Garden lights and motion sensor [Solved]

I've set up a garden light routine, but not all of it seems to work. * Garden lights on at sunset (works) * Gardenlightdoor turns on when motion detected at nighttime (works) * Garden lights turn off around 23:30 (works) * Gardenlights turn on at motion detected at nighttime, but after they are ...