Does anybody else have the problem that loop functions are not working in firmware 1.5.233:
If I run a scene which contains the luup command “local pushskip = luup.variable_get(“urn:upnp-org:serviceId:SwitchPower1”,“Status”,52)” the output is as follows:
@guessed: Thanks for viewing my log. Sadly it doesn’t even make a difference If I add the bracket or not, same output (beside of missing bracket)…
I am starting to wonder what kind of developers work @micasaverde, releasing such a major (beta-)update on facebook, very professional. And still nothing official in the forums. The only good thing about the update: Aeon Labs MiniMote finally working as a scene controller…
I opened support ticket at MicasaVerde concerning this topic, i guess in a couple of weeks we should get an answer.
I am on vacation next week, therefore I will not be responding very quickly, thanks for your support so far, problem remains unsolved up to now.
Funny thing for the past couple years it was said that this would require an Aeon labs firmware update to the Minimote, seems it aint so. Anyway if true that is great 8)
The strange thing is they seemed to be working in the first UI5 I installed (using the Vera3 link) but not the slightly newer build (using the upgrade link posted on Facebook).
The first link was build 1.5.201. They made some changes to the plugin structure in build 1.5.228 which broke the plugins. What are these changes? We do not know the full details as guessed mentioned. But hopefully some light can be shed soon.
@chixxi,
Do you mind posting the new errors again, there will be subtle differences since the old one made specific reference to the syntax error and these should now be replaced by whatever the next issue is.
The strange thing is they seemed to be working in the first UI5 I installed (using the Vera3 link) but not the slightly newer build (using the upgrade link posted on Facebook).
Yes, funny enough I can also confirm that everything was running fine in the non-official release 1.5.201 for me!
@guessed: I tried again, this is the code I am trying to test under “Develop Apps=> Test Lua Code” (see Screenshot)
local pushskip = luup.variable_get("urn:upnp-org:serviceId:SwitchPower1","Status",50)
if (pushskip=="1")then
luup.log("Value was 1")
return true
else
luup.log("Value was not 1")
return true
end
The log the shows (see Screenshot attached):
08 12/12/11 7:35:05.624 JobHandler_LuaUPnP::HandleActionRequest device: 0 service: urn:micasaverde-com:serviceId:HomeAutomationGateway1 action: RunLua <0x2c0c>
08 12/12/11 7:35:05.624 JobHandler_LuaUPnP::HandleActionRequest argument Code=local pushskip = luup.variable_get("urn:upnp-org:serviceId:SwitchPower1","Status",50)
if (pushskip=="1")then
luup.log("Value was 1")
return true
else
luup.log("Value was not 1")
return true
end <0x2c0c>
01 12/12/11 7:35:05.626 luup_variable_get interface 0x843cc0 args 3 <0x2c0c>
50 12/12/11 7:35:05.627 luup_log:0: Value was not 1 <0x2c0c>
Cameras should work. Also energy monitoring should work too. The DataMine plugin doesn’t work because I haven’t updated it to be compatible with UI5. This plugin has a more complex installation procedure, so I couldn’t just publish it on the MiOS Market, because the MiOS plugin installer is limited to the basic plugin files, and the installation would’ve been incomplete.
The change is documented here:
http://wiki.micasaverde.com/index.php/UI4_UI5_Migration#Lua_Files
I still don’t understand why something as simple as I am trying is not working. No change about getting variables documented there. Or did I miss something? It’s not only about plugins, also simple luup code in scenes doesn’t work.
I hadn’t realised there were such major changes wrt UI4 and UI5.
How are plugins going to be handled in future? Will there be UI4 and UI5 specific versions or is UI4 support now deprecated?
I don’t feel comfortable upgrading to UI5 again at this point, but I don’t want to suddenly find, for example, dataMine no longer works next time I update it.