Author |
|
smogman Newbie
Joined: April 20 2010
Online Status: Offline Posts: 14
|
Posted: April 21 2010 at 00:49 | IP Logged
|
|
|
Hi everyone, I'm new to powerhome but not to home automation. I have been battling for over a year to get everything I have with insteon to work together. I have a ez I/O8t, ez I/O 8sa, and a ezflora. I have all my other insteon stuff functioning but not these with powerhome. What are my options to make these work with power home?
|
Back to Top |
|
|
grif091 Super User
Joined: March 26 2008 Location: United States
Online Status: Offline Posts: 1357
|
Posted: April 21 2010 at 04:16 | IP Logged
|
|
|
Under PowerHome Hardware the Topic “EZRain Irrigation Controller” has information on the now EZFlora device. The top of Page 2 has a Macro created by Dave for general EZFlora control.
The EZIO8SA is much like a Keypadlinc. It has 7 Inputs, like multiple buttons on a KPL, and 8 Output Relays, like the KPL button LEDs. The EZIO8T is similar except it has 3 Inputs and 8 Triac outputs. I replaced my EZIO8Ts with EZIO2X4s years ago for garage monitoring and control. I found it easier to work with the Output Relays rather than the Triacs.
For the EZIOxx devices, each Input uses Group 1-x, just as a KPL uses Group 1-8 for an 8 button KPL. The output Unit/Button numbers start at 0 rather the 1 as the KPL does. The Output Unit/Button numbers for the EZIO8T and EZIO8SA run from 0-7 for Outputs1-8. In fact all Insteon devices that I have worked with start the Output Unit/Button number as 0 except the KPL which, again, starts at 1.
There is an issue with PH2 that prevents setting the Output Button number to 0 for a multiple output device. PH2 uses the KPL model which starts at 1 so it is impossible to define a link to Output 1 (Unit/Button 0). I had to change the device type to a SwitchLinc to get PH2 to accept a Unit/Button number of 0 for the first output. Once the link to the first Output had been established I changed it back to whatever device it was to start with. I defined my own device types for the EZIOxx devices under PH1 and they were carried forward into PH2. There may be predefined device types for the SHN devices in PH2 now.
The restriction on Output button numbers starting a 1 has been reported long ago. I am hoping the next update to PH2, soon to be released we all hope, will fix this restriction so that the device type does not have to be changed to be able to specify an Output Unit/Button number that starts at zero.
Edited by grif091 - April 21 2010 at 04:22
__________________ Lee G
|
Back to Top |
|
|
smogman Newbie
Joined: April 20 2010
Online Status: Offline Posts: 14
|
Posted: April 21 2010 at 12:11 | IP Logged
|
|
|
thanks for the responce. so just change the device type. thats simple enough. but what about control through the web or control center. or can I only use kpl?
I love the warning they give to beginners about the complexity of the software. it is a very accurate warning. but it's the only way to completely control insteon so I like it. it took me an hour to get my lights up and controlled by timers but once you learn how it works it's fast. thanks for your time and help on this.
|
Back to Top |
|
|
grif091 Super User
Joined: March 26 2008 Location: United States
Online Status: Offline Posts: 1357
|
Posted: April 21 2010 at 16:24 | IP Logged
|
|
|
I don't use the Control Center but the output relays/traics are just another responder as far as Insteon is concerned. If you know how to turn on secondary KPL button LEDs using the Control Center you can control the output relays/triacs the same way. I would assume (always a bad thing ) that you will define PLC/PLM Groups with associated links and control each output relay/triac individually using Group commands. Dave’s EZFora macro uses Insteon Direct commands to control the various valves/zones rather than defining Groups. The EZIOxx family of devices have Direct commands that can be used to control each output relay/triacs. There is a pdf file on the SHN web site under Downloads that covers the Direct commands in detail for the EZIOxx devices.
As for presenting Input status, if you can present secondary KPL button status with the CC then the various Inputs will work the same way. Link each Input to the PH2 PLM and Trigger off a Insteon Group In or Dev Chg condition to know when an Input changes state.
__________________ Lee G
|
Back to Top |
|
|
smogman Newbie
Joined: April 20 2010
Online Status: Offline Posts: 14
|
Posted: April 21 2010 at 17:37 | IP Logged
|
|
|
I'm not that far advanced yet I guess. no input's, just relays. I will try this tonight. thanks for answering my questions.
|
Back to Top |
|
|
syonker Senior Member
Joined: March 06 2009 Location: United States
Online Status: Offline Posts: 212
|
Posted: June 04 2012 at 12:18 | IP Logged
|
|
|
Hey Grif,
So I hooked up the Insteon Garage Door Controller kit (works great - have PIN control with Skip's PHCA App - AWESEOME). Want to invoke a PH "trigger" when status changes on this unit....I have a trigger setup, but need to get the "status" on the device...what's the formula for determining "OPEN/CLOSED"? The little light on the device opens/closes with the door magnet switch...just not sure how to get this status and use it in PH.
-S
__________________ "I will consider myself having succeeded when my house becomes sentient and attempts to kill me."
><(((º>`·.¸¸.·´¯`·.¸><(((º>¸.
·´¯`·.¸. , . ><(((º>`·.¸¸.·´¯`·.¸><(((º>
|
Back to Top |
|
|
grif091 Super User
Joined: March 26 2008 Location: United States
Online Status: Offline Posts: 1357
|
Posted: June 04 2012 at 12:42 | IP Logged
|
|
|
The I/O Linc Sensor sends a standard Group 01 On when Sensor turns On and Group 01 Off when Sensor turns Off. There is a Trigger Reverse option which reverses the commands issued. Group Off command when Sensor turns On and Group On command when sensor turns Off.
The current state of the Sensor can be querried with cmd1=25 (0x19) cmd2=1. Response is 0 if Off, 1 if On. Note that this is the true On/Off state of the Sensor, not the command reversed On/Off if Trigger Reverse is set.
Also be aware that new I/O Lincs are now I2CS devices.
Edited by grif091 - June 04 2012 at 12:43
__________________ Lee G
|
Back to Top |
|
|
syonker Senior Member
Joined: March 06 2009 Location: United States
Online Status: Offline Posts: 212
|
Posted: June 04 2012 at 13:06 | IP Logged
|
|
|
Hmmm.....I'm missing something. This is a "Garage Door" EZIO kit from SmartHome...included both the EZIO and a magnetic closure sensor. It is set in "momentary state" to activate the garage door opener.
So, in essence, when it's hit, it closes for a few seconds and the garage door whatever it's gonna do (up or down, reverses (on way down) or stops (on way up).
Separately, the little light on the sensor comes on when the door is fully closed and the contact is made with the magnet, and it's off in any state of open. It's kinda like two devices in one.
I am trying to trigger on any change in that light's status (a.k.a. the contact closure) and get the status of that light in a macro to send to PHCA. I assume based on your comment above that getting the status would look something like:
ph_insteonwithret("GARAGE_DOOR",25,1)
(would that work?).
It's the trigger that's tripping me up - I've tried just about everything from insteon group, insteon, any status change, trigger number 1 (no idea if that's right), any trigger, etc. Nothing seems to be firing the trigger when that sensor changes status (it's working great as far as the light on the Insteon EXIO indicates).
Crazy,
__________________ "I will consider myself having succeeded when my house becomes sentient and attempts to kill me."
><(((º>`·.¸¸.·´¯`·.¸><(((º>¸.
·´¯`·.¸. , . ><(((º>`·.¸¸.·´¯`·.¸><(((º>
|
Back to Top |
|
|
grif091 Super User
Joined: March 26 2008 Location: United States
Online Status: Offline Posts: 1357
|
Posted: June 04 2012 at 13:52 | IP Logged
|
|
|
The Smarthome Garage Door Kit comes with a Smarthome I/O Linc. If purchased after March 2012 it is an I2CS device which requires special handling to establish links programmatically. That is likely why you are not seeing the expected inbound Group messages because the I/O Linc Sensor is not linked to the Powerhome PLM.
You can do a Set button link between the Sensor as a Controller and the PLM as a Responder which should result in the Group messages being received and processed by the PLM.
Yes, that query example is correct but not sure it will work until the correct link between the I/O Linc and the PLM are established. Some commands are accepted by some I2CS device when no link exists. There is no list of commands versus devices which do or do not work so it is a matter of testing each command. Once the Set button link is established the Query will not be needed.
__________________ Lee G
|
Back to Top |
|
|
syonker Senior Member
Joined: March 06 2009 Location: United States
Online Status: Offline Posts: 212
|
Posted: June 04 2012 at 13:58 | IP Logged
|
|
|
Hi Grif,
NOTE: I posted this before I saw your post above...I bet you're on it. The garage door kit was recently purchased.
What is an I2CS device?
So just for fun I put up the INSTEON raw log and captured it while first opening, then stopping, then closing the door. Watched the sensor light - acted great (on when closed - off all other times).
Here's the log:
This doesn't seem to show anything but the actual Insteon commands to the EZIO...no sensor trip. Am I missing something here?
-S
Edited by syonker - June 04 2012 at 14:01
__________________ "I will consider myself having succeeded when my house becomes sentient and attempts to kill me."
><(((º>`·.¸¸.·´¯`·.¸><(((º>¸.
·´¯`·.¸. , . ><(((º>`·.¸¸.·´¯`·.¸><(((º>
|
Back to Top |
|
|
syonker Senior Member
Joined: March 06 2009 Location: United States
Online Status: Offline Posts: 212
|
Posted: June 04 2012 at 14:28 | IP Logged
|
|
|
So I just tried to link it through PowerHome's Insteon Links page...it *acted* like it linked (and even shows the group command) but nothing coming from the EZIO...I'm guessing I have no choice but to move the car and dig out the ladder, huh?
-S
__________________ "I will consider myself having succeeded when my house becomes sentient and attempts to kill me."
><(((º>`·.¸¸.·´¯`·.¸><(((º>¸.
·´¯`·.¸. , . ><(((º>`·.¸¸.·´¯`·.¸><(((º>
|
Back to Top |
|
|
grif091 Super User
Joined: March 26 2008 Location: United States
Online Status: Offline Posts: 1357
|
Posted: June 04 2012 at 14:30 | IP Logged
|
|
|
Your analysis of the trace is correct. It shows the Fast On command to the I/O Linc only. There are no inbound Group messages from the Sensor because the Sensor is not linked to the Powerhome PLM.
SmartLabs has updated the Insteon protocol to include addition checking of extended command data (check sum) and additional security measures. It is no long possible to control new devices from unknown PLMs. This latest Insteon protocol change has become known as I2CS for Insteon 2 (earlier Insteon protocol update a few years back) and CheckSum. Dave is working on an update to Powerhome which will include support for linking I2CS devices. Until that is released it is necessary to link any new I2CS device to the PLM with a Set button link.
__________________ Lee G
|
Back to Top |
|
|
grif091 Super User
Joined: March 26 2008 Location: United States
Online Status: Offline Posts: 1357
|
Posted: June 04 2012 at 14:51 | IP Logged
|
|
|
Powerhome cannot link an I2CS device. The old method using Peek/Poke commands that worked on almost all devices no longer works because the Peek/Poke commands have been dropped from the I2CS devices.
The newer I2 method using Extended commands to process link records does not work because of the CheckSum requirement on Extended commands with I2CS.
Set button linking is the only thing possible with an I2CS under the current Powerhome.
.
__________________ Lee G
|
Back to Top |
|
|
grif091 Super User
Joined: March 26 2008 Location: United States
Online Status: Offline Posts: 1357
|
Posted: June 04 2012 at 14:53 | IP Logged
|
|
|
To insure there is no confusion with anyone else. This does not apply to Simplehomenet EZIOxx devices. They are not being updated to I2CS and will continue to work on Powerhome. It is only Smarthome devices that are affected by the I2CS change, in this case an I/O Linc
__________________ Lee G
|
Back to Top |
|
|
syonker Senior Member
Joined: March 06 2009 Location: United States
Online Status: Offline Posts: 212
|
Posted: June 04 2012 at 17:21 | IP Logged
|
|
|
Grif, you're (as usual) a wealth of knowledge. Seriously, how do you figure this stuff out. Sure enough a 3-second pop on the buttons on the garage door I/O controller, and the PLM, and now there is an event when the sensor trips (either way).
Just awesome - thanks!
For anyone else running into this:
1) Setup the Garage controller device per the instructions, and connect it to Power-Home.
2) Hit the button on the EZIO I2CS DEVICE for 3 seconds (until it starts blinking).
3) Hit the button on your PLM for 3 seconds (until it beeps - will not blink).
4) Define a trigger for the garage door - I did mine with an "any event from the thing causes it to update status) - Here's what the trigger should look *something* like:
5) Define a Macro for the trigger to do something like send you an e-mail, text message, PHCA C2DM Message, call you, etc. Mine sends a USER MESSAGE to PH Console, and sends a PHCA Message to my cell phone...here's an example:
-S
Edited by syonker - June 04 2012 at 17:42
__________________ "I will consider myself having succeeded when my house becomes sentient and attempts to kill me."
><(((º>`·.¸¸.·´¯`·.¸><(((º>¸.
·´¯`·.¸. , . ><(((º>`·.¸¸.·´¯`·.¸><(((º>
|
Back to Top |
|
|