Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
Insteon Plug-ins for ISY-26/99i and SmartLinc (with X10)
Insteon Plug-ins for ISY-26/99i and SmartLinc (with X10)
Hey all...
I have been working on these plugins for a little and figured that they deserved their own post so I can update the files myself in the top post.
First.
The Insteon Smartlinc Plugin - I have altered the original plugin that was made my dt1000 to juice it up a bit. It now functions correctly with all actions, plus I have even added some actions.
Insteon Actions - Dim One Step
X10 Actions - On/Off
If you plan to use this plugin for X10 commands, you will probably need to have an editor such as Notepad++ to edit line 1869 AND 2003
'02 63 E2 80' Change E to your House code.
'02 63 E3 80' Change E to your House code.
If you need to know what your house code is, please look at the Smartlinc manual.
Inputting X10 devices for the Smartlinc plugin configuration: DO NOT use the X10 Address. Use the Hex Smartlinc address found in the same users manual.
For Example: Chime is the Name, E3 is the Address, where the Chimes X10 address is B11.
I don't have the python skills to write a dictionary for this to translate your addresses, and it's not that big of a deal to enter the SmartLinc hex.
Here is the manual: http://www.smarthome.com/manuals/2412n.pdf
The ISY-29/99 that was abandoned on this board had several an errors in it but I fixed it with information laying around the internet and it's ready for action.
Again, these plugins are NOT mine but I did rewrite a lot; with painstaking effort, they function perfectly.
I have been working on these plugins for a little and figured that they deserved their own post so I can update the files myself in the top post.
First.
The Insteon Smartlinc Plugin - I have altered the original plugin that was made my dt1000 to juice it up a bit. It now functions correctly with all actions, plus I have even added some actions.
Insteon Actions - Dim One Step
X10 Actions - On/Off
If you plan to use this plugin for X10 commands, you will probably need to have an editor such as Notepad++ to edit line 1869 AND 2003
'02 63 E2 80' Change E to your House code.
'02 63 E3 80' Change E to your House code.
If you need to know what your house code is, please look at the Smartlinc manual.
Inputting X10 devices for the Smartlinc plugin configuration: DO NOT use the X10 Address. Use the Hex Smartlinc address found in the same users manual.
For Example: Chime is the Name, E3 is the Address, where the Chimes X10 address is B11.
I don't have the python skills to write a dictionary for this to translate your addresses, and it's not that big of a deal to enter the SmartLinc hex.
Here is the manual: http://www.smarthome.com/manuals/2412n.pdf
The ISY-29/99 that was abandoned on this board had several an errors in it but I fixed it with information laying around the internet and it's ready for action.
Again, these plugins are NOT mine but I did rewrite a lot; with painstaking effort, they function perfectly.
Re: Insteon Plug-ins for ISY-26/99i and SmartLinc (with X10)
SmartLinc Plugin:
9/29/13: Added a slight delay for status events (.40 seconds). Events that fired to early caused a 1515 error (Send Again) when triggering lights from motion sensors.
9/29/13: Added a slight delay for status events (.40 seconds). Events that fired to early caused a 1515 error (Send Again) when triggering lights from motion sensors.
- Attachments
-
- Smartlinc.zip
- (8.02 KiB) Downloaded 306 times
Last edited by abuttino on Sun Sep 29, 2013 4:08 am, edited 2 times in total.
Re: Insteon Plug-ins for ISY-26/99i and SmartLinc (with X10)
Universal Devices ISY26-99 Plugin:
- Attachments
-
- __init__.zip
- (6.54 KiB) Downloaded 265 times
Re: Insteon Plug-ins for ISY-26/99i and SmartLinc (with X10)
Hey there...
Super happy to see you've updated the Insteon plug-in!
My original had a lot of room for improvement...
I am downloading and trying it out now!

