Autelis Control?

[quote=“rstrouse, post:40, topic:192903”]@Sammy2,

Hmmmm… No ISY Settings? Is this the most recent firmware for your Autelis or do you still need to upgrade? mda has 1.6.8 and the Autelis folks are making some additions as well.[/quote]

I’m updated to 1.6.9 last night while finishing the set up. That was the initial settings. There’s ISA/Vera control now.

In my haste I had to connect the Autelis via a wired connection out the window of the office to the rear patio and had to also run a long 4-wire speaker cable to the Jandy board. In connecting this, some of the One-Touch and Spa Link wires became disconnected. This morning I was working on setting up a TP-Link AP and couldn’t get the dam thing to connect to my laptop via ethernet. ??? :-[ :-\ >:( :frowning: So that issue remain to be resolved. I don’t have a whole lot of time to fuss with it and it should just work but it isn’t just working!

At any rate, to keep the WAF high, I spent half an hour this morning disconnecting everything and returning the pool back to the One-Touch control because the nieces and nephews are coming over for the last Thursday pool party of the Summer before School Starts and the pool has to work.

But after a couple of failed attempts I did get the Vera connected to the Autelis and I was successful last night. My wife was out of town with her mom for her mom’s birthday and it was already getting late (I’m up at 4 am to get to work as I have a 2-hour commute, which explains my limited tinkering time) and she came home so I had to then drop what I was doing and visit with her about her adventures so I have nothing to report back today. The next chance I’ll have to tinker with this is probably Saturday Morning…

EDIT:

As far as pumps go, there’s three; I’m thinking Pool, Spa and Booster or Cleaner.

I also have only two valves that are connected to the Jandy via relays. I’m thinking Shear Decent and Spa Flow Control as when the spa is on, the cascading water spilling from the raised spa into the pool stops and all circulation is in the Spa only.

[quote=“rstrouse”]@Sammy2,

Hmmmm… No ISY Settings? Is this the most recent firmware for your Autelis or do you still need to upgrade? mda has 1.6.8 and the Autelis folks are making some additions as well.[/quote]

@rstrouse please let me know when the newest Aurelia firmware is available for Jandy. I will update to it and make sure my current Vera integration still works, as a baseline, then I will install the plug in and report back. I believe my other stability issues are now resolved so I can test. Thanks!

@Sammy,

Now that you upgraded to 1.6.9 can you redo the xml queries?

[quote=“rstrouse, post:43, topic:192903”]@Sammy,

Now that you upgraded to 1.6.9 can you redo the xml queries?[/quote]

Yes but not until tomorrow or probably Saturday. Sorry.

I didn’t realize until later, following the installation instructions for your plug in that I was on (very) old f/w for a NIB item. I mean it was 1.5.x… I guess it isn’t worth Autelis’ time to update it before shipping because I can do that but usually stuff is just a f/w version or two behind current…

@mda,

I believe 1.6.9 is new and contains the new names.xml. If you upgrade to this could you run a names.xml? You probably do not need to remove your integration as it should coexist with the exception of the device # in the ISY settings. The plugin does both where it listens to the variables as well as polls the xml.

BTW, those three Macros on the One Touch would be nice to replicate as Scenes in the Vera Plugin

Spa Mode
Night Party
Day Party.

I show the devices that are on in the Night Party Macro.

Yeah the good folks at Autelis have modified the firmware to execute these. I believe they are in 1.6.9 but obviously I cannot test it out. Once we get through all the equipment control I will figure out a macro panel that can be used to execute these.

I will try to set aside time Saturday to upgrade the Autelis FW and try the plug in. Last time I upgraded the Autelis i bricked it for a week so I need to do it when I have time to focus.

That sucks! How’d you get it un-bricked?

Ok so a bit more cleanup and debugging through testing. So v0.2 beta brings the following

Implemented new features from fw 1.6.9

[ol][li]Aux Circuit Names from the panel[/li][/ol]

New features

[ol][li]Added Autelis Firmware version to the main panel[/li]
[li]Display panel battery status based upon 1.7v voltage drop[/li]
[li]Added solar combined and solar only configurations to allow for pool/spa heating[/li]
[li]Added chlorinator status (Chlorinating / Off) when the AquaPure cell is energized[/li]
[li]Added check for Pool/Spa body to determine the AquaPure salt level that is displayed[/li]
[li]Fixed inconsistencies with WaterColors LED circuits and the specified color mode and adjusted the dimmer icon based upon the number of lights that are on.[/li]
[li]Updated status of all auxiliary panels when a dependency exists between them[/li]
[li]Added animation of temperature values when in Simulation mode[/li][/ol]

Issues found and fixed

[ol][li]Two-way communication – The Variable Listener did not get the right information when trying to set its values. As a result the screen wouldn’t update the correct variables[/li]
[li]Fixed single body setpoints for heaters[/li]
[li]Fixed issues where new circuit selections were not automatically creating the devices in Vera[/li]
[li]Fixed issue where new children could cause Vera to go into a perpetual luup reload[/li]
[li]Removed pool heater 2 settings if they are not available.[/li]
[li]Fixed issues with triggers on heaters[/li][/ol]

Next steps

[ol][li]Get results from initial field testing[/li]
[li]Add triggers for Water Colors LED circuits[/li]
[li]Fix bugs as we find 'em[/li][/ol]

If you have already installed the v.10 Beta please do not uninstall the plugin simply unzip all the files from the package and copy them to your Vera via Apps–>Develop Apps–>Luup files. After you have copied them reload Luup and refresh your browser.

[quote=“rstrouse, post:50, topic:192903”]Ok so a bit more cleanup and debugging through testing. So v0.2 beta brings the following

Implemented new features from fw 1.6.9

[ol][li]Aux Circuit Names from the panel[/li][/ol]

New features

[ol][li]Added Autelis Firmware version to the main panel[/li]
[li]Display panel battery status based upon 1.7v voltage drop[/li]
[li]Added solar combined and solar only configurations to allow for pool/spa heating[/li]
[li]Added chlorinator status (Chlorinating / Off) when the AquaPure cell is energized[/li]
[li]Added check for Pool/Spa body to determine the AquaPure salt level that is displayed[/li]
[li]Fixed inconsistencies with WaterColors LED circuits and the specified color mode and adjusted the dimmer icon based upon the number of lights that are on.[/li]
[li]Updated status of all auxiliary panels when a dependency exists between them[/li]
[li]Added animation of temperature values when in Simulation mode[/li][/ol]

Issues found and fixed

[ol][li]Two-way communication – The Variable Listener did not get the right information when trying to set its values. As a result the screen wouldn’t update the correct variables[/li]
[li]Fixed single body setpoints for heaters[/li]
[li]Fixed issues where new circuit selections were not automatically creating the devices in Vera[/li]
[li]Fixed issue where new children could cause Vera to go into a perpetual luup reload[/li]
[li]Removed pool heater 2 settings if they are not available.[/li]
[li]Fixed issues with triggers on heaters[/li][/ol]

Next steps

[ol][li]Get results from initial field testing[/li]
[li]Add triggers for Water Colors LED circuits[/li]
[li]Fix bugs as we find 'em[/li][/ol]

If you have already installed the v.10 Beta please do not uninstall the plugin simply unzip all the files from the package and copy them to your Vera via Apps–>Develop Apps–>Luup files. After you have copied them reload Luup and refresh your browser.[/quote]

I already updated the files and will test this out tomorrow.

THANKS!

That sucks! How’d you get it un-bricked?[/quote]

I’m afraid I don’t recall, all I have left is an irrational fear up upgrading it and a memory of trying a whole bunch of things over and over again :wink:

That sucks! How’d you get it un-bricked?[/quote]

I’m afraid I don’t recall, all I have left is an irrational fear up upgrading it and a memory of trying a whole bunch of things over and over again ;)[/quote]

Some devices will revert to the previous f/w after a period of time.

I updated mine without issue just the other night. closely following the instructions to use the Java rar updater.

This will have to wait for another day. I had no choice but get to the Honey Do list. This after noon is out as is tomorrow.

ARGH!!!

It’s a small wonder I get anything done with having to take care of everyone else’ needs!

What are you sleeping, eating, and pooping for. All of these things are overrated!

@ rstrouse I updated to 1.6.9 and /names.xml is:

<response> <equipment> <aux1>Booster Pump</aux1> <aux2>Spa Light</aux2> <aux3>Pool Light</aux3> <aux4>Air Blower</aux4> <aux5>Deck Jets</aux5> <aux6>AUX6</aux6> <aux7>AUX7</aux7> <aux8>AUX8</aux8> <aux9>AUX9</aux9> <aux10>AUX10</aux10> <aux11>AUX11</aux11> <aux12>AUX12</aux12> <aux13>AUX13</aux13> <aux14>AUX14</aux14> <aux15>AUX15</aux15> <aux16></aux16> <aux17></aux17> <aux18></aux18> <aux19></aux19> <aux20></aux20> <aux21></aux21> <aux22></aux22> <aux23></aux23> <macro1>All Off</macro1> <macro2>Spa Mode</macro2> <macro3>Pool Mode</macro3> <macro4>Deck Jets</macro4> <macro5>Heat Up Spa</macro5> <macro6>Lights</macro6> </equipment> </response>

Should I go ahead and test the plug-in (vera 3, UI5)? Thanks.

Yes please. I think I got it to respond the old way. It should reboot and install the correct .json files on UI5. Lemme know if there are any errors.

I uploaded all the files and created the device. I get a lua startup error on restart and the Configure tab stalls on a thermometer so I can not configure it. Vera 3, UI5; browser is chrome on Mac OS.

I checked the log and it looks like i am missing dkjson:

01 08/20/16 19:04:35.801 luup_require can't find dkjson <0x2bfad680> 01 08/20/16 19:04:35.802 LuaInterface::CallFunction_Startup-1 device 118 function atjInitialize failed [string "--..."]:1343: attempt to call field 'encode' (a nil value) <0x2bfad680> 01 08/20/16 19:04:35.802 LuImplementation::StartLua running startup code for 118 I_AutelisJandy.xml failed <0x2bfad680>

So i uploaded dkjson but it did not solve the problem. Now the error i get is:

50 08/20/16 19:08:32.039 luup_log:118: Could not set up interface <0x2bb9b680> 01 08/20/16 19:08:32.437 luup_require can't find lpeg __LEAK__ this:24576 start:4960256 to 0x1cc1000 <0x2bb9b680> 01 08/20/16 19:08:32.438 LuaInterface::CallFunction_Startup-1 device 118 function atjInitialize failed [string "--..."]:1343: attempt to call field 'encode' (a nil value) <0x2bb9b680> 01 08/20/16 19:08:32.438 LuImplementation::StartLua running startup code for 118 I_AutelisJandy.xml failed <0x2bb9b680>

Attached are screen shots of the Advanced tab of the device. Please let me know next step. Thanks!

@mda,

This is some of the stuff we need to work out for UI5. I am encouraged that the configuration screen came up so that was the first hurdle and probably the most significant.

dk-json is not loading how did you install it? If you put dk-json.lua in your cmh/ludl directories remove it as it will not do you any good. Do you by chance have akb-json.lua installed? If not you can install it from the post below.

http://forum.micasaverde.com/index.php/topic,29989.msg213050.html#msg213050
I believe this file goes in the usr/lib/lua directory.

Also take the file below and upload it to your Vera. It will use akb-json if dk-json is not available.

I put akb-json into /usr/lib/lua and updated the autelis file. Unfortunately that did not fix it. I still have the lua startup error on the device and the Configure screen just hangs on the thermometer. Screen shots attached. Here are a few log snippets too:

0 08/21/16 11:30:14.281 luup_log:118: Initializing Autelis Plugin for Jandy (Lua Version:Lua 5.1 UI Version: 5.622 1) __LEAK__ this:110592 start:4816896 to 0x18b8000 <0x2b407680> 06 08/21/16 11:30:14.282 Device_Variable::m_szValue_set device: 118 service: urn:micasaverde-com:serviceId:HaDevice1 variable: CommFailure was: 1 now: 1 #hooks: 0 upnp: 0 v:0xb2e3a8/NONE duplicate:1 <0x2b407680> 06 08/21/16 11:30:14.284 Device_Variable::m_szValue_set device: 118 service: urn:rstrouse-com:serviceId:AutelisJandy1 variable: LastUpdate was: 1471804065 now: 1471804214 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2b407680> 06 08/21/16 11:30:14.285 Device_Variable::m_szValue_set device: 118 service: urn:micasaverde-com:serviceId:HaDevice1 variable: CommFailure was: 1 now: 1 #hooks: 0 upnp: 0 v:0xb2e3a8/NONE duplicate:1 <0x2b407680> 50 08/21/16 11:30:14.286 luup_log:118: Could not set up interface <0x2b407680> 01 08/21/16 11:30:14.330 luup_require can't find dkjson __LEAK__ this:45056 start:4861952 to 0x18c3000 <0x2b407680>

and i believe this log entry might be the result of opening the configure screen of the device:

02	08/21/16 11:39:22.734	luvd_get_info mg conn can't read /etc/cmh-ludl//shared.js or /etc/cmh-lu//shared.js from filename /shared.js pPtrFile (null) <0x30096680>

—EDIT—

These log entries do indeed seem to be be timed with when I click on the Configure tab…

[code]02 08/21/16 11:21:18.254 luvd_get_info mg conn can’t read /etc/cmh-ludl//toolbox.js or /etc/cmh-lu//toolbox.js from filename /toolbox.js pPtrFile (null) <0x2ff59680>
02 08/21/16 11:28:16.582 luvd_get_info mg conn can’t read /etc/cmh-ludl//toolbox.js or /etc/cmh-lu//toolbox.js from filename /toolbox.js pPtrFile (null) <0x30227680>
02 08/21/16 11:28:30.049 luvd_get_info mg conn can’t read /etc/cmh-ludl//shared.js or /etc/cmh-lu//shared.js from filename /shared.js pPtrFile (null) <0x2fde4680>
02 08/21/16 11:35:53.814 luvd_get_info mg conn can’t read /etc/cmh-ludl//shared.js or /etc/cmh-lu//shared.js from filename /shared.js pPtrFile (null) <0x2fe15680>
02 08/21/16 11:39:04.540 luvd_get_info mg conn can’t read /etc/cmh-ludl//toolbox.js or /etc/cmh-lu//toolbox.js from filename /toolbox.js pPtrFile (null) <0x30096680>
02 08/21/16 11:39:22.734 luvd_get_info mg conn can’t read /etc/cmh-ludl//shared.js or /etc/cmh-lu//shared.js from filename /shared.js pPtrFile (null) <0x30096680>
02 08/21/16 11:43:54.038 luvd_get_info mg conn can’t read /etc/cmh-ludl//shared.js or /etc/cmh-lu//shared.js from filename /shared.js pPtrFile (null) <0x30096680>

[/code]