Please login or register.

Login with username, password and session length
Advanced search  


The Buster PiX10Hub is here! Created by the Community, for the Community.:)% #:)

Pages: 1 ... 3 4 [5]

Author Topic: Fun with Flags  (Read 4020 times)


  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 271
  • Posts: 10088
  • I don't work for X10, I use it successfuly!
    • Tuicemen Forum
Re: Fun with Flags
« Reply #60 on: February 14, 2019, 10:40:56 AM »

Prior to latest HG release (37) if HG service was restarted for what ever reason the  HG security system reverted to Disarmed however it now retains its condition prior to the system restarting.
I had a script watching a modules condition which was tied to arming the System (this could have just as well been a Flag as HG never reset modules to off) in my script if the module was On, my security system was sent the arm signal and I was notified that the system had been re-armed.
The script got run daily at my off grid place as I did a daily Pi reboot for a variety of reasons all of which I can no longer remember. B:(

I'm now looking to rebuild that script, possibly adding some extra tasks. Any suggestions?
I'll post a sample of this script with a flag condition of being ON (once I have it rebuilt), in the HG Scripts section.

Please Read Topic:
General Forum Etiquette
Before you post!

Find extra info @ My forum
Pages: 1 ... 3 4 [5] | About X10 | X10 Security Systems | Cameras| Package Deals
© Copyright 2014-2016 All rights reserved.