Jump to content

Support for inexpensive smart plugs?


andrew77

Recommended Posts

Posted

I have a handful of those Eightree/Teckin/whatever their name is this week round smart plugs you can buy on Amazon.

I can control them through Alexa voice control but I'd love to control them with my Insteon mini remote.

I have the EISY and was wondering if thats now possible?

 

Andrew 

Posted (edited)

Simplest way is to create STATE variables with meaningful names.
Then use ISY Portal to emulate MS devices from each one with 1 value = On , 0 value = Off.
Now use Alexa app to create Alaxa Routines using those pseudoMS elements as triggers to do whatever you want Alexa to do.

After I defined a group of dedicated STATE variable I created an ISY program that is triggered by any STATE variable becoming a non-zero value and WAIT 10 seconds and then set the whole group of STATE variable back to 0 again. This saves many programs, one for each STATE variable by just writing one program for all.

To use:
Set $sAlexa.do.whatever to 1

Reset sSay variables - [ID 006F][Parent 0002][Run At Startup]

If
        
        // [Run at Startup] enabled
 
        $sSay.motionOutsideDoor is not 0
     Or $sSay.occupancyTimerExpiring is not 0
     Or $sSay.securityViolated is not 0
     Or $sSay.welcomeHome is not 0
     Or $sSay.systemArming is not 0
     Or $sSay.systemDisarmed is not 0
     Or $sSay.goodBye is not 0
     Or $sSay.turnOnLights is not 0
     Or $sSay.systemArmed is not 0
     Or $sz_40 is not 0
     Or $sSay.blindLowBatt is not 0
     Or $sSay.blindJammed is not 0
     Or $sz_43 is not 0
     Or $sz_44 is not 0
     Or $sz_45 is not 0
     Or $sz_46 is not 0
     Or $sz_47 is not 0
     Or $sz_48 is not 0
 
Then
        Wait  10 seconds
        $sSay.motionOutsideDoor  = 0
        $sSay.occupancyTimerExpiring  = 0
        $sSay.securityViolated  = 0
        $sSay.welcomeHome  = 0
        $sSay.systemArming  = 0
        $sSay.systemDisarmed  = 0
        $sSay.goodBye  = 0
        $sSay.turnOnLights  = 0
        $sSay.systemArmed  = 0
        $sz_40  = 0
        $sSay.blindLowBatt  = 0
        $sSay.blindJammed  = 0
        $sz_43  = 0
        $sz_44  = 0
        $sz_45  = 0
        $sz_46  = 0
        $sz_47  = 0
        $sz_48  = 0
 
Else
   - No Actions - (To add one, press 'Action')
 

 

Edited by larryllix
Posted
On 6/3/2025 at 2:10 PM, larryllix said:

Simplest way is to create STATE variables with meaningful names.
Then use ISY Portal to emulate MS devices from each one with 1 value = On , 0 value = Off.
Now use Alexa app to create Alaxa Routines using those pseudoMS elements as triggers to do whatever you want Alexa to do.

After I defined a group of dedicated STATE variable I created an ISY program that is triggered by any STATE variable becoming a non-zero value and WAIT 10 seconds and then set the whole group of STATE variable back to 0 again. This saves many programs, one for each STATE variable by just writing one program for all.

To use:
Set $sAlexa.do.whatever to 1

Reset sSay variables - [ID 006F][Parent 0002][Run At Startup]

If
        
        // [Run at Startup] enabled
 
        $sSay.motionOutsideDoor is not 0
     Or $sSay.occupancyTimerExpiring is not 0
     Or $sSay.securityViolated is not 0
     Or $sSay.welcomeHome is not 0
     Or $sSay.systemArming is not 0
     Or $sSay.systemDisarmed is not 0
     Or $sSay.goodBye is not 0
     Or $sSay.turnOnLights is not 0
     Or $sSay.systemArmed is not 0
     Or $sz_40 is not 0
     Or $sSay.blindLowBatt is not 0
     Or $sSay.blindJammed is not 0
     Or $sz_43 is not 0
     Or $sz_44 is not 0
     Or $sz_45 is not 0
     Or $sz_46 is not 0
     Or $sz_47 is not 0
     Or $sz_48 is not 0
 
Then
        Wait  10 seconds
        $sSay.motionOutsideDoor  = 0
        $sSay.occupancyTimerExpiring  = 0
        $sSay.securityViolated  = 0
        $sSay.welcomeHome  = 0
        $sSay.systemArming  = 0
        $sSay.systemDisarmed  = 0
        $sSay.goodBye  = 0
        $sSay.turnOnLights  = 0
        $sSay.systemArmed  = 0
        $sz_40  = 0
        $sSay.blindLowBatt  = 0
        $sSay.blindJammed  = 0
        $sz_43  = 0
        $sz_44  = 0
        $sz_45  = 0
        $sz_46  = 0
        $sz_47  = 0
        $sz_48  = 0
 
Else
   - No Actions - (To add one, press 'Action')
 

 

I've never used STATEs before. This doesn't look simple 🤣

I'm not sure where I'd start

Posted
2 minutes ago, andrew77 said:

I've never used STATEs before. This doesn't look simple 🤣

I'm not sure where I'd start

Have you ever used variables in your IoX programs? There are two types of variables: integer and state. The difference is that programs can be triggered by the value of a state variable. Furthermore, in the portal you can define an action to be triggered by the value of a (state) variable. then you can use the Alexa app to define a routine triggered by that value.

Posted
23 minutes ago, Guy Lavoie said:

Have you ever used variables in your IoX programs? There are two types of variables: integer and state. The difference is that programs can be triggered by the value of a state variable. Furthermore, in the portal you can define an action to be triggered by the value of a (state) variable. then you can use the Alexa app to define a routine triggered by that value.

I have not. I know where those tabs are but that's about it

Posted

Then start slow, and learn. Variables allow lots of flexibility in programs. For example, define a state variable, with a name like s_test. Then create a program such as:

If s_test = 1

  Then (turn on light)

 

Then manually edit the variable value (in the same screen where you defined it) and set it to 1, and watch your light turn on. Variables are a great way to have one program trigger another, etc

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing

    • No registered users viewing this page.
  • Who's Online (See full list)

    • There are no registered users currently online
  • Forum Statistics

    • Total Topics
      37.8k
    • Total Posts
      377.5k
×
×
  • Create New...