Super happy to see you've updated the Insteon plug-in!
My original had a lot of room for improvement...
I am downloading and trying it out now!
-
TimmyFleming
- Posts: 1
- Joined: Sat Oct 05, 2013 10:42 am
Re: Insteon Plug-ins for ISY-26/99i and SmartLinc (with X10)
Were you able to sort out the delay? Can you share a link to download the plugin? Waiting for reply thanks in advance:)abuttino wrote:SmartLinc Plugin:
9/29/13: Added a slight delay for status events (.40 seconds). Events that fired to early caused a 1515 error (Send Again) when triggering led lighting from motion sensors.
Re: Insteon Plug-ins for ISY-26/99i and SmartLinc (with X10)
The delay should be good in my current plugin that's available for download two posts up.. If it isn't, let me know. You'll also have to put a delay between Insteon commands of at least 1.0-1.5 seconds if you try to string them together.
Also, I like to do an Import time and time.sleep in a python script instead of "Wait a few seconds" .... It tends to hang EG a lot less frequently.
I am attempting to rewrite the ISY plugin, it was a freaking disaster with tabs mixed in with spaces for indents. The end result should be a plugin compatible all the way from the ISY-26 to the ISY-994i/PRO.
Also, I like to do an Import time and time.sleep in a python script instead of "Wait a few seconds" .... It tends to hang EG a lot less frequently.
I am attempting to rewrite the ISY plugin, it was a freaking disaster with tabs mixed in with spaces for indents. The end result should be a plugin compatible all the way from the ISY-26 to the ISY-994i/PRO.
Re: Insteon Plug-ins for ISY-26/99i and SmartLinc (with X10)
I'm going to have to sell my SmartLinc soon to upgrade to a 2413S for my new ISY... That means I cannot test this anymore but I'll still support it.
If you need to change the sleep time the lines that you need to edit are in the plug-in.
I've been bleeding enough money on this upgrade, I gotta sell the smartLinc.. In it's form, it works great. I'm glad I could give something back to the community!
Next up is the ISY plugin!
Having owned an ISY for a few days, I can see why this plug-in isn't very popular. The ISY does EVERYTHING fast..
If you need to change the sleep time the lines that you need to edit are in the plug-in.
I've been bleeding enough money on this upgrade, I gotta sell the smartLinc.. In it's form, it works great. I'm glad I could give something back to the community!
Next up is the ISY plugin!
Having owned an ISY for a few days, I can see why this plug-in isn't very popular. The ISY does EVERYTHING fast..
-
mbonaccors
- Posts: 16
- Joined: Thu Apr 26, 2012 2:46 am
Re: Insteon Plug-ins for ISY-26/99i and SmartLinc (with X10)
Hello!
I love using the function insteon plug-in where it registers events when insteon activity is detected on the network. However, the events are created only as "on/off", which works for motion, switches etc. but it only allows me to link two of the buttons on a 6/8 button keypadlinc device to the smartlinc. Do you know if there is a way to have the plugin register independent events for each different button? Does the ISY plugin have this functionality?
Thanks in advance for any help,
-Matt B.
I love using the function insteon plug-in where it registers events when insteon activity is detected on the network. However, the events are created only as "on/off", which works for motion, switches etc. but it only allows me to link two of the buttons on a 6/8 button keypadlinc device to the smartlinc. Do you know if there is a way to have the plugin register independent events for each different button? Does the ISY plugin have this functionality?
Thanks in advance for any help,
-Matt B.
Re: Insteon Plug-ins for ISY-26/99i and SmartLinc (with X10)
Wow, i just discovered this, it's great. I wrote my own crappy plugin for this, i didn't know about the subscription service of the isy.
Would be cool if you had this in a repo, i'd love to fork it and incorporate the things i've done too (eg pulling variables values down)
Would be cool if you had this in a repo, i'd love to fork it and incorporate the things i've done too (eg pulling variables values down)
Re: Insteon Plug-ins for ISY-26/99i and SmartLinc (with X10)
Hi mbonaccors,I love using the function insteon plug-in where it registers events when insteon activity is detected on the network. However, the events are created only as "on/off", which works for motion, switches etc. but it only allows me to link two of the buttons on a 6/8 button keypadlinc device to the smartlinc. Do you know if there is a way to have the plugin register independent events for each different button? Does the ISY plugin have this functionality?
The plugin works with keypadlincs but there is a slight change you have to make to the code so that the keypadlinc button is a unique event string. I can't remember off hand what line it is and I'm not home right now. Basically I add the group ID to the even string I think.
The plugin is great and allows for you to do a lot. The only problem is it seems to be structured in away that assumes only the PLM has group IDs when in reality (especially when using keypadlincs and other things that can send multiple unique commands from the same device address) all devices have group IDs. For example, currently the way it's written, you define a scene based on the group ID of the PLM (lets say 02 is Scene B which turns on a light) and then you press the keypadlinc button B (8 button mode) and the event will show in event ghost as "Scene B" instead of Keypadlinc Btn B.
I started to completely re-write the plugin so it can decode the majority of the commands (right now some commands are decoded as the wrong command so the readable text doesn't make sense) but stopped development of that about 8 months ago. The current plugin works with the small change, the text just isn't always correct, but the events are unique to allow trigger actions.
I'll post my version when I get home if anyone is interested.
The Latest SONOS Plugin:
Latest version can be found here: http://eventghost.org/forum/viewtopic.p ... 05f#p30309
EventGhost Lets me automate my home the way I want it, I love using it!
Latest version can be found here: http://eventghost.org/forum/viewtopic.p ... 05f#p30309
EventGhost Lets me automate my home the way I want it, I love using it!
Re: Insteon Plug-ins for ISY-26/99i and SmartLinc (with X10)
here is the code I changed to allow keypadlinc buttons to be unique:
Added at line 387:
modified at line 402:
Added at line 387:
Code: Select all
scn = str(int(lvl,16)) # save scn, convert from hex to int to stringCode: Select all
eventTxt = ID + "." + dat + "." + scn #added 11/12/2013 < + "." + lvl>Code: Select all
#Identify the scene
scn = str(int(lvl,16)) # save scn, convert from hex to int to string
datList = []
for q in range(len(Scenes)):
datList.append(Scenes[q][1])
try:
p = datList.index(lvl)
lvl = Scenes[p][0]
except ValueError:
lvl = "unknown scene"
if VerboseMode:
print start + " from device: " + ID + " to " + SD + ": " + dat
#print start + " from switch:" + ID + " to " + SD + ": " + lvl + ", " + dat +"."
eventTxt = ID + "." + dat + "." + scn #added 11/12/2013 < + "." + lvl>
time.sleep(0.40)
eg.TriggerEvent(eventTxt, prefix='SmartLinc', payload=lvl)The Latest SONOS Plugin:
Latest version can be found here: http://eventghost.org/forum/viewtopic.p ... 05f#p30309
EventGhost Lets me automate my home the way I want it, I love using it!
Latest version can be found here: http://eventghost.org/forum/viewtopic.p ... 05f#p30309
EventGhost Lets me automate my home the way I want it, I love using it!
Re: Insteon Plug-ins for ISY-26/99i and SmartLinc (with X10)
You can post the Python file here of you want.
Re: Insteon Plug-ins for ISY-26/99i and SmartLinc (with X10)
Here is the plugin with my changes. I actually missed some lines, so this file includes all changes.
The only thing it does is include the scene number at the end of the text string for certain types of messages, like a broadcast scene message.
The only thing it does is include the scene number at the end of the text string for certain types of messages, like a broadcast scene message.
The Latest SONOS Plugin:
Latest version can be found here: http://eventghost.org/forum/viewtopic.p ... 05f#p30309
EventGhost Lets me automate my home the way I want it, I love using it!
Latest version can be found here: http://eventghost.org/forum/viewtopic.p ... 05f#p30309
EventGhost Lets me automate my home the way I want it, I love using it!
Re: Insteon Plug-ins for ISY-26/99i and SmartLinc (with X10)
Hey guys, just wanted to let you know some of the changes i'm working on and see if people are interested.
Things I've changed or working on:
Also I wanted to note that this plugin does work with the Insteon HUB not just the SmartLinc. The plugin sees the Hub just like a smartlinc.
My current configuration is using HouseLinc to configure my insteon devices and manage scenes and links, Insteon Hub as the PLM/smartlinc device, and EG as the automation tool that controls it all.
How I use the plugin:
Currently I have motion sensors and door sensors through the house and they automatically control the lights with different set profiles i've created. The profiles change how the lights turn on and off (time, and brightness, or even which lights) based on time of day, motion, and doors. This means that I rarely ever use an app to turn on or off the lights. The only reason i ever touch the switch itself is to temporarily disable the motion for a set time if I ever need to keep a light on for what ever reason (this feature is part of the profiles created).
Things I've changed or working on:
- 1) I've removed the time delay in the code that waits between commands sent. This caused issues for me.
- 2) Instead, If the 0x15 (try again) message is received, the plugin sends the command again.
- 3) All battery sensors like motion, door/window, water sensors send each command twice. So I've added a small check to ignore duplicate message so duplicate event triggers aren't sent.
- 4) I'm working on adding a command send buffer so that you could load up as many commands as you need and the plugin will handle sending them as the smartlinc/hub is ready.
- 5) I'm working on an input buffer as well, currently if there is a delay you can actually receive multiple commands from the smartlinc at once which the plugin sees as one long commands so it ignores it. Input buffer will capture all commands and loop through all of them to make sure they are always handled.
Also I wanted to note that this plugin does work with the Insteon HUB not just the SmartLinc. The plugin sees the Hub just like a smartlinc.
My current configuration is using HouseLinc to configure my insteon devices and manage scenes and links, Insteon Hub as the PLM/smartlinc device, and EG as the automation tool that controls it all.
How I use the plugin:
Currently I have motion sensors and door sensors through the house and they automatically control the lights with different set profiles i've created. The profiles change how the lights turn on and off (time, and brightness, or even which lights) based on time of day, motion, and doors. This means that I rarely ever use an app to turn on or off the lights. The only reason i ever touch the switch itself is to temporarily disable the motion for a set time if I ever need to keep a light on for what ever reason (this feature is part of the profiles created).
The Latest SONOS Plugin:
Latest version can be found here: http://eventghost.org/forum/viewtopic.p ... 05f#p30309
EventGhost Lets me automate my home the way I want it, I love using it!
Latest version can be found here: http://eventghost.org/forum/viewtopic.p ... 05f#p30309
EventGhost Lets me automate my home the way I want it, I love using it!
-
barnabas1969
- Experienced User
- Posts: 133
- Joined: Sat Feb 04, 2012 1:42 am
Re: Insteon Plug-ins for ISY-26/99i and SmartLinc (with X10)
Wow, I'm bummed to find out that this works with the Hub. When my 2nd SmartLinc died within the 2 year warrantee period, SmartHome sent me a Hub. I contacted them to find out if it could be controlled similarly to the SmartLinc, and they said NO. So, I sent it back and they sent me a used SmartLinc demo unit, and told me that no further warrantee would be available for the remainder of my 2 years.
If I had known this back then, I would have kept the Hub.
If I had known this back then, I would have kept the Hub.