RFLink does not work in combo with dzVents script

433Mhz opensource Receiver & Transmitter.

Moderators: leecollings, Stuntteam

Post Reply
egrootoonk
Posts: 15
Joined: Wednesday 04 November 2015 15:19
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.10233
Location: Nederland
Contact:

RFLink does not work in combo with dzVents script

Post by egrootoonk »

I have a problem with RFLink

When I use Domoticz dzVents script the LED lights aren't switch on and off, but when I use the Domotiz GUI, they do.
I turned on Debug in RFLink but from a loggin POV it seems to work fine. But in real live it doesn't. the LED leds are only switched on when I use the Domoticz GUI.

I have a thread below where the whole dzVents script is reviewed and it seems that its not dzVends
viewtopic.php?f=59&t=25899&p=199254#p199038

Is there a way to have a even more detailed log, or can you look at the thread above. I'm realy stuck and don't know what to do.

Edwin
egrootoonk
Posts: 15
Joined: Wednesday 04 November 2015 15:19
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.10233
Location: Nederland
Contact:

Re: RFLink does not work in combo with dzVents script

Post by egrootoonk »

I think is a bug.

I had to add a .afterSEc(1) to the switchOn() in order to make it work.
It seems to a bug to me. Apperently the PIR sends multiple time the ON signal when it's triggered and the RFLink gateway can't handle it.

Code: Select all

return {
        on = { devices = { "PIR" }},

   execute = function(domoticz, switch)

        if switch.active  then

             domoticz.devices(73).switchOn().checkFirst().afterSec(1)
             domoticz.devices(73).switchOff().checkFirst().afterSec(10)
        end
    end
}  
 
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest