The Vera Community forums have moved!

General => Insteon => Topic started by: RyanAHolland on July 30, 2015, 09:37:01 am

Title: [SOLVED] Altsteon & UI7 - Lua Engine Failed to Load
Post by: RyanAHolland on July 30, 2015, 09:37:01 am
I finally updated to UI7 to try it out and am struggling getting the plm to work.  I have my Insteon 2413U on a Raspberry Pi set up as per the earlier post.  I can start Altsteon and connect to it by puttying into port 9805.  I am able to send commands and get responses, so I know altsteon is working.  Now, when I create the PLM device in Vera with the IP address set to the Pi, I get "Lua Engine Failed to Load".  Any thoughts?

I have tried running altsteon on both the Vera and the Pi with no luck.  Any help is appreciated.
Title: Re: Altsteon & UI7 - Lua Engine Failed to Load
Post by: Tank on August 13, 2015, 08:09:05 am
I'm running it the same way.  No issues here.  Does everything match this (aside from the IP): http://imgur.com/QaRdoqf
Title: Re: Altsteon & UI7 - Lua Engine Failed to Load
Post by: brbrice on August 20, 2015, 03:37:21 am
I_InsteonPlm.xml needs a code fix:

Lines 550 and 551 need to be switched:

return false, "Altsteon", "Cannot connect to Altsteon on " .. ipAddress
luup.set_failure(true)

should be:

luup.set_failure(true)
return false, "Altsteon", "Cannot connect to Altsteon on " .. ipAddress

I've attached the changes to this message.  With this change I have ALTSTEON running and reporting status (SwitchLinc) on UI7!
-B


Title: Re: Altsteon & UI7 - Lua Engine Failed to Load
Post by: Tank on August 20, 2015, 07:04:28 am
Looks like another user was able to fix this.  Try using this updated I_InsteonPlm.xml.
Title: Re: Altsteon & UI7 - Lua Engine Failed to Load
Post by: RyanAHolland on September 08, 2015, 04:50:58 pm
brbrice and joey,

Thank you both for your help.  That fixed my issue!

Well that plus using the -r switch when starting altsteon.