Please login or register.

Login with username, password and session length
Advanced search  


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


Do you see a possible use for Flags in HG?


Pages: 1 ... 3 4 [5]

Author Topic: Fun with Flags  (Read 1532 times)


  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 265
  • Posts: 9435
  • I don't work for X10, I use it successfuly!
    • Tuicemen Software
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.