Re: [mh] Insteon Setup - Local properties

Stephen Switzer <[email protected]> Tue, 20 Apr 2021 15:21:54 -0400
Newsgroups gmane.comp.misc.misterhouse.user
Message-ID <CALSXUc12YKbOCMgZUnTR4_-pS87n9y2Vx0JGUhPNOj-GZpqk9w@mail.gmail.com>
NICE! I didn't even know about this feature... Hmmmm. (brainstorming...)

On Thu, Apr 15, 2021 at 9:34 AM Jeff Siddall via misterhouse-users <
[email protected]> wrote:

> On 4/14/21 11:07 AM, Carl McGrath wrote:
>
> I am reading this item in the wiki
>
> https://github.com/hollie/misterhouse/wiki/Insteon-Devices---Quirks-and-Hints#setting-local-properties
>
> I am a bit unclear how to implement a Voice command to handle these
> directives.
> Obviously, the objects that will be used in directives such as
>
> $some_light->update_local_properties();  (from the wiki)
>
> need to have been defined before values are assigned, such as
>
> $some_light->local_onlevel('50%');
>
> Does someone have an implementation example they can share?
> Thanks in advance
>
>
> Hello Carl,
>
> Yes, just create a voice command item such as Insteon_Local_Properties,
> for example "Set Insteon local properties" and then add this to your user
> code:
>
> if (said $Insteon_Local_Properties) {
>     $some_light->local_onlevel('50%');
>     $some_light->update_local_properties();
> }
>
> Then, from whatever interface you prefer, run the voice command.
> ________________________________________________________
> To unsubscribe from this list, go to:
> https://lists.sourceforge.net/lists/listinfo/misterhouse-users
>
>

-- 

Best regards,
Steve Switzer

---
Get world-class business I.T. services and a phone system with awesome
features that won't challenge your budget!http://www.sbsROC.com

________________________________________________________
To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users