Error with PLTS only after UI7 upgrade

I upgraded to UI7. I had some trouble with all PLC devices for a bit, but after using the URL to reload the apps, PLEG devices are now working. However, PLTS devices still aren’t. I even deleted all my PLTS devices, uninstalled the PLTS app, rebooted, cleared my browser cache, logged back in, and reinstalled the PLTS app. But this hasn’t solved the problem.

First off, the Input, Conditions, Actions etc. are down at the bottom instead of at the top like the PLEG devices. This is what I saw with PLEG devices until I got PLC updated. PLEG devices now show Input, Conditions, Actions, etc at the top.

In addition to the placement, I get the following errors when clicking the labels:

Control: Seems ok

Inputs: Error executing function plts_Inputs(): plts_Inputs is not a function

Conditions: Error executing function plts_Conditions(): plts_Conditions is not a function

Actions: Error executing function plts_Actions(): plts_Actions is not a function

Advanced, Logs, Notifications: seems ok

Register: Error executing function plc_Register(): Cannot read property ‘replace’ of undefined

Note that before deleting the plugin, my PLTS devices seemed to work ok. But I couldn’t modify anything because of these errors.

I did come across this post: http://forum.micasaverde.com/index.php?topic=37595.0

However, I was unable to resolve it with the suggestions. I’ve updated all the plugins (and even started from scratch with PLTS), it isn’t a new device (no new serial), and I’m not sure what to do with the last data point.

Any help is much appreciated!

Got it working…

In case someone else runs into this, try updating PLTS from the URL the forum post linked in the original post, then update PLC, then reboot twice. I don’t know that this is the sequence that would fix it, but after the second reboot, it started working for me. Try that before deleting all your PLTS devices like I did :slight_smile:

[quote=“ibn4n, post:2, topic:192638”]Got it working…

In case someone else runs into this, try updating PLTS from the URL the forum post linked in the original post, then update PLC, then reboot twice. I don’t know that this is the sequence that would fix it, but after the second reboot, it started working for me. Try that before deleting all your PLTS devices like I did :)[/quote]

The instructions have always been that you have to run an update on all the PLEG related devices. When you upgrade to ui7 all the ui7 required files for those plugins don’t auto magically get updated. And even if your showing the latest version installed it really missing the correct ui7 files in the background. After running a force update all those files get installed and it starts working again.

There has been many posts on this after upgrading.

[quote=“integlikewhoa, post:3, topic:192638”][quote=“ibn4n, post:2, topic:192638”]Got it working…

In case someone else runs into this, try updating PLTS from the URL the forum post linked in the original post, then update PLC, then reboot twice. I don’t know that this is the sequence that would fix it, but after the second reboot, it started working for me. Try that before deleting all your PLTS devices like I did :)[/quote]

The instructions have always been that you have to run an update on all the PLEG related devices. When you upgrade to ui7 all the ui7 required files for those plugins don’t auto magically get updated. And even if your showing the latest version installed it really missing the correct ui7 files in the background. After running a force update all those files get installed and it starts working again.

There has been many posts on this after upgrading.[/quote]

I did all that. I upgraded all my PLEG, PLTS, and PLC plugins using a few methods trying to get it to work. First I tried the URLs that are listed here: http://forum.micasaverde.com/index.php/topic,14446.0.html (Substituting my IP address, of course). I did them one at a time with PLC last. I also tried it via a scene with the following code in it:
local http = require(“socket.http”)
result, status = http.request(“http://x.x.x.x:3480/data_request?id=update_plugin&Plugin=3066”, “run=run”).
I did that for 3066, 3018, and finally 3086. Still got the message on multiple browsers. Then I went so far as to remove PLTS completely and reinstall it.

After the reinstall I did not immediately turn around and update PLC again. That may be the left turn that I took. But I did try to do my homework. I updated all my PLC related plugins after the upgrade, and I did PLC last. The second reboot seemed to do it.

Maybe I’m crazy. I was pretty darn tired by the end of it. But I thought I had followed all the relevant instructions and only after a few reboots at the end did the error go away. So I wanted to leave my update in case someone else tried to follow all the instructions and was still having problems.

Welcome to VERA and ui7… This little weird quirks are something that you should be used to by now. Unforuntaly it probley won’t be your last. And PLEG is also known to have saving issues that PLEG’d me and others. ;D

Welcome to VERA and ui7… This little weird quirks are something that you should be used to by now. Unforuntaly it probley won’t be your last. And PLEG is also known to have saving issues that PLEG’d me and others. ;D[/quote]

I’m having some luck by going to Advanced → Variables and doing my editing there. About a 50-50 chance it takes it, which is better odds than I’m having through the normal input/conditions/etc tabs. But I’ve also found if I make a typo, it seems to make LUA fail to fully load (I eventually get a message that it took too long to start up). But as long as I’m careful, it seems to be quicker.