Workshop
Ask a question

The Bunnings Workshop community can help with your home improvement projects.

How to check the status of security lights?

barrywilson
Growing in Experience

How to check the status of security lights?

I want to check the status of a security light I.e is it in on/off/auto.  Currently when using in condition check for automation I only get normal and error which means I can't combine it with sensors else where.  

Re: security lights

No not really as the security lights sensor does not expose any events to watch except error status which is no good.  Automation can be done using another sensor standalone which could trigger a scene that does work but when setting up complex combinations this does not work as I can tell state of security light.  🤔 hope that helps

CSParnell
Amassing an Audience

Re: How to check the status of security lights?

@barrywilson you should see the sensor position change on the front screen but I will check tomorrow, even if you don't you should still be able to write the flow of automated commands to trigger other sensors. I am about to install a second PIR onto this one circuit and will be joining them electrically and by software.

 

Your automation should be.

When any condition is met

Sensor status1 ON

 

Sensor status 2 ON

Side Lights ON

Set a delay 5 min

Sensor status 1 AUTO

Sensor status 2 AUTO

Side Lights OFF

 

 

Something like that

Screenshot_20220705-191721_Grid Connect.jpg

Screenshot_20220705-191202_Grid Connect.jpg

  

Re: How to check the status of security lights?

Cool thanks, that's what I have done.  I also have a trigger to turn all security lights to on when I want.  To prevent my sensor from resetting this I added a standard light close by where I can check its status.  I use an all conditions check, if it is on to not run this routine.  Bit of a hack but seems to work.  Hope that is useful.

 

Using another PIR seems the easiest thing to do, thinking of using this plus standard flood lights with a grid switch would work albeit software driven only. Shame as I bought 3 x grid security lights which are expensive 

Re: How to check the status of security lights?

Ah ok I have not seen the options on the sensor lights themselves I only run the PIR to turn on standard downlights.

Sounds like you have exhausted all avenues.

Re: How to check the status of security lights?

@barrywilson long shot but worth a try, if you have a Samsung you can look at Smart Things. You would need to bring your hardware devices over into Tuya App so that Smart Things can talk to it but Smart Things has a few more command options than Grid Connect and Tuya alone. Failing that as you say it's another PIR sensor.

Screenshot_20220706-213017_SmartThings.jpg

Screenshot_20220706-213024_SmartThings.jpg

Screenshot_20220706-213035_SmartThings.jpg

  

Screenshot_20220706-213050_SmartThings.jpg

Screenshot_20220706-213329_SmartThings.jpg

Re: How to check the status of security lights?

Thanks appreciated, I do have smart home, seems they must all be branded software as they look the same.  Also have kasa, yd home, grid connect.  Looks as if smart home potentially has access to more properties of the device but I will check.  Sadly not on one's I have already setup as it would be a pain to reconnect.  Not sure if smart home can use arlec products I will test.  

I think for what I want I may need too another PIR and physically disable on-board pir which feels waste full albeit I could use them for other purposes. I believe the standalone pir do expose all props

 

Re: How to check the status of security lights?

Hi @barrywilson this is why people end up going down the rabbit hole of localised servers, custom code and flashing devices to other systems to achieve certain outcomes.

 

Many off the shelf systems are not meant to be for the hard core coders and IT gurus but regular users as we can appreciate. Unfortunately like we both know the more we get into it the more we learn and the more we want. I am in exactly the same boat and now starting to work across multiple software platforms to achieve my outcomes, I am trying to encourage my very smart son to get into Tuya Local so then we can take it further.

 

Hopefully the PIR resolves the issue and maybe you can relocate the PIR floodlights elsewhere for a standalone application and replace with a standard floodlight. 

 

Any questions at all mate let me know.

Re: How to check the status of security lights?

@CSParnell this is a great post, appreciate it.  Clearly you picked up I am in the trade.  Actually I was in the automation trade of microcontrollers and logic controllers I miss that time.  Currently in the software trade. Off the shelf programmable devices are so cool and easy to use, sadly those that have or know something always push the boundaries.  I solved the problem using an extra light where I could track its status but like all engineers I don't like my hack as it is not elegant but it works so for now i am trying to ignore it 🤔.  I have now moved on to making a software flip-flop circuit to ring my alarm bell  purely software driven no mechanical switching,  i had to do this as the collapsing inductive circuit sent feedback into the house preventing the software switch from working.  You may like it I built it from parts that i found at a farmers market.  I will post image of it.  It actually works and annoys everyone when I activate it remotely:-), i made a steam punk coat rack, the firebell is at the bottom controlled with a software switch, the light at the top is of course rgb controllable. I basically had to create two triggers for the flip-flop circuit, yes hacky again 🙄 .   Very very cool to get your kids into this, it is the best brain trade you can be in.  Leads to full AI, machine learning and even better lots of disco money 💰 🤑.  Hope this helps 👌 

20220707_171451.jpg

Why join the Bunnings Workshop community?

Workshop is a friendly place to learn, get ideas and find inspiration for your home improvement projects