Re: [mh] Insteon Setup - Local properties
Jeff Siddall via misterhouse-users <[email protected]> Thu, 15 Apr 2021 09:18:16 -0400
| Newsgroups | gmane.comp.misc.misterhouse.user |
|---|---|
| Message-ID | <[email protected]> |
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
> <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