ByronSX PIR

Others (MiLight, Hue, Toon etc...)

Moderator: leecollings

magga
Posts: 7
Joined: Wednesday 19 November 2014 14:57
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: ByronSX PIR

Post by magga »

Hi everyone,

Thanks for these scripts, they are working pretty well for me.

One problem I'm having is that even when I name the devices PIRnr1SwitchName they still activate during the day, the "n" doesn't seem to be picked up. I can confirm my Demoticz knows the correct time as the time in the logs is fine - has anyone else had this problem?

Thanks
Matt
magga
Posts: 7
Joined: Wednesday 19 November 2014 14:57
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: ByronSX PIR

Post by magga »

I actually managed to get this working. It appears that I had to set my latitude and longitude in the settings for it to know where I actually was, and therefore when sunrise and sunset was.
LJ80
Posts: 20
Joined: Wednesday 14 January 2015 21:49
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: ByronSX PIR

Post by LJ80 »

Is it correct that this script doesn't work with the kaku apir-2150.
I have this apir-2150 and trying to get this work with the script but I think I will not work because teh 2150 will send and off signal right?
When setting the off signal in the apir-2150 to one minute and for example in the script for two minutes the light turns off in one minute.
When setting the off signal in the apir-2150 to ten minutes and for example in the script the light turns off in two minutes but will not go on before passing the ten minutes.

Someone having a solution for this or someone who get this work with the apir-2150?
LJ80
Posts: 20
Joined: Wednesday 14 January 2015 21:49
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: ByronSX PIR

Post by LJ80 »

oh... I think setting the prir to 5sec off did the trick.
Jaspernet
Posts: 7
Joined: Sunday 05 January 2014 17:00
Target OS: Windows
Domoticz version:
Location: UK and Republic of Ireland
Contact:

Re: ByronSX PIR

Post by Jaspernet »

Hi All,

I can't get these to work either by block or LUA. I have tried the script from here and the Wiki and added them to the /lua folder with the right names etc.

I have called my PIR "PIRConservatory" and my light "Conservatory". The light is a learned switch using a LWRF remote and the PIRConservatory is using a dummy switch - I've tried both motion sensor and On/Off modes for the PIR (Manual Switch).

I don't know what I am doing wrong and it hurts - please help!

Eternally grateful,

Shaun
Like attracts like - stay positive.
User avatar
havnegata
Posts: 114
Joined: Wednesday 10 September 2014 11:05
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.10162
Location: Norway
Contact:

Re: ByronSX PIR

Post by havnegata »

simonrg wrote:Rob - I am using the Siemens PIRs
Is it this one you are using: Siemens Wirefree Indoor PIR For Wireless Doorbells & Chimes DCACC3 (http://www.in-excess.com/products/copy- ... arm-dcacc4)
markk
Posts: 267
Joined: Tuesday 14 January 2014 14:50
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: ByronSX PIR

Post by markk »

havnegata wrote:
simonrg wrote:Rob - I am using the Siemens PIRs
Is it this one you are using: Siemens Wirefree Indoor PIR For Wireless Doorbells & Chimes DCACC3 (http://www.in-excess.com/products/copy- ... arm-dcacc4)
Yep, that's the one.
Running Domoticz on Pi3 with RFXtrx433e. LWRF power sockets and dimmer switches. Integrated my existing wirefree alarm PIRs and door contacts with domoticz. Geofencing with Pilot. Harmony Hub. Tado for Heating. Now playing with mysensors.
User avatar
havnegata
Posts: 114
Joined: Wednesday 10 September 2014 11:05
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.10162
Location: Norway
Contact:

Re: ByronSX PIR

Post by havnegata »

Is it possible to add a condition for lux-reading in the smart pir script, like If motion, if timeofday....AND lux < 300 then turn on lights
simon_rb
Posts: 612
Joined: Wednesday 07 August 2013 19:09
Target OS: -
Domoticz version:
Location: UK
Contact:

Re: ByronSX PIR

Post by simon_rb »

Thanks for this! Great little script and so simple to use.. I was wondering if we could get this to turn the lights off in less than a minute - say 30 secs because even set to a minute it takes longer to turn off again. I assume this is to do with Lua running every minute for the time scripts?

Cheers
simon_rb
Posts: 612
Joined: Wednesday 07 August 2013 19:09
Target OS: -
Domoticz version:
Location: UK
Contact:

Re: ByronSX PIR

Post by simon_rb »

I've been using this script for a while a week or so and generally is working great! Only issue I do have is sometimes the dummy device the PIR is controlling - in my case a dummy motion sensor doesn't get turned off. Its now been half hour since the motion got detected and the dummy is still on.. they both show the same time at 22:47, its now 23:20. I wondered if anyone else had this problem or is it just my setup. Cheers!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest