X10 Community Forum

🖥️ActiveHome Pro => SDK => Topic started by: bimmer on December 17, 2010, 10:16:47 AM

Title: cm15 - can I set/clear a flag from command line ?
Post by: bimmer on December 17, 2010, 10:16:47 AM
Thanks
Title: Re: cm15 - can I set/clear a flag from command line ?
Post by: troll334 on December 17, 2010, 10:44:59 AM
Others will certainly chime in here...I've got little experience with command-line options and/or the SDK.
However, I believe, if you send a PLC outbound, say to a non-existent module, you can create a macro that
will trigger on that and set your flag. Or, perhaps if you've got a two-way module, you could send it a PLC and when
the controller 'hears' the response, you could trigger on that and set the flag.
Title: Re: cm15 - can I set/clear a flag from command line ?
Post by: bimmer on December 17, 2010, 11:07:42 AM
Good idea. Thanks.
Title: Re: cm15 - can I set/clear a flag from command line ?
Post by: EL34 on January 09, 2011, 04:00:20 PM
I set up non-existent modules all the time and use them as test for conditions.

For example, I have a appliance module that gets turned on at dawn and off at dusk
That module does not really exist, but now I can use code to check if module is on or off and do things accordingly.

Not sure if that is any help or not.