The Vera Community forums have moved!

General => Pool Control => Topic started by: Kmitchel on July 07, 2016, 03:03:33 pm

Title: Autelis Control?
Post by: Kmitchel on July 07, 2016, 03:03:33 pm
Hello!  I'm really confused over which version of Autelis controller I need for my HA setup.

I currently have an iAquaLink iQ20 which allows me to use my phone to control my pool/spa lights, heat and pump.

I also have an AquaLink RS4 which is a control pad inside my house that lets me control the same things.

I know that if I got an Autelis, I would be able to link it to Vera which would allow me to use the HA Bridge to use my Echo to control the pool and spa.

My confusion is that I have no idea if I need this controller:
http://www.autelis.com/pool-control-for-jandy-zodiac.html

or this one:
http://www.autelis.com/pool-control-for-jandy-zodiac-pda.html

or an entirely different one.

I also don't know where or how this device attaches to my current system.  Will it hardwire to the controller(s) outside, sit independently inside (like a bridge of some sort), or to I have to have it installed next to the control panel inside?

Thanks in advance!
Title: Re: Autelis Control?
Post by: rstrouse on July 07, 2016, 03:18:19 pm
If you send them an e-mail on their forum they are pretty responsive.   They should be able to tell you which version.  Also, these connect to the RS485 bus just like the control panel you have.  So one connection (perhaps daisy chained with your indoor panel) and a network connection.  Either using wifi adapter or hardwired.

Title: Re: Autelis Control?
Post by: rayp on July 08, 2016, 12:26:38 am
I agree, give them an email or call to clarify. I am pretty sure that if you have the chip that supports the iAqualink that the PDA version is not what you are looking for. The PDA version is what I have and does not work with the plugin or allow any of the features that the Autelis Jandy/Zodiac device provides. It's a great option instead of buying a $300 PDA when I have waterproof phones kicking around, but if you have iAqualink you should be able to access features supported in the plugin with the Autelis Jandy/Zodiac device.
Title: Re: Autelis Control?
Post by: Sammy2 on August 05, 2016, 01:39:59 pm
I agree, give them an email or call to clarify. I am pretty sure that if you have the chip that supports the iAqualink that the PDA version is not what you are looking for. The PDA version is what I have and does not work with the plugin or allow any of the features that the Autelis Jandy/Zodiac device provides. It's a great option instead of buying a $300 PDA when I have waterproof phones kicking around, but if you have iAqualink you should be able to access features supported in the plugin with the Autelis Jandy/Zodiac device.

Am I to take this to mean that only the board needs to be a current board and that the iAqualink iQ20 WiFi (https://www.amazon.com/Zodiac-iAqualink-Network-Interface-Module/dp/B01BQ4RVOG/ref=pd_sim_sbs_86_9?ie=UTF8&dpID=41SyIOcTf7L&dpSrc=sims&preST=_AC_UL160_SR160%2C160_&psc=1&refRID=J8A1Y3PN0ZDR4Q0SVBGK) device is not really requred with the Autelis device?
Title: Re: Autelis Control?
Post by: rayp on August 06, 2016, 11:04:31 am
Probably best to confirm that with Autelis,  I don't have any experience with that as I am familiar with the PDA version in my setup (no internal keypads) and I hardwired mine into my network, would hate to steer you wrong.
 
You are probably correct though that part is Jandy/Zodiac's version of a WiFi bridge and that if you use Autelis you still need to connect to your network somehow (hardwired or your own WiFi bridge)

I mounted my Autelis beside the box outside and connected to the panel (in parallel to the PDA radio module or in your case the iQ20), but if you also have the wired keypad (AquaLink RS4) inside some where you could tap into the communication lines (RS-485) there if it's more convenient (the RS485 wires powers the device) and then to your network.

Title: Re: Autelis Control?
Post by: rstrouse on August 07, 2016, 04:12:37 pm
Does anyone have an Autelis setup with their Jandy gear?  I created a plugin that theoretically should control the equipment but I don't have any eq to test it on.
Title: Re: Autelis Control?
Post by: Sammy2 on August 09, 2016, 11:31:53 am
Does anyone have an Autelis setup with their Jandy gear?  I created a plugin that theoretically should control the equipment but I don't have any eq to test it on.

I'm on the cusp of ordering the Autelis for my Jandy and would happily try to work this out but I do not know coding in Mios at all so if you can modify the plugin to work with Jandy, I'm game and will do testing for you!
Title: Re: Autelis Control?
Post by: rstrouse on August 09, 2016, 11:42:29 am
I have the plugin configuring, sending commands, and responding to feedback in my simulation environment.  I need some help but not necessarily with the coding but with how the Jandy equipment behaves when certain modes are selected and what is actually reported from the pumps and chemistry.  All my background is with Pentair gear.
Title: Re: Autelis Control?
Post by: Sammy2 on August 09, 2016, 11:53:24 am
I have the plugin configuring, sending commands, and responding to feedback in my simulation environment.  I need some help but not necessarily with the coding but with how the Jandy equipment behaves when certain modes are selected and what is actually reported from the pumps and chemistry.  All my background is with Pentair gear.

I was just looking at the Autelis controller last week. I'll order today and hopefully have it by this weekend so I can install it and get going on testing your plugin. I installed your Pentair plugin into my Vera Plus / UI7 already but is this a different, alpha or beta plugin that I need?

Also, I'm in SoCal if for whatever reason you'd need to come to check it out but I don't know if that is necessary or even practicable for you.
Title: Re: Autelis Control?
Post by: rstrouse on August 09, 2016, 12:14:38 pm
The internals of the Pentair plugin are similar in how it communicates with Autelis but the equipment control for Jandy is fundamentally different.  This will require a different plugin with the command and response structure for the Jandy gear.  The Pentair plugin will do you no good.

In the meantime I need a few bits of info from you related to the equipment on your pad.
1. What Jandy controller is on your pad AquaLink RS?
2. How many variable speed pumps do you have (if any)?
3. Is this a pool/spa combo and do you have a Gas, Electric, or Heat Pump heater?
4. Do you have an AquaPure or ChemLink connected?
5. Do you have any WaterColors or Savi lights?


I'm in Sac and I probably will not be making it to your neck anytime soon but that shouldn't be required.

Title: Re: Autelis Control?
Post by: Sammy2 on August 09, 2016, 02:39:37 pm
The internals of the Pentair plugin are similar in how it communicates with Autelis but the equipment control for Jandy is fundamentally different.  This will require a different plugin with the command and response structure for the Jandy gear.  The Pentair plugin will do you no good.

In the meantime I need a few bits of info from you related to the equipment on your pad.
1. What Jandy controller is on your pad AquaLink RS?
2. How many variable speed pumps do you have (if any)?
3. Is this a pool/spa combo and do you have a Gas, Electric, or Heat Pump heater?
4. Do you have an AquaPure or ChemLink connected?
5. Do you have any WaterColors or Savi lights?


I'm in Sac and I probably will not be making it to your neck anytime soon but that shouldn't be required.

1. I will have to look but it is circa 2003 and is f/w Rev N AFAIK.
2. I have no variable speed pumps and I don't think my Jandy controller board can control them anyhow. There are two pumps and and auxiliary pump (I need to verify for sure).
3. I have a pool/spa combo and I have a gas heater. Also, it controls the pool lights with fiber optic and a color wheel (Old School compared to today's LED lights but what is one to do?). There is even another unused (or two?) auxiliary connector for yard lighting that I will eventually want to utilize but it is not in use right now. This may be better to just bypass and use Z-Wave lighting controllers anyhow.
4. I do not have either aquapure or chemlink connected but I do have a Hayward Salt Water Chlorinator and I'm not sure if it can connect to the Jandy or not. This was added in 2014 when we bought the house with the 2003 pool whereupon we converted it to a salt water pool.
5. We do have lights. See #3 above but these are controlled right now with the RS Link by the rear sliding door. I can chose colorwheel for changing colors and (I think) only single colors but not combinations like, say, Red, White and Blue for the 4th or Red and Green for Christmas. Adding this would be a plus! Additionally, there is fiber optic lighting on the steps to the raises spa and underneath the shear decents on each side of the spa. I'll post a couple of pictures that I have of them but need to get them from my phone.
Title: Re: Autelis Control?
Post by: rstrouse on August 09, 2016, 03:18:23 pm
1. I will have to look but it is circa 2003 and is f/w Rev N AFAIK.
Have you contacted Autelis to see if their unit will work with Rev N firmware?
2. I have no variable speed pumps and I don't think my Jandy controller board can control them anyhow. There are two pumps and and auxiliary pump (I need to verify for sure).
So I assume one pump is for the filter and the other is a water feature pump.  Is the aux pump for a cleaner and if so is it connected to the cleaner circuit on the panel or is it for your spa jets connected to another aux circuit?
3. I have a pool/spa combo and I have a gas heater. Also, it controls the pool lights with fiber optic and a color wheel (Old School compared to today's LED lights but what is one to do?). There is
even another unused (or two?) auxiliary connector for yard lighting that I will eventually want to utilize but it is not in use right now. This may be better to just bypass and use Z-Wave lighting controllers anyhow.
Is this an old Fiberstars system or is it a Jandy colorwheel?  I have connected my Yard Lights to my Intellitouch but this is because these are tied to the Intellibrite color controller.  Yes I can change the color of the landscape lights and run scenes that wave color throughout the yard.  As for the heater, I assume you have this hooked up the Aqualink... no solar?
4. I do not have either aquapure or chemlink connected but I do have a Hayward Salt Water Chlorinator and I'm not sure if it can connect to the Jandy or not. This was added in 2014 when we bought the house with the 2003 pool whereupon we converted it to a salt water pool.
I am pretty sure it can not be hooked up.  If this is the system that I think it is, then these were made as retrofit kits
5. We do have lights. See #3 above but these are controlled right now with the RS Link by the rear sliding door. I can chose colorwheel for changing colors and (I think) only single colors but not combinations like, say, Red, White and Blue for the 4th or Red and Green for Christmas. Adding this would be a plus! Additionally, there is fiber optic lighting on the steps to the raises spa and underneath the shear decents on each side of the spa. I'll post a couple of pictures that I have of them but need to get them from my phone.
When you say RS Link do you mean the One Touch or is this another Jandy Product.  We'll see if we can get the color wheel to move around but if it is like the old Fiberstars I would assume that it was not designed to run constantly.  I think that the old AmerLights, SAL, SaM, and later Fiberstars were fine with it and have a rotation mode that just kept the wheel moving.
Title: Re: Autelis Control?
Post by: Sammy2 on August 09, 2016, 04:30:45 pm
1. I will have to look but it is circa 2003 and is f/w Rev N AFAIK.
Have you contacted Autelis to see if their unit will work with Rev N firmware?
I did contact them after reading one of your other posts in the Autelis thread here. They gave me the link of the Autelis device to get.
Quote from: rstrouse
2. I have no variable speed pumps and I don't think my Jandy controller board can control them anyhow. There are two pumps and and auxiliary pump (I need to verify for sure).
So I assume one pump is for the filter and the other is a water feature pump.  Is the aux pump for a cleaner and if so is it connected to the cleaner circuit on the panel or is it for your spa jets connected to another aux circuit?
There is a separate control for the cleaner in the RS One Touch but also a booster in the spa. I will verify for sure.
Quote from: rstrouse
3. I have a pool/spa combo and I have a gas heater. Also, it controls the pool lights with fiber optic and a color wheel (Old School compared to today's LED lights but what is one to do?). There is
even another unused (or two?) auxiliary connector for yard lighting that I will eventually want to utilize but it is not in use right now. This may be better to just bypass and use Z-Wave lighting controllers anyhow.
Is this an old Fiberstars system or is it a Jandy colorwheel?  I have connected my Yard Lights to my Intellitouch but this is because these are tied to the Intellibrite color controller.  Yes I can change the color of the landscape lights and run scenes that wave color throughout the yard.  As for the heater, I assume you have this hooked up the Aqualink... no solar?
I will need to verify the manufacturer of this. I have nothing solar for the pool as the roof is completely covered with solar power generation!
Quote from: rstrouse
4. I do not have either aquapure or chemlink connected but I do have a Hayward Salt Water Chlorinator and I'm not sure if it can connect to the Jandy or not. This was added in 2014 when we bought the house with the 2003 pool whereupon we converted it to a salt water pool.
I am pretty sure it can not be hooked up.  If this is the system that I think it is, then these were made as retrofit kits
That is what I figured.
Quote from: rstrouse
5. We do have lights. See #3 above but these are controlled right now with the RS Link by the rear sliding door. I can chose colorwheel for changing colors and (I think) only single colors but not combinations like, say, Red, White and Blue for the 4th or Red and Green for Christmas. Adding this would be a plus! Additionally, there is fiber optic lighting on the steps to the raises spa and underneath the shear decents on each side of the spa. I'll post a couple of pictures that I have of them but need to get them from my phone.
When you say RS Link do you mean the One Touch or is this another Jandy Product.  We'll see if we can get the color wheel to move around but if it is like the old Fiberstars I would assume that it was not designed to run constantly.  I think that the old AmerLights, SAL, SaM, and later Fiberstars were fine with it and have a rotation mode that just kept the wheel moving.

Yes, it is the One Touch in my family room by the rear slider that controls everything at the Jandy Board.. Right now I do have a "Color Splash" function that allows it to cycle through the different colors or I can pick a specific color but no other combinations of color.
Title: Re: Autelis Control?
Post by: Sammy2 on August 09, 2016, 06:25:56 pm
Here's a picture of the front panel of my Jandy controller. I do not have a picture of the back and will probably need to confirm that before ordering the Autelis.
Title: Re: Autelis Control?
Post by: rstrouse on August 09, 2016, 06:50:25 pm
Thanks, that is helpful.  Once you get the Autelis installed I will want you to download a couple of xml files from it using your browser and a few urls.  This will describe the mapping as it relates to the circuits (Aux 1-7) , heater, filter, and booster.  Interesting that the spa blower is separate from the circuits.  Do you know whether this is attached to one of the aux relays inside the panel or is this actually connected to the solar heater circuit?  Does it only come on when the water temp reaches a certain temperature?  I'll probably be able to figure all this out when I see the xml dumps.

How many valve actuators do you have?  I count potentially 3 here is there a 4th?
Title: Re: Autelis Control?
Post by: Sammy2 on August 09, 2016, 06:55:02 pm
Thanks, that is helpful.  Once you get the Autelis installed I will want you to download a couple of xml files from it using your browser and a few urls.  This will describe the mapping as it relates to the circuits (Aux 1-7) , heater, filter, and booster.  Interesting that the spa blower is separate from the circuits.  Do you know whether this is attached to one of the aux relays inside the panel or is this actually connected to the solar heater circuit?  Does it only come on when the water temp reaches a certain temperature?  I'll probably be able to figure all this out when I see the xml dumps.

How many valve actuators do you have?  I count potentially 3 here is there a 4th?

I am not home right now and haven't taken the Jandy PCB out of the panel box yet so am not sure what is going on inside. I will find out for you (and me too) tonight. I'm ordering the basic Autelis Jandy device (http://www.autelis.com/homeautomation/pool-spa/pool-control-for-jandy-zodiac.html). It seems as if Autelis is in Pacific Time so I hope to have it by this weekend but am waiting for them to confirm it is the right unit.
Title: Re: Autelis Control?
Post by: rstrouse on August 09, 2016, 07:07:34 pm
Awesome, finally there will be someone with the correct gear to get this all figured out.  I wrote the original a couple of years ago hoping to have someone with the equipment to give me the info to finish it off for Jandy.
Title: Re: Autelis Control?
Post by: Sammy2 on August 09, 2016, 07:15:47 pm
Awesome, finally there will be someone with the correct gear to get this all figured out.  I wrote the original a couple of years ago hoping to have someone with the equipment to give me the info to finish it off for Jandy.

The order has been placed.
Title: Re: Autelis Control?
Post by: Sammy2 on August 11, 2016, 07:23:05 pm
Thanks, that is helpful.  Once you get the Autelis installed I will want you to download a couple of xml files from it using your browser and a few urls.  This will describe the mapping as it relates to the circuits (Aux 1-7) , heater, filter, and booster.  Interesting that the spa blower is separate from the circuits.  Do you know whether this is attached to one of the aux relays inside the panel or is this actually connected to the solar heater circuit?  Does it only come on when the water temp reaches a certain temperature?  I'll probably be able to figure all this out when I see the xml dumps.

How many valve actuators do you have?  I count potentially 3 here is there a 4th?

I am expecting delivery tomorrow of the Autelis unit but won't have time to hook it up or provide answers to your questions until Saturday, possibly Sunday. Where/how do I download the xml files? Which URL's do you need?
Title: Re: Autelis Control?
Post by: rstrouse on August 11, 2016, 08:48:38 pm
Awesome!  Once you get it hooked up run the following urls.  These will give me a listing of what the xml response will be.  Some of these may return nothing and that is telling in itself.

Code: [Select]
http://<autelis ip>/names.xml
http://<autelis ip>/status.xml
http://<autelis ip>/pumps.xml
http://<autelis ip>/chem.xml

After you type the url into a browser if you right click and choose View Source you should be able to save it.  If it throws an error on these then this is telling as well.
Title: Re: Autelis Control?
Post by: mda on August 12, 2016, 12:10:23 am
@rstrouse, I would be happy to test it as well but i am having some stability issues i need to get past before i can install another plug-in (vera3 UI5). In the meantime, in case it is helpful: I have a Jandy iAqualink 2.0 control system for my pool and spa, with one Jandy variable speed pump, one pentair heater, one pentair single speed booster pump for the spa, one air blower for the spa, and one jandy Aquapure salt water chlorine generator (new model). I have a pool light and spa light, both Jandy LEDs (color), and one of my AUX's controls a "Deck Jets" water feature.

Info on my Jandy controller:

Code: [Select]
Model   B0029221
Type  RS-8 Combo
Firmware     T.1

Remotes
ePump 02.00    1
iAquaLink WiFi 4
Serial Adaptr  1
AquaPure       1
OneTouch       1
OneTouch       4

My Autelis info is:

Code: [Select]
Model: 6520
DIP Switches: 00000000
Software Version: 1.6.8

  AUX Labels
AUX1: Booster Pump
AUX2: Spa Light
AUX3: Pool Light
AUX4: Air Blower
AUX5: Deck Jets
(the rest of the AUXes are unused)

/names.xml returns a 404

/status.xml returns:
Code: [Select]
<response>
<system>
<runstate>8</runstate>
<model>6520</model>
<dip>00000000</dip>
<opmode>0</opmode>
<vbat>615</vbat>
<lowbat>0</lowbat>
<version>1.6.8</version>
<time>1470974442</time>
</system>
<equipment>
<pump>0</pump>
<pumplo></pumplo>
<spa>1</spa>
<waterfall></waterfall>
<cleaner></cleaner>
<poolht2></poolht2>
<poolht>1</poolht>
<spaht>1</spaht>
<solarht>0</solarht>
<htpmp></htpmp>
<aux1>0</aux1>
<aux2>0</aux2>
<aux3>0</aux3>
<aux4>0</aux4>
<aux5>0</aux5>
<aux6>0</aux6>
<aux7>0</aux7>
<aux8></aux8>
<aux9></aux9>
<aux10></aux10>
<aux11></aux11>
<aux12></aux12>
<aux13></aux13>
<aux14></aux14>
<aux15></aux15>
<aux16></aux16>
<aux17></aux17>
<aux18></aux18>
<aux19></aux19>
<aux20></aux20>
<aux21></aux21>
<aux22></aux22>
<aux23></aux23>
</equipment>
<temp>
<poolsp>86</poolsp>
<poolsp2>60</poolsp2>
<spasp>102</spasp>
<pooltemp>88</pooltemp>
<spatemp>84</spatemp>
<airtemp>66</airtemp>
<solartemp>0</solartemp>
<tempunits>F</tempunits>
</temp>
</response>

/pumps.xml returns:

Code: [Select]
<response>
<pumps>
<vsp1>13</vsp1>
<vsp2></vsp2>
<vsp3></vsp3>
<vsp4></vsp4>
</pumps>
</response>

/chem.xml returns:

Code: [Select]
>response>
<chem>
<avail>9</avail>
<chlrp>30</chlrp>
<saltp>70</saltp>
<chlrs>5</chlrs>
<salts>70</salts>
<orp1>0</orp1>
<orp2>0</orp2>
<ph1>0</ph1>
<ph2>0</ph2>
<orpfd1>0</orpfd1>
<orpfd2>0</orpfd2>
<phfd1>0</phfd1>
<phfd2>0</phfd2>
</chem>
</response>

Unfortunately pump RPM and watts used only appear in the keypad emulator, Autelis has not been able to get me that info as usable fields (if i could get them i could apply a formula to determine when my filter needs to be cleaned).

Attached are a few screen shots of my Autelis' UI in case that is useful. Happy to provide any additional info I can.

-mda

Title: Re: Autelis Control?
Post by: rstrouse on August 12, 2016, 01:59:42 am
@mda, Awesome! I was hoping you popped up. 

The pump rpm and wattage kind sucks I assume you are running a Jandy pump or is it a Pentair VS?  The wattage and rpm rock in the Pentair because it lets you look at wattage vs rpm to determine the filter percentage.  Not perfect by any means but certainly measurable if the cleaner is off and its just running normal flow.

Looks like you have an AquaPure can I assume there is no ORP or PH feed?  Do you have solar installed... I assume yes since the value for solarht is 0?

Finally after a good grillin' I noticed your names are showing in Autelis but they do not appear in the xml (404).  Can you go to the screen where you define these and right click --> view source so I can see how they are referencing these names.  This should allow me to import them like I do with Pentair.
Title: Re: Autelis Control?
Post by: mda on August 12, 2016, 02:30:21 am
The pump rpm and wattage kind sucks I assume you are running a Jandy pump or is it a Pentair VS? 

Yes, a Jandy VS pump

Quote
The wattage and rpm rock in the Pentair because it lets you look at wattage vs rpm to determine the filter percentage.  Not perfect by any means but certainly measurable if the cleaner is off and its just running normal flow.

Yep, sucks. Attached is a screen shot of the RPM and Wattage showing on the Keypad emulator. 3 screens of data rotate and this is the 3rd. When I view source i don't see the info though so perhaps its pulled by javascript or something? Here is the page source of that /keypad.htm page. Is there anyway you could extract it?

Code: [Select]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Autelis Pool Control</title>
<link href="autelis.css" rel="stylesheet" type="text/css" />
<script src="ajax.js" type="text/javascript"></script>
<meta name="format-detection" content="telephone=no">
</head>

<body>
<div id="shadow-one"><div id="shadow-two"><div id="shadow-three"><div id="shadow-four">
<div id="page">

<div style="padding:0 0 5px 5px"><img src="autelis.png" alt="Autelis" /></div>

<div id="menu">
<a href="systeminfo.htm">System Information</a>
<a href="equipment.htm">Equipment Control</a>
<a href="temperature.htm">Temperature Control</a>
<a href="reminders.htm">Reminders</a>
<a href="isy.htm">ISY Settings</a>
<a href="keypad.htm">Keypad</a>
<a href="macros.htm">Macros</a>
<a href="pumps.htm">Pumps</a>
<a href="chem.htm">Chemistry</a>
<a href="settings.htm">Setup</a>
</div>


<div id="content">
<div id="keypad">
<div id="kpleft">
    <div id="kptopleft"><button onclick="doButton(3)">Pg Up</button></div>
<div id="kpmiddleleft"><button onclick="doButton(2)">Back</button></div>
    <div id="kpbottomleft"><button onclick="doButton(1)">Pg Dn</button></div>
</div>
<div id="kpmain">
<p id="kptxt0"></p>
<p id="kptxt1"></p>
<p id="kptxt2"></p>
<p id="kptxt3"></p>
<p id="kptxt4"></p>
<p id="kptxt5"></p>
<p id="kptxt6"></p>
<p id="kptxt7"></p>
<p id="kptxt8"></p>
<p id="kptxt9"></p>
<p id="kptxt10"></p>
<p id="kptxt11"></p>
</div>
<div id="kpright">
<div id="kptopright"><button onclick="doButton(6)">Up</button></div>
    <div id="kpbottomright"><button onclick="doButton(5)">Dn</button></div>
</div>
<div id="kpbottom"><button onclick="doButton(4)">Select</button></div>
</div>
</div>
<script type="text/javascript">
<!--
var offset, hll, effects;

function updateKeypad(xmlData) {
// Check if a timeout occurred
if(!xmlData)
return;
if(xmlData.childNodes.length < 15)
{ // screen isn't ready to update
setTimeout("newAJAXCommand('/keypad.xml', updateKeypad)",50);
return;
}
offset = xmlData.getElementsByTagName('offset')[0];
if (offset != null)
offset = offset.firstChild.data.split(',',3);
else return;
hll = xmlData.getElementsByTagName('hll')[0];
if (hll != null)
hll = parseInt(hll.firstChild.data);
else return;
effects = xmlData.getElementsByTagName('effects')[0];
if (effects != null)
effects = effects.firstChild.data.split(',',4);
else return;

for (var i=0; i < 12; i++)
{
for(var j=0;j<3;j++)
offset[j]=parseInt(offset[j]);
var line=i;
if(offset[0] > 0 && i >= offset[1] && i <= offset[2])
{
line += offset[0];
if(line > offset[2])
line -= (offset[2] - offset[1] + 1);
}
var text = xmlData.getElementsByTagName('b'+ line)[0];
if (text != null)
{
text = text.firstChild;
if (text != null)
{
text=text.data;
text = getFormat(text,i);
document.getElementById("kptxt" + i).innerHTML = text;
}
else
{
document.getElementById("kptxt" + i).setAttribute("class", "");
document.getElementById("kptxt" + i).innerHTML = " ";
}
}
}
setTimeout("newAJAXCommand('/keypad.xml', updateKeypad)",750);
}

function getFormat(text,line)
{
if(hll == line)
document.getElementById("kptxt" + line).setAttribute("class", "highlight");
else
document.getElementById("kptxt" + line).setAttribute("class", "");

if(effects[0] != null && effects[0] == line)
{
if(effects[1] < 16 && effects[2] < 16)
{
var i1 = parseInt(effects[1]);
var i2 = parseInt(effects[2]) + 1;
var sub1 = text.substring(0,i1);
var sub2 = text.substring(i1,i2);
var sub3 = text.substring(i2);
if(effects[3] == 1)
text = (getSpecialChars(sub1) + "<font style='background:#ddd'>" + getSpecialChars(sub2) + "</font>" + getSpecialChars(sub3));
else if(effects[3] == 4)
text = (getSpecialChars(sub1) + "<u>" + getSpecialChars(sub2) + "</u>" + getSpecialChars(sub3));
return trim(text);
}
}
return trim(getSpecialChars(text));
}

function doButton(num)
{
newAJAXCommand('/keypad.cgi?key='+num);
}

function getSpecialChars(text)
{
text = text.replace(/[_]/g, "&darr;");
text = text.replace(/[\^]/g, "&uarr;");
text = text.replace(/[`]/g, "&deg;");
text = text.replace(/[>]/g, "&rarr;");
text = text.replace(/[}]/g, "&rarr;");
text = text.replace(/[{]/g, "&larr;");
return text;
}

function trim(text)
{
return text.replace(/((^[ ]+)|([ ]+$))/g, "");
}

function doKeyPress(e){
var key;
var keynum = (window.event) ? e.which : e.keyCode;
switch(keynum)
{
case 13: //enter
case 32: //space
case 39: //rarr
case 101: //num5
case 102: //num6
key = 4;
killKey(e)
break;
case 37: //larr
case 100: //num4
key = 2;
killKey(e)
break;
case 33: //pageup
case 103: //num7
case 105: //num9
key = 3;
killKey(e)
break;
case 34: //pagedn
case 97: //num1
case 99: //num3
key = 1;
killKey(e)
break;
case 38: //uarr
case 104: //num8
key = 6;
killKey(e)
break;
case 40: //darr
case 98: //num2
key = 5;
killKey(e)
break;
}
if(key != null)
doButton(key);
}

function killKey(e)
{ if (e.preventDefault)
        e.preventDefault();
    else e.returnValue = false;
}

document.onkeydown=doKeyPress;
newAJAXCommand('/keypad.xml', updateKeypad);
//-->
</script>
</div></div></div></div></div>
<div id="footer">Copyright &copy; 2013 Autelis, LLC</div>
</body>
</html>

Quote
Looks like you have an AquaPure can I assume there is no ORP or PH feed?

Correct, no ORP or PH feed

Quote
Do you have solar installed... I assume yes since the value for solarht is 0?

No solar installed

Quote
Finally after a good grillin' I noticed your names are showing in Autelis but they do not appear in the xml (404).  Can you go to the screen where you define these and right click --> view source so I can see how they are referencing these names.  This should allow me to import them like I do with Pentair.

I am not sure which names you are looking for. Here is the source of my /settings.htm that shows the names of my AUXes


Code: [Select]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Autelis Pool Control</title>
<link href="autelis.css" rel="stylesheet" type="text/css" />
<script src="ajax.js" type="text/javascript"></script>
</head>

<body>
<div id="shadow-one"><div id="shadow-two"><div id="shadow-three"><div id="shadow-four">
<div id="page">

<div style="padding:0 0 5px 5px"><img src="autelis.png" alt="Autelis" /></div>

<div id="menu">
<a href="settings.htm">Settings</a>
<a href="alerts.htm">Alerts</a>
<a href="lsetup.htm">Lights</a>
<a href="psetup.htm">Pumps</a>
<a href="msetup.htm">Macros</a>
<a href="http://autelis.com/wiki/index.php?title=Pool_Control_for_Jandy/Zodiac#Equipment_Setup" target="_blank">Help</a>
<a href="systeminfo.htm">Exit</a>
</div>

<div id="content">
<form method="post" action="javascript:doSubmit();" name="settings">
<fieldset>
<br></br>
<div><label>New Password:</label>
<input maxlength=15 type="password" id="authpw" value="" /></div>
<div><label>Confirm Password:</label>
<input maxlength=15 type="password" id="authpw2" value="" /></div>
<div>&nbsp;</div>
<div>&nbsp;&nbsp;AUX Labels</div>
<div><label>AUX1:</label>
<input maxlength=15 type="text" id="aux1label" value="Booster Pump"/></div>
<div><label>AUX2:</label>
<input maxlength=15 type="text" id="aux2label" value="Spa Light" /></div>
<div><label>AUX3:</label>
<input maxlength=15 type="text" id="aux3label" value="Pool Light" /></div>
<div><label>AUX4:</label>
<input maxlength=15 type="text" id="aux4label" value="Air Blower" /></div>
<div><label>AUX5:</label>
<input maxlength=15 type="text" id="aux5label" value="Deck Jets" /></div>
<div><label>AUX6:</label>
<input maxlength=15 type="text" id="aux6label" value="AUX6" /></div>
<div><label>AUX7:</label>
<input maxlength=15 type="text" id="aux7label" value="AUX7" /></div>
<div><label>AUX8:</label>
<input maxlength=15 type="text" id="aux8label" value="AUX8" /></div>
<div><label>AUX9:</label>
<input maxlength=15 type="text" id="aux9label" value="AUX9" /></div>
<div><label>AUX10:</label>
<input maxlength=15 type="text" id="aux10label" value="AUX10" /></div>
<div><label>AUX11:</label>
<input maxlength=15 type="text" id="aux11label" value="AUX11" /></div>
<div><label>AUX12:</label>
<input maxlength=15 type="text" id="aux12label" value="AUX12" /></div>
<div><label>AUX13:</label>
<input maxlength=15 type="text" id="aux13label" value="AUX13" /></div>
<div><label>AUX14:</label>
<input maxlength=15 type="text" id="aux14label" value="AUX14" /></div>
<div><label>AUX15:</label>
<input maxlength=15 type="text" id="aux15label" value="AUX15" /></div>
<div><label>Extra Aux:</label>
<input type="checkbox" id="extraaux" class="sm"  /></div>
<div><label>AUX16:</label>
<input maxlength=15 type="text" id="aux16label" value="" /></div>
<div><label>AUX17:</label>
<input maxlength=15 type="text" id="aux17label" value="" /></div>
<div><label>AUX18:</label>
<input maxlength=15 type="text" id="aux18label" value="" /></div>
<div><label>AUX19:</label>
<input maxlength=15 type="text" id="aux19label" value="" /></div>
<div><label>AUX20:</label>
<input maxlength=15 type="text" id="aux20label" value="" /></div>
<div><label>AUX21:</label>
<input maxlength=15 type="text" id="aux21label" value="" /></div>
<div><label>AUX22:</label>
<input maxlength=15 type="text" id="aux22label" value="" /></div>
<div><label>AUX23:</label>
<input maxlength=15 type="text" id="aux23label" value="" /></div>
<br></br>
<div><input type="submit" class="sm" value="Save Changes" /></div>
</fieldset>
</form>
<form method="post" action="/settings.htm" id="hiddensettings">
</form>
</div>
<script type="text/javascript">
<!--
// Fill the hidden form and submit
function doSubmit() {
var hform=document.getElementById("hiddensettings");
var newelement;
var pw1=document.getElementById("authpw").value;
if(pw1.length>0)
{
if(pw1 == document.getElementById("authpw2").value)
{
newelement = document.createElement("input");
newelement.setAttribute("type", "hidden");
newelement.setAttribute("name", "authpw");
newelement.value=pw1;
hform.appendChild(newelement);
}
else
{
alert("Passwords do not match!");
return
}
}
for(i=1; i<24; i++)
{
newelement = document.createElement("input");
newelement.setAttribute("type", "hidden");
newelement.setAttribute("name", "aux" + i + "label");
newelement.value=document.getElementById("aux" + i + "label").value;
if(newelement.value.length>0)
hform.appendChild(newelement);
}
newelement = document.createElement("input");
newelement.setAttribute("type", "hidden");
newelement.setAttribute("name", "extraaux");
newelement.setAttribute("value", document.getElementById("extraaux").checked?"1":"0");
hform.appendChild(newelement);
hform.submit();
}
//-->
</script>

</div></div></div></div></div>
<div id="footer">Copyright &copy; 2013 Autelis, LLC</div>
</body>
</html>

Here is the source of /psetup.htm where i configure the names of my pump speeds

Code: [Select]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Autelis Pool Control</title>
<link href="autelis.css" rel="stylesheet" type="text/css" />
<script src="ajax.js" type="text/javascript"></script>
</head>

<body>
<div id="shadow-one"><div id="shadow-two"><div id="shadow-three"><div id="shadow-four">
<div id="page">

<div style="padding:0 0 5px 5px"><img src="autelis.png" alt="Autelis" /></div>

<div id="menu">
<a href="settings.htm">Settings</a>
<a href="alerts.htm">Alerts</a>
<a href="lsetup.htm">Lights</a>
<a href="psetup.htm">Pumps</a>
<a href="msetup.htm">Macros</a>
<a href="http://autelis.com/wiki/index.php?title=Pool_Control_for_Jandy/Zodiac#Equipment_Setup" target="_blank">Help</a>
<a href="systeminfo.htm">Exit</a>
</div>

<div id="content">
<fieldset>
<div><label>Pump Number:</label>
<select id="pnum" onfocus="chgPump(this.selectedIndex)" onchange="selectPump(this.selectedIndex)"><option>1</option><option>2</option><option>3</option><option>4</option></select></div>
<div><label>Speed 1 Label:</label>
<input maxlength=15 type="text" id="splabel1"/></div>
<div><label>Speed 2 Label:</label>
<input maxlength=15 type="text" id="splabel2"/></div>
<div><label>Speed 3 Label:</label>
<input maxlength=15 type="text" id="splabel3"/></div>
<div><label>Speed 4 Label:</label>
<input maxlength=15 type="text" id="splabel4"/></div>
<div><label>Speed 5 Label:</label>
<input maxlength=15 type="text" id="splabel5"/></div>
<div><label>Speed 6 Label:</label>
<input maxlength=15 type="text" id="splabel6"/></div>
<div><label>Speed 7 Label:</label>
<input maxlength=15 type="text" id="splabel7"/></div>
<div><label>Speed 8 Label:</label>
<input maxlength=15 type="text" id="splabel8"/></div>
<br><br>
<div class="ct"><button id="bsave" onClick="saveNames()">Save</button></div>
</fieldset>
<form method="post" action="/psetup.htm" id="hform">
</div>
<script type="text/javascript">
<!--
var pspeeds = [ "Pool","Spa","Fountain","Speed4","Pool Heat","Spa Heat","Speed7","In Floor","","","","","","","","","","","","","","","","","","","","","","","","" ];

function chgPump(num){
for(var i=0;i<8;i++)
pspeeds[(num * 8) + i] = document.getElementById("splabel" + (i+1)).value;
}
function selectPump(num){
for(var i=0;i<8;i++)
document.getElementById("splabel" + (i+1)).value = pspeeds[(num * 8) + i];
}
function saveNames() {
chgPump(document.getElementById("pnum").selectedIndex);
var hform = document.getElementById("hform");
for (var j=0;j<pspeeds.length;j++)
{
newelement = document.createElement("input");
newelement.setAttribute("type", "hidden");
newelement.setAttribute("name", "splabel" + j );
newelement.value=pspeeds[j];
if(newelement.value.length>0)
hform.appendChild(newelement);
}
hform.submit();
}
selectPump(0);
//-->
</script>


</div></div></div></div></div>
<div id="footer">Copyright &copy; 2013 Autelis, LLC</div>
</body>
</html>

Here is the source of /msetup.htm where i setup the names of my OneTouch macros:

Code: [Select]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Autelis Pool Control</title>
<link href="autelis.css" rel="stylesheet" type="text/css" />
<script src="ajax.js" type="text/javascript"></script>
</head>

<body>
<div id="shadow-one"><div id="shadow-two"><div id="shadow-three"><div id="shadow-four">
<div id="page">

<div style="padding:0 0 5px 5px"><img src="autelis.png" alt="Autelis" /></div>

<div id="menu">
<a href="settings.htm">Settings</a>
<a href="alerts.htm">Alerts</a>
<a href="lsetup.htm">Lights</a>
<a href="psetup.htm">Pumps</a>
<a href="msetup.htm">Macros</a>
<a href="http://autelis.com/wiki/index.php?title=Pool_Control_for_Jandy/Zodiac#Equipment_Setup" target="_blank">Help</a>
<a href="systeminfo.htm">Exit</a>
</div>

<div id="content">
<fieldset>
<br></br>
<div>&nbsp;&nbsp;Macro Labels</div>
<div><label>Macro 1:</label>
<input maxlength=15 type="text" id="mlabel1" value="All Off"/></div>
<div><label>Macro 2:</label>
<input maxlength=15 type="text" id="mlabel2" value="Spa Mode" /></div>
<div><label>Macro 3:</label>
<input maxlength=15 type="text" id="mlabel3" value="Pool Mode" /></div>
<div><label>Macro 4:</label>
<input maxlength=15 type="text" id="mlabel4" value="Deck Jets" /></div>
<div><label>Macro 5:</label>
<input maxlength=15 type="text" id="mlabel5" value="Heat Up Spa" /></div>
<div><label>Macro 6:</label>
<input maxlength=15 type="text" id="mlabel6" value="Lights" /></div>
<br></br>
<div class="ct"><button id="bsave" onClick="saveNames()">Save</button></div>
</fieldset>
<form method="post" action="/msetup.htm" id="hform">
</div>
<script type="text/javascript">
<!--
function saveNames() {
var hform = document.getElementById("hform");
for(var i=1; i<7; i++)
{
newelement = document.createElement("input");
newelement.setAttribute("type", "hidden");
newelement.setAttribute("name", "mlabel" + i );
newelement.value=document.getElementById("mlabel" + i).value;
if(newelement.value.length>0)
hform.appendChild(newelement);
}
hform.submit();
}
//-->
</script>

</div></div></div></div></div>
<div id="footer">Copyright &copy; 2013 Autelis, LLC</div>
</body>
</html>

Let me know if you need anything else. Thanks!
Title: Re: Autelis Control?
Post by: rstrouse on August 12, 2016, 03:15:10 am
Do me a favor get a

http://<autelis ip>/keypad.xml
Title: Re: Autelis Control?
Post by: mda on August 12, 2016, 03:40:51 am
Do me a favor get a

http://<autelis ip>/keypad.xml

When all the equipment is off it cycles through 2 screens if my heat is enabled (otherwise it just sits on the first screen):


First screen:
Code: [Select]
<response><b0>Jandy AquaLinkRS</b0><b1></b1><b2>  08/12/16 Fri  </b2><b3></b3><b4></b4><b5>Filter Pump OFF </b5><b6>    Air 65`F    </b6><b7>                </b7><b8></b8><b9>Equipment ON/OFF</b9><b10>OneTouch  ON/OFF</b10><b11>   Menu / Help  </b11><hll>9</hll><effects>15,13,15,2</effects><offset>0,2,9</offset></response>

Second screen:
Code: [Select]
<response><b0>Equipment Status</b0><b1></b1><b2> Pool Heat ENA  </b2><b3>  Spa Heat ENA  </b3><b4></b4><b5></b5><b6></b6><b7></b7><b8></b8><b9></b9><b10></b10><b11></b11><hll>15</hll><effects>15,13,15,2</effects><offset>0,2,9</offset></response>

When the filter pump is on it cycles through 4 screens:

First screen:
Code: [Select]
<response><b0>Jandy AquaLinkRS</b0><b1></b1><b2>  08/12/16 Fri  </b2><b3>    12:25 AM    </b3><b4></b4><b5>   Pool 84`F    </b5><b6>    Air 64`F    </b6><b7>                </b7><b8></b8><b9>Equipment ON/OFF</b9><b10>OneTouch  ON/OFF</b10><b11>   Menu / Help  </b11><hll>9</hll><effects>15,13,15,2</effects><offset>0,2,9</offset></response>

Second screen: (in this case, the VS pump is running, the pool heater is on, and the spa heat is enabled but not running. If the heaters were not on or enabled it would just show "Filter Pump")
Code: [Select]
<response><b0>Equipment Status</b0><b1></b1><b2>  Filter Pump   </b2><b3>   Pool Heat    </b3><b4>  Spa Heat ENA  </b4><b5></b5><b6></b6><b7></b7><b8></b8><b9></b9><b10></b10><b11></b11><hll>15</hll><effects>15,13,15,2</effects><offset>0,2,9</offset></response>

Third screen: (with the RPM and Wattage)
Code: [Select]
<response><b0>Equipment Status</b0><b1></b1><b2>Jandy ePUMP   1 </b2><b3>     RPM: 3450  </b3><b4>   Watts: 1965  </b4><b5></b5><b6></b6><b7></b7><b8></b8><b9></b9><b10></b10><b11></b11><hll>15</hll><effects>15,13,15,2</effects><offset>0,2,9</offset></response>

Fourth screen:
Code: [Select]
<response><b0>Equipment Status</b0><b1></b1><b2>  AquaPure 30%  </b2><b3> Salt 3900 PPM  </b3><b4></b4><b5></b5><b6></b6><b7></b7><b8></b8><b9></b9><b10></b10><b11></b11><hll>15</hll><effects>15,13,15,2</effects><offset>0,2,9</offset></response>

Or when the pump is priming the 3rd screen is this:
Code: [Select]
<response><b0>Equipment Status</b0><b1></b1><b2>Jandy ePUMP   1 </b2><b3> *** Priming ***</b3><b4>     Watts: 4   </b4><b5></b5><b6></b6><b7></b7><b8></b8><b9></b9><b10></b10><b11></b11><hll>15</hll><effects>15,13,15,2</effects><offset>0,2,9</offset></response>

It sits on the first screen for about 10 seconds and on each of the other screens for about 5 seconds each.

Title: Re: Autelis Control?
Post by: rstrouse on August 12, 2016, 11:16:27 am
Hmmm... well there's the pump data in the keypad.xml but I don't see the circuit names anywhere.  I'll shoot off an e-mail to the Autelis folks to see if I can get the aux labels.

I have figured out another method for the speed but the wattage evades me.  Surely, this couldn't be simply an estimated calculation of the speed.  When your pump is steady at 3450 does the wattage jump around?  That too I will pose with Autelis.

As for the macros, can you launch these from anywhere on the Autelis interface?  I assume these work like feature circuits in where you can set multiple bits of equipment on the pad with a single button but do not involve a relay on the panel.
Title: Re: Autelis Control?
Post by: mda on August 12, 2016, 03:47:58 pm
When your pump is steady at 3450 does the wattage jump around?  That too I will pose with Autelis.

The wattage moves around, it is reported by the Jandy system to all "keypads" (including the Autelis). Here is a screen shot of Jandy's iAqualink control system on the "Status" page.

Quote
As for the macros, can you launch these from anywhere on the Autelis interface?  I assume these work like feature circuits in where you can set multiple bits of equipment on the pad with a single button but do not involve a relay on the panel.

These are the "One Touch" macros build on the Jandy control system that the Autelis just calls from its Macros page. On the Jandy system you configure which devices to turn on etc in each of the macros. For context look at the section "JANDY AQUALINK RS ONE TOUCH" in this brochure http://www.jandy.com/~/media/zodiac/global/downloads/sl/sl6450.pdf
Title: Re: Autelis Control?
Post by: rstrouse on August 14, 2016, 02:48:35 pm
@mda,

Can you get me a view source from the temperature.htm

Thanks
Title: Re: Autelis Control?
Post by: mda on August 14, 2016, 04:41:30 pm
@mda,

Can you get me a view source from the temperature.htm

Thanks

Sure...


Code: [Select]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Autelis Pool Control</title>
<link href="autelis.css" rel="stylesheet" type="text/css" />
<script src="ajax.js" type="text/javascript"></script>
<meta name="format-detection" content="telephone=no">
</head>

<body>
<div id="shadow-one"><div id="shadow-two"><div id="shadow-three"><div id="shadow-four">
<div id="page">

<div style="padding:0 0 5px 5px"><img src="autelis.png" alt="Autelis" /></div>

<div id="menu">
<a href="systeminfo.htm">System Information</a>
<a href="equipment.htm">Equipment Control</a>
<a href="temperature.htm">Temperature Control</a>
<a href="reminders.htm">Reminders</a>
<a href="isy.htm">ISY Settings</a>
<a href="keypad.htm">Keypad</a>
<a href="macros.htm">Macros</a>
<a href="pumps.htm">Pumps</a>
<a href="chem.htm">Chemistry</a>
<a href="settings.htm">Setup</a>
</div>


<div id="content">
<div class="item gray" id="airt" style="display:none">
<div class="subitem one"></div>
<div class="subitem two">Air Temperature: <label id="airtemp">100</label>&deg; <label name="tempunits">F</label></div>
<div class="subitem three"></div>
</div>
<div class="item gray" name="pool" id="poolt" style="display:none">
<div class="subitem one"></div>
<div class="subitem two">Pool Temperature: <label id="pooltemp">100</label>&deg; <label name="tempunits">F</label></div>
<div class="subitem three"></div>
</div>
<div class="item gray" id="poolspbg" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=poolsp&temp=dn');">-</button></div>
<div class="subitem two">Pool Setpoint: <label id="poolsp">100</label>&deg; <label name="tempunits">F</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=poolsp&temp=up');">+</button></div>
</div>
<div class="item green" id="poolhtbg" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=poolht&value=0');">OFF</button></div>
<div class="subitem two">Pool Heat: <label id="poolht">ON</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=poolht&value=1');">ON</button></div>
</div>
<div class="item gray" name="pool2" id="poolt2" style="display:none">
<div class="subitem one"></div>
<div class="subitem two">Pool Temperature 2: <label id="pooltemp2">100</label>&deg; <label name="tempunits">F</label></div>
<div class="subitem three"></div>
</div>
<div class="item gray" id="poolsp2bg" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=poolsp2&temp=dn');">-</button></div>
<div class="subitem two">Pool Setpoint 2: <label id="poolsp2">100</label>&deg; <label name="tempunits">F</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=poolsp2&temp=up');">+</button></div>
</div>
<div class="item green" id="poolht2bg" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=poolht2&value=0');">OFF</button></div>
<div class="subitem two">Pool Heat 2: <label id="poolht2">ON</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=poolht2&value=1');">ON</button></div>
</div>
<div class="item gray" name="spa" id="spat" style="display:none">
<div class="subitem one"></div>
<div class="subitem two">Spa Temperature: <label id="spatemp">100</label>&deg; <label name="tempunits">F</label></div>
<div class="subitem three"></div>
</div>
<div class="item gray" id="spaspbg" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=spasp&temp=dn');">-</button></div>
<div class="subitem two">Spa Setpoint: <label id="spasp">100</label>&deg; <label name="tempunits">F</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=spasp&temp=up');">+</button></div>
</div>
<div class="item green" id="spahtbg" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=spaht&value=0');">OFF</button></div>
<div class="subitem two">Spa Heat: <label id="spaht">ON</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=spaht&value=1');">ON</button></div>
</div>
<div class="item gray" name="solar" id="solart" style="display:none">
<div class="subitem one"></div>
<div class="subitem two">Solar Temperature: <label id="solartemp">100</label>&deg; <label name="tempunits">F</label></div>
<div class="subitem three"></div>
</div>
<div class="item green" id="solarhtbg" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=solarht&value=0');">OFF</button></div>
<div class="subitem two">Solar Heat: <label id="solarht">ON</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=solarht&value=1');">ON</button></div>
</div>
<div class="item green" id="htpmpbg" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=htpmp&value=0');">OFF</button></div>
<div class="subitem two">Heat Pump: <label id="htpmp">ON</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=htpmp&value=1');">ON</button></div>
</div>
</div>

<div class="spacer">&nbsp;</div>
<script type="text/javascript">
<!--
// Parses the xmlResponse from status.xml and updates the status
function updateStatus(xmlData) {
// Check if a timeout occurred
if(!xmlData)
return;

// Loop over temp info
var temp = xmlData.getElementsByTagName('temp')[0];
if (temp == null)
return;
for (var i=0; i < temp.childNodes.length; i++)
{
var item = document.getElementById(temp.childNodes[i].tagName);
//if(item)
{
var test = temp.childNodes[i].firstChild;
if (test != null)
{
test=test.nodeValue;
switch(temp.childNodes[i].tagName)
{
case 'airtemp':
case 'pooltemp':
case 'pooltemp2':
case 'spatemp':
case 'solartemp':
if(item)
{
if(parseInt(test) > 150)
test -= 256;
item.innerHTML = test;
}
break;
case 'poolsp':
case 'poolsp2':
case 'spasp':
if (!item) break;
if(getTemplist(item)==null)
{
item.innerHTML = '<select class="templist" onfocus="this.name=\'selectactive\'" onblur="this.name=\'\'" onchange="this.blur();newAJAXCommand(\'set.cgi?wait=1&name=' + item.id + '&temp=\' + this.options[this.selectedIndex].value);"></select>';
var tempsel = getTemplist(item);
var lowtemp = (xmlData.getElementsByTagName('tempunits')[0].firstChild.nodeValue == 'F') ? 34 : 1;
var hitemp = (xmlData.getElementsByTagName('tempunits')[0].firstChild.nodeValue == 'F') ? 104 : 40;
for (var j=lowtemp;j<=hitemp;j++)
{
var newtemp = document.createElement('option');
newtemp.text=j;
tempsel.add(newtemp,null);
}
}
var tempsel = getTemplist(item);
for (var j=0;j<=tempsel.childNodes.length;j++)
{
if(tempsel.childNodes[j]!=null && tempsel.childNodes[j].text==test && tempsel.selectedIndex != j && tempsel.name!='selectactive')
{
tempsel.selectedIndex=j;
break;
}
}
break;
case 'tempunits':
var templabels = document.getElementsByName('tempunits');
if(templabels==null)
break;
for (var j=0; j < templabels.length; j++)
templabels[j].innerHTML=test;
break;
}

}
}
}

//Check equipment status and hide/show
var poolstatus = xmlData.getElementsByTagName('pump')[0].firstChild.nodeValue;
if(xmlData.getElementsByTagName('pumplo')[0].firstChild)
if(poolstatus == '0')
poolstatus = xmlData.getElementsByTagName('pumplo')[0].firstChild.nodeValue;
if(xmlData.getElementsByTagName('spa')[0].firstChild)
var spastatus = xmlData.getElementsByTagName('spa')[0].firstChild.nodeValue;
if(xmlData.getElementsByTagName('spaht')[0].firstChild)
var spahtstatus = xmlData.getElementsByTagName('spaht')[0].firstChild.nodeValue;
if(xmlData.getElementsByTagName('poolht')[0].firstChild)
var poolhtstatus = xmlData.getElementsByTagName('poolht')[0].firstChild.nodeValue;
if(xmlData.getElementsByTagName('poolht2')[0].firstChild)
var poolht2status = xmlData.getElementsByTagName('poolht2')[0].firstChild.nodeValue;
if(xmlData.getElementsByTagName('solarht')[0].firstChild)
var solarhtstatus = xmlData.getElementsByTagName('solarht')[0].firstChild.nodeValue;
if(xmlData.getElementsByTagName('htpmp')[0].firstChild)
var htpmpstatus = xmlData.getElementsByTagName('htpmp')[0].firstChild.nodeValue;

//Set heat status and colors

if(solarhtstatus != null)
{
switch(solarhtstatus)
{
case '0':
document.getElementById('solarht').innerHTML='OFF';
document.getElementById('solarhtbg').setAttribute("class",'item gray');
break;

case '1':
document.getElementById('solarht').innerHTML='Enabled';
document.getElementById('solarhtbg').setAttribute("class",'item green');
break;

case '2':
document.getElementById('solarht').innerHTML='ON';
document.getElementById('solarhtbg').setAttribute("class",'item red');
break;
}
document.getElementById('solarhtbg').style.display = 'block';

if(spastatus == '1' || poolstatus=='1')
document.getElementById('solart').style.display = 'block';
else
document.getElementById('solart').style.display = 'none';
}

if(htpmpstatus != null)
{
switch(htpmpstatus)
{
case '0':
document.getElementById('htpmp').innerHTML='OFF';
document.getElementById('htpmpbg').setAttribute("class",'item gray');
break;

case '1':
document.getElementById('htpmp').innerHTML='Enabled';
document.getElementById('htpmpbg').setAttribute("class",'item green');
break;

case '2':
document.getElementById('htpmp').innerHTML='ON';
document.getElementById('htpmpbg').setAttribute("class",'item red');
break;
}
document.getElementById('htpmpbg').style.display = 'block';
}

if(Number(xmlData.getElementsByTagName('poolsp')[0].firstChild.nodeValue) <= Number(xmlData.getElementsByTagName('pooltemp')[0].firstChild.nodeValue))
document.getElementById('poolt').className = 'item red';
else
document.getElementById('poolt').className = 'item blue';


switch(poolhtstatus)
{
case '0':
document.getElementById('poolht').innerHTML='OFF';
document.getElementById('poolhtbg').setAttribute("class",'item gray');
break;

case '1':
document.getElementById('poolht').innerHTML='Enabled';
document.getElementById('poolhtbg').setAttribute("class",'item green');
break;

case '2':
document.getElementById('poolht').innerHTML='ON';
document.getElementById('poolhtbg').setAttribute("class",'item red');
break;
}

document.getElementById('poolhtbg').style.display = 'block';
document.getElementById('poolspbg').style.display = 'block';
document.getElementById('airt').style.display = 'block';

if(spastatus != '1' && poolstatus=='1')
document.getElementById('poolt').style.display = 'block';
else
document.getElementById('poolt').style.display = 'none';

if(poolht2status != null)
{
if(poolstatus == '1' && poolhtstatus == '0')
{
if(Number(xmlData.getElementsByTagName('poolsp2')[0].firstChild.nodeValue) <= Number(xmlData.getElementsByTagName('pooltemp')[0].firstChild.nodeValue))
document.getElementById('poolt').className = 'item red';
else
document.getElementById('poolt').className = 'item blue';
}
switch(poolht2status)
{
case '0':
document.getElementById('poolht2').innerHTML='OFF';
document.getElementById('poolht2bg').setAttribute("class",'item gray');
break;

case '1':
document.getElementById('poolht2').innerHTML='Enabled';
document.getElementById('poolht2bg').setAttribute("class",'item green');
break;

case '2':
document.getElementById('poolht2').innerHTML='ON';
document.getElementById('poolht2bg').setAttribute("class",'item red');
break;
}
document.getElementById('poolht2bg').style.display = 'block';
document.getElementById('poolsp2bg').style.display = 'block';
}


if(spahtstatus!=null)
{
if(Number(xmlData.getElementsByTagName('spasp')[0].firstChild.nodeValue) <= Number(xmlData.getElementsByTagName('spatemp')[0].firstChild.nodeValue) )
document.getElementById('spat').className = 'item red';
else
document.getElementById('spat').className = 'item blue';

switch(spahtstatus)
{
case '0':
document.getElementById('spaht').innerHTML='OFF';
document.getElementById('spahtbg').setAttribute("class",'item gray');
break;

case '1':
document.getElementById('spaht').innerHTML='Enabled';
document.getElementById('spahtbg').setAttribute("class",'item green');
break;

case '2':
document.getElementById('spaht').innerHTML='ON';
document.getElementById('spahtbg').setAttribute("class",'item red');
break;
}
document.getElementById('spahtbg').style.display = 'block';
document.getElementById('spaspbg').style.display = 'block';

if(spastatus == '1')
document.getElementById('spat').style.display = 'block';
else
document.getElementById('spat').style.display = 'none';
}


}
function getTemplist(it) {
var retnode = null;
if(it.childNodes != null)
{
for (var i = 0; i < it.childNodes.length; i++)
{
if(it.childNodes[i].className == "templist")
{
retnode=it.childNodes[i];
break;
}
}
}
return retnode;
}
newAJAXCommand('status.xml', updateStatus, true);
//-->
</script>

</div></div></div></div></div>
<div id="footer">Copyright &copy; 2013 Autelis, LLC</div>
</body>
</html>
Title: Re: Autelis Control?
Post by: rstrouse on August 14, 2016, 06:23:03 pm
@mda

Thanks, now can I get you to go to the screen where you set the setpoints for your AquaPure and do the same thing?

Edit: Later that same day

I'm getting close.  There are several items that I need to figure out but Autelis sent me a message and they are trying to make the pump RPM and Wattage available for VS pumps.  If they do it similar to the Pentair version it will also make VF pumps as well so I have coded accordingly.

@Sammy,  How's the install of your Autelis going?


Title: Re: Autelis Control?
Post by: mda on August 14, 2016, 11:19:31 pm
@mda

Thanks, now can I get you to go to the screen where you set the setpoints for your AquaPure and do the same thing?

Looking good! Here is the source from that page and a screen shot of it for reference. Thanks.


Code: [Select]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Autelis Pool Control</title>
<link href="autelis.css" rel="stylesheet" type="text/css" />
<script src="ajax.js" type="text/javascript"></script>
<meta name="format-detection" content="telephone=no">
</head>

<body>
<div id="shadow-one"><div id="shadow-two"><div id="shadow-three"><div id="shadow-four">
<div id="page">

<div style="padding:0 0 5px 5px"><img src="autelis.png" alt="Autelis" /></div>

<div id="menu">
<a href="systeminfo.htm">System Information</a>
<a href="equipment.htm">Equipment Control</a>
<a href="temperature.htm">Temperature Control</a>
<a href="reminders.htm">Reminders</a>
<a href="isy.htm">ISY Settings</a>
<a href="keypad.htm">Keypad</a>
<a href="macros.htm">Macros</a>
<a href="pumps.htm">Pumps</a>
<a href="chem.htm">Chemistry</a>
<a href="settings.htm">Setup</a>
</div>


<div id="content">
<div class="item gray" style="display:none" id="chlor" name="chlor" style="display:none">
Pool Salt Level: <label id="saltp"></label> PPM
</div>
<div class="item gray" id="chlor" name="chlor" style="display:none">
<div class="subitem one"></div>
<div class="subitem two">Pool Chlorination: <select id="chlrp" onfocus="this.name='selectactive'" onblur="this.name=''" onchange="this.blur();setChem(this.id ,this.selectedIndex);"></select></div>
<div class="subitem three"></div>
</div>
<div class="item gray" style="display:none" id="chlor" name="chlor" style="display:none">
Spa Salt Level: <label id="salts"></label> PPM
</div>
<div class="item gray" id="chlor" name="chlor" style="display:none">
<div class="subitem one"></div>
<div class="subitem two">Spa Chlorination: <select id="chlrs" onfocus="this.name='selectactive'" onblur="this.name=''" onchange="this.blur();setChem(this.id,this.selectedIndex);"></select></div>
<div class="subitem three"></div>
</div>
<div class="item gray" id="chem1" name="chem1" style="display:none">
<div class="subitem one"></div>
<div class="subitem two">ORP: <select id="orp1" onfocus="this.name='selectactive'" onblur="this.name=''" onchange="this.blur();setChem(this.id,this.selectedIndex);"></select></div>
<div class="subitem three"></div>
</div>
<div class="item gray" id="chem1" name="chem1" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=orpfd1&value=0');">OFF</button></div>
<div class="subitem two" align="center">ORP Feed: <label id="orpfd1">OFF</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=orpfd1&value=1');">ON</button></div>
</div>
<div class="item gray" id="chem1" name="chem1" style="display:none">
<div class="subitem one"></div>
<div class="subitem two">PH: <select id="ph1" onfocus="this.name='selectactive'" onblur="this.name=''" onchange="this.blur();setChem(this.id,this.selectedIndex);"></select></div>
<div class="subitem three"></div>
</div>
<div class="item gray" id="chem1" name="chem1" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=phfd1&value=0');">OFF</button></div>
<div class="subitem two" align="center">PH Feed: <label id="phfd1">OFF</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=phfd1&value=1');">ON</button></div>
</div>
<div class="item gray" id="chem2" name="chem2" style="display:none">
<div class="subitem one"></div>
<div class="subitem two">ORP 2: <select id="orp2" onfocus="this.name='selectactive'" onblur="this.name=''" onchange="this.blur();setChem(this.id,this.selectedIndex);"></select></div>
<div class="subitem three"></div>
</div>
<div class="item gray" id="chem2" name="chem2" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=orpfd2&value=0');">OFF</button></div>
<div class="subitem two" align="center">ORP 2 Feed: <label id="orpfd2">OFF</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=orpfd2&value=1');">ON</button></div>
</div>
<div class="item gray" id="chem2" name="chem2" style="display:none">
<div class="subitem one"></div>
<div class="subitem two">PH 2: <select id="ph2" onfocus="this.name='selectactive'" onblur="this.name=''" onchange="this.blur();setChem(this.id,this.selectedIndex);"></select></div>
<div class="subitem three"></div>
</div>
<div class="item gray" id="chem2" name="chem2" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=phfd2&value=0');">OFF</button></div>
<div class="subitem two" align="center">PH 2 Feed: <label id="phfd2">OFF</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=phfd2&value=1');">ON</button></div>
</div>
</div>
<div class="spacer">&nbsp;</div>
<script type="text/javascript">
<!--
if(!String.prototype.trim) { 
  String.prototype.trim = function () { 
    return this.replace(/^\s+|\s+$/g,''); 
  }; 
}
function updateStatus(xmlData) {
// Check if a timeout occurred
if(!xmlData)
return;

// Loop over chlor info
var temp = xmlData.getElementsByTagName('chem')[0];
if (temp == null)
return;
for (var i=0; i < temp.childNodes.length; i++)
{
var item = document.getElementById(temp.childNodes[i].tagName);
//if(item)
{
var test = temp.childNodes[i].firstChild;
if (test != null)
{
test=test.nodeValue;
switch(temp.childNodes[i].tagName)
{
case 'avail':
var cnames = [ "chlor", "chem1", "chem2" ]
for(var j=0;j<cnames.length;j++)
{
if((parseInt(test)>>j) & 1)
{
var cont = document.getElementsByName(cnames[j]);
for(var n=0;n<cont.length;n++)
cont[n].style.display = 'block';
}
}
break;

case 'saltp':
case 'salts':
if(item)
item.innerHTML = test * 50;
break;

case 'chlrp':
case 'chlrs':
case 'orp1':
case 'orp2':
case 'ph1':
case 'ph2':
if (!item) break;
test = parseInt(test);
if(temp.childNodes[i].tagName.indexOf("orp") == 0)
test -= 20;
else if(temp.childNodes[i].tagName.indexOf("ph") == 0)
test -= 70;
if(item.childNodes[test]!=null && item.selectedIndex != test && item.name!='selectactive')
item.selectedIndex=test;
else if((temp.childNodes[i].tagName.indexOf("chlr") == 0) && (test & 128))
item.selectedIndex = item.length - 1;
break;
case 'phfd1':
case 'phfd2':
case 'orpfd1':
case 'orpfd2':
item.innerHTML = ((test>0)?"ON":"OFF");
break;
}

}
}
}
setTimeout("newAJAXCommand('/chem.xml', updateStatus)",5000);
}

function printOptions(name,min,max,step) {
var el = document.getElementById(name);
if(el != null)
{
for (var j=min;j<=max;j+=step)
{
var newop = document.createElement('option');
if(max == 101)
{
if(j == 101)
newop.text = "Boost";
else
newop.text = j + "%";
}
else if(max == 900)
{
newop.text=j;
}
else if(max == 80)
{
newop.text = (parseFloat(j)/10).toFixed(1);
}
el.add(newop,null);
}
}
}


function setChem(name,sp) {
if(name.indexOf("orp") == 0)
sp = sp + 20;
else if(name.indexOf("ph") == 0)
sp = sp*10 + 70;
clrTimeouts();
newAJAXCommand('set.cgi?name=' + name + '&chem=' + sp);
setTimeout("newAJAXCommand('/chem.xml', updateStatus)",2000);
}
printOptions("chlrp",0,101,1);
printOptions("chlrs",0,101,1);
printOptions("orp1",200,900,10);
printOptions("orp2",200,900,10);
printOptions("ph1",70,80,1);
printOptions("ph2",70,80,1);
newAJAXCommand('/chem.xml', updateStatus);
//-->
</script>

</div></div></div></div></div>
<div id="footer">Copyright &copy; 2013 Autelis, LLC</div>
</body>
</html>

Also, the Jandy color LED lights have a limited number of colors, as i understand it. Attached are some screen shots from iAqualink showing the choice of colors and the message while it is changing colors and the message when you click off. I believe the color IDs are in accordance with this note on this page http://www.autelis.com/wiki/index.php?title=Pool_Control_Universal_Devices_ISY_2-Way_Integration

Code: [Select]
NOTE: Color lights will report a value between 129-142 representing the selected color (advanced firmware only). Subtract 128 to get the actual color index.
Also here is the source from the Lights Setup page on Autelis and a couple screen shots for reference.

Code: [Select]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Autelis Pool Control</title>
<link href="autelis.css" rel="stylesheet" type="text/css" />
<script src="ajax.js" type="text/javascript"></script>
</head>

<body>
<div id="shadow-one"><div id="shadow-two"><div id="shadow-three"><div id="shadow-four">
<div id="page">

<div style="padding:0 0 5px 5px"><img src="autelis.png" alt="Autelis" /></div>

<div id="menu">
<a href="settings.htm">Settings</a>
<a href="alerts.htm">Alerts</a>
<a href="lsetup.htm">Lights</a>
<a href="psetup.htm">Pumps</a>
<a href="msetup.htm">Macros</a>
<a href="http://autelis.com/wiki/index.php?title=Pool_Control_for_Jandy/Zodiac#Equipment_Setup" target="_blank">Help</a>
<a href="systeminfo.htm">Exit</a>
</div>

<div id="content">
<fieldset>
<br></br>
<div>&nbsp;&nbsp;Color Lights</div>
<div><label>Booster Pump:</label>
<select id="aux1"><option>None</option><option>Jandy Colors</option><option>Jandy LED</option><option>SAM/SAL</option><option>Color Logic</option><option>Intellibrite</option></select></div>
<div><label>Spa Light:</label>
<select id="aux2"><option>None</option><option>Jandy Colors</option><option>Jandy LED</option><option>SAM/SAL</option><option>Color Logic</option><option>Intellibrite</option></select></div>
<div><label>Pool Light:</label>
<select id="aux3"><option>None</option><option>Jandy Colors</option><option>Jandy LED</option><option>SAM/SAL</option><option>Color Logic</option><option>Intellibrite</option></select></div>
<div><label>Air Blower:</label>
<select id="aux4"><option>None</option><option>Jandy Colors</option><option>Jandy LED</option><option>SAM/SAL</option><option>Color Logic</option><option>Intellibrite</option></select></div>
<div style="display:none"><label>Deck Jets:</label>
<select id="aux5"><option>None</option><option>Jandy Colors</option><option>Jandy LED</option><option>SAM/SAL</option><option>Color Logic</option><option>Intellibrite</option></select></div>
<div style="display:none"><label>AUX6:</label>
<select id="aux6"><option>None</option><option>Jandy Colors</option><option>Jandy LED</option><option>SAM/SAL</option><option>Color Logic</option><option>Intellibrite</option></select></div>
<div style="display:none"><label>AUX7:</label>
<select id="aux7"><option>None</option><option>Jandy Colors</option><option>Jandy LED</option><option>SAM/SAL</option><option>Color Logic</option><option>Intellibrite</option></select></div>
<div style="display:none"><label>AUX8:</label>
<select id="aux8"><option>None</option><option>Jandy Colors</option><option>Jandy LED</option><option>SAM/SAL</option><option>Color Logic</option><option>Intellibrite</option></select></div>
<div style="display:none"><label>AUX9:</label>
<select id="aux9"><option>None</option><option>Jandy Colors</option><option>Jandy LED</option><option>SAM/SAL</option><option>Color Logic</option><option>Intellibrite</option></select></div>
<div style="display:none"><label>AUX10:</label>
<select id="aux10"><option>None</option><option>Jandy Colors</option><option>Jandy LED</option><option>SAM/SAL</option><option>Color Logic</option><option>Intellibrite</option></select></div>
<div style="display:none"><label>AUX11:</label>
<select id="aux11"><option>None</option><option>Jandy Colors</option><option>Jandy LED</option><option>SAM/SAL</option><option>Color Logic</option><option>Intellibrite</option></select></div>
<div style="display:none"><label>AUX12:</label>
<select id="aux12"><option>None</option><option>Jandy Colors</option><option>Jandy LED</option><option>SAM/SAL</option><option>Color Logic</option><option>Intellibrite</option></select></div>
<div style="display:none"><label>AUX13:</label>
<select id="aux13"><option>None</option><option>Jandy Colors</option><option>Jandy LED</option><option>SAM/SAL</option><option>Color Logic</option><option>Intellibrite</option></select></div>
<div style="display:none"><label>AUX14:</label>
<select id="aux14"><option>None</option><option>Jandy Colors</option><option>Jandy LED</option><option>SAM/SAL</option><option>Color Logic</option><option>Intellibrite</option></select></div>
<div style="display:none"><label>AUX15:</label>
<select id="aux15"><option>None</option><option>Jandy Colors</option><option>Jandy LED</option><option>SAM/SAL</option><option>Color Logic</option><option>Intellibrite</option></select></div><br></br>
<div class="ct"><button id="bsave" onClick="saveLights()">Save</button></div>
</fieldset>
<form method="post" action="/lsetup.htm" id="hform">
</div>
<script type="text/javascript">
<!--
var clights = [ 0,2,2,0,0,0,0 ];
for(var i=0;i<Math.min(15,clights.length);i++)
{
var el=document.getElementById("aux" + (i+1));
el.selectedIndex = clights[i];
el.parentNode.style.display = "block";
}
function saveLights() {
var hform = document.getElementById("hform");
for(var i=1; i<=Math.min(15,clights.length); i++)
{
newelement = document.createElement("input");
newelement.setAttribute("type", "hidden");
newelement.setAttribute("name", "clight" + i );
newelement.value=document.getElementById("aux" + i).selectedIndex;
hform.appendChild(newelement);
}
hform.submit();
}
//-->
</script>

</div></div></div></div></div>
<div id="footer">Copyright &copy; 2013 Autelis, LLC</div>
</body>
</html>
Title: Re: Autelis Control?
Post by: Sammy2 on August 15, 2016, 11:34:52 am
Awesome!  Once you get it hooked up run the following urls.  These will give me a listing of what the xml response will be.  Some of these may return nothing and that is telling in itself.

Code: [Select]
http://<autelis ip>/names.xml
http://<autelis ip>/status.xml
http://<autelis ip>/pumps.xml
http://<autelis ip>/chem.xml

After you type the url into a browser if you right click and choose View Source you should be able to save it.  If it throws an error on these then this is telling as well.

I must apologize but this past weekend ended up being a wash on getting the Autelis set up. I had some issues taking an old Netgear router and putting it into Bridge or AP mode. It started working like a managed switch but would not extend the signal wirelessly to the location of my pool equipment. I have a new bridge on order and should be able to get this thing set up during this week. I will keep you posted but can one directly connect to the Autelis with a laptop and not even use their local network to pull the data you need?

Thanks.
Title: Re: Autelis Control?
Post by: rstrouse on August 15, 2016, 12:06:34 pm
No worries Sammy.  Nothing I hate more than tinkering with network crap!  You can connect to the Autelis unit directly with your laptop.  However, that is just more tinkering.  Get your network woes hammered out then get the files to me.  I still need to compare the two systems to see the differences based upon installed equipment.

Good Luck!
Title: Re: Autelis Control?
Post by: rstrouse on August 15, 2016, 12:12:05 pm
@mda,

I guess what I am trying to figure out is the mapping.  Pretty sure the Alpine White is 128 or 1 but is Sky Blue 129 or is it Caribbean Blue?

Is there a screen in Autelis where you can change the color of a light or group of lights?  Also, it appears as if this applies to all Jandy LED lights attached to the controller not one at time.  Do you have more than one LED light on different circuits?
Title: Re: Autelis Control?
Post by: mda on August 15, 2016, 01:58:08 pm
@mda,

I guess what I am trying to figure out is the mapping.  Pretty sure the Alpine White is 128 or 1 but is Sky Blue 129 or is it Caribbean Blue?

My vera device updated by the Autelis shows these numbers corresponding to colors:


Quote
Is there a screen in Autelis where you can change the color of a light or group of lights?  Also, it appears as if this applies to all Jandy LED lights attached to the controller not one at time.  Do you have more than one LED light on different circuits?

The /equipment.htm page shows a menu for color when i turn on a light (see attached screen shots). I can turn each light (spa, pool) on/off separately and select its color seperately. source for that page is:

Code: [Select]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Autelis Pool Control</title>
<link href="autelis.css" rel="stylesheet" type="text/css" />
<script src="ajax.js" type="text/javascript"></script>
<meta name="format-detection" content="telephone=no">
</head>

<body>
<div id="shadow-one"><div id="shadow-two"><div id="shadow-three"><div id="shadow-four">
<div id="page">

<div style="padding:0 0 5px 5px"><img src="autelis.png" alt="Autelis" /></div>

<div id="menu">
<a href="systeminfo.htm">System Information</a>
<a href="equipment.htm">Equipment Control</a>
<a href="temperature.htm">Temperature Control</a>
<a href="reminders.htm">Reminders</a>
<a href="isy.htm">ISY Settings</a>
<a href="keypad.htm">Keypad</a>
<a href="macros.htm">Macros</a>
<a href="pumps.htm">Pumps</a>
<a href="chem.htm">Chemistry</a>
<a href="settings.htm">Setup</a>
</div>


<div id="content">
<div class="item green" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=pump&value=0');">OFF</button></div>
<div class="subitem two" align="center">Filter Pump: <label id="pump">ON</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=pump&value=1');">ON</button></div>
</div>
<div class="item green" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=pumplo&value=0');">OFF</button></div>
<div class="subitem two" align="center">Pump Low Speed: <label id="pumplo">ON</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=pumplo&value=1');">ON</button></div>
</div>
<div class="item green" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=spa&value=0');">OFF</button></div>
<div class="subitem two" align="center">Spa: <label id="spa">ON</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=spa&value=1');">ON</button></div>
</div>
<div class="item green" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=waterfall&value=0');">OFF</button></div>
<div class="subitem two" align="center">Spillway: <label id="waterfall">ON</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=waterfall&value=1');">ON</button></div>
</div>
<div class="item green" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=cleaner&value=0');">OFF</button></div>
<div class="subitem two" align="center">Cleaner: <label id="cleaner">ON</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=cleaner&value=1');">ON</button></div>
</div>
<div class="item green" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux1&value=0');">OFF</button></div>
<div class="subitem two" align="center">Booster Pump: <label id="aux1">ON</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux1&value=1');">ON</button></div>
</div>
<div class="item green" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux2&value=0');">OFF</button></div>
<div class="subitem two" align="center">Spa Light: <label id="aux2">ON</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux2&value=1');">ON</button></div>
</div>
<div class="item green" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux3&value=0');">OFF</button></div>
<div class="subitem two" align="center">Pool Light: <label id="aux3">ON</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux3&value=1');">ON</button></div>
</div>
<div class="item green" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux4&value=0');">OFF</button></div>
<div class="subitem two" align="center">Air Blower: <label id="aux4">ON</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux4&value=1');">ON</button></div>
</div>
<div class="item green" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux5&value=0');">OFF</button></div>
<div class="subitem two" align="center">Deck Jets: <label id="aux5">ON</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux5&value=1');">ON</button></div>
</div>
<div class="item green" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux6&value=0');">OFF</button></div>
<div class="subitem two" align="center">AUX6: <label id="aux6">ON</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux6&value=1');">ON</button></div>
</div>
<div class="item green" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux7&value=0');">OFF</button></div>
<div class="subitem two" align="center">AUX7: <label id="aux7">ON</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux7&value=1');">ON</button></div>
</div>
<div class="item green" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux8&value=0');">OFF</button></div>
<div class="subitem two" align="center">AUX8: <label id="aux8">ON</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux8&value=1');">ON</button></div>
</div>
<div class="item green" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux9&value=0');">OFF</button></div>
<div class="subitem two" align="center">AUX9: <label id="aux9">ON</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux9&value=1');">ON</button></div>
</div>
<div class="item green" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux10&value=0');">OFF</button></div>
<div class="subitem two" align="center">AUX10: <label id="aux10">ON</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux10&value=1');">ON</button></div>
</div>
<div class="item green" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux11&value=0');">OFF</button></div>
<div class="subitem two" align="center">AUX11: <label id="aux11">ON</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux11&value=1');">ON</button></div>
</div>
<div class="item green" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux12&value=0');">OFF</button></div>
<div class="subitem two" align="center">AUX12: <label id="aux12">ON</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux12&value=1');">ON</button></div>
</div>
<div class="item green" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux13&value=0');">OFF</button></div>
<div class="subitem two" align="center">AUX13: <label id="aux13">ON</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux13&value=1');">ON</button></div>
</div>
<div class="item green" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux14&value=0');">OFF</button></div>
<div class="subitem two" align="center">AUX14: <label id="aux14">ON</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux14&value=1');">ON</button></div>
</div>
<div class="item green" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux15&value=0');">OFF</button></div>
<div class="subitem two" align="center">AUX15: <label id="aux15">ON</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux15&value=1');">ON</button></div>
</div>
<div class="item green" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux16&value=0');">OFF</button></div>
<div class="subitem two" align="center">: <label id="aux16">ON</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux16&value=1');">ON</button></div>
</div>
<div class="item green" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux17&value=0');">OFF</button></div>
<div class="subitem two" align="center">: <label id="aux17">ON</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux17&value=1');">ON</button></div>
</div>
<div class="item green" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux18&value=0');">OFF</button></div>
<div class="subitem two" align="center">: <label id="aux18">ON</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux18&value=1');">ON</button></div>
</div>
<div class="item green" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux19&value=0');">OFF</button></div>
<div class="subitem two" align="center">: <label id="aux19">ON</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux19&value=1');">ON</button></div>
</div>
<div class="item green" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux20&value=0');">OFF</button></div>
<div class="subitem two" align="center">: <label id="aux20">ON</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux20&value=1');">ON</button></div>
</div>
<div class="item green" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux21&value=0');">OFF</button></div>
<div class="subitem two" align="center">: <label id="aux21">ON</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux21&value=1');">ON</button></div>
</div>
<div class="item green" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux22&value=0');">OFF</button></div>
<div class="subitem two" align="center">: <label id="aux22">ON</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux22&value=1');">ON</button></div>
</div>
<div class="item green" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux23&value=0');">OFF</button></div>
<div class="subitem two" align="center">: <label id="aux23">ON</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux23&value=1');">ON</button></div>
</div>
</div>

<div class="spacer">&nbsp;</div>

<script type="text/javascript">
<!--
var clights = [ 0,2,2,0,0,0,0 ];
// Parses the xmlResponse from status.xml and updates the status
function updateStatus(xmlData) {
// Check if a timeout occurred
if(!xmlData)
return;

// Loop over all the equipment
// Update status & color
var equip = xmlData.getElementsByTagName('equipment')[0];
if (equip == null)
return;
for (var i=0; i < equip.childNodes.length; i++)
{
var item = document.getElementById(equip.childNodes[i].tagName);
if(item)
{
var test = equip.childNodes[i].firstChild;
if (test != null)
{
test = test.nodeValue;
switch(test)
{
case '0':
item.innerHTML = 'OFF';
break;
case '1':
item.innerHTML = 'ON';
break;
case '25':
case '50':
case '75':
case '100':
if (getDimmer(item)==null)
item.innerHTML = '<select class="dimmer" onfocus="this.name=\'selectactive\'" onblur="this.name=\'\'" onchange="this.blur();newAJAXCommand(\'set.cgi?wait=1&name=' + item.id + '&value=\' + this.options[this.selectedIndex].value.replace(\'%\', \'\'));"><option>25%</option><option>50%</option><option>75%</option><option>100%</option></select>';
var dimlevel;
switch(test)
{
case '25':
var dimlevel=0;
break;
case '50':
var dimlevel=1;
break;
case '75':
var dimlevel=2;
break;
case '100':
var dimlevel=3;
break;
}
var dimopt=getDimmer(item);
if(dimopt.selectedIndex != dimlevel && dimopt.name != "selectactive")
dimopt.selectedIndex = dimlevel;
break;
default:
if(test > 0x80 && test < 0x8F)
{
setColor(item,test);
}
else
{
item.parentNode.parentNode.style.display ='none';
continue;
}
}
item.parentNode.parentNode.setAttribute("class", (test == '0') ? 'item red' : 'item green');
item.parentNode.parentNode.setAttribute("class", (test == '0') ? 'item red' : 'item green');
item.parentNode.parentNode.style.display ='block';
}
else item.parentNode.parentNode.style.display ='none';
}
}
}
function getDimmer(it) {
var retnode = null;
for (var i = 0; i < it.childNodes.length; i++)
if(it.childNodes[i].className == "dimmer")
{
retnode=it.childNodes[i];
break;
}
return retnode;
}
function setColor(it,clr) {
var colors = [ [ "Alpine White", "Sky Blue", "Cobalt Blue", "Caribbean Blue", "Spring Green", "Emerald Green", "Emerald Rose", "Magenta", "Garnet Red", "Violet", "Color Splash" ], [ "Alpine White", "Sky Blue", "Cobalt Blue", "Caribbean Blue", "Spring Green", "Emerald Green", "Emerald Rose", "Magenta", "Violet", "Slow Splash", "Fast Splash", "USA!!!", "Fat Tuesday", "Disco Tech" ], [ "White", "Light Green", "Green", "Cyan", "Blue", "Lavender", "Magenta", "Light Magenta", "Color Splash" ], [ "Voodoo Lounge", "Deep Blue Sea", "Afternoon Skies", "Emerald", "Sangria", "Cloud White", "Twilight", "Tranquility", "Gemstone", "USA!", "Mardi Gras", "Cool Caberet" ], [ "SAM", "Party", "Romance", "Caribbean", "American", "Cal Sunset", "Royal", "Blue", "Green", "Red", "White", "Magenta", "Hold", "Recall" ] ];
var cs = null;
for (var i = 0; i < it.childNodes.length; i++)
if(it.childNodes[i].className == "color")
{
cs = it.childNodes[i];
break;
}
if(cs == null)
{
var sel = document.createElement("select");
sel.setAttribute("class", "color");
sel.setAttribute("onfocus", "this.name='selectactive'");
sel.setAttribute("onblur", "this.name=''");
sel.setAttribute("onchange", "this.blur();newAJAXCommand('set.cgi?wait=1&name=" + it.id + "&value=' + (this.selectedIndex+1));");
var cidx = clights[it.id.substring(3)-1];
cidx = ((cidx>0)?cidx-1:0);
for(var j = 0; j < colors[cidx].length; j++)
{
var op = document.createElement("option");
op.text = colors[cidx][j];
sel.appendChild(op);
}
it.innerHTML = "";
cs = it.appendChild(sel);
}
if(cs.getAttribute("name") != "selectactive")
cs.selectedIndex = (clr & 0x0F)-1;
}
newAJAXCommand('/status.xml', updateStatus, true);
//-->
</script>

</div></div></div></div></div>
<div id="footer">Copyright &copy; 2013 Autelis, LLC</div>
</body>
</html>
Title: Re: Autelis Control?
Post by: Sammy2 on August 15, 2016, 05:32:00 pm
@mda

Thanks, now can I get you to go to the screen where you set the setpoints for your AquaPure and do the same thing?

Edit: Later that same day

I'm getting close.  There are several items that I need to figure out but Autelis sent me a message and they are trying to make the pump RPM and Wattage available for VS pumps.  If they do it similar to the Pentair version it will also make VF pumps as well so I have coded accordingly.
  • I realize you are on UI5 and I have coded what I assume will work on UI5 but I am not sure since I do not have that platform... we'll see
  • The WaterColors interface will be interesting.  I think I want to use the colorpicker control but I think that is UI7 only maybe this is another branch.
  • Below are some progress pics

@Sammy,  How's the install of your Autelis going?

I didn't notice this but responded to an earlier post. After seeing those screen grabs for the app in Vera, I'm getting real excited about the prospects here! I will try to get this up and running as soon as possible. I know that I need to count valve actuators and give you which valves they operate as well.

I think that I may have an extra AUX or two in the Jandy that I'd like to be able to control yard lighting with in addition to the pool pumps and lights.
Title: Re: Autelis Control?
Post by: rstrouse on August 16, 2016, 04:35:43 pm
Ok so I have the plugin running in Simulation mode and all indication say that it should run when connected to an actual Autelis unit so here it is although my dog says its "rough."

Things that should be working

Things that are probably not perfect

To install:

To Configure the Plugin:

To Configure Your Autelis:

That should be it.  Take note of the changes on your Vera these should be pretty instantaneous when something is turned on/off on the AquaLink.  If they are not then the bidirectional interface is not working and let me know.  We will troubleshoot in the log.

Fingers and toes crossed!
Title: Re: Autelis Control?
Post by: Sammy2 on August 16, 2016, 04:46:07 pm
My bridge shows up tomorrow but I may go connect my laptop directly to the Autelis tonight to test this out.. We'll see if I have enough time before the sun goes down to do it or not..
Title: Re: Autelis Control?
Post by: Sammy2 on August 17, 2016, 11:34:53 pm
Awesome!  Once you get it hooked up run the following urls.  These will give me a listing of what the xml response will be.  Some of these may return nothing and that is telling in itself.

Code: [Select]
http://<autelis ip>/names.xml
http://<autelis ip>/status.xml
http://<autelis ip>/pumps.xml
http://<autelis ip>/chem.xml

After you type the url into a browser if you right click and choose View Source you should be able to save it.  If it throws an error on these then this is telling as well.

I just got it hooked up and it is running in Night Mode right now and here's the results:


Names:
Code: [Select]
404: File not found
Status:
Code: [Select]
<response>
<system>
<runstate>8</runstate>
<model>6520</model>
<dip>00000000</dip>
<opmode>0</opmode>
<vbat>561</vbat>
<lowbat>0</lowbat>
<version>1.5.5</version>
<time>1471490665</time>
</system>
<equipment>
<pump>0</pump>
<pumplo/>
<spa>1</spa>
<waterfall/>
<cleaner/>
<poolht2/>
<poolht>0</poolht>
<spaht>0</spaht>
<solarht>0</solarht>
<aux1>0</aux1>
<aux2>0</aux2>
<aux3>1</aux3>
<aux4>1</aux4>
<aux5>1</aux5>
<aux6>1</aux6>
<aux7>1</aux7>
<aux8/>
<aux9/>
<aux10/>
<aux11/>
<aux12/>
<aux13/>
<aux14/>
<aux15/>
<aux16/>
<aux17/>
<aux18/>
<aux19/>
<aux20/>
<aux21/>
<aux22/>
<aux23/>
</equipment>
<temp>
<poolsp>86</poolsp>
<poolsp2>60</poolsp2>
<spasp>97</spasp>
<pooltemp>0</pooltemp>
<spatemp>81</spatemp>
<airtemp>87</airtemp>
<solartemp>0</solartemp>
<tempunits>F</tempunits>
</temp>
</response>

Pumps:
Code: [Select]
404: File not found

Chem:
Code: [Select]
404: File not found
Title: Re: Autelis Control?
Post by: rstrouse on August 18, 2016, 02:08:29 am
@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.
Title: Re: Autelis Control?
Post by: Sammy2 on August 18, 2016, 10:18:36 am
@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.

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.  ??? :-[ :-\ >:( :( 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.
Title: Re: Autelis Control?
Post by: mda on August 18, 2016, 11:14:35 am
@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.

@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!
Title: Re: Autelis Control?
Post by: rstrouse on August 18, 2016, 03:35:08 pm
@Sammy,

Now that you upgraded to 1.6.9 can you redo the xml queries?
Title: Re: Autelis Control?
Post by: Sammy2 on August 18, 2016, 03:38:02 pm
@Sammy,

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

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..
Title: Re: Autelis Control?
Post by: rstrouse on August 18, 2016, 07:57:48 pm
@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.

Title: Re: Autelis Control?
Post by: Sammy2 on August 18, 2016, 08:06:33 pm
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.
Title: Re: Autelis Control?
Post by: rstrouse on August 18, 2016, 10:52:59 pm
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.
Title: Re: Autelis Control?
Post by: mda on August 18, 2016, 11:32:03 pm
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.
Title: Re: Autelis Control?
Post by: Sammy2 on August 19, 2016, 11:58:35 am
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?
Title: Re: Autelis Control?
Post by: rstrouse on August 19, 2016, 05:33:08 pm
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

New features

Issues found and fixed

Next steps

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.
Title: Re: Autelis Control?
Post by: Sammy2 on August 19, 2016, 07:06:25 pm
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
  • Aux Circuit Names from the panel

New features
  • Added Autelis Firmware version to the main panel
  • Display panel battery status based upon 1.7v voltage drop
  • Added solar combined and solar only configurations to allow for pool/spa heating
  • Added chlorinator status (Chlorinating / Off) when the AquaPure cell is energized
  • Added check for Pool/Spa body to determine the AquaPure salt level that is displayed
  • 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.
  • Updated status of all auxiliary panels when a dependency exists between them
  • Added animation of temperature values when in Simulation mode

Issues found and fixed
  • 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
  • Fixed single body setpoints for heaters
  • Fixed issues where new circuit selections were not automatically creating the devices in Vera
  • Fixed issue where new children could cause Vera to go into a perpetual luup reload
  • Removed pool heater 2 settings if they are not available.
  • Fixed issues with triggers on heaters

Next steps
  • Get results from initial field testing
  • Add triggers for Water Colors LED circuits
  • Fix bugs as we find 'em

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.

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

THANKS!
Title: Re: Autelis Control?
Post by: mda on August 19, 2016, 07:59:54 pm
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?

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  ;)
Title: Re: Autelis Control?
Post by: Sammy2 on August 19, 2016, 08:15:19 pm
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?

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  ;)

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.
Title: Re: Autelis Control?
Post by: Sammy2 on August 20, 2016, 05:12:44 pm
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!
Title: Re: Autelis Control?
Post by: rstrouse on August 20, 2016, 05:36:42 pm
What are you sleeping, eating, and pooping for.  All of these things are overrated!
Title: Re: Autelis Control?
Post by: mda on August 20, 2016, 08:14:09 pm
@ rstrouse I updated to 1.6.9 and /names.xml is:

Code: [Select]
<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.
Title: Re: Autelis Control?
Post by: rstrouse on August 20, 2016, 09:18:38 pm
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.
Title: Re: Autelis Control?
Post by: mda on August 20, 2016, 10:12:37 pm
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:

Code: [Select]
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:

Code: [Select]
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!
Title: Re: Autelis Control?
Post by: rstrouse on August 21, 2016, 12:33:33 pm
@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.

Title: Re: Autelis Control?
Post by: mda on August 21, 2016, 02:40:49 pm
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:

Code: [Select]
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:

Code: [Select]
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: [Select]
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>

Title: Re: Autelis Control?
Post by: mda on August 21, 2016, 02:42:14 pm
Screen shots attached.

actually attached this time :)

Title: Re: Autelis Control?
Post by: rstrouse on August 21, 2016, 02:47:12 pm
I expected the dk-json error.  It is performing an assert on that then trying to load the json using akb-json.  Can you go to the advanced tab and tell me what the device_json attribute says.  This is an attribute not a variable (I don't know how attributes vs. variables work in UI5)
Title: Re: Autelis Control?
Post by: mda on August 21, 2016, 03:39:28 pm
I expected the dk-json error.  It is performing an assert on that then trying to load the json using akb-json.  Can you go to the advanced tab and tell me what the device_json attribute says.  This is an attribute not a variable (I don't know how attributes vs. variables work in UI5)

I don't see a device parameter (or variable) named device_json on the Advanced tab. (A few posts up I posted screen shots of my advanced tab in case that helps)
Title: Re: Autelis Control?
Post by: rstrouse on August 21, 2016, 04:20:01 pm
Ahah! So UI5 does not have a device_json attribute.  Give me about a 1/2 hour and I will have this figured out.
Title: Re: Autelis Control?
Post by: mda on August 21, 2016, 05:33:15 pm
Ahah! So UI5 does not have a device_json attribute.  Give me about a 1/2 hour and I will have this figured out.

Standing by to test when you are ready... No rush.


Sent from my iPad using Tapatalk
Title: Re: Autelis Control?
Post by: rstrouse on August 21, 2016, 05:44:40 pm
Almost there the first 4 things I tried were a bust.  The last one I am testing now.
Title: Re: Autelis Control?
Post by: rstrouse on August 21, 2016, 06:05:20 pm
Ok let try this.  All we need to do is get it to load the correct .json file.
Title: Re: Autelis Control?
Post by: mda on August 21, 2016, 09:37:03 pm
Ok let try this.  All we need to do is get it to load the correct .json file.

Unfortunately still does not work. When i click any of the config tabs i get stuck on the thermometer. The "config" tab says "Opening atjConfig_showConfigureTab..." above the thermo, the "circuits" tab says "Opening atjConfig_showCircuitsTab..." above the thermo, etc. Here are all the parameters and variables in the Advanced tab.

Code: [Select]
Device params
name :  Jandy Pool Control
device_type:  urn:schemas-rstrouse-com:device:AutelisJandy:1
altid:
ip:
mac:
manufacturer:
model:
room_num:
id_parent:
embedded:
disabled:
restricted:
device_file: D_AutelisJandy.xml
id: 118
room: 5
impl_file:
time_created: 1471744498
local_udn: uuid:4d494342-5342-5645-0076-000001c9e5d4
category_num: 1
subcategory_num: 2
onDashboard: 0

Variables
Version: 0.21 Beta
Version_Formatted: <div style='display:inline-block;vertical-align:top;color:green;font-size:.7em;'><span style='white-space:pre;'>0.22 Beta</span></div>
CommFailure: 1
PanelMessage: <div style='display:inline-block;vertical-align:top;top:0px;font-size:1em;font-weight:bold;position:absolute;color:red;font-style:italic;left:0px;width:90%'><span style='white-space:pre;'></span></div>
LastUpdate: 1471828956
RunState: 254
RunStateDesc: Not Configured
RunStateDesc_Formatted: <div style='display:inline-block;vertical-align:top;color:red;font-size:.7em;font-weight:bold;'><span style='white-space:pre;'>Not Configured</span></div>
LastUpdate: 0
BatteryDate: 1471828956
BatteryLevel: 100
BatteryVoltage: 0
BodyStatus: Off
BodyStatus_Formatted: <div style='display:inline-block;vertical-align:top;color:gray;font-weight:bold;font-size:.8em;'><span style='white-space:pre;'>Off</span></div>
PoolStatus: 0
SpaStatus: 0
AutelisVersion_Formatted: <div style='display:inline-block;vertical-align:top;color:red;font-weight:bold;font-size:.7em;'><span style='white-space:pre;'>0.0.0</span></div>


Here are some log snippets:

when i restart luup:
Code: [Select]
50 08/21/16 18:22:35.926 luup_log:118: Initializing Autelis Plugin for Jandy (Lua Version:Lua 5.1 UI Version: 5.622 1) __LEAK__ this:192512 start:5115904 to 0x1e72000 <0x2b6e7680>
50 08/21/16 18:22:35.938 luup_log:118: Could not set up interface <0x2b6e7680>

when i open the config tab (I believe):
Code: [Select]
02 08/21/16 18:17:45.468 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 18:21:49.527 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) <0x2fdf5680>
02 08/21/16 18:22:58.874 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) <0x2f56b680>
02 08/21/16 18:23:08.455 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) __LEAK__ this:-167936 start:4947968 to 0x1e49000 <0x2ef28680>
02 08/21/16 18:24:56.398 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) <0x2f56b680>

and after install and a few luup restarts i did a 'grep -i autelis /var/log/cmh/LuaUPnP.log'

Code: [Select]
09 08/21/16 18:21:14.162 JobHandler_LuaUPnP::Run device 118 Jandy Pool Control room 5 type urn:schemas-rstrouse-com:device:AutelisJandy:1 id  parent 0/0x8d7588 upnp: 0 <0x2b63d000>
50 08/21/16 18:21:22.198 luup_log:118: Initializing Autelis Plugin for Jandy (Lua Version:Lua 5.1 UI Version: 5.622 1) __LEAK__ this:458752 start:4231168 to 0x15eb000 <0x2bf71680>
06 08/21/16 18:21:22.198 Device_Variable::m_szValue_set device: 118 service: urn:rstrouse-com:serviceId:AutelisJandy1 variable: Version_Formatted was: <div style='display:inline-block;vertical-align:top;color:green;font-size:.7em;'><span style='white-space:pre;'>0.20 Beta</span></div> now: <div style='display:inline-block;vertical-align:top;color:green;font-size:.7em;'><span style='white-space:pre;'>0.22 Beta</span></div> #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2bf71680>
06 08/21/16 18:21:22.200 Device_Variable::m_szValue_set device: 118 service: urn:rstrouse-com:serviceId:AutelisJandy1 variable: LastUpdate was: 1471804409 now: 1471828882 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2bf71680>
06 08/21/16 18:21:22.383 Device_Variable::m_szValue_set device: 118 service: urn:rstrouse-com:serviceId:AutelisJandy1 variable: LastUpdate was: 1471828882 now: 1471828882 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:1 <0x2bf71680>
09 08/21/16 18:22:28.465 JobHandler_LuaUPnP::Run device 118 Jandy Pool Control room 5 type urn:schemas-rstrouse-com:device:AutelisJandy:1 id  parent 0/0x1086588 upnp: 0 <0x2adb4000>
50 08/21/16 18:22:35.926 luup_log:118: Initializing Autelis Plugin for Jandy (Lua Version:Lua 5.1 UI Version: 5.622 1) __LEAK__ this:192512 start:5115904 to 0x1e72000 <0x2b6e7680>
06 08/21/16 18:22:35.935 Device_Variable::m_szValue_set device: 118 service: urn:rstrouse-com:serviceId:AutelisJandy1 variable: LastUpdate was: 1471828882 now: 1471828955 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2b6e7680>
06 08/21/16 18:22:36.906 Device_Variable::m_szValue_set device: 118 service: urn:rstrouse-com:serviceId:AutelisJandy1 variable: LastUpdate was: 1471828955 now: 1471828956 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2b6e7680>

Please let me know if there is anything more i should look for in the logs or try.
Thanks
Title: Re: Autelis Control?
Post by: rstrouse on August 22, 2016, 12:50:59 am
Ok so now we are getting the correct Json to load and it appears that we have the json parser working as well.  I know this because it used to say loading tabConfig.showConfigureTab and it is now saying tabConfig_showConfigureTab.  We now need to look at the javascript console to see what error is being thrown in the JavaScript console.

The noise regarding shared.js and toolbox.js is just that... noise.  Inside the Vera code that parses the control json it pulls these files as defaults for the advanced tab but actually loads them from another location further down in the code.  Bring up the javascript console then try to open the configuration tab.  This will tell me why it isn't displaying.  The other log entries are normal for the plugin where the ip address, username, and password have not been provided.  You cannot enter these until we get the configuration tab open.
Title: Re: Autelis Control?
Post by: mda on August 22, 2016, 01:06:46 am
Bring up the javascript console then try to open the configuration tab.

Here are a screen shot and log. Please let me know if I should be sending you something else (I know nothing about JavaScript ;) )

Code: [Select]
Failed to load resource: the server responded with a status of 404 (Not Found)
http://192.168.1.152/cmh/js/common/debug.js?*1.5.622-1-07054035* Failed to load resource: the server responded with a status of 404 (Not Found)
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:52:56: start parsing user_data
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:52:56: Parsing ud
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:52:56: Including script: http://192.168.1.152/port_3480/toolbox.js
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:52:57: end parsing user_data
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:52:58: Timezones loaded
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:52:58: Sysinfo loaded
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:52:58: start parsing lu_status
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:52:58: Starting parseLu without data_version.
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:52:58: setting icon error: TypeError: Cannot read property 'Service' of undefined
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:52:58: 21:52:58:999 end parsing lu_status
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:52:59: Version status: require_upgrade=0
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:53:21: start parsing lu_status
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:53:21: Starting parseLu.
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:53:21: 21:53:21:93 end parsing lu_status
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:53:22: start parsing lu_status
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:53:22: Starting parseLu.
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:53:22: 21:53:22:308 end parsing lu_status
5cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:53:43: Including script: http://192.168.1.152/port_3480/J_AutelisJandy.js
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:53:43: Including script: http://192.168.1.152/port_3480/shared.js
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:53:43: add keep
5J_AutelisJandy.js:1038 Uncaught ReferenceError: api is not defined(anonymous function) @ J_AutelisJandy.js:1038
J_AutelisJandy.js:1056 Loading UI5 Configuration: showConfigureTab
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:53:52: start parsing lu_status
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:53:52: Starting parseLu.
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:53:52: 21:53:52:928 end parsing lu_status
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:54:21: start parsing lu_status
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:54:21: Starting parseLu.
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:54:21: 21:54:21:295 end parsing lu_status
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:54:22: start parsing lu_status
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:54:22: Starting parseLu.
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:54:22: 21:54:22:416 end parsing lu_status
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:54:46: start parsing lu_status
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:54:46: Starting parseLu.
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:54:46: setting icon error: TypeError: Cannot read property 'Service' of undefined
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:54:46: 21:54:46:815 end parsing lu_status
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:54:47: start parsing lu_status
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:54:47: Starting parseLu.
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:54:47: setting icon error: TypeError: Cannot read property 'Service' of undefined
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:54:47: 21:54:47:882 end parsing lu_status
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:54:49: start parsing lu_status
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:54:49: Starting parseLu.
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:54:49: setting icon error: TypeError: Cannot read property 'Service' of undefined
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:54:49: 21:54:49:266 end parsing lu_status
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:54:53: start parsing lu_status
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:54:53: Starting parseLu.
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:54:53: 21:54:53:578 end parsing lu_status
J_AutelisJandy.js:1063 Loading UI5 Configuration: showCircuitsTab
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:55:12: start parsing lu_status
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:55:12: Starting parseLu.
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:55:12: 21:55:12:308 end parsing lu_status
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:55:13: start parsing lu_status
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:55:13: Starting parseLu.
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:55:13: 21:55:13:534 end parsing lu_status
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:55:17: start parsing lu_status
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:55:17: Starting parseLu.
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:55:17: 21:55:17:533 end parsing lu_status
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:55:18: start parsing lu_status
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:55:18: Starting parseLu.
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:55:18: 21:55:18:832 end parsing lu_status
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:55:21: start parsing lu_status
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:55:21: Starting parseLu.
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:55:21: 21:55:21:527 end parsing lu_status
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:55:22: start parsing lu_status
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:55:22: Starting parseLu.
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:55:22: 21:55:22:751 end parsing lu_status
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:55:53: start parsing lu_status
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:55:53: Starting parseLu.
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:55:53: 21:55:53:378 end parsing lu_status
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:56:21: start parsing lu_status
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:56:21: Starting parseLu.
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:56:21: 21:56:21:436 end parsing lu_status
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:56:22: start parsing lu_status
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:56:22: Starting parseLu.
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:56:22: 21:56:22:656 end parsing lu_status
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:56:46: start parsing lu_status
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:56:46: Starting parseLu.
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:56:46: setting icon error: TypeError: Cannot read property 'Service' of undefined
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:56:46: 21:56:46:611 end parsing lu_status
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:56:47: start parsing lu_status
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:56:47: Starting parseLu.
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:56:47: setting icon error: TypeError: Cannot read property 'Service' of undefined
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:56:47: 21:56:47:862 end parsing lu_status
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:56:49: start parsing lu_status
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:56:49: Starting parseLu.
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:56:49: setting icon error: TypeError: Cannot read property 'Service' of undefined
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:56:49: 21:56:49:108 end parsing lu_status
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:56:53: start parsing lu_status
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:56:53: Starting parseLu.
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-22 04:56:53: 21:56:53:381 end parsing lu_status

fwiw I confirmed i do have J_AutelisJandy.js on my vera:

Code: [Select]
root@MiOS_xxxxxxxx/etc/cmh-ludl# ls J_AutelisJandy.js.lzo
J_AutelisJandy.js.lzo
Title: Re: Autelis Control?
Post by: rstrouse on August 22, 2016, 12:14:55 pm
@mda, Thanks for the info.  I have a pretty clear picture with what is going on with the UI5 interface now.  I will fix this tonight and post a new version.

@Sammy, everything should be working fine for UI7.  This is a UI5 only issue and it is relegated to the opening of the configuration screens.  I don't have a UI5 platform to test on so we have been solving 1 problem at a time.
Title: Re: Autelis Control?
Post by: Sammy2 on August 22, 2016, 12:25:49 pm
What are you sleeping, eating, and pooping for.  All of these things are overrated!

LOL!

Being able to control my pool from my phone whether or not I am home is not overrated!

My wife's Honey Do's?? Neither are they as they make my world go 'round!
Title: Re: Autelis Control?
Post by: Sammy2 on August 22, 2016, 12:28:03 pm
@mda, Thanks for the info.  I have a pretty clear picture with what is going on with the UI5 interface now.  I will fix this tonight and post a new version.

@Sammy, everything should be working fine for UI7.  This is a UI5 only issue and it is relegated to the opening of the configuration screens.  I don't have a UI5 platform to test on so we have been solving 1 problem at a time.

I'm looking at maybe getting this hooked up tonight or tomorrow night after work. I got my AP / Bridge working but now need to place it at the equipment and hook up the Autelis in the half an hour or so of available light I will have when I get home.

This whole past weekend was a wash but my wife's a happy camper so that is a good thing!
Title: Re: Autelis Control?
Post by: rstrouse on August 22, 2016, 12:36:16 pm
What are you sleeping, eating, and pooping for.  All of these things are overrated!

LOL!

Being able to control my pool from my phone whether or not I am home is not overrated!

My wife's Honey Do's?? Neither are they as they make my world go 'round!

Yes there are some intrinsic benefits of turning honey do's into honey done's.  Even if only to temper the pain.
Title: Re: Autelis Control?
Post by: Sammy2 on August 22, 2016, 12:58:04 pm
What are you sleeping, eating, and pooping for.  All of these things are overrated!

LOL!

Being able to control my pool from my phone whether or not I am home is not overrated!

My wife's Honey Do's?? Neither are they as they make my world go 'round!

Yes there are some intrinsic benefits of turning honey do's into honey done's.  Even if only to temper the pain.

Yes there is. Fortunately this wasn't too painful. I needed to redo some of the closet shelf, poles to make it better fit all her clothes and shoes but then there were family obligations which take up my time to tinker but at least they are not work!
Title: Re: Autelis Control?
Post by: rstrouse on August 23, 2016, 04:54:05 pm
@mda,

Here is the plugin with the api reference fixed.  We will need to do this incrementally since I don't have UI5.  Hopefully this will bring up the configuration page so you can put your ip and credentials in for Autelis.

Title: Re: Autelis Control?
Post by: Sammy2 on August 23, 2016, 05:11:57 pm
@mda,

Here is the plugin with the api reference fixed.  We will need to do this incrementally since I don't have UI5.  Hopefully this will bring up the configuration page so you can put your ip and credentials in for Autelis.

rstrouse, can you clarify which of these are not needed for UI7? I uploaded the Beta Ver 0.20 and have not done anything else until I test it, which should be tonight.
Title: Re: Autelis Control?
Post by: rstrouse on August 23, 2016, 06:13:48 pm
It won't hurt to install .25 as I added One touch macro support as well as some additional fixes for a few other things.  Do not remove any of the files simply overwrite them wit the new set.  Do not delete the Jandy Control Panel the update will do what it needs when Luup reloads.
Title: Re: Autelis Control?
Post by: Sammy2 on August 23, 2016, 10:51:41 pm
I installed v0.25 and here's what I get..

Names:
Code: [Select]
<response>
<equipment>
<aux1>AUX1</aux1>
<aux2>AUX2</aux2>
<aux3>AUX3</aux3>
<aux4>AUX4</aux4>
<aux5>AUX5</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/>
<aux17/>
<aux18/>
<aux19/>
<aux20/>
<aux21/>
<aux22/>
<aux23/>
</equipment>
</response>

Status
Code: [Select]
<response>
<system>
<runstate>8</runstate>
<model>6520</model>
<dip>00000000</dip>
<opmode>0</opmode>
<vbat>537</vbat>
<lowbat>0</lowbat>
<version>1.6.9</version>
<time>1472006981</time>
</system>
<equipment>
<pump>1</pump>
<pumplo/>
<spa>0</spa>
<waterfall/>
<cleaner/>
<poolht2/>
<poolht>0</poolht>
<spaht>0</spaht>
<solarht>0</solarht>
<aux1>0</aux1>
<aux2>0</aux2>
<aux3>1</aux3>
<aux4>1</aux4>
<aux5>1</aux5>
<aux6>1</aux6>
<aux7>1</aux7>
<aux8/>
<aux9/>
<aux10/>
<aux11/>
<aux12/>
<aux13/>
<aux14/>
<aux15/>
<aux16/>
<aux17/>
<aux18/>
<aux19/>
<aux20/>
<aux21/>
<aux22/>
<aux23/>
</equipment>
<temp>
<poolsp>86</poolsp>
<poolsp2>60</poolsp2>
<spasp>97</spasp>
<pooltemp>79</pooltemp>
<spatemp>0</spatemp>
<airtemp>82</airtemp>
<solartemp>0</solartemp>
<tempunits>F</tempunits>
</temp>
</response>

Pumps:
Code: [Select]
404: File not found
Chem:
Code: [Select]
404: File not found
Title: Re: Autelis Control?
Post by: Sammy2 on August 23, 2016, 11:09:11 pm
Some screen shots..

I obviously need to figure out how to label my equipment in the Autelis Controller so it shows up both there and in the Vera.

I have no variable speed pumps and no chemistry automation so there's nothing to report from those screens. The Macro screen shows nothing.

Title: Re: Autelis Control?
Post by: Sammy2 on August 23, 2016, 11:10:08 pm
Here's the Macros FWIW..

Also, I have the Keypad set to "Night Party" which shows the following equipment active:

Title: Re: Autelis Control?
Post by: rstrouse on August 23, 2016, 11:17:45 pm
Pretty much what I expected with the exception of the 404 on the pumps and chemistry which is why we see connection error on the panel.  I'll have to put a 404 check in for the pumps and chem. 

You can rename the devices that are created by the plugin so they better reflect the names.

Have you been able to control anything from your pool?   Did you put the information into the ISY/Vera configuration in Autelis?
Title: Re: Autelis Control?
Post by: Sammy2 on August 23, 2016, 11:19:16 pm
Nothing changed here after turning the Keypad off.
Title: Re: Autelis Control?
Post by: rstrouse on August 23, 2016, 11:22:31 pm
Are you running Revision R?  How about changing one of the devices from the devices screen?  Does it turn on or off the equipment?

Sorry for all the questions but with the exception of the Pumps.xml and Chem.xml curveball it is looking like we are communicating with the gear.
Title: Re: Autelis Control?
Post by: Sammy2 on August 23, 2016, 11:28:39 pm
Pretty much what I expected with the exception of the 404 on the pumps and chemistry which is why we see connection error on the panel.  I'll have to put a 404 check in for the pumps and chem. 

You can rename the devices that are created by the plugin so they better reflect the names.

Have you been able to control anything from your pool?   Did you put the information into the ISY/Vera configuration in Autelis?

I can control from Autelis as I have disconnected the One-Touch Controller to connect the Autelis. I'll connect that back up on Saturday when I have the time to do it.

I had these settings in there already.

Title: Re: Autelis Control?
Post by: rstrouse on August 23, 2016, 11:34:22 pm
In the ISY IP you need to put the IP of your Vera and the username/password for accessing it.
Title: Re: Autelis Control?
Post by: Sammy2 on August 23, 2016, 11:34:28 pm
Are you running Revision R?  How about changing one of the devices from the devices screen?  Does it turn on or off the equipment?

Sorry for all the questions but with the exception of the Pumps.xml and Chem.xml curveball it is looking like we are communicating with the gear.

Where to check the Revision?

I don't have variable speed pumps nor chem monitoring so should I get results anyhow?

I am able to control the gear with the autelis web GUI.
Title: Re: Autelis Control?
Post by: Sammy2 on August 23, 2016, 11:42:34 pm
Changing the check boxes in the Config Screen in your app did not do anything for the pool.

I put in the ip address of the Vera in the ISY/Vera screen but when I put in the user name and password and hit Save Changes, that vanished and the Check box for Vera became unchecked and the ISY checkbox checked.

Title: Re: Autelis Control?
Post by: Sammy2 on August 23, 2016, 11:43:20 pm
So that's it for tonight.. I'll check it some more tomorrow if you have more things for me to test.
Title: Re: Autelis Control?
Post by: mda on August 23, 2016, 11:55:50 pm
@mda,

Here is the plugin with the api reference fixed.  We will need to do this incrementally since I don't have UI5.  Hopefully this will bring up the configuration page so you can put your ip and credentials in for Autelis.

Still no dice... The configure tab hangs on the thermometer with "Opening atjConfig_showConfigureTab...". Screen shot with jscript console attached.

From my log at luup restart:

Code: [Select]
50 08/23/16 20:46:20.278 luup_log:118: Initializing Autelis Plugin for Jandy (Lua Version:Lua 5.1 UI Version: 5.622 1) <0x2bd29680>
50 08/23/16 20:46:20.312 luup_log:118: Could not set up interface <0x2bd29680>
Title: Re: Autelis Control?
Post by: rstrouse on August 24, 2016, 01:07:32 am
We are getting closer.  It appears this is now down to the JQuery version installed on UI5.  It is obviously less than 1.6 so the prop method will not work.
Title: Re: Autelis Control?
Post by: Sammy2 on August 24, 2016, 07:41:45 am
So I put in values for the polling interval and hit Save. The values disappear. Maybe I'm not getting polling?

Should I post a log? Where to find it?
Title: Re: Autelis Control?
Post by: Sammy2 on August 24, 2016, 11:45:59 am
Okay...

I logged into my Vera via the relay from work here today and it shows it is connected but then I get errors. Is the plugin not able to connect to the Autelis over the internet?

Title: Re: Autelis Control?
Post by: Sammy2 on August 24, 2016, 12:31:15 pm
Changing the check boxes in the Config Screen in your app did not do anything for the pool.

I put in the ip address of the Vera in the ISY/Vera screen but when I put in the user name and password and hit Save Changes, that vanished and the Check box for Vera became unchecked and the ISY checkbox checked.

I found that the user name and password are supposed to vanish:

Quote
Pool Control Setup
Visit http://poolcontrol/isy.htm or http://your.ip.address/isy.htm and enter your Vera device's IP address, port (3480), user ID, password, and the device number of the Variable Container. Check the box to enable Vera if you want to receive the variable updates and then save changes.
NOTE: After you have saved your settings the user ID and password fields will be blank for security even though your password has been saved.
http://www.autelis.com/wiki/index.php?title=Pool_Control_Universal_Devices_ISY_2-Way_Integration
Title: Re: Autelis Control?
Post by: rstrouse on August 24, 2016, 01:09:25 pm
Okay...

I logged into my Vera via the relay from work here today and it shows it is connected but then I get errors. Is the plugin not able to connect to the Autelis over the internet?


The configuration screens will not work over the relay due to CORS restrictions and Ajax.  All other aspects of the plugin will work fine.
Title: Re: Autelis Control?
Post by: Sammy2 on August 24, 2016, 03:06:39 pm
Okay...

I logged into my Vera via the relay from work here today and it shows it is connected but then I get errors. Is the plugin not able to connect to the Autelis over the internet?


The configuration screens will not work over the relay due to CORS restrictions and Ajax.  All other aspects of the plugin will work fine.

I do not know what CORS or Ajax is but as long as the macros will work from a remote connection to Vera, especially through the mobile apps I'm good with that. Right now, and I realize this is early beta or even alpha, I cannot do any thing with it via the app or on line BTW.
Title: Re: Autelis Control?
Post by: rstrouse on August 24, 2016, 03:30:23 pm
I cannot do any thing with it via the app or on line BTW.
Yes I know.  This is because your panel reports 404 for the chem.xml and pumps.xml.  This I did not expect.  I expected an empty document and Luup simply reports that there is an error.  I will have an update soon that will fix this issue by ignoring the error on startup from pumps and chem and not check for it again.  Once the plugin thinks that there is a connection error it does not try to exacerbate the problem by continuing to beat on Autelis by sending commands to it.

Title: Re: Autelis Control?
Post by: Sammy2 on August 24, 2016, 03:56:16 pm
I cannot do any thing with it via the app or on line BTW.
Yes I know.  This is because your panel reports 404 for the chem.xml and pumps.xml.  This I did not expect.  I expected an empty document and Luup simply reports that there is an error.  I will have an update soon that will fix this issue by ignoring the error on startup from pumps and chem and not check for it again.  Once the plugin thinks that there is a connection error it does not try to exacerbate the problem by continuing to beat on Autelis by sending commands to it.

It does show "Connected" though without errors.

I'm not sure why pumps.xml is showing an error but they are not VSP's, just single speed pumps..
Title: Re: Autelis Control?
Post by: Sammy2 on August 24, 2016, 04:37:12 pm
I am not seeing anything that looks like this. Is it related to the 404 error on the pumps?
Title: Re: Autelis Control?
Post by: rstrouse on August 24, 2016, 05:21:13 pm
When you go in and select you equipment then press Save Changes then the devices will be created on your dashboard.  From there is where you control the equipment.

On the Configuration Page: Tell the plugin about the heaters you have installed on the pool.  If no heater is installed then no option will appear.  After you are done making selections the plugin will create all the heater devices that you have selected.

On the Circuits Page:  Choose all the Circuits you want to control with Vera.  At the top, the standard circuits are reported from the panel.  This is determined by the dip switch settings on AquaLink.  Select a Circuit Type from the dropdown as this will tell the plugin what type of panel it needs to create.  As of now the Dimmer, Floor Cleaner, Water Colors LED, Pool, and Spa circuit types have special meaning all others simply create a generic binary control with on/off.  After you have selected all the circuits you want to control on Vera press the Save Circuit Changes button and the plugin will create the appropriate devices on the control panel.

Since you do not have pumps or chemistry devices you will get no options there and there is nothing to do there.

Give Vera some time to get the devices reflected on your dashboard.  If they do not automatically appear then reload your browser and they will.  From there you should be able to control and the devices.  Control and management of your pool is not done from these configuration pages it is done from the dashboard that is created as a result of your settings.

Now if you are not on your local lan you cannot change these settings.  This is due to the fact that the configuration pages use a method that your browser will not allow due to security reasons without Vera providing a Cross-Origin Resource Sharing functionality (CORS).  Once you have set up your configuration you shouldn't need to go back into these pages with the exception of making tweaks or adding/removing equipment.
Title: Re: Autelis Control?
Post by: Sammy2 on August 24, 2016, 05:46:14 pm
So I need some assistance from Autelis in assigning Aux# to actual circuits and functions.

Is it necessary to not have a 404 error on poolcontrol/pumps.xml to get this working?

How do I check which version of f/w I have on the Jandy? Can it be read or do I need to pull the board to look at the sticker on the back? Can it be flashed to a more current f/w if need be?
Title: Re: Autelis Control?
Post by: rstrouse on August 24, 2016, 06:30:01 pm
Remember I do not own any of this equipment and equipment below revision R should not preclude us from getting this all working.  It might however limit some of the functionality like Macros and the names display.  Although, macros could be created through scenes to turn on equipment for older panels.

As far as the names.xml if it does not contain names that make sense you can simply rename the device created on Vera to something more descriptive.  Me ignoring the 404 errors is critical to making the plugin work completely.  I will put a lua file out tonight that removes the error checking form pumps.xml and chem.xml.
Title: Re: Autelis Control?
Post by: Sammy2 on August 24, 2016, 06:33:37 pm
FWIW, here's screenshots of the Autelis Control Web GUI.

Title: Re: Autelis Control?
Post by: mda on August 24, 2016, 06:52:44 pm
How do I check which version of f/w I have on the Jandy? Can it be read or do I need to pull the board to look at the sticker on the back? Can it be flashed to a more current f/w if need be?

On my system i can find it using the OneTouch keypad or the Keypad emulator on the Autelis. I go to Menu/Help, then to Diagnostics. I am not sure if yours would be the same but its worth a try ;)

Title: Re: Autelis Control?
Post by: rstrouse on August 24, 2016, 07:03:42 pm
On the Pentair Autelis under setup there is a names menu where you can name the circuits.  But this is Pentair and could be completely different.
Title: Re: Autelis Control?
Post by: mda on August 24, 2016, 07:19:04 pm
On the Pentair Autelis under setup there is a names menu where you can name the circuits.  But this is Pentair and could be completely different.

On my Autelis I name the aux circuits using the "Setup" tab (it does not read the names from the Jandy.)
Title: Re: Autelis Control?
Post by: Sammy2 on August 24, 2016, 07:24:33 pm
How do I check which version of f/w I have on the Jandy? Can it be read or do I need to pull the board to look at the sticker on the back? Can it be flashed to a more current f/w if need be?


On my system i can find it using the OneTouch keypad or the Keypad emulator on the Autelis. I go to Menu/Help, then to Diagnostics. I am not sure if yours would be the same but its worth a try ;)


I found it in a slightly different location but it looks like I'm on f/w ver. L  >:(

On the Pentair Autelis under setup there is a names menu where you can name the circuits.  But this is Pentair and could be completely different.

There's a place to do this on the Autelis for Jandy/Zodiac too but knowing which Aux# corresponds to the right device is another thing altogether. I found it though in the keypad pages..
Title: Re: Autelis Control?
Post by: Sammy2 on August 24, 2016, 07:27:26 pm
The Autelis is reading this information only on the Keypad Page and no place else. It'd be nice to have this data flow to the the Vera Plugin but it really isn't that big a deal to enter it by hand. I've got a little bit of work to do tonight.
Title: Re: Autelis Control?
Post by: Sammy2 on August 24, 2016, 09:16:07 pm
I typed in the information found in the keypad on Autelis web GUI into the appropriate spot in the Equipment Section of the same.

These names did not import into the Vera plugin but I chose the ones that were the closest in name. Some flexibility is needed here.

After refreshing the Vera webGUI I got a connnection error from the plugin to the Autelis. The Autelis page seems to be working fine although I have not tested its control of the pool right now as I am doing this via a remote login whilst I sit on my train ride from LA to the Inland Empire..
Title: Re: Autelis Control?
Post by: Sammy2 on August 24, 2016, 09:20:05 pm
Of course as soon as I post that I get a "Connected and Ready" message..

I sitll don't get any control of the pool in the Vera though.
Title: Re: Autelis Control?
Post by: rstrouse on August 24, 2016, 09:21:13 pm
Ok guys so I promised an update and here it is.

@Sammy, this update will not fail the plugin in pumps.xml and/or chem.xml get a 404 and fixes the polling settings.  Do not set a polling setting for Pump or Chemistry as you have neither of these.  Pump is for variable speed or variable flow pumps only.

@mda, I have posed the question regarding which jquery library exists on UI5.  This will answer the question.  If you could install this and reload luup and your browser then try to open the configuration tab with the javascript console window open I would be grateful.  It should say something like "Running jQuery Version 1.x.x" or "jQuery is not running in this browser".  I hope it's not the latter.  If my guess is correct it will be 1.4.x and the screen should load.  I'm hoping it is not the latter.

@everyone interested, If you want to install this unzip the files to a directory then copy them to your Vera from the Apps-->Develop Apps-->Luup Files menu. 

If you have installed any version of this before do not uninstall or delete anything simply copy the files up. 

If you have not installed this before go to the Create Device menu and enter Jandy Pool Control in the device description and D_AutelisJandy.xml in the Upnp Device Filename field.  Make sure there are no spaces before or after and the capitalization is exactly as you see above.  Then press create device.  If the Jandy Pool Control panel does not appear in your devices after a minute or so go to Settings-->Z-Wave Settings-->Advanced Tab and press the Go button next to Reload Engine.  After Vera is done reloading refresh your browser.
Title: Re: Autelis Control?
Post by: rstrouse on August 24, 2016, 09:26:10 pm
Of course as soon as I post that I get a "Connected and Ready" message..

I sitll don't get any control of the pool in the Vera though.

@Sammy, on your devices list do you see any pool related devices there?  For instance if you go into the Circuits configuration and click the Checkbox next to AUX1 then press the Save Circuit Changes button does a status display momentarily?  Then when you go back to the devices list is that AUX1 device on the panel?
Title: Re: Autelis Control?
Post by: Sammy2 on August 24, 2016, 09:38:56 pm
They are there now. They are showing up as light bulbs but there. My laptop died and since this cant be done via relay I am looking at it on my phone via Jump Desktop app so it is a little difficult to see and navigate. I wiil report more later but we're moving forward with this! Thanks again for your time and work on this..
Title: Re: Autelis Control?
Post by: rstrouse on August 24, 2016, 09:52:59 pm
Yeah the pumps.xml and chem.xml failure stopped the kid creation in its tracks.  I didn't know what you meant when you said you couldn't control anything.  I thought that the kids got created but they were rebelling.

When you run Names.xml after changing the names in Autelis what do you get?
Title: Re: Autelis Control?
Post by: mda on August 24, 2016, 10:51:55 pm
@mda, I have posed the question regarding which jquery library exists on UI5.  This will answer the question.  If you could install this and reload luup and your browser then try to open the configuration tab with the javascript console window open I would be grateful.  It should say something like "Running jQuery Version 1.x.x" or "jQuery is not running in this browser".  I hope it's not the latter.  If my guess is correct it will be 1.4.x and the screen should load.  I'm hoping it is not the latter.

Making some progress my friend! Some of thne config panels do display now, but I can't save anything. Here is a screen shot with the jscript console and an arrow showing the error when i clicked the save button.

Also here is some jscript console log with more info including the error expanded:

Code: [Select]
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-25 02:38:00: start parsing lu_status
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-25 02:38:00: Starting parseLu.
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-25 02:38:00: setting icon error: TypeError: Cannot read property 'Service' of undefined
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-25 02:38:00: Polling delay reseted
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-25 02:38:00: 19:38:0:597 end parsing lu_status
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-25 02:38:00: Including script: https://fwdX.mios.com/proxy-ui5.php?token=xxxxxxx6eacb4c0888b186568f95fcf4003415ab&PK_AccessPoint=xxxxxxxx&_location=/port_3480/shared.js
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-25 02:38:00: add keep
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-25 02:38:01: start parsing lu_status
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-25 02:38:01: Starting parseLu.
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-25 02:38:01: setting icon error: TypeError: Cannot read property 'Service' of undefined
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-25 02:38:01: Polling delay reseted
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-25 02:38:01: 19:38:1:826 end parsing lu_status
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-25 02:38:03: start parsing lu_status
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-25 02:38:03: Starting parseLu.
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-25 02:38:03: setting icon error: TypeError: Cannot read property 'Service' of undefined
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-25 02:38:03: Polling delay reseted
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-25 02:38:03: 19:38:3:33 end parsing lu_status
proxy-ui5.php?token=xxxxxxx?&PK_AccessPoint=xxxxxxxx&_location=/por?:1106 Loading UI5 Configuration: showConfigureTab
proxy-ui5.php?token=xxxxxxx?&PK_AccessPoint=xxxxxxxx&_location=/por?:1077 Setting UI5 device Id #118
proxy-ui5.php?token=xxxxxxx?&PK_AccessPoint=xxxxxxxx&_location=/por?:374 Binding [click] Event: #atj_btnSaveChanges Filter: none
proxy-ui5.php?token=xxxxxxx?&PK_AccessPoint=xxxxxxxx&_location=/por?:382 loading config panel
close_icon.png:1 GET https://fwdX.mios.com/remote/1.5.622-en/skins/default/img/icons/close_icon.png 404 (Not Found)
proxy-ui5.php?token=xxxxxxx?&PK_AccessPoint=xxxxxxxx&_location=/por?:314 Object {circuits: Array[0], system: Object}
proxy-ui5.php?token=xxxxxxx?&PK_AccessPoint=xxxxxxxx&_location=/por?:364 Binding [click] Event: #atj_connectionPanel Filter:input.atj_checkbox
proxy-ui5.php?token=xxxxxxx?&PK_AccessPoint=xxxxxxxx&_location=/por?:364 Binding [change] Event: #atj_connectionPanel Filter:.atj_editField
proxy-ui5.php?token=xxxxxxx?&PK_AccessPoint=xxxxxxxx&_location=/por?:364 Binding [click] Event: #atj_connectionPanel Filter:#atj_SimulationMode
2proxy-ui5.php?token=xxxxxxx?&PK_AccessPoint=xxxxxxxx&_location=/por?:267 Uncaught TypeError: jQuery(...).prop is not a function(anonymous function) @ proxy-ui5.php?token=xxxxxxx?&PK_AccessPoint=xxxxxxxx&_location=/por?:267each @ jquery-1.6.js?*1.5.622-1-07054035*:642each @ jquery-1.6.js?*1.5.622-1-07054035*:264(anonymous function) @ proxy-ui5.php?token=xxxxxxx?&PK_AccessPoint=xxxxxxxx&_location=/por?:266each @ jquery-1.6.js?*1.5.622-1-07054035*:642each @ jquery-1.6.js?*1.5.622-1-07054035*:264fromWindow @ proxy-ui5.php?token=xxxxxxx?&PK_AccessPoint=xxxxxxxx&_location=/por?:265saveConfigChanges @ proxy-ui5.php?token=xxxxxxx?&PK_AccessPoint=xxxxxxxx&_location=/por?:499(anonymous function) @ proxy-ui5.php?token=xxxxxxx?&PK_AccessPoint=xxxxxxxx&_location=/por?:983handle @ jquery-1.6.js?*1.5.622-1-07054035*:2537eventHandle @ jquery-1.6.js?*1.5.622-1-07054035*:2162
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-25 02:38:53: start parsing lu_status
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-25 02:38:53: Starting parseLu.
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-25 02:38:53: Polling delay reseted
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-25 02:38:53: 19:38:53:338 end parsing lu_status
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-25 02:38:54: start parsing lu_status
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-25 02:38:54: Starting parseLu.
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-25 02:38:54: Polling delay reseted
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-25 02:38:54: 19:38:54:522 end parsing lu_status
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-25 02:38:57: start parsing lu_status
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-25 02:38:57: Starting parseLu.
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-25 02:38:57: Polling delay reseted
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-25 02:38:57: 19:38:57:717 end parsing lu_status
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-25 02:39:09: Including script: https://fwdX.mios.com/proxy-ui5.php?token=xxxxxxx6eacb4c0888b186568f95fcf4003415ab&PK_AccessPoint=xxxxxxxx&_location=/port_3480/shared.js
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-25 02:39:09: remove keep
proxy-ui5.php?token=xxxxxxx?&PK_AccessPoint=xxxxxxxx&_location=/por?:1106 Loading UI5 Configuration: showConfigureTab
proxy-ui5.php?token=xxxxxxx?&PK_AccessPoint=xxxxxxxx&_location=/por?:1077 Setting UI5 device Id #118
proxy-ui5.php?token=xxxxxxx?&PK_AccessPoint=xxxxxxxx&_location=/por?:374 Binding [click] Event: #atj_btnSaveChanges Filter: none
proxy-ui5.php?token=xxxxxxx?&PK_AccessPoint=xxxxxxxx&_location=/por?:382 loading config panel
proxy-ui5.php?token=xxxxxxx?&PK_AccessPoint=xxxxxxxx&_location=/por?:314 Object {circuits: Array[0], system: Object}
proxy-ui5.php?token=xxxxxxx?&PK_AccessPoint=xxxxxxxx&_location=/por?:364 Binding [click] Event: #atj_connectionPanel Filter:input.atj_checkbox
proxy-ui5.php?token=xxxxxxx?&PK_AccessPoint=xxxxxxxx&_location=/por?:364 Binding [change] Event: #atj_connectionPanel Filter:.atj_editField
proxy-ui5.php?token=xxxxxxx?&PK_AccessPoint=xxxxxxxx&_location=/por?:364 Binding [click] Event: #atj_connectionPanel Filter:#atj_SimulationMode
close_icon.png:1 GET https://fwdX.mios.com/remote/1.5.622-en/skins/default/img/icons/close_icon.png 404 (Not Found)
proxy-ui5.php?token=xxxxxxx?&PK_AccessPoint=xxxxxxxx&_location=/por?:1111 Loading UI5 Configuration: showCircuitsTab
proxy-ui5.php?token=xxxxxxx?&PK_AccessPoint=xxxxxxxx&_location=/por?:1077 Setting UI5 device Id #118
proxy-ui5.php?token=xxxxxxx?&PK_AccessPoint=xxxxxxxx&_location=/por?:374 Binding [click] Event: #atj_btnSaveChanges Filter: none
proxy-ui5.php?token=xxxxxxx?&PK_AccessPoint=xxxxxxxx&_location=/por?:591 loading circuits panel
close_icon.png:1 GET https://fwdX.mios.com/remote/1.5.622-en/skins/default/img/icons/close_icon.png 404 (Not Found)
proxy-ui5.php?token=xxxxxxx?&PK_AccessPoint=xxxxxxxx&_location=/por?:314 Object {circuits: Array[0], system: Object}
proxy-ui5.php?token=xxxxxxx?&PK_AccessPoint=xxxxxxxx&_location=/por?:364 Binding [click] Event: #atj_stdCircuitsPanel Filter:input.atj_checkbox
proxy-ui5.php?token=xxxxxxx?&PK_AccessPoint=xxxxxxxx&_location=/por?:364 Binding [change] Event: #atj_stdCircuitsPanel Filter:.atj_editField
proxy-ui5.php?token=xxxxxxx?&PK_AccessPoint=xxxxxxxx&_location=/por?:364 Binding [click] Event: #atj_auxCircuitsPanel Filter:input.atj_checkbox
proxy-ui5.php?token=xxxxxxx?&PK_AccessPoint=xxxxxxxx&_location=/por?:364 Binding [change] Event: #atj_auxCircuitsPanel Filter:.atj_editField
proxy-ui5.php?token=xxxxxxx?&PK_AccessPoint=xxxxxxxx&_location=/por?:1116 Loading UI5 Configuration: showPumpsTab
proxy-ui5.php?token=xxxxxxx?&PK_AccessPoint=xxxxxxxx&_location=/por?:1077 Setting UI5 device Id #118
proxy-ui5.php?token=xxxxxxx?&PK_AccessPoint=xxxxxxxx&_location=/por?:374 Binding [click] Event: #atj_btnSaveChanges Filter: none
proxy-ui5.php?token=xxxxxxx?&PK_AccessPoint=xxxxxxxx&_location=/por?:719 Loading pumps panel
close_icon.png:1 GET https://fwdX.mios.com/remote/1.5.622-en/skins/default/img/icons/close_icon.png 404 (Not Found)
proxy-ui5.php?token=xxxxxxx?&PK_AccessPoint=xxxxxxxx&_location=/por?:314 []
proxy-ui5.php?token=xxxxxxx?&PK_AccessPoint=xxxxxxxx&_location=/por?:364 Binding [click] Event: #atj_pumpsVSPanel Filter:input.atj_checkbox
proxy-ui5.php?token=xxxxxxx?&PK_AccessPoint=xxxxxxxx&_location=/por?:364 Binding [click] Event: #atj_pumpsVFPanel Filter:input.atj_checkbox
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-25 02:39:15: start parsing lu_status
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-25 02:39:15: Starting parseLu.
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-25 02:39:15: Polling delay reseted
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-25 02:39:15: 19:39:15:163 end parsing lu_status
proxy-ui5.php?token=xxxxxxx?&PK_AccessPoint=xxxxxxxx&_location=/por?:1116 Loading UI5 Configuration: showPumpsTab
proxy-ui5.php?token=xxxxxxx?&PK_AccessPoint=xxxxxxxx&_location=/por?:1077 Setting UI5 device Id #118
proxy-ui5.php?token=xxxxxxx?&PK_AccessPoint=xxxxxxxx&_location=/por?:374 Binding [click] Event: #atj_btnSaveChanges Filter: none
proxy-ui5.php?token=xxxxxxx?&PK_AccessPoint=xxxxxxxx&_location=/por?:719 Loading pumps panel
close_icon.png:1 GET https://fwdX.mios.com/remote/1.5.622-en/skins/default/img/icons/close_icon.png 404 (Not Found)
proxy-ui5.php?token=xxxxxxx?&PK_AccessPoint=xxxxxxxx&_location=/por?:314 []
proxy-ui5.php?token=xxxxxxx?&PK_AccessPoint=xxxxxxxx&_location=/por?:364 Binding [click] Event: #atj_pumpsVSPanel Filter:input.atj_checkbox
proxy-ui5.php?token=xxxxxxx?&PK_AccessPoint=xxxxxxxx&_location=/por?:364 Binding [click] Event: #atj_pumpsVFPanel Filter:input.atj_checkbox
proxy-ui5.php?token=xxxxxxx?&PK_AccessPoint=xxxxxxxx&_location=/por?:1121 Loading UI5 Configuration: showChemistryTab
proxy-ui5.php?token=xxxxxxx?&PK_AccessPoint=xxxxxxxx&_location=/por?:1077 Setting UI5 device Id #118
proxy-ui5.php?token=xxxxxxx?&PK_AccessPoint=xxxxxxxx&_location=/por?:374 Binding [click] Event: #atj_btnSaveChanges Filter: none
close_icon.png:1 GET https://fwdX.mios.com/remote/1.5.622-en/skins/default/img/icons/close_icon.png 404 (Not Found)
proxy-ui5.php?token=xxxxxxx?&PK_AccessPoint=xxxxxxxx&_location=/por?:314 Object {chem1Enabled: "0", chem2Enabled: "0", chlorinatorEnabled: "0", error: 0, hasChem1: 0?}
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-25 02:39:16: start parsing lu_status
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-25 02:39:16: Starting parseLu.
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-25 02:39:16: Polling delay reseted
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-25 02:39:16: 19:39:16:726 end parsing lu_status
proxy-ui5.php?token=xxxxxxx?&PK_AccessPoint=xxxxxxxx&_location=/por?:1126 Loading UI5 Configuration: showMacrosTab
proxy-ui5.php?token=xxxxxxx?&PK_AccessPoint=xxxxxxxx&_location=/por?:1077 Setting UI5 device Id #118
proxy-ui5.php?token=xxxxxxx?&PK_AccessPoint=xxxxxxxx&_location=/por?:374 Binding [click] Event: #atj_btnSaveChanges Filter: none
close_icon.png:1 GET https://fwdX.mios.com/remote/1.5.622-en/skins/default/img/icons/close_icon.png 404 (Not Found)
proxy-ui5.php?token=xxxxxxx?&PK_AccessPoint=xxxxxxxx&_location=/por?:314 Object {chem1Enabled: "0", chem2Enabled: "0", chlorinatorEnabled: "0", error: 0, hasChem1: 0?}
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-25 02:39:17: start parsing lu_status
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-25 02:39:17: Starting parseLu.
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-25 02:39:17: Polling delay reseted
cpanel_data.js?*1.5.622-1-07054035*:13652 2016-08-25 02:39:17: 19:39:17:985 end parsing lu_status
proxy-ui5.php?token=xxxxxxx?&PK_AccessPoint=xxxxxxxx&_location=/por?:1121 Loading UI5 Configuration: showChemistryTab
proxy-ui5.php?token=xxxxxxx?&PK_AccessPoint=xxxxxxxx&_location=/por?:1077 Setting UI5 device Id #118
proxy-ui5.php?token=xxxxxxx?&PK_AccessPoint=xxxxxxxx&_location=/por?:374 Binding [click] Event: #atj_btnSaveChanges Filter: none
close_icon.png:1 GET https://fwdX.mios.com/remote/1.5.622-en/skins/default/img/icons/close_icon.png 404 (Not Found)
proxy-ui5.php?token=xxxxxxx?&PK_AccessPoint=xxxxxxxx&_location=/por?:314 Object {chem1Enabled: "0", chem2Enabled: "0", chlorinatorEnabled: "0", error: 0, hasChem1: 0?}
Title: Re: Autelis Control?
Post by: rstrouse on August 24, 2016, 11:21:29 pm
Awesome, I will have an update for you tomorrow.  That jQuery must be really old since it isn't even reporting the version.  One thing is for sure is that it is less than 1.6 probably 1.3.x.  Anyhow, I will go through and remove references only available in 1.3.x
Title: Re: Autelis Control?
Post by: mda on August 25, 2016, 01:58:02 am
Awesome, I will have an update for you tomorrow.  That jQuery must be really old since it isn't even reporting the version.  One thing is for sure is that it is less than 1.6 probably 1.3.x.  Anyhow, I will go through and remove references only available in 1.3.x

Per RTS on the other thread it seems we are out of luck with jQuery for UI5 :(


Sent from my iPad using Tapatalk
Title: Re: Autelis Control?
Post by: rstrouse on August 25, 2016, 02:01:39 am
I don't think that's accurate as we have been able to get the button event to fire that was attached with jQuery.  Also the screen display was inserted with the jQuery.html() function.
Title: Re: Autelis Control?
Post by: Sammy2 on August 25, 2016, 08:06:28 am
Confirmed working:

Pool Pump
Cleaner
Sheer Descent
Spa turns on
Spa Booster
Pool Light
Spa Light
Fiber Optic
Pool Heat (Not reporting current water temp)
Spa Heat

Not Working:

Spa does not turn off
Pool heat not reporting pool temperature

Maybe not working (been having some issues with this using the Jandy One-Touch):

Color Wheel
Choosing of individual colors from the menu

The android app does not give adequate control options for pool and spa heat nor for color selections.. I haven't checked my wife's iPhone app yet.
Title: Re: Autelis Control?
Post by: Sammy2 on August 25, 2016, 08:16:19 am
Right after doing these tests I got a Connection Error from the Vera to the Autelis and lost all control via Vera. I've seen this drop before so there's something breaking the connection. I can still control the pool via the Autelis Web GUI though.
Title: Re: Autelis Control?
Post by: Sammy2 on August 25, 2016, 09:58:29 am
Here are screen shots of how it looks in the Vera App on my Galaxy S4 (I know but it is still a great phone AND it's paid for!). As you can see, the control of both heaters and the Color Selection is not exposed or available on the app. BTW, the color controls do nothing in the web GUI for the Vera control of the Jandy either so I suspect this is a difference in coding between thr Jandy and the Pentair controllers.

as I can only post 4 pictures the rest are in the next post.
Title: Re: Autelis Control?
Post by: Sammy2 on August 25, 2016, 10:03:49 am
Here are the rest..
Title: Re: Autelis Control?
Post by: Sammy2 on August 25, 2016, 10:47:02 am
BTW, the battery is reporting 39% which is mis-leading. AFAIK, there is no battery in the Autelis as it is powered from the Jandy. Shouldn't this read 100% or not even be exposed? Just a minor tweak I think.. Maybe report the battery status of the back up battery on the Jandy? The Autelis itself reports a Voltage of 7.83V and that equates to a maximum voltage of 20V. Is that correct? The Keypad page of the Autelis Web GUI reports that the Jandy back up battery is "OK" but doesn't give the voltage or percentage.
Title: Re: Autelis Control?
Post by: rstrouse on August 25, 2016, 01:31:54 pm
Sammy,

Thanks for the feedback.

Title: Re: Autelis Control?
Post by: Sammy2 on August 25, 2016, 01:39:54 pm
Sammy,

Thanks for the feedback.

  • Does the state of a device change immediately on the dashboard when a selection is made on the Autelis?
  • Do you actually have a WaterColors LED Light?  I am not talking about the color wheel if the lights are not Jandy Watercolors then you should not set these as such.  The plugin will send commands that correspond to the LED driver on the light.  We will work out how to control a color wheel separately and this might actually be what crashes the plugin connection.
  • For the battery I assumed it was actually a 9v battery but it could be a 7.2 or 7.5 depending on chemistry and it does exist in your Aqualink panel for backup.  Correct me if I am wrong on this and if you know.  Typically when battery drops 1.7v below it's rated voltage the battery is no longer valid for the application.  If I got the battery voltage incorrect to start with that would explain it but the % is based upon the voltage drop for a 9v pack but it is probably 7.2 or 7.5 which will report ~ 8.4v to 9.0v fully charged.
  • For the connection error.  What have you set the polling to for the panel.  This should be set to at least a minute (60).  Most of the values will report immediately if the bi-directional communication is working.
  • For the android control of the heaters I am holding my breath as these worked when the beta was first released from Vera.  But then some genius decided that they would hardcode the device list that appears there until they work out their responsive design issues.  There are some alternatives including using chrome to access Vera from your phone.  Strangely it is actually better.

Thanks for the resonses!

I will hop on a remote session to my PC at home to verify some of these things because I can't do it via relay.

As far as the app goes, I know it is not your fault because of Vera issues but loading a browser rather than an app will have a lower WAF.. I don't have an issue with it but she may. That said, a shortcut from the home page on her phone isn't too big a deal, although accessing it outside the local network might be problematic.
Title: Re: Autelis Control?
Post by: rstrouse on August 25, 2016, 01:41:47 pm
You might be surprised that the web app will work just fine through the relay.
Title: Re: Autelis Control?
Post by: Sammy2 on August 25, 2016, 01:44:14 pm
I just looked and you are correct! That said, the autelis is not not available until I open a port and am hoping to use something other than port 80. For the time being, I'll need to remote in to look at it.

One other thing and this is small potatoes but can the icons be made something other than light bulbs? A motor should somehow look like a motor and not a bulb, etc.
Title: Re: Autelis Control?
Post by: Sammy2 on August 25, 2016, 01:52:46 pm
Sammy,

Thanks for the feedback.

  • Does the state of a device change immediately on the dashboard when a selection is made on the Autelis?
  • Do you actually have a WaterColors LED Light?  I am not talking about the color wheel if the lights are not Jandy Watercolors then you should not set these as such.  The plugin will send commands that correspond to the LED driver on the light.  We will work out how to control a color wheel separately and this might actually be what crashes the plugin connection.
  • For the battery I assumed it was actually a 9v battery but it could be a 7.2 or 7.5 depending on chemistry and it does exist in your Aqualink panel for backup.  Correct me if I am wrong on this and if you know.  Typically when battery drops 1.7v below it's rated voltage the battery is no longer valid for the application.  If I got the battery voltage incorrect to start with that would explain it but the % is based upon the voltage drop for a 9v pack but it is probably 7.2 or 7.5 which will report ~ 8.4v to 9.0v fully charged.
  • For the connection error.  What have you set the polling to for the panel.  This should be set to at least a minute (60).  Most of the values will report immediately if the bi-directional communication is working.
  • For the android control of the heaters I am holding my breath as these worked when the beta was first released from Vera.  But then some genius decided that they would hardcode the device list that appears there until they work out their responsive design issues.  There are some alternatives including using chrome to access Vera from your phone.  Strangely it is actually better.

Title: Re: Autelis Control?
Post by: rstrouse on August 25, 2016, 02:12:02 pm
@Sammy,

Set the pump and chemistry poll settings to 0 you do not want the plugin to look for these as you have no VS or VF pumps and your chemistry is with the wife not with Aqualink.  To show that love you need an AquaPure or ChemLink.

For the battery if the voltage drops below 7v it will not discharge to do you any good.  In fact under load it will probably read voltage well below the required voltage to power the chips on the board.  Capacity is not what is being measured here it is voltage.  If we just took a straight percentage of the voltage when the battery is bad it would read 77% and actually provide you with 0% of backup power.  The algorithm here is based upon the range between 7.3 to 9.0+ range anything >= 9 is 100% anything less than 7.3 is 0% since 7.3v under load will probably result in nothingness on the regulator that powers the boards in the panel.

As for the WaterTemp on the pool, the sensor (thermistor) is most likely in the plumbing.  If the pool is not running the temperature reported will not be accurate or even valid since the reading will be the static water in the pipe that is probably painted black in the hot Cali sun.
Title: Re: Autelis Control?
Post by: rstrouse on August 25, 2016, 02:43:43 pm
@Sammy, as for the spa not turning off this may be due to cooldown for the heater.  In most cases an off command issued to the spa may actually get sent but the panel starts a cooldown phase after the heater shuts off.  This ensures the core of the heater is cooled off by the water flowing through it (Spa On) for a few minutes until the core temp in the heater drops.  Could this be the reason your Spa is not turning off?
Title: Re: Autelis Control?
Post by: Sammy2 on August 25, 2016, 02:55:36 pm
@Sammy,

Set the pump and chemistry poll settings to 0 you do not want the plugin to look for these as you have no VS or VF pumps and your chemistry is with the wife not with Aqualink.  To show that love you need an AquaPure or ChemLink.

For the battery if the voltage drops below 7v it will not discharge to do you any good.  In fact under load it will probably read voltage well below the required voltage to power the chips on the board.  Capacity is not what is being measured here it is voltage.  If we just took a straight percentage of the voltage when the battery is bad it would read 77% and actually provide you with 0% of backup power.  The algorithm here is based upon the range between 7.3 to 9.0+ range anything >= 9 is 100% anything less than 7.3 is 0% since 7.3v under load will probably result in nothingness on the regulator that powers the boards in the panel.

As for the WaterTemp on the pool, the sensor (thermistor) is most likely in the plumbing.  If the pool is not running the temperature reported will not be accurate or even valid since the reading will be the static water in the pipe that is probably painted black in the hot Cali sun.

Understood. going to remote into my PC at home in just a bit to change those polling settings. If I got the AquaLink or PureChem, I would get to fire my pool guy, who doesn't really do much except check the chemical levels (and last year we had a small leak but enough to deplete the salt level to the point that there was no chlorine production and I didn't know about it until the pool was green so he really wasn't keeping track and quite pissed me off) and then charge an extra $70 every 90 days to do a system flush and change out the DE. Not sure if my wife would love me or not if I added the extra task of cleaning the filters to my to do list or not but hey that monthly fee would go away! When we bought the house we added a Salt-Water Chlorinator and that guy put in a Hayward Cell and controller. It would be nice to integrate that here but I am thinking that until that controller fails there's not much point.


The discussion on the battery makes me wonder. My radio thermostats run no 4 AA batteries or 6 volts. They tell me they're at 65% or so. Is this reading based on the same algorithm that you are talking about up here? I know you probably do not know but I sure hope so, otherwise I need to change the batteries now. Funny thing is that these are supposedly powered from the low voltage of the HVAC system and the batteries are the ones that deplete the fastest.

I get that with the water sensor. Initially it'll read some ridiculous number like 110F and then drop down to the typical 80ishF.
Title: Re: Autelis Control?
Post by: Sammy2 on August 25, 2016, 02:57:24 pm
@Sammy, as for the spa not turning off this may be due to cooldown for the heater.  In most cases an off command issued to the spa may actually get sent but the panel starts a cooldown phase after the heater shuts off.  This ensures the core of the heater is cooled off by the water flowing through it (Spa On) for a few minutes until the core temp in the heater drops.  Could this be the reason your Spa is not turning off?

That is exactly what it does when controlled with the Jandy One Touch Keypad so is expected. I didn't have enough time to verify but will soon. I'm pretty sure that the spa will work properly because this delay is built into the Jandy board and not an issue with the Autelis or the Vera or your plugin.
Title: Re: Autelis Control?
Post by: Sammy2 on August 25, 2016, 06:05:38 pm
So I've been tooling around with some scenes to match what the keypad does..

Some things are not working.

For Night Party I have the following set to go on:

Filter Pump
Sheer Decent
Pool Light
Spa Light
Fiber Optic

All report to be working except the fiber optic but I cannot visually verify because I am not at home.

I cannot seem to add in the color wheel at all, anywhere. I think this is still a work in progress in the plugin.

Spa Mode:

Filter Pump
Spa
Spa Heat Auto and 100F

Again not visually verifying but the spa heat will not stick. Only the Filter Pump and Spa show as on. EDIT: on re-test it looks like the heater comes on. I'm thinking the Jandy may have a delay built in to heater controls?

Day Party:

Filter Pump
Sheer Decent

Both report correctly.

I've created scenes to shut these scenes off and am in the process of testing now.
Title: Re: Autelis Control?
Post by: rstrouse on August 25, 2016, 06:26:32 pm
Yeah I have the color wheel circuit type commented out right now since more research is required to get the correct commands to the panel.  Am I reading this correctly that all is working with the exception of the color wheel?
Title: Re: Autelis Control?
Post by: Sammy2 on August 25, 2016, 08:01:42 pm
Yeah I have the color wheel circuit type commented out right now since more research is required to get the correct commands to the panel.  Am I reading this correctly that all is working with the exception of the color wheel?

I have a fiber optic string around the steps to the spa and under the sheer descents. This will turn on but it won't "stick" as it turns off again in a matter of seconds.

I cannot control the color wheel at all.

From what I can tell all else works okay. I need to test my newly created some more as I have not physically observed them working and am only relying on the feedback to the Vera from a relay session here at work.

The thing is that this is working surprisingly well, on UI7 at least, for so early on in testing.

Thank you very much. I think I need to buy you some beer!
Title: Re: Autelis Control?
Post by: rstrouse on August 25, 2016, 11:28:27 pm
Here is a new beta


If you want to install this unzip the files to a directory then copy them to your Vera from the Apps-->Develop Apps-->Luup Files menu.

If you have installed any version of this before do not uninstall or delete anything simply copy the files up. 

If you have not installed this before go to the Create Device menu and enter Jandy Pool Control in the device description and D_AutelisJandy.xml in the Upnp Device Filename field.  Make sure there are no spaces before or after and the capitalization is exactly as you see above.  Then press create device.  If the Jandy Pool Control panel does not appear in your devices after a minute or so go to Settings-->Z-Wave Settings-->Advanced Tab and press the Go button next to Reload Engine.  After Vera is done reloading refresh your browser.
Title: Re: Autelis Control?
Post by: Sammy2 on August 26, 2016, 08:21:46 am
Hello!  I'm really confused over which version of Autelis controller I need for my HA setup.

I currently have an iAquaLink iQ20 which allows me to use my phone to control my pool/spa lights, heat and pump.

I also have an AquaLink RS4 which is a control pad inside my house that lets me control the same things.

I know that if I got an Autelis, I would be able to link it to Vera which would allow me to use the HA Bridge to use my Echo to control the pool and spa.

My confusion is that I have no idea if I need this controller:
http://www.autelis.com/pool-control-for-jandy-zodiac.html

or this one:
http://www.autelis.com/pool-control-for-jandy-zodiac-pda.html

or an entirely different one.

I also don't know where or how this device attaches to my current system.  Will it hardwire to the controller(s) outside, sit independently inside (like a bridge of some sort), or to I have to have it installed next to the control panel inside?

Thanks in advance!

Are you following along on this? After the first post on your thread we didn't hear from you again.
Title: Re: Autelis Control?
Post by: Sammy2 on August 26, 2016, 08:23:56 am
Here is a new beta

  • Hopes that I got all the stuff needed to make UI5 work
  • More instrumentation to find potential issues
  • Some fixes for heater mode settings

If you want to install this unzip the files to a directory then copy them to your Vera from the Apps-->Develop Apps-->Luup Files menu.

If you have installed any version of this before do not uninstall or delete anything simply copy the files up. 

If you have not installed this before go to the Create Device menu and enter Jandy Pool Control in the device description and D_AutelisJandy.xml in the Upnp Device Filename field.  Make sure there are no spaces before or after and the capitalization is exactly as you see above.  Then press create device.  If the Jandy Pool Control panel does not appear in your devices after a minute or so go to Settings-->Z-Wave Settings-->Advanced Tab and press the Go button next to Reload Engine.  After Vera is done reloading refresh your browser.

I'll do this in a bit. BTW, is there anything I can send you to help with the color wheel? Are there logs somewhere to post here?
Title: Re: Autelis Control?
Post by: rstrouse on August 27, 2016, 10:16:38 pm
Alright so I have been doing some testing and worked out more information from the simulation of an Autelis unit squashing bugs as I go.  This is looking pretty solid for control of the following items.


I have added a Shock Cycle to the AquaPure so that you can simply fire it off and it will chlorinate for x number of hours.  This is similar to the Intellichlor superchlorinate cycle that I have set to kick off when the outside temp is high for several days.

If you do not have an Autelis unit and would like to see what the plugin can do for you before you purchase you can install the plugin then select simulation mode.  This will give you an idea of what can be done with it.

@Sammy, when you use Autelis to turn on or off your color wheel what does the interface look like.  Can you select a color or do you only have the option of On until you get the color you want then Off?  I need a View Source from the page in Autelis where you control this.

@mda,  theoretically this should work with UI5.  I just need to know if I got all the javascript figured out since I can't test it.


Title: Re: Autelis Control?
Post by: mda on August 28, 2016, 01:03:28 am
@mda,  theoretically this should work with UI5.  I just need to know if I got all the javascript figured out since I can't test it.

I should be back and able to test it tomorrow...
Title: Re: Autelis Control?
Post by: Kmitchel on August 28, 2016, 12:27:20 pm
Hello!  I'm really confused over which version of Autelis controller I need for my HA setup.

I currently have an iAquaLink iQ20 which allows me to use my phone to control my pool/spa lights, heat and pump.

I also have an AquaLink RS4 which is a control pad inside my house that lets me control the same things.

I know that if I got an Autelis, I would be able to link it to Vera which would allow me to use the HA Bridge to use my Echo to control the pool and spa.

My confusion is that I have no idea if I need this controller:
http://www.autelis.com/pool-control-for-jandy-zodiac.html

or this one:
http://www.autelis.com/pool-control-for-jandy-zodiac-pda.html

or an entirely different one.

I also don't know where or how this device attaches to my current system.  Will it hardwire to the controller(s) outside, sit independently inside (like a bridge of some sort), or to I have to have it installed next to the control panel inside?

Thanks in advance!

Are you following along on this? After the first post on your thread we didn't hear from you again.

I did contact Autelis and they let me know which device to get.  However, I don't have an Ethernet connection close to the current controller, so they told me that they were coming out with a wifi version "soon".  I figured I would just wait for the wifi version so I wouldn't have to get the controller and then drop another $200 running an Ethernet connection.
Title: Re: Autelis Control?
Post by: mda on August 28, 2016, 01:49:39 pm
@mda,  theoretically this should work with UI5.  I just need to know if I got all the javascript figured out since I can't test it.

Getting closer... the config tab is now saving the 'debug to luup log' check box and the user name and password, but is not saving the autelis IP address, and it is not configuring. Also, the Macros tab displays the Chemistry tab.

I have pm'd you my log file and a jscript console. Thanks.
Title: Re: Autelis Control?
Post by: rstrouse on August 28, 2016, 02:56:49 pm
@mda, I disabled the draggable interface when on UI5 which was failing when trying to open the status dialog.  Don't forget to refresh your browser so we don't get J_AutelisJandy.js from the cache.

Alright so I got rid of the luup.ip_set commands and of all things luup.reload commands as these do not exist in UI5
Title: Re: Autelis Control?
Post by: Sammy2 on August 29, 2016, 08:28:01 am
Alright so I have been doing some testing and worked out more information from the simulation of an Autelis unit squashing bugs as I go.  This is looking pretty solid for control of the following items.

  • Heaters
  • Solar
  • Standard Panel Circuits
  • Aux Circuits
  • AquaPure

I have added a Shock Cycle to the AquaPure so that you can simply fire it off and it will chlorinate for x number of hours.  This is similar to the Intellichlor superchlorinate cycle that I have set to kick off when the outside temp is high for several days.

If you do not have an Autelis unit and would like to see what the plugin can do for you before you purchase you can install the plugin then select simulation mode.  This will give you an idea of what can be done with it.

@Sammy, when you use Autelis to turn on or off your color wheel what does the interface look like.  Can you select a color or do you only have the option of On until you get the color you want then Off?  I need a View Source from the page in Autelis where you control this.

@mda,  theoretically this should work with UI5.  I just need to know if I got all the javascript figured out since I can't test it.

Sorry I didn't get back to you sooner. I was out of town this past weekend.

I do not get any control of the Color Wheel with the plug in. I see Water Colors but no Color Wheel. If I set anything on the Water Colors, nothing happens. Color Wheel does show up as an Aux Circuit in the Autelis app and in the Pool Control Device settings though.

Right now, for whatever reason, I cannot load the Configuration screen of pool control to look at the Configuration and grab a screen shot.

Title: Re: Autelis Control?
Post by: rstrouse on August 29, 2016, 10:09:38 am
@Sammy,  Load v.33 from the previous post
Title: Re: Autelis Control?
Post by: Sammy2 on August 29, 2016, 10:41:01 am
@Sammy,  Load v.33 from the previous post

This is what I see still:

Title: Re: Autelis Control?
Post by: Sammy2 on August 29, 2016, 10:44:35 am
Hello!  I'm really confused over which version of Autelis controller I need for my HA setup.

I currently have an iAquaLink iQ20 which allows me to use my phone to control my pool/spa lights, heat and pump.

I also have an AquaLink RS4 which is a control pad inside my house that lets me control the same things.

I know that if I got an Autelis, I would be able to link it to Vera which would allow me to use the HA Bridge to use my Echo to control the pool and spa.

My confusion is that I have no idea if I need this controller:
http://www.autelis.com/pool-control-for-jandy-zodiac.html

or this one:
http://www.autelis.com/pool-control-for-jandy-zodiac-pda.html

or an entirely different one.

I also don't know where or how this device attaches to my current system.  Will it hardwire to the controller(s) outside, sit independently inside (like a bridge of some sort), or to I have to have it installed next to the control panel inside?

Thanks in advance!

Are you following along on this? After the first post on your thread we didn't hear from you again.

I did contact Autelis and they let me know which device to get.  However, I don't have an Ethernet connection close to the current controller, so they told me that they were coming out with a wifi version "soon".  I figured I would just wait for the wifi version so I wouldn't have to get the controller and then drop another $200 running an Ethernet connection.

Rather than wait for something that may or may not ever happen, I got a $20 WiFi to ethernet bridge and am using that with great success right now. It is only an N 150 dual band but it is all I need to do this job as it isn't streaming video or anything but rather just transferring tiny bits of data. If you're still interested, I'd say to not wait on Autelis to do something you can easily do yourself.
Title: Re: Autelis Control?
Post by: rstrouse on August 29, 2016, 10:56:35 am
@Sammy,

Do you still have any lights that have a circuit type of Water Colors LED.  If they are declared like that you will get the Water Colors panel.  Since you do not have any of these lights that panel will do nothing for you.  If you don't then I need to figure out why it is there.
Title: Re: Autelis Control?
Post by: Sammy2 on August 29, 2016, 10:59:04 am
@Sammy,

Do you still have any lights that have a circuit type of Water Colors LED.  If they are declared like that you will get the Water Colors panel.  Since you do not have any of these lights that panel will do nothing for you.  If you don't then I need to figure out why it is there.

I need to remote in because I cannot access the Pool Control Plug in via the relay right now. The other issue I'm having is that my PC at home has decided to become unstable and when I log in it crashes. I've been trying to resolve that but you know, everyone wants a piece of me and I get very little time to tinker like I like..
Title: Re: Autelis Control?
Post by: Sammy2 on August 29, 2016, 11:44:24 am
@Sammy,

Do you still have any lights that have a circuit type of Water Colors LED.  If they are declared like that you will get the Water Colors panel.  Since you do not have any of these lights that panel will do nothing for you.  If you don't then I need to figure out why it is there.

I was able to take a peak right before my remote session was terminated by my PC..

In the pool control configuration page, under AUX#6 it has a choice for Water Color LED (or something similar) but no choice for Color Wheel. As you already know, the Water Color device does nothing for me. I actually have my pool guy checking out why the Water Color has quit working. It has been intermittent for many weeks and now not working at all even with the Jandy RS One Touch controller. I was getting the pool light to come on but even yesterday that quit. The spa light is coming on and is doing the Color Splash as implemented in the One Touch.

As you do not have this equipment, the Color Wheel does two things. It lets you choose just a single color or "Color Splash" which is a continual transition from one color to the next. it is not as sophisticated as newer LED systems. How the logic is set up on the Jandy board I do not know.
Title: Re: Autelis Control?
Post by: rstrouse on August 29, 2016, 12:01:39 pm
@Sammy,  I need to see the page in Autelis where you choose the color or colorspash.  Change the the Circuit Type to Light for now until we figure out the command structure for the colorwheel.  I have removed the Color Wheel selection since I only have info on the old Pentair version and that is absolutely not correct.
Title: Re: Autelis Control?
Post by: Sammy2 on August 29, 2016, 12:15:46 pm
@Sammy,  I need to see the page in Autelis where you choose the color or colorspash.  Change the the Circuit Type to Light for now until we figure out the command structure for the colorwheel.  I have removed the Color Wheel selection since I only have info on the old Pentair version and that is absolutely not correct.

The Autelis has an emulator of the Jandy One touch control pad in my house. To get there from the main menu it is Equipment On/Off > Color Wheel > Select Color which brings up this screen.. In the Equipment Control page you can only toggle it on and off but in the One Touch keypad emulator you can select individual colors and color splash which cycles through the colors. I wonder if Autelis knows the innards of making this work?



Title: Re: Autelis Control?
Post by: rstrouse on August 29, 2016, 12:27:25 pm
Perhaps but just to be sure does this actually work when you select a color from Autelis?
Title: Re: Autelis Control?
Post by: rstrouse on August 29, 2016, 12:29:52 pm
Get me a status.xml after you have selected Color Splash and the light is on.  This will tell me the indexing.
Title: Re: Autelis Control?
Post by: Sammy2 on August 29, 2016, 12:42:59 pm
Perhaps but just to be sure does this actually work when you select a color from Autelis?

I was able to momentarily log in remotely to my computer at home. Damn I wish that Vera would open this up via the relay!

At any rate, I discovered in the Autelis settings I didn't have the correct Aux#'s set corresponding to what they are supposed to do but my computer crashed again when I tried to get into the Vera Web GUI via a remote setting to go into pool control and make the proper changes there.
Title: Re: Autelis Control?
Post by: Sammy2 on August 29, 2016, 12:44:34 pm
Get me a status.xml after you have selected Color Splash and the light is on.  This will tell me the indexing.

Will do
Title: Re: Autelis Control?
Post by: Sammy2 on August 29, 2016, 12:54:30 pm
BTW, I need to be able to label Aux6 as Fiber Optic and Aux7 as Color Wheel..

I will get that status.xml after I get home. I missed the part where I needed to visually verify it is working. Pretty hard to do from here.
Title: Re: Autelis Control?
Post by: Sammy2 on August 29, 2016, 06:08:32 pm
My pool guy checked it out today as part of his normal service. He says that the whole enchilada needs replacing. The color wheel is no long sold and I cannot find replacement parts. The replacement halogen is $500 and change and the LED version is over $600. This is a light bulb people! I think maybe the bulbs are just burned out and I can just replace them but don't know. I suppose I'll dig into it and see what is up with it as I suspect my pool guys would rather just replace it for several hundred dollars rather than pop new bulbs in. I'll do my own investigation. If I find that it is just the bulbs, I'm firing my pool guy!
Title: Re: Autelis Control?
Post by: Sammy2 on August 29, 2016, 06:35:53 pm
I'm just tooling around with it from here and If I click on either Fiber Optic on in the Vera App, both Fiber Optic and Water Colors show active in Vera but only the Fiber Optic circuit becomes active in the Autelis Equipment Section. Clicking on Water Colors has the further issue of showing both it and the Fiber Optic on for a few seconds in Vera then turning off again but not showing at all in the Autelis app.

Controlling it from the Autelis app results in the exact same conditions. Press Fiber Optic and both Fiber Optic and Water Colors become active in Vera. Press Color Wheel and nothing happens in Vera at all.
.
BTW,  did manage to get in and get the Aux# straightened out. According to Autelis this is done by aligning the Aux#'s in order with how they are displayed in the Keypad display in their app. For whatever reason the Autelis doesn't read this information, it must be entered by hand into their app. The corresponding names do not appear in the Vera Plugin though so I don't know if I'm picking the correct ones from the drop down menu on the Circuits Screen.
Title: Re: Autelis Control?
Post by: rstrouse on August 29, 2016, 07:10:58 pm
@Sammy, I wonder if the parts for your color wheel are available from another manufacturer?  I had one of those light-in-a-box thingies (Fiberstars) back in the 80s in another pool.  It would quit working every couple of years but I would pull it apart clean it and replace the halogen bulb (~$20) and it would work again for a while.  I also replaced the fan in it a few times (it was just a computer fan), the transformer, and the wheel motor once with one that I found at an electronics supply house.

Anyhow, once the devices are created by the plugin it will not rename these.  Go into advanced and change the name.  Much more robust and longer than the 8 characters or so that Aqualink will give you.  However, if you are not seeing your name changes in the Circuits listing then please post a Names.xml.  The last one you posted just had Aux1-24.  This might be a limitation of the Rev L firmware as I know that mda's are showing through in Names.xml just fine.

As for the way the Watercolors panel works this is what should be happening but the confirmation WILL fail as the command WaterColors command being sent won't be recognized by the device on the other side.  When the plugin checks for success it will see failure and set it back to what it should be.
Title: Re: Autelis Control?
Post by: Sammy2 on August 29, 2016, 07:12:59 pm
For starters:

names.xml:
Code: [Select]
<response>
<equipment>
<aux1>Cleaner</aux1>
<aux2>Booster Pump</aux2>
<aux3>Sheer Decent</aux3>
<aux4>Spa Light</aux4>
<aux5>Pool Light</aux5>
<aux6>Fiber Optic</aux6>
<aux7>Color Wheel</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/>
<aux17/>
<aux18/>
<aux19/>
<aux20/>
<aux21/>
<aux22/>
<aux23/>
</equipment>
</response>
Title: Re: Autelis Control?
Post by: Sammy2 on August 29, 2016, 07:15:43 pm
I have this big black box behind the spa but I thought it was only for the fiber optic around the spa steps and under the sheer descents. I guess I'm wrong. How does this Color Wheel work for the spa and pool lights? I thought it was an actual wheel inside the light niche that did all this so I'm confused.
Title: Re: Autelis Control?
Post by: rstrouse on August 29, 2016, 07:16:49 pm
@Sammy, Reload lua then open the Circuits tab.  Do these names not appear?
Title: Re: Autelis Control?
Post by: Sammy2 on August 29, 2016, 07:17:59 pm
@Sammy, Reload lua then open the Circuits tab.  Do these names not appear?

Due to restrictions on doing this on the Vera via relay combined with my PC crashing such that I cannot remote in I cannot do this right now. Sorry.
Title: Re: Autelis Control?
Post by: rstrouse on August 29, 2016, 07:44:42 pm
I have this big black box behind the spa but I thought it was only for the fiber optic around the spa steps and under the sheer descents. I guess I'm wrong. How does this Color Wheel work for the spa and pool lights? I thought it was an actual wheel inside the light niche that did all this so I'm confused.

When you get a chance look at the lens on the light in the pool.  Is it just clear or can you see a color behind it?  If you see faint color then these are likely JandyColors.   If it is clear then the wheel is in that black box.  The fiber optics around your steps and such likely have a wheel in that black box.  If the lights are dim you can report the fiber optic cable (trim with a hot knife).

JandyColors (http://cdn.bluehaven.com/downloads/LI1000_brochure.pdf)
Fiberstars (SR Smith) (http://www.poolsupplyworld.com/6004series.htm)
Title: Re: Autelis Control?
Post by: Sammy2 on August 29, 2016, 09:20:10 pm
I have this big black box behind the spa but I thought it was only for the fiber optic around the spa steps and under the sheer descents. I guess I'm wrong. How does this Color Wheel work for the spa and pool lights? I thought it was an actual wheel inside the light niche that did all this so I'm confused.

When you get a chance look at the lens on the light in the pool.  Is it just clear or can you see a color behind it?  If you see faint color then these are likely JandyColors.   If it is clear then the wheel is in that black box.  The fiber optics around your steps and such likely have a wheel in that black box.  If the lights are dim you can report the fiber optic cable (trim with a hot knife).

JandyColors (http://cdn.bluehaven.com/downloads/LI1000_brochure.pdf)
Fiberstars (SR Smith) (http://www.poolsupplyworld.com/6004series.htm)

I'm thinking that is exactly my system wit the Jandy Lights for the pool and spa then the FiberStars for the Fiber Optics. The Fiber Optics are working as is the spa light  it's the pool light fiving me issues. The light is clear when off in that I see no colors behind the lense but will need to look closely at it because I havent before. The pool light was on Friday but not last night when I got home BTW. The more I think about it, I probably made a wrong setting in the Keypad and need to re-check as I don't really think that the light is out. I think the fiber optics need to be cleaned. By report (repair) with a hot knife, what do you mean?

THANKS!
Title: Re: Autelis Control?
Post by: rstrouse on August 29, 2016, 09:30:50 pm
Trim the end of the fiber optic cable near the light source with a hot knife.  Over time the optic fibers become fouled and will dim the light.
Title: Re: Autelis Control?
Post by: Sammy2 on August 29, 2016, 09:40:37 pm
Trim the end of the fiber optic cable near the light source with a hot knife.  Over time the optic fibers become fouled and will dim the light.

So just pull it out of the fitting, cut the end and put it back together? Easy enough!

I'll post some screen shots of settings in a bit.
Title: Re: Autelis Control?
Post by: Sammy2 on August 29, 2016, 09:42:18 pm
Here they are.. Something's not right.

I cannot access the Advanced Tab, BTW. Sometimes I can and sometimes I can't. Some sort of bug or is it me?
Title: Re: Autelis Control?
Post by: rstrouse on August 29, 2016, 10:57:31 pm
Nope that's gotta be me.  Damn I thought I was perfect!
Title: Re: Autelis Control?
Post by: Sammy2 on August 30, 2016, 09:52:46 am
Nope that's gotta be me.  Damn I thought I was perfect!

I have confirmed that my lights are working fine using the Autelis Keypad emulator for the Aqualink RS system with the exception of green in the pool. I must have a burned out green bulb and I do recall having it set to Emerald which is probably why there were not lights. This leads me to believe that I have a Jandy Color System for the pools and a FiberStar system for the fiber optics. I need to physically verify what I have exactly but now I know how to get my fiber optic lights to be brighter at least!

So I suppose another beta is in the works but is there anything else I can do to assist? Is there logging someplace I can grab and post or are you trouble shooting just from my written descriptions and screen shots?

Thanks you again for all your hard work on this. Where's the collection plate?
Title: Re: Autelis Control?
Post by: rstrouse on August 30, 2016, 11:29:19 am
@Sammy, Yes I still need a status.xml when the lights are on and confirmed.
Title: Re: Autelis Control?
Post by: Sammy2 on August 30, 2016, 12:01:49 pm
@Sammy, Yes I still need a status.xml when the lights are on and confirmed.

I turned the lights on with the Autelis controller directly and here's the status.xml:

Code: [Select]
<response>
<system>
<runstate>8</runstate>
<model>6520</model>
<dip>00000000</dip>
<opmode>0</opmode>
<vbat>535</vbat>
<lowbat>0</lowbat>
<version>1.6.9</version>
<time>1472572841</time>
</system>
<equipment>
<pump>1</pump>
<pumplo/>
<spa>0</spa>
<waterfall/>
<cleaner/>
<poolht2/>
<poolht>0</poolht>
<spaht>0</spaht>
<solarht>0</solarht>
<aux1>1</aux1>
<aux2>0</aux2>
<aux3>0</aux3>
<aux4>1</aux4>
<aux5>1</aux5>
<aux6>1</aux6>
<aux7>1</aux7>
<aux8>0</aux8>
<aux9>0</aux9>
<aux10>0</aux10>
<aux11>0</aux11>
<aux12>0</aux12>
<aux13>0</aux13>
<aux14>0</aux14>
<aux15>0</aux15>
<aux16/>
<aux17/>
<aux18/>
<aux19/>
<aux20/>
<aux21/>
<aux22/>
<aux23/>
</equipment>
<temp>
<poolsp>86</poolsp>
<poolsp2>60</poolsp2>
<spasp>97</spasp>
<pooltemp>82</pooltemp>
<spatemp>0</spatemp>
<airtemp>89</airtemp>
<solartemp>0</solartemp>
<tempunits>F</tempunits>
</temp>
</response>
Title: Re: Autelis Control?
Post by: Sammy2 on August 30, 2016, 12:09:08 pm
Aux7 shows up as a device in No Room but it is assigned to be a light in the Pool Plugin.
Title: Re: Autelis Control?
Post by: rstrouse on August 30, 2016, 12:59:29 pm
@Sammy, do you have Aux7 configured as a JandyColor light in Autelis?  I assume its Aux7 that is either the pool or spa light.  If it's one of the other aux's then it should be reporting something like 128+ when it is on not 1.
Title: Re: Autelis Control?
Post by: Sammy2 on August 30, 2016, 01:03:12 pm
@Sammy, do you have Aux7 configured as a JandyColor light in Autelis?  I assume its Aux7 that is either the pool or spa light.  If it's one of the other aux's then it should be reporting something like 128+ when it is on not 1.

Does this answer your question?

It is called "Color Wheel" for lack of a better description in the One Touch Keypad I think. JandyColors does not exist in the pre-determined selections but I am nearly 100% confident it is a JandyColors light and not a color wheel. I will verify tonight for sure.

Title: Re: Autelis Control?
Post by: rstrouse on August 30, 2016, 01:33:09 pm
@Sammy, although I am not 100% certain I am 99.999999999999999999% sure these lights are not configured properly with either your Aqualink or the Autelis.  I have no way of knowing how circuits are identified in either system for Jandy.  For Pentair, these are defined by the circuit settings in the Intellitouch controller (not Autelis).  However, this info may not be available to Autelis and may need to be set in the setup somewhere which may be likely since I don't think Aqualink publishes the circuit names either.  This all depends on what Aqualink shares with its controllers.

If these are JandyColors then the colorwheel will send the wrong commands to the light.  The results would be unpredictable as a colorwheel first indexes the position of the wheel, waits 5 seconds, then moves the motor to the appropriate location by spinning the motor for a set length of time.   JandyColors energizes the light in rapid succession to determine which bulbs need to be energized.  Imagine the confusion at the fixture when it receives commands for a color wheel... "wait - what do you want me to do!"
Title: Re: Autelis Control?
Post by: Sammy2 on August 30, 2016, 01:38:43 pm
@Sammy, although I am not 100% certain I am 99.999999999999999999% sure these lights are not configured properly with either your Aqualink or the Autelis.  I have no way of knowing how circuits are identified in either system for Jandy.  For Pentair, these are defined by the circuit settings in the Intellitouch controller (not Autelis).  However, this info may not be available to Autelis and may need to be set in the setup somewhere which may be likely since I don't think Aqualink publishes the circuit names either.  This all depends on what Aqualink shares with its controllers.

If these are JandyColors then the colorwheel will send the wrong commands to the light.  The results would be unpredictable as a colorwheel first indexes the position of the wheel, waits 5 seconds, then moves the motor to the appropriate location by spinning the motor for a set length of time.   JandyColors energizes the light in rapid succession to determine which bulbs need to be energized.  Imagine the confusion at the fixture when it receives commands for a color wheel... "wait - what do you want me to do!"

That is the label given in the RS Keypad which is emulated by the Autelis controller. It is a name only, I think. The PCB, OTOH, is what would be controlling the lights through the Aux7 connection. The thing is, is that they are working correctly. Last night I had them running on Color Splash which alternates colors AND I had them set to single colors and they held the color except for Emerald (Green, nobody wants to say they have a green pool!)

Nevertheless, I will do more investigation beyond the Keypad and look into the PCB in the panel box.
Title: Re: Autelis Control?
Post by: rstrouse on August 30, 2016, 05:59:09 pm
Hey all,

Here is another beta that has most of the previous items reported fixed:

Title: Re: Autelis Control?
Post by: Sammy2 on August 30, 2016, 06:45:30 pm
Hey all,

Here is another beta that has most of the previous items reported fixed:

  • Aux Names not working.  Found an issue with the request being sent to Autelis the plugin was parsing the error message as xml.
  • Macros not showing up correctly.  The macro list is tied to the names.xml return so the macros being shown were portions of the error message.  NOTE: Macros are only returned from Rev R Aqualink or later.
  • Several devices not showing on control panel properly.  The display on the control panel is determined differently in the static json from the dashboard display.  I adjusted many of them to better display on the control panel.
  • Support for JandyColors lights not available.  I made a JandyColors panel for lights of this type.  For each JandyColors light you have change the setting to "Jandy Colors Halogen" in the Circuits configuration.  This will create a color panel for controlling the color

I installed this via a remote log in session from work. In Autelis it says Color Wheel on when I toggle the Jandy Colors on in the Vera Plug in so they are communicating with one another and that's progress!! Up at the top of Devices in "No Room" in Vera it says there is a Water Color device as well where before it said it was Aux7. The Water Color Device in the "No Room" shows all the colors to select but the Jandy Colors device is a simple binary switch.

Water Colors has the following colors available:

All On
All Off
White
Sky Blue
Cobalt Blue
Caribbean Spring
Emerald
Rose
Magenta
Violet
Slow Splash
Fast Splash
USA!!!
Fat Tuesday
Disco Tech


The Jandy Colors allows picking individual colors as follows but not special light shows like the Jandy Colors has:

Alpine White
Sky Blue
Cobalt Blue
Caribbean Blu
Spring Green
Emerald Green
Emerald Rose
Magenta
Garnet Red
Violet
Color Splash

Also, it still says Beta 0.33 in the Pool Control Plugin. No biggie, pretty sure you just didn't touch that little line of code.

I will verify functionality of this improvement tonight under the cover of darkness.
Title: Re: Autelis Control?
Post by: rstrouse on August 30, 2016, 06:55:44 pm
@Sammy,

Reload Luup and Refresh your browser this should absolutely say .34.  As for the WaterColors panel it should not exist if you do not have any WaterColors LED lights selected in your Aux Circuits.  I'm betting that the circuit change doesn't pick this up automatically and force a reload.

EDIT:  Yep after further investigation it does not enumerate the kids automagically when only the circuit type changes.  Next version will.
Title: Re: Autelis Control?
Post by: Sammy2 on August 30, 2016, 07:24:09 pm
@Sammy,

Reload Luup and Refresh your browser this should absolutely say .34.  As for the WaterColors panel it should not exist if you do not have any WaterColors LED lights selected in your Aux Circuits.  I'm betting that the circuit change doesn't pick this up automatically and force a reload.

Nothing changed but I'm not sure if I properly reloaded Luup.

I just realized that on the RS One Touch, when you turn on a light, either or the pool or the spa, it asks you what color you want. I have it set to Color Splash because that is usually what I want but I can pick anything I want of the colors I listed in my post on the previous page. Also, when turning off the light using the RS One Touch it says, "Light will turn off in 5 seconds. If you want to change the color press select now." If you do nothing, the light turns off. If you press Select, you are presented with that screen to choose the color. If you wait too long it turns off anyhow.. I knew this before but forgot because for the past two years that I've owned this pool I just used the one touch macro to turn on the pump, the sheer decent and the Color Splash and very rarely did any manual controlling of the system.
Title: Re: Autelis Control?
Post by: Sammy2 on August 30, 2016, 07:28:35 pm
My scene called "Pool Night Party" does not turn on the colors. I made sure that both the Jandy Colors and the Water Color devices where included by editing the scene and neither of these reacted to the scene command. I deleted the scene and created a new one and the result was the same.
Title: Re: Autelis Control?
Post by: rstrouse on August 30, 2016, 07:46:38 pm
Sammy, WaterColors should not exist on your Vera.  If it does we don't have your configuration correct and it will not respond correctly.  Do you have any circuits in the pluging defined with a WaterColors LED selection.  If you do this is wrong.
Title: Re: Autelis Control?
Post by: Sammy2 on August 30, 2016, 07:47:27 pm
I copied the files over again and reloaded. It now says 0.34 Beta but the Water Colors still exist. I moved them to the room called "Pool".

I know this is down the list a bit and maybe just an issue with Vera for a binary switch but can the pumps and such have different icons than a light bulb?

Title: Re: Autelis Control?
Post by: rstrouse on August 30, 2016, 07:49:26 pm
Open up your Circuits config and shoot a screenshot of that.
Title: Re: Autelis Control?
Post by: Sammy2 on August 30, 2016, 07:51:48 pm
Sammy, WaterColors should not exist on your Vera.  If it does we don't have your configuration correct and it will not respond correctly.  Do you have any circuits in the pluging defined with a WaterColors LED selection.  If you do this is wrong.

All gone now! Thanks!

Let me fix my scenes now and try again.
Title: Re: Autelis Control?
Post by: Sammy2 on August 30, 2016, 07:54:41 pm
I spoke too soon. When creating the scene I now have devices labeled Jandy Colors and Jandy Colors 1. Is there a Luu file that maybe needs to be removed??
Title: Re: Autelis Control?
Post by: rstrouse on August 30, 2016, 07:58:21 pm
Shoot me a screenshot of your Circuits config.  Let's start there.  Also, do JandyColors and JandyColors-1 look the same (ie the same number of buttons)?
Title: Re: Autelis Control?
Post by: Sammy2 on August 30, 2016, 08:00:01 pm
.. and the Jandy Colors defaulted to "White" but the One Touch says Color Splash.. I'm not home to visually verify what it is doing but will check it out tonight for sure!


Title: Re: Autelis Control?
Post by: Sammy2 on August 30, 2016, 08:04:31 pm
Shoot me a screenshot of your Circuits config.  Let's start there.  Also, do JandyColors and JandyColors-1 look the same (ie the same number of buttons)?

Here you go..
Title: Re: Autelis Control?
Post by: rstrouse on August 30, 2016, 08:12:53 pm
Ok now I'm seeing the disconnect.  Aren't your pool lights and spa lights actually JandyColors lights and the color wheel is affiliated with your Fiber Optics (Fiberstars).  Just guessing but Aux 7 is probably connected to the brown wire in that black box.  When it is on Fiberstars rotates its color wheel.

If this is so, I believe you should have both pool and spa light set to Jandy Colors Halogen and Generic for the Color wheel.  If you can select the colors on the color wheel this is totally different.
Title: Re: Autelis Control?
Post by: Sammy2 on August 30, 2016, 08:16:04 pm
I did notice that these colors look to more closely correspond to what the One Touch has than it did before but not quite..
Title: Re: Autelis Control?
Post by: Sammy2 on August 30, 2016, 08:18:54 pm
Ok now I'm seeing the disconnect.  Aren't your pool lights and spa lights actually JandyColors lights and the color wheel is affiliated with your Fiber Optics (Fiberstars).  Just guessing but Aux 7 is probably connected to the brown wire in that black box.  When it is on Fiberstars rotates its color wheel.

If this is so, I believe you should have both pool and spa light set to Jandy Colors Halogen and Generic for the Color wheel.  If you can select the colors on the color wheel this is totally different.

I will need to verify this when I get home tonight. I know I owe you some beer!
Title: Re: Autelis Control?
Post by: rstrouse on August 30, 2016, 08:20:35 pm
@Sammy, Yes this is no mistake as I looked at what the JandyColors indexes were and programmed them into this panel.  However, the way you have this configured it is sending the color command to aux7 not to aux4 and/or 5 where your pool and spa lights are connected.
Title: Re: Autelis Control?
Post by: Sammy2 on August 30, 2016, 08:51:47 pm
@Sammy, Yes this is no mistake as I looked at what the JandyColors indexes were and programmed them into this panel.  However, the way you have this configured it is sending the color command to aux7 not to aux4 and/or 5 where your pool and spa lights are connected.

I will do it again tonight or tomorrow morning, setting the Jandy Colors to the pool light circuits but am wondering now to what Aux7 should be set.
Title: Re: Autelis Control?
Post by: Sammy2 on August 30, 2016, 11:52:33 pm
@Sammy, Yes this is no mistake as I looked at what the JandyColors indexes were and programmed them into this panel.  However, the way you have this configured it is sending the color command to aux7 not to aux4 and/or 5 where your pool and spa lights are connected.

Changing it to Aux4 and Aux5 did the trick. The start up of the fiber optic in my Pool Night Party Scene might need a delay as in my limited testing it failed a couple of times. Either that or it is a safety thing to keep the bulb from over-heating.

I either/still have some burned out bulbs or the Jandy Colors is not lighting up some of the colors. That is an issue for another day but I will be re-lamping it with LED equivalent bulbs no doubt.
Title: Re: Autelis Control?
Post by: Sammy2 on August 31, 2016, 12:28:50 am
Notes:

Turning on lights directly as a device has no effect. I suspect that these too need to be scenes to turn on the light and the Jandy Colors.

The Fiber Optic is temperamental. Sometimes it comes on; sometimes it doesn't; sometimes it comes on after a minute or three. Turning it on manually when it doesn't start with night party scene makes it so that it doesn't turn off automatically with the Night Party's over scene. I haven't tested this for repeat-ability because it is getting late so it may merely be a coincidence or it may be an issue.

Spa Mode worked after a few browser reboots as did Pool Day Party (Just pump and sheer decent on).

Transition from Pool Day Party directly into Pool Night Party worked without a hitch without doing the Pool Day Party's Over scene first.

Tested commands from Galaxy S4 with the Vera App worked well.

Nice work! For this I owe you. As I don't have VSPumps or Chemical Systems connected to this system (yet) it will be up to someone else to help test those.. Maybe mda? Where'd he go anyhow?

BTW, where is a good source to learn how to script these things? I wrote Fortran and Basic back in the day but as I haven't needed to do it for my employment I have not kept up to date on the latest languages.
Title: Re: Autelis Control?
Post by: Sammy2 on August 31, 2016, 12:32:08 am
@mda,  theoretically this should work with UI5.  I just need to know if I got all the javascript figured out since I can't test it.

I should be back and able to test it tomorrow...

How's that testing coming along?
Title: Re: Autelis Control?
Post by: rstrouse on August 31, 2016, 12:36:11 am
@Sammy, Yes this is no mistake as I looked at what the JandyColors indexes were and programmed them into this panel.  However, the way you have this configured it is sending the color command to aux7 not to aux4 and/or 5 where your pool and spa lights are connected.

Changing it to Aux4 and Aux5 did the trick. The start up of the fiber optic in my Pool Night Party Scene might need a delay as in my limited testing it failed a couple of times. Either that or it is a safety thing to keep the bulb from over-heating.

I either/still have some burned out bulbs or the Jandy Colors is not lighting up some of the colors. That is an issue for another day but I will be re-lamping it with LED equivalent bulbs no doubt.

Yeah, get rid of these halogens.  Sadly they get hot and in the water this temperature change causes the inside of the lens to sweat.  Where there's moisture there's corrosion and internal damage.  Probably not a class bulb burning out as much as moisture getting to it through the conduit and potting compound.  I don't think Jandy taking these off the shelves was a mistake.

As for the fiber optic.  Yes you cannot change that thing in rapid succession.  When you turn it off it goes into a cool down mode (at least mine did).  Turning it on again did nothing until the fan dropped the temp on the bulb.
Title: Re: Autelis Control?
Post by: rstrouse on August 31, 2016, 12:59:20 am
Notes:

Turning on lights directly as a device has not effect. I suspect that these too need to be scenes to turn on the light and the Jandy Colors.
I'm guessing that I am missing a bit now that we have it talking.  It should be sending 129 and it is sending 2 -- Bit9.  Do all the other devices work when you use them?

The Fiber Optic is temperamental. Sometimes it comes on; sometimes it doesn't; sometimes it comes on after a minute or three. Turning it on manually when it doesn't start with night party scene makes it so that it doesn't turn off automatically with the Night Party's over scene. I haven't tested this for repeat-ability because it is getting late so it may merely be a coincidence or it may be an issue.
Yeah those lightboxes are pretty primitive.  They have protections in them so you don't crack that high wattage halogen.  This is a lot like a projector and you can't run them if you have F15s shooting heat seekers over your head.

Spa Mode worked after a few browser reboots as did Pool Day Party (Just pump and sheer decent on).

Transition from Pool Day Party directly into Pool Night Party worked without a hitch without doing the Pool Day Party's Over scene first.
Are these the scenes you created?

Tested commands from Galaxy S4 with the Vera App worked well.

Nice work! For this I owe you. As I don't have VSPumps or Chemical Systems connected to this system (yet) it will be up to someone else to help test those.. Maybe mda? Where'd he go anyhow?
Yeah I have a pretty sophisticated pool (All Pentair) and I really wanted to take it to the next level so I wrote the Pentair plugin.  All you Jandyites kept asking so I just had to.  As for mda he and I have been PMing as we work through the UI5 challenges.

BTW, where is a good source to learn how to script these things? I wrote Fortran and Basic back in the day but as I haven't needed to do it for my employment I have not kept up to date on the latest languages.
Lua Uggh!  I program in probably 30 odd dialects.  Some of them a bit chewier than others including a Fortan and Basic.  My real background is in the 3rd letter languages (C, C++, C#) but Lua gives me a bit of heartburn.  Exception handling and arrays are just different and debugging is well, just ok.  The biggest challenges I see from peeps on here are simply misunderstanding the luup library and variable scope.  Probably 1000 posts for people using a upnp device id as a service id or trying to call a function out of scope.  After we get all the devices tested I'll fill everyone in on the underlying lua api for the plugin.  Yes the service calls are all accessible.
Title: Re: Autelis Control?
Post by: mda on August 31, 2016, 02:10:47 am
Maybe mda? Where'd he go anyhow?

Yep, still here... We just wanted to spare everyone the rounds of UI5 testing so we took it to PM... We are still working through it.
Title: Re: Autelis Control?
Post by: Sammy2 on August 31, 2016, 10:40:21 am
Notes:

Turning on lights directly as a device has not effect. I suspect that these too need to be scenes to turn on the light and the Jandy Colors.
I'm guessing that I am missing a bit now that we have it talking.  It should be sending 129 and it is sending 2 -- Bit9.  Do all the other devices work when you use them?
They seem to work directly. I'll have to further test each one independently to confirm.

The Fiber Optic is temperamental. Sometimes it comes on; sometimes it doesn't; sometimes it comes on after a minute or three. Turning it on manually when it doesn't start with night party scene makes it so that it doesn't turn off automatically with the Night Party's over scene. I haven't tested this for repeat-ability because it is getting late so it may merely be a coincidence or it may be an issue.
Yeah those lightboxes are pretty primitive.  They have protections in them so you don't crack that high wattage halogen.  This is a lot like a projector and you can't run them if you have F15s shooting heat seekers over your head.
I wonder if the high wattage bulb in these can be replaced with a suitable LED Bulb too? Anyone know? I suppose when I'm in there I'll see what the bulb is and see if there's an LED replacement available.

Spa Mode worked after a few browser reboots as did Pool Day Party (Just pump and sheer decent on).

Transition from Pool Day Party directly into Pool Night Party worked without a hitch without doing the Pool Day Party's Over scene first.

Tested commands from Galaxy S4 with the Vera App worked well.

Are these the scenes you created?

Yes. I created the following scenes that act basically the same as the "One Touch" macros on the RS One Touch Keypad:

Spa On
Spa Off

Pool Day Party
Pool Day Party's Over

Pool Night Party
Pool Night Party's Over

On the One Touch, you merely press the button again to reverse the macro. On the Vera Plus, I needed a separate Scene to reverse the previous scene.

With the Vera Plus I was also able to add in additional Z-Wave commands to turn on the patio lights and fan lights too. :)

Nice work! For this I owe you. As I don't have VSPumps or Chemical Systems connected to this system (yet) it will be up to someone else to help test those.. Maybe mda? Where'd he go anyhow?
Yeah I have a pretty sophisticated pool (All Pentair) and I really wanted to take it to the next level so I wrote the Pentair plugin.  All you Jandyites kept asking so I just had to.  As for mda he and I have been PMing as we work through the UI5 challenges.

I didn't necessarily choose Jandy. I got it with the pool with the house. IDK but I think they're all pretty similar, aren't they?

BTW, where is a good source to learn how to script these things? I wrote Fortran and Basic back in the day but as I haven't needed to do it for my employment I have not kept up to date on the latest languages.
Lua Uggh!  I program in probably 30 odd dialects.  Some of them a bit chewier than others including a Fortan and Basic.  My real background is in the 3rd letter languages (C, C++, C#) but Lua gives me a bit of heartburn.  Exception handling and arrays are just different and debugging is well, just ok.  The biggest challenges I see from peeps on here are simply misunderstanding the luup library and variable scope.  Probably 1000 posts for people using a upnp device id as a service id or trying to call a function out of scope.  After we get all the devices tested I'll fill everyone in on the underlying lua api for the plugin.  Yes the service calls are all accessible.

Wow! That's impressive. I haven't written code since college days and that was back in the late 80's and early 90's.

Is there a guide or even a list of commands and what they do in Lua someplace? I understand coding but don't even know where to look for how the Lua language functions.
Title: Re: Autelis Control?
Post by: rstrouse on August 31, 2016, 04:24:28 pm
Alright here is the .35 Beta.  It should send the appropriate commands for color lights now.

@Sammy, I got a response back from Autelis that stated color lights are only supported on rev R and above.  However, it looks like you are getting your lights to be controlled from Autelis on rev L.  Perhaps they meant watercolors and not jandycolors.

@mda, Lets hope we get the lua failure message to disappear.
Title: Re: Autelis Control?
Post by: Sammy2 on August 31, 2016, 04:29:24 pm
Alright here is the .35 Beta.  It should send the appropriate commands for color lights now.

@Sammy, I got a response back from Autelis that stated color lights are only supported on rev R and above.  However, it looks like you are getting your lights to be controlled from Autelis on rev L.  Perhaps they meant watercolors and not jandycolors.

@mda, Lets hope we get the lua failure message to disappear.

As I cannot physically observe the results of this beta, I'll install it on my train ride home tonight and then verify after I get home. I will post back the results.

Glad I have them working on Revision L!! Water Colors is what replaced JandyColors, right? Maybe Revision L doesn't support Water Colors on the Jandy PCB and it isn't an Autelis issue at all.
Title: Re: Autelis Control?
Post by: Sammy2 on September 01, 2016, 07:54:25 am
Alright here is the .35 Beta.  It should send the appropriate commands for color lights now.

@Sammy, I got a response back from Autelis that stated color lights are only supported on rev R and above.  However, it looks like you are getting your lights to be controlled from Autelis on rev L.  Perhaps they meant watercolors and not jandycolors.

@mda, Lets hope we get the lua failure message to disappear.

I am sad to report that this beta has a little regression in that control of the pool light and the spa light is no longer functional in the Vera. I still can control them in the Autelis interface though and it appears all other pool controls work, including the fiber optics.
Title: Re: Autelis Control?
Post by: rstrouse on September 01, 2016, 12:57:43 pm
@Sammy,
Notes:

Turning on lights directly as a device has no effect. I suspect that these too need to be scenes to turn on the light and the Jandy Colors.

I guess I mis-understood what was going on by you saying that the lights didn't work directly.  What does that mean.  I assumed that when you clicked on the button for Pool Light for instance it did nothing?  Is that correct or did it actually turn on the pool light to the last selected color in v.34 Beta?  I have some confusion as to what the color index value needs to be to turn on the light to for instance to sky blue. This index can be either 2 or 130 depending on how the commands are supposed to be.

Can you try a test for me from a browser with all the lights in the pool off:
In a browser window enter the following address using the ip address for your Autelis unit:
http://<ip of Autelis>/set.cgi?name=aux5&value=130

Wait a bit to see if the Pool Light turns on to Sky Blue

If this works then let me know if it doesn't issue the following command with all the lights in the pool off:
http://<ip of Autelis>/set.cgi?name=aux5&value=2

If this works then I have my answer in that the incoming and the outgoing are different.

If it doesn't work then issue this command to Autelis from the browser
http://<ip of Autelis>/set.cgi?name=aux5&value=1

And let me know if this worked.



Title: Re: Autelis Control?
Post by: Sammy2 on September 01, 2016, 01:48:06 pm
@Sammy,
Notes:

Turning on lights directly as a device has no effect. I suspect that these too need to be scenes to turn on the light and the Jandy Colors.

I guess I mis-understood what was going on by you saying that the lights didn't work directly.  What does that mean.  I assumed that when you clicked on the button for Pool Light for instance it did nothing?  Is that correct or did it actually turn on the pool light to the last selected color in v.34 Beta?  I have some confusion as to what the color index value needs to be to turn on the light to for instance to sky blue. This index can be either 2 or 130 depending on how the commands are supposed to be.

Clicking the light, either in the app or on the WebGUI for the vera did nothing. The light would neither go on if off or go off if on.

Can you try a test for me from a browser with all the lights in the pool off:
In a browser window enter the following address using the ip address for your Autelis unit:
http://<ip of Autelis>/set.cgi?name=aux5&value=130
Wait a bit to see if the Pool Light turns on to Sky Blue

If this works then let me know if it doesn't issue the following command with all the lights in the pool off:
http://<ip of Autelis>/set.cgi?name=aux5&value=2

If this works then I have my answer in that the incoming and the outgoing are different.

If it doesn't work then issue this command to Autelis from the browser
http://<ip of Autelis>/set.cgi?name=aux5&value=1

And let me know if this worked.

I cannot do this now because I will not be able to verify if the light is on or off while doing it. But I am going to give it a dry run right now to see what it returns.
Title: Re: Autelis Control?
Post by: Sammy2 on September 01, 2016, 01:59:03 pm
@Sammy,
Notes:

Turning on lights directly as a device has no effect. I suspect that these too need to be scenes to turn on the light and the Jandy Colors.

I cannot physically verify what is happening but here's the feedback I get when issuing those commands.

I guess I mis-understood what was going on by you saying that the lights didn't work directly.  What does that mean.  I assumed that when you clicked on the button for Pool Light for instance it did nothing?  Is that correct or did it actually turn on the pool light to the last selected color in v.34 Beta?  I have some confusion as to what the color index value needs to be to turn on the light to for instance to sky blue. This index can be either 2 or 130 depending on how the commands are supposed to be.

Can you try a test for me from a browser with all the lights in the pool off:
In a browser window enter the following address using the ip address for your Autelis unit:
http://<ip of Autelis>/set.cgi?name=aux5&value=130

Wait a bit to see if the Pool Light turns on to Sky Blue

If this works then let me know if it doesn't issue the following command with all the lights in the pool off:
http://<ip of Autelis>/set.cgi?name=aux5&value=2

If this works then I have my answer in that the incoming and the outgoing are different.

If it doesn't work then issue this command to Autelis from the browser
http://<ip of Autelis>/set.cgi?name=aux5&value=1

And let me know if this worked.

set.cgi?name=aux5&value=2 yields "1"

set.cgi?name=aux5&value=130 yields "500 Internal Server Error: Expected data not present"

set.cgi?name=aux5&value=1 yields "1"
Title: Re: Autelis Control?
Post by: rstrouse on September 01, 2016, 02:36:12 pm
Thanks this was very helpful.  I deliberately created a bug here based upon my wild incorrect assumptions.

set.cgi?name=aux5&value=2 yields "1"
I'll bet the pool lights turned on to sky blue when this happened.  This is what it used to send until I mis-understood.  The response to the variable settings from Autelis is then 130.  The 1 means that it succeeded in processing the command.

set.cgi?name=aux5&value=130 yields "500 Internal Server Error: Expected data not present"
This is what I change it to and it is now wrong.

set.cgi?name=aux5&value=1 yields "1"
This probably turned on the light to alpine white since alpine white is index color 1.

I'll make a change to set this to the appropriate values and troubleshoot why the aux device panel is not responding appropriately for color lights.  When I get the next update posted today, take another look at the Macros configuration you will see a surprise in there.
Title: Re: Autelis Control?
Post by: Sammy2 on September 01, 2016, 02:39:45 pm
Thanks this was very helpful.  I deliberately created a bug here based upon my wild incorrect assumptions.

set.cgi?name=aux5&value=2 yields "1"
I'll bet the pool lights turned on to sky blue when this happened.  This is what it used to send until I mis-understood.  The response to the variable settings from Autelis is then 130.  The 1 means that it succeeded in processing the command.

set.cgi?name=aux5&value=130 yields "500 Internal Server Error: Expected data not present"
This is what I change it to and it is now wrong.

set.cgi?name=aux5&value=1 yields "1"
This probably turned on the light to alpine white since alpine white is index color 1.

I'll make a change to set this to the appropriate values and troubleshoot why the aux device panel is not responding appropriately for color lights.  When I get the next update posted today, take another look at the Macros configuration you will see a surprise in there.

Can I get the values for each color so I can test the colors individually with the Autelis App too to verify that the set numbers concur with the colors you are expecting them to be? Also, is there a set value for "Color Slash" as it is called? I'll toy around with this some tonight or probably tomorrow morning.

TIA
Title: Re: Autelis Control?
Post by: Sammy2 on September 01, 2016, 02:44:54 pm
BTW, none of these commands resulted in the Autelis Equipment page saying the lights are one. The problem being that I cannot visually verify what is happening from work, only send commands.
Title: Re: Autelis Control?
Post by: Sammy2 on September 01, 2016, 03:04:49 pm
I saw you have something with Macros in this build and that got me to thinking that I never told you what my scenes in Vera actually do so here it is..

Spa On
Turns on Filter Pump and Spa

Day Party
Turns on Filter Pump and Sheer Descent

Night Party
Turns on Filter Pump, Sheer Descent, Pool Light, Spa Light, Back Patio Bistro Lights and Back Patio Ceiling Fan/Light Combo.

Having Macros to replicate these that can be made into a Device in the Vera would be cool because I can save Favorites to the first page to avoid having to load scenes then the scene.. saves a step or two.

I still have some implementation with Insteon to do for the back patio for better control of the three fan/light combos but that means a Vera to Insteon "modem" and one each of a dimmer and fan control module for each of three fans. That's a bit spendy so it will have to wait!
Title: Re: Autelis Control?
Post by: rstrouse on September 01, 2016, 03:26:16 pm
@Sammy,

Here are the colors:
Code: [Select]
Alpine White= 1, Return= 129
Sky Blue = 2, Return = 130
Cobalt Blue = 3, Return = 131
Caribbean Blue = 4, Return = 132
Spring Green = 5, Return = 133
Emerald Green = 6, Return = 134
Emerald Rose = 7, Return = 135
Magenta = 8, Return = 136
Garnet Red" = 9,  Return = 137
Color Splash = 10, Return = 140

Trying these out would be very helpful.  Perhaps I am missing the point in that the command doesn't actually turn on or off the light.  Perhaps it simply performs a color change only if it is on already... no .. huh, huh, huh, maybe? <-- In my best French accent.
Title: Re: Autelis Control?
Post by: Sammy2 on September 01, 2016, 03:34:57 pm
@Sammy,

Here are the colors:
Code: [Select]
Alpine White= 1, Return= 129
Sky Blue = 2, Return = 130
Cobalt Blue = 3, Return = 131
Caribbean Blue = 4, Return = 132
Spring Green = 5, Return = 133
Emerald Green = 6, Return = 134
Emerald Rose = 7, Return = 135
Magenta = 8, Return = 136
Garnet Red" = 9,  Return = 137
Color Splash = 10, Return = 140

Trying these out would be very helpful.  Perhaps I am missing the point in that the command doesn't actually turn on or off the light.  Perhaps it simply performs a color change only if it is on already... no .. huh, huh, huh, maybe? <-- In my best French accent.

Those make sense as they align with the order the colors are presented in the Keypad. I'm not sure what the Return command if for.. Does that turn it off?

The Scene I have for the Night Party has both the Pool Light and Jandy Colors devices in it. I set the light to "on" and I set the Jandy Colors to "Color Splash" in that scene. It does the same thing for the spa light.

If I merely press the "light" button in the Vera App or in the Vera WebGUI nothing happens. It seems that both commands need to be sent to control the light. I was going to create a scene to turn on the light and send a Jandy Colors Color selection and see what that yielded but ran into this little piece of regression, which is expected during fine tuning of any plugin, so I haven't done that yet.

We'll get this hammered out! I really appreciate your perseverance in this endeavor!!!
Title: Re: Autelis Control?
Post by: Sammy2 on September 01, 2016, 03:47:12 pm
I also found this (http://www.autelis.com/wiki/index.php?title=Pool_Control_HTTP_Command_Reference#Control_Commands) and by using the "inspect" command on the webpage for equipment in Chrome I can see there the values too but the color values aren't exposed, just basic on and off values.
Title: Re: Autelis Control?
Post by: Sammy2 on September 01, 2016, 03:58:03 pm
I found that by executing <poolcontrolip>set.cgi?name=aux5&value=4 the light does not turn on. I guess only the color changes but am not sure, this may be what Autelis was saying couldn't be controlled with their controller?

<poolcontrolip>/status.xml yeilds <aux5>0</aux5> and <aux7>0</aux7> (parsed of course) which means the light is off based on the wiki for the HTTP Command Reference page. Aux5 is the pool light and Aux7 is the Jandy Colors..
Title: Re: Autelis Control?
Post by: rstrouse on September 01, 2016, 04:02:44 pm
I was going to create a scene to turn on the light and send a Jandy Colors Color selection and see what that yielded but ran into this little piece of regression, which is expected during fine tuning of any plugin, so I haven't done that yet.

We'll get this hammered out! I really appreciate your perseverance in this endeavor!!!

Sammy please don't work around the bugs.  The expected behavior when you toggle on the circuit is that the light should come on to color specified on the Jandy Colors panel.  If you toggle it off it should then turn off.  If you select a color from the JandyColors panel it should change the color for all lights that are currently on.  If there are no lights on and you change a color it should turn on all the JandyColor lights on to that color.  The All On/Off is self explanatory.

Yep I am familiar with the wiki.

Try turning on the light from Autelis to Color Splash then get the status info again.
Title: Re: Autelis Control?
Post by: Sammy2 on September 01, 2016, 04:13:50 pm
I was going to create a scene to turn on the light and send a Jandy Colors Color selection and see what that yielded but ran into this little piece of regression, which is expected during fine tuning of any plugin, so I haven't done that yet.

We'll get this hammered out! I really appreciate your perseverance in this endeavor!!!

Sammy please don't work around the bugs.  The expected behavior when you toggle on the circuit is that the light should come on to color specified on the Jandy Colors panel.  If you toggle it off it should then turn off.  If you select a color from the JandyColors panel it should change the color for all lights that are currently on.  If there are no lights on and you change a color it should turn on all the JandyColor lights on to that color.  The All On/Off is self explanatory.

Yep I am familiar with the wiki.

Try turning on the light from Autelis to Color Splash then get the status info again.

Understood..

See the attachment for the devices I get with Pool Control

This is what I got after executing a "Color Splash" command.. no light.

Code: [Select]
<equipment>
<pump>0</pump>
<pumplo/>
<spa>0</spa>
<waterfall/>
<cleaner/>
<poolht2/>
<poolht>0</poolht>
<spaht>0</spaht>
<solarht>0</solarht>
<aux1>0</aux1>
<aux2>0</aux2>
<aux3>0</aux3>
<aux4>0</aux4>
<aux5>0</aux5>
<aux6>0</aux6>
<aux7>0</aux7>
<aux8>0</aux8>
<aux9>0</aux9>
<aux10>0</aux10>
<aux11>0</aux11>
<aux12>0</aux12>
<aux13>0</aux13>
<aux14>0</aux14>
<aux15>0</aux15>
<aux16/>
<aux17/>
<aux18/>
<aux19/>
<aux20/>
<aux21/>
<aux22/>
<aux23/>
</equipment>

Also, clicking on Pool Light or the binary Jandy Colors Switch brings on a spinner in the Vera GUI and then it returns to "Off" after about a couple of seconds.

EDIT:

I'm sorry I mis understood. Executing Pool Light and Jandy Colors in Autelis yields success:

Code: [Select]
<aux5>1</aux5>
<aux6>0</aux6>
<aux7>1</aux7>
Title: Re: Autelis Control?
Post by: Sammy2 on September 01, 2016, 04:19:47 pm
As a point of reference, executing the "Night Party" macro in the Keypad page of the Autelis yields this:

Code: [Select]
<equipment>
<pump>1</pump>
<pumplo/>
<spa>0</spa>
<waterfall/>
<cleaner/>
<poolht2/>
<poolht>0</poolht>
<spaht>0</spaht>
<solarht>0</solarht>
<aux1>0</aux1>
<aux2>0</aux2>
<aux3>1</aux3>
<aux4>1</aux4>
<aux5>1</aux5>
<aux6>1</aux6>
<aux7>1</aux7>
<aux8>0</aux8>
<aux9>0</aux9>
<aux10>0</aux10>
<aux11>0</aux11>
<aux12>0</aux12>
<aux13>0</aux13>
<aux14>0</aux14>
<aux15>0</aux15>
<aux16/>
<aux17/>
<aux18/>
<aux19/>
<aux20/>
<aux21/>
<aux22/>
<aux23/>
</equipment>
Title: Re: Autelis Control?
Post by: rstrouse on September 01, 2016, 04:21:37 pm
So the plugin responded to the splash command but the light didn't turn on?  Hmmm.  Maybe equipment.htm is different between models.  Can you do a view source on the equipment.htm page in Autelis and post it here?
Title: Re: Autelis Control?
Post by: Sammy2 on September 01, 2016, 04:23:21 pm
So the plugin responded to the splash command but the light didn't turn on?  Hmmm.  Maybe equipment.htm is different between models.  Can you do a view source on the equipment.htm page in Autelis and post it here?

Code: [Select]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Autelis Pool Control</title>
<link href="autelis.css" rel="stylesheet" type="text/css" />
<script src="ajax.js" type="text/javascript"></script>
<meta name="format-detection" content="telephone=no">
</head>

<body>
<div id="shadow-one"><div id="shadow-two"><div id="shadow-three"><div id="shadow-four">
<div id="page">

<div style="padding:0 0 5px 5px"><img src="autelis.png" alt="Autelis" /></div>

<div id="menu">
<a href="systeminfo.htm">System Information</a>
<a href="equipment.htm">Equipment Control</a>
<a href="temperature.htm">Temperature Control</a>
<a href="reminders.htm">Reminders</a>
<a href="isy.htm">ISY Settings</a>
<a href="keypad.htm">Keypad</a>
<a href="settings.htm">Setup</a>
</div>


<div id="content">
<div class="item green" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=pump&value=0');">OFF</button></div>
<div class="subitem two" align="center">Filter Pump: <label id="pump">ON</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=pump&value=1');">ON</button></div>
</div>
<div class="item green" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=pumplo&value=0');">OFF</button></div>
<div class="subitem two" align="center">Pump Low Speed: <label id="pumplo">ON</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=pumplo&value=1');">ON</button></div>
</div>
<div class="item green" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=spa&value=0');">OFF</button></div>
<div class="subitem two" align="center">Spa: <label id="spa">ON</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=spa&value=1');">ON</button></div>
</div>
<div class="item green" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=waterfall&value=0');">OFF</button></div>
<div class="subitem two" align="center">Spillway: <label id="waterfall">ON</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=waterfall&value=1');">ON</button></div>
</div>
<div class="item green" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=cleaner&value=0');">OFF</button></div>
<div class="subitem two" align="center">Cleaner: <label id="cleaner">ON</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=cleaner&value=1');">ON</button></div>
</div>
<div class="item green" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux1&value=0');">OFF</button></div>
<div class="subitem two" align="center">Cleaner: <label id="aux1">ON</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux1&value=1');">ON</button></div>
</div>
<div class="item green" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux2&value=0');">OFF</button></div>
<div class="subitem two" align="center">Booster Pump: <label id="aux2">ON</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux2&value=1');">ON</button></div>
</div>
<div class="item green" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux3&value=0');">OFF</button></div>
<div class="subitem two" align="center">Sheer Decent: <label id="aux3">ON</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux3&value=1');">ON</button></div>
</div>
<div class="item green" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux4&value=0');">OFF</button></div>
<div class="subitem two" align="center">Spa Light: <label id="aux4">ON</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux4&value=1');">ON</button></div>
</div>
<div class="item green" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux5&value=0');">OFF</button></div>
<div class="subitem two" align="center">Pool Light: <label id="aux5">ON</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux5&value=1');">ON</button></div>
</div>
<div class="item green" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux6&value=0');">OFF</button></div>
<div class="subitem two" align="center">Fiber Optic: <label id="aux6">ON</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux6&value=1');">ON</button></div>
</div>
<div class="item green" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux7&value=0');">OFF</button></div>
<div class="subitem two" align="center">Color Wheel: <label id="aux7">ON</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux7&value=1');">ON</button></div>
</div>
<div class="item green" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux8&value=0');">OFF</button></div>
<div class="subitem two" align="center">AUX8: <label id="aux8">ON</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux8&value=1');">ON</button></div>
</div>
<div class="item green" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux9&value=0');">OFF</button></div>
<div class="subitem two" align="center">AUX9: <label id="aux9">ON</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux9&value=1');">ON</button></div>
</div>
<div class="item green" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux10&value=0');">OFF</button></div>
<div class="subitem two" align="center">AUX10: <label id="aux10">ON</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux10&value=1');">ON</button></div>
</div>
<div class="item green" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux11&value=0');">OFF</button></div>
<div class="subitem two" align="center">AUX11: <label id="aux11">ON</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux11&value=1');">ON</button></div>
</div>
<div class="item green" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux12&value=0');">OFF</button></div>
<div class="subitem two" align="center">AUX12: <label id="aux12">ON</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux12&value=1');">ON</button></div>
</div>
<div class="item green" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux13&value=0');">OFF</button></div>
<div class="subitem two" align="center">AUX13: <label id="aux13">ON</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux13&value=1');">ON</button></div>
</div>
<div class="item green" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux14&value=0');">OFF</button></div>
<div class="subitem two" align="center">AUX14: <label id="aux14">ON</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux14&value=1');">ON</button></div>
</div>
<div class="item green" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux15&value=0');">OFF</button></div>
<div class="subitem two" align="center">AUX15: <label id="aux15">ON</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux15&value=1');">ON</button></div>
</div>
<div class="item green" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux16&value=0');">OFF</button></div>
<div class="subitem two" align="center">: <label id="aux16">ON</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux16&value=1');">ON</button></div>
</div>
<div class="item green" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux17&value=0');">OFF</button></div>
<div class="subitem two" align="center">: <label id="aux17">ON</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux17&value=1');">ON</button></div>
</div>
<div class="item green" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux18&value=0');">OFF</button></div>
<div class="subitem two" align="center">: <label id="aux18">ON</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux18&value=1');">ON</button></div>
</div>
<div class="item green" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux19&value=0');">OFF</button></div>
<div class="subitem two" align="center">: <label id="aux19">ON</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux19&value=1');">ON</button></div>
</div>
<div class="item green" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux20&value=0');">OFF</button></div>
<div class="subitem two" align="center">: <label id="aux20">ON</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux20&value=1');">ON</button></div>
</div>
<div class="item green" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux21&value=0');">OFF</button></div>
<div class="subitem two" align="center">: <label id="aux21">ON</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux21&value=1');">ON</button></div>
</div>
<div class="item green" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux22&value=0');">OFF</button></div>
<div class="subitem two" align="center">: <label id="aux22">ON</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux22&value=1');">ON</button></div>
</div>
<div class="item green" style="display:none">
<div class="subitem one"><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux23&value=0');">OFF</button></div>
<div class="subitem two" align="center">: <label id="aux23">ON</label></div>
<div class="subitem three" ><button class="sm" onClick="newAJAXCommand('set.cgi?name=aux23&value=1');">ON</button></div>
</div>
</div>

<div class="spacer">&nbsp;</div>

<script type="text/javascript">
<!--
// Parses the xmlResponse from status.xml and updates the status
function updateStatus(xmlData) {
// Check if a timeout occurred
if(!xmlData)
return;

// Loop over all the equipment
// Update status & color
var equip = xmlData.getElementsByTagName('equipment')[0];
if (equip == null)
return;
for (var i=0; i < equip.childNodes.length; i++)
{
var item = document.getElementById(equip.childNodes[i].tagName);
if(item)
{
var test = equip.childNodes[i].firstChild;
if (test != null)
{
test = test.nodeValue;
if(test > 0x80 && test < 0x8F)
test = '1';
switch(test)
{
case '0':
item.innerHTML = 'OFF';
break;
case '1':
item.innerHTML = 'ON';
break;
case '25':
case '50':
case '75':
case '100':
if (getDimmer(item)==null)
item.innerHTML = '<select class="dimmer" onfocus="this.name=\'selectactive\'" onblur="this.name=\'\'" onchange="this.blur();newAJAXCommand(\'set.cgi?wait=1&name=' + item.id + '&value=\' + this.options[this.selectedIndex].value.replace(\'%\', \'\'));"><option>25%</option><option>50%</option><option>75%</option><option>100%</option></select>';
var dimlevel;
switch(test)
{
case '25':
var dimlevel=0;
break;
case '50':
var dimlevel=1;
break;
case '75':
var dimlevel=2;
break;
case '100':
var dimlevel=3;
break;
}
var dimopt=getDimmer(item);
if(dimopt.selectedIndex != dimlevel && dimopt.name != "selectactive")
dimopt.selectedIndex = dimlevel;
break;
default:
item.parentNode.parentNode.style.display ='none';
continue;
}
item.parentNode.parentNode.setAttribute("class", (test == '0') ? 'item red' : 'item green');
item.parentNode.parentNode.setAttribute("class", (test == '0') ? 'item red' : 'item green');
item.parentNode.parentNode.style.display ='block';
}
else item.parentNode.parentNode.style.display ='none';
}
}
}
function getDimmer(it) {
var retnode = null;
for (var i = 0; i < it.childNodes.length; i++) {
if(it.childNodes[i].className == "dimmer")
retnode=it.childNodes[i];
break;
}
return retnode;
}
newAJAXCommand('/status.xml', updateStatus, true);
//-->
</script>

</div></div></div></div></div>
<div id="footer">Copyright &copy; 2013 Autelis, LLC</div>
</body>
</html>
Title: Re: Autelis Control?
Post by: rstrouse on September 01, 2016, 04:38:24 pm
By George they are different.  In looking at mda's equipment page he has a dropdown that lets him select the color for his light.

This is him churning the color... butter.  Based upon that page it appears you don't have that option.  Does it appear only after the light has been turned on maybe?
Title: Re: Autelis Control?
Post by: Sammy2 on September 01, 2016, 04:49:35 pm
I get nothing like that on the equipment page. I get to select colors deep in the Keypad page, though. Honestly, I've never tried just a solitary color in the two years we've lived here, mainly because of the number of clicks of the Keypad to get there. I'd rather just enjoy the pool but if this can be brought up front in Vera, especially in the app, that would be really cool! There's no color selection in the app right now (or pool / spa heat control for that matter), BTW.
Title: Re: Autelis Control?
Post by: rstrouse on September 01, 2016, 05:03:17 pm
Well let's see what kinda magic you, me, and Walt Disney can make happen.  We'll either succeed or just be goofy.  I'll be posting a new version up in a bit that puts us back to the selection by color index. 

I may need to change some things so that the poll does not destroy our color selection as it does look like we only get 0 or 1 for the color circuits.  When I get further along with mda.  I will see what we get on his end.  This might actually be the limitations on Rev L.

I wonder what happens when you issue a 1 then a 5 to aux5.  Does it turn the pool red?
Title: Re: Autelis Control?
Post by: Sammy2 on September 01, 2016, 05:08:27 pm
Well let's see what kinda magic you, me, and Walt Disney can make happen.  We'll either succeed or just be goofy.  I'll be posting a new version up in a bit that puts us back to the selection by color index. 

I may need to change some things so that the poll does not destroy our color selection as it does look like we only get 0 or 1 for the color circuits.  When I get further along with mda.  I will see what we get on his end.  This might actually be the limitations on Rev L.

I wonder what happens when you issue a 1 then a 5 to aux5.  Does it turn the pool red?

<poolcontrolip>set.cgi?name=aux5&value=5

yields "1" AND both Aux5 and Aux7 have responded:

Code: [Select]
<aux5>1</aux5>
<aux6>0</aux6>
<aux7>1</aux7>



Title: Re: Autelis Control?
Post by: rstrouse on September 01, 2016, 05:17:07 pm
When you go into keypad is the selected color red?
Title: Re: Autelis Control?
Post by: Sammy2 on September 01, 2016, 05:17:46 pm
Let me clarify, <poolcontrolip>set.cgi?name=aux7&value=1 resulted in the Jandy Colors being ON and then sending <poolcontrolip>set.cgi?name=aux5&value=1 (or 5 for that matter) resulted in the Light being on. Verifying color is something I need to be home to do..
Title: Re: Autelis Control?
Post by: rstrouse on September 01, 2016, 05:19:38 pm
You don't see the selected color on the keypad (one touch) display in Autelis?
Title: Re: Autelis Control?
Post by: Sammy2 on September 01, 2016, 05:22:08 pm
The Keypad only says "Color Wheel" which is the closest selection in the pre-sets to Jandy Colors. The only way to customize this is a very cryptic keyboard so that is the easiest way to identify it. The only place to actually select or view the colors is in the location where the macro for "Night Party" is programmed. I'm sorry that this is outdated turn of the century equipment!!
Title: Re: Autelis Control?
Post by: rstrouse on September 01, 2016, 05:26:03 pm
Just for shucks this this change anything in Vera?
Title: Re: Autelis Control?
Post by: Sammy2 on September 01, 2016, 05:31:28 pm
I'm sorry it is in Equipment On/Off > Color Wheel > Wait 5 seconds to turn off or Select to select color.. Going there just says "Color Splash".

I'm thinking that other than "Color Splash" the Autelis will only go to Color Splash and not the other colors. This was how it was working yesterday before beta 0.35.

I may take a look around to see if my Jandy PCB can be flashed with Rev R f/w somehow..
Title: Re: Autelis Control?
Post by: Sammy2 on September 01, 2016, 05:33:32 pm
Just for shucks this this change anything in Vera?

Yes. See picture attached.
Title: Re: Autelis Control?
Post by: rstrouse on September 01, 2016, 05:33:56 pm
Thus us the response from Autelis when I asked them.

"Rev A-N require full hardware upgrade, Rev O and higher require partial hardware upgrade.  No field firmware updates like pentair."
Title: Re: Autelis Control?
Post by: Sammy2 on September 01, 2016, 05:35:07 pm
Combining my post above with the one just now shows that it is White when I sent the command for Red but the Keypad emulator says Color Splash???

This most definitely requires actual visual confirmation!
Title: Re: Autelis Control?
Post by: Sammy2 on September 01, 2016, 05:38:08 pm
Thus us the response from Autelis when I asked them.

"Rev A-N require full hardware upgrade, Rev O and higher require partial hardware upgrade.  No field firmware updates like pentair."

WAAA!

 :'( :'( :'(
Title: Re: Autelis Control?
Post by: Sammy2 on September 01, 2016, 05:59:23 pm
I know we're working on lights but being able to control the pool and spa set points from my phone or tablet in Vera is highly desirable..
Title: Re: Autelis Control?
Post by: rstrouse on September 01, 2016, 06:09:43 pm
If you push the + or - on the setpoints they don't change?  Does the pool or spa need to be on for this change to stick?  They don't in Pentair but that might be a difference.
Title: Re: Autelis Control?
Post by: Sammy2 on September 01, 2016, 06:16:13 pm
If you push the + or - on the setpoints they don't change?  Does the pool or spa need to be on for this change to stick?  They don't in Pentair but that might be a difference.

Screenshots of what it looks like on my android.
Title: Re: Autelis Control?
Post by: Sammy2 on September 01, 2016, 06:17:22 pm
Last 9ne..
Title: Re: Autelis Control?
Post by: rstrouse on September 01, 2016, 06:29:53 pm
Yep you can thank the folks who wrote the Android app.  When they first came out with the Beta version of this it actually would show it and it would work although there were a few quirks.  Rather than fix the quirks they decided to not show any custom displays in the App.  I'm sure there's some reason but I was pretty disappointed.

Open up a chrome browser (create a hotlink) on your droid for home.getvera.com.  From there it will show you an almost identical display to the android app with the exception ALL your devices will function and display.
Title: Re: Autelis Control?
Post by: Sammy2 on September 01, 2016, 06:33:19 pm
Yep you can thank the folks who wrote the Android app.  When they first came out with the Beta version of this it actually would show it and it would work although there were a few quirks.  Rather than fix the quirks they decided to not show any custom displays in the App.  I'm sure there's some reason but I was pretty disappointed.

Open up a chrome browser (create a hotlink) on your droid for home.getvera.com.  From there it will show you an almost identical display to the android app with the exception ALL your devices will function and display.

Cool. I'll do it that way and verify the app on my wife's iPhone..


BTW, I ran across this (http://www.troublefreepool.com/threads/27391-Control-your-Jandy-equipment-from-your-PC-with-a-15-adapter/page11) thread and maybe there's some useful information in it?

Like this page which describes the differences in the f/w on the Jandy. (Yup, I was looking how to flash it!)

Quote
I know this is an older thread, but I stumbled upon this info and thought it might be helpful for others. Sorry if this isn't the right place in the thread.

JANDY PPD REVISION CODES*

A Programmable Peripheral Device (PPD) with revision letter C to HH will operate with all PCBs with a 44 pin*
socket.*
A Revision I or II PPD will only operate with a PCB which has a 44 pin socket and is a Revision I PCB.*
A Revision J or newer PPD will only fit into a PCB with a 52 pin socket (second generation of PCB).*
1994-Rev. A = Alpha testing.*
1995-Rev. B = Beta testing.*
1996-Rev. C = First production AquaLink RS.*
1996-Rev. D = Allowed Cleaner JVA socket to be assigned to an auxiliary by turning on dip switch 7.*
1996-Rev. E = Programmed ON times not recognized after freeze protection activates.*
1996-Rev. F = RS 2/6 Sharing a heater support, light dimming on RS 4.*
1997 ? Rev. G = First support for SpaLink RS, Cleaner JVA can be assigned without turning on dip 7.*
1997 ? Rev. GG = Cancel button locks-up system.*
1997 ? Rev. GGG = Correction to GG.*
1998 ? Rev. H = First support f or LX / RS 485 connection, memory expansion to 128K of ROM, SpaLink reads*
pool temperature and OFF when the system is not on.*
1998 ? Rev. HH = Corrects time calibration problem with Rev. H.*
1998 ? Rev. HH 232 = Support for RS 232 Serial Adapter.*
2000 ? Rev. I = First support for OneTouch, includes serial adapter support. Note Rev I will only operate in a Rev.*
I PCB.*
2000 ? Rev. II = Corrects problem with auxiliaries assigned to f reeze on OneTouch.*
2002 ? Rev. J = Change to 52 PIN PPD and new socket on AquaLink RS PCB.*
2002 ? Rev. JJ = Corrects problem with auxiliaries assigned to freeze on OneTouch.*
2003 ? Rev. K = Support for FlowLink, items manually turned on will reactivate after going to Auto/Service/Time*
Out.*
2004 ? Rev. L = Color Light Control, PC Docking, Laminar Light Pulse Control (LPC4), Chiller/Heat Pump*
operation, Run Time (circuits can be set to run manually f or 1 t o 10 minutes or for 10 minutes to 2 hours in 10*
minute increments). Will communicate directly with AquaPure Chlorine Generator only.*
2006 ? Rev. M = Support for AquaPalm wireless remote, Change chlorine production from AquaPure. AquaPure*
(revision must be 11230A05 or newer). Assign OneTouch buttons to SpaLink RS buttons.*
2006 ? Rev. MM = Corrects problem when entering into lights labels.*
2006 ? Rev. MMM = Corrects problem associated with daylight savings which caused the AquaPalm to jump*
lines. Light dimming can be adjusted from AquaPalm.*

CPU REVISION CHANGES*

2007 ? Rev. N = Complete change to PCB. The operating chip is no longer a PPD, it is now a CPU (Central*
Processing Unit) board. The AquaLink RS can be connected via the RS 485 line to a Jandy AE Heat Pump &/or a*
Jandy LXi Gas Heater.*
2008 ? Rev O = Communication with Variable Speed pumps.*
2009 ? Rev P = Communication with ChemLink, LM3, AutoClear Plus & DuoClear.*
2010 - Rev Q = first support for Touch Screen panel.
2012- *Rev R = internet control of Jandy Aqualink system via smartphone or web*
Title: Re: Autelis Control?
Post by: Sammy2 on September 01, 2016, 06:40:28 pm
http://www.troublefreepool.com/threads/27391-Control-your-Jandy-equipment-from-your-PC-with-a-15-adapter?p=441819&viewfull=1#post441819
Title: Re: Autelis Control?
Post by: Sammy2 on September 01, 2016, 06:44:12 pm
http://www.troublefreepool.com/threads/27391-Control-your-Jandy-equipment-from-your-PC-with-a-15-adapter?p=447868&viewfull=1#post447868
Title: Re: Autelis Control?
Post by: rstrouse on September 01, 2016, 06:46:12 pm
Here's v.36 Beta

Don't forget to check out the macros page.

@Sammy, it looks like they changed to a full blown CPU at Rev O which would by why it can't be flashed and at Rev R they made protocol available.  Amazing that they could sell that garbage at the time for $3k.  Maybe Fleabay has a deal or two on a PCB.
Title: Re: Autelis Control?
Post by: Sammy2 on September 01, 2016, 06:48:43 pm
Here's v.36 Beta

Don't forget to check out the macros page.

@Sammy, it looks like they changed to a full blown CPU at Rev O which would by why it can't be flashed and at Rev R they made protocol available.  Amazing that they could sell that garbage at the time for $3k.  Maybe Fleabay has a deal or two on a PCB.

I checked a bit ago. Everyone's up there in the $600 or so range. Not in the budget right now. We're getting ready to tile our entire downstairs just in time for the Holidays. Maybe I'll upgrade next year but we're going to be installing Xeroscape and a small vineyard in the backyard next spring.. I'll probably just enjoy what I've got for now.
Title: Re: Autelis Control?
Post by: rstrouse on September 01, 2016, 06:57:09 pm
@Sammy, thanks for the links but the possibilities of debugging RS-485 packets without the equipment makes me want to wear a ball gag, strap myself onto a medieval rack, and hurl insults at the dude standing over the crank.  Hell, licking the north end of a south bound mule might be more pleasant.
Title: Re: Autelis Control?
Post by: Sammy2 on September 01, 2016, 07:59:51 pm
@Sammy, thanks for the links but the possibilities of debugging RS-485 packets without the equipment makes me want to wear a ball gag, strap myself onto a medieval rack, and hurl insults at the dude standing over the crank.  Hell, licking the north end of a south bound mule might be more pleasant.

LOL!!!

Hey, those Macros go BEYOND pool control. It looks like it's scenes on steroids! Plus they can be made a favorite so they show up on the home screen. Pretty Sweet!! Thanks for those.

Thanks also for the forward moving beta. From here it looks like it is working correctly again. I'll have to check when I get home of course.
Title: Re: Autelis Control?
Post by: rstrouse on September 01, 2016, 08:10:15 pm
Yeah, I couldn't let that Revision R thing leave you out with Macros.  I'll be adding this panel into the Pentair version soon enough.
Title: Re: Autelis Control?
Post by: Sammy2 on September 01, 2016, 08:15:01 pm
Yeah, I couldn't let that Revision R thing leave you out with Macros.  I'll be adding this panel into the Pentair version soon enough.

Oh.. That is telling. I can program as many macros as I want just to change the colors. One thing that's angering me is that the macros are not fully functional in the app either. I know you cannot do anything about it because it is micasaverde that is messing this up in the app but it still angers me nonetheless.

I can't wait to play with this at home. I'm not sure what other issues may arise for people with differing PCB's than me but this looks pretty close to RC right now. I'll put it through the paces tonight or tomorrow and most assuredly over the weekend.
Title: Re: Autelis Control?
Post by: rstrouse on September 01, 2016, 08:22:12 pm
You think it bothers you but I am also the author of Virtual Panel that lets you do crazy crap with your Vera like this.
Title: Re: Autelis Control?
Post by: Sammy2 on September 01, 2016, 09:23:52 pm
You think it bothers you but I am also the author of Virtual Panel that lets you do crazy crap with your Vera like this.

Is that in the app store? I think I need it!
Title: Re: Autelis Control?
Post by: rstrouse on September 01, 2016, 10:10:01 pm
You think it bothers you but I am also the author of Virtual Panel that lets you do crazy crap with your Vera like this.

Is that in the app store? I think I need it!
Nope.  When I finished it the App store was having some hiccups and I just never got around to trying again.  Anyhow there is a full thread on it here.

Virtual Panel Plugin (http://forum.micasaverde.com/index.php/topic,31128.0.html)
Title: Re: Autelis Control?
Post by: Sammy2 on September 02, 2016, 08:00:22 am
You think it bothers you but I am also the author of Virtual Panel that lets you do crazy crap with your Vera like this.

Is that in the app store? I think I need it!
Nope.  When I finished it the App store was having some hiccups and I just never got around to trying again.  Anyhow there is a full thread on it here.

Virtual Panel Plugin (http://forum.micasaverde.com/index.php/topic,31128.0.html)

I'll check into that this weekend..

OK..

The lights will not turn ON with Vera and the plugin even though the Plugin shows that they are on but if I turn them on with Autelis, they show as being on in Vera AND I can turn them OFF with the Vera. As previously expected due age and fact that my PCB is Version J, there is no control of the colors independently. I get off or Color Splash and that is it. I'm okay with that but I'll start my search for a low cost Version R PCB on eBay.

I'm figuring that either there's an incorrect <poolcontrolip>set.cgi?name=aux#&value=1 being sent to the light. If I do this in my browser the lights turn on. My Lights are as follows. Aux4 is the spa, Aux5 is the pool and Aux6 is the fiber optics. None of them turn on with Vera. all of them turn off. All of them show their state in Vera when controlled with Autelis. The Spa and Pool and Sheer Descents are all working correctly, BTW.

The Button Colors for the Macros look to be swapped. When the Macro is off, it shows dark green but when I click it and it executes, it shows grey.
Title: Re: Autelis Control?
Post by: Sammy2 on September 02, 2016, 10:03:33 am
Soo..
I'm sitting on the train on my way to work and my wife calls. "The Jacuzzi's on again," she says. I look at the Vera Page and sure enough the Booster Pump is on. I click the toggle and the spinner spins. After it is done spinning it still reads ON so I try again without success.

I log into Autelis Directly and the Equipment page says it is on. I can turn it off from there but when I look back at Vera it still shows ON. I click again and no change occurs. The "bulb" still shines yellow in Vera. I verify in the Equipment page and by <poolcontrolip>/status.xml and it shows it is off.

This was working before. It would seem that some of the functionality of beta 0.34 has been lost. Maybe all the xml files need a once over and an update in the next beta?? I'm starting to get the hang of this and can actually look at some of your xml files but am reluctant to try to edit them myself because I will probably take things backwards some more!
Title: Re: Autelis Control?
Post by: rstrouse on September 02, 2016, 12:34:29 pm
@Sammy,

I wonder if us sending codes to Autelis for the lights that it can't process makes it stop responding to our calls.  I found this to be true with the Pentair version when I was testing IntelliChem and I did not have this device. 

This would be true for all those calls where we send the color index values. 

For your booster pump what circuit type do you have selected for this?
You are correct on the macros I have the commands flip-flopped on is executing when it is going off and off is executing when it is going on.  I will flip these in the code.

How are you at getting logs.  When a condition occurs like where a circuit does not respond it would be great to see the logs.  I'll bet there is a failure in there from the get command.  I'm looking into how to tap that little red message when you do something in Vera and it fails in the middle of a job.
Title: Re: Autelis Control?
Post by: Sammy2 on September 02, 2016, 01:16:16 pm
I have datamine and datamine2 plugins installed but haven't had the need to use them before. It looks like I either need to be on UI5 or using ALTUI in order to grab logs remotely. I'm a bit leary of using ALTUI as it'll change everything and might bork something in the process.
Title: Re: Autelis Control?
Post by: rstrouse on September 02, 2016, 01:19:58 pm
@Sammy, Use the following url.

Code: [Select]
http://<your Vera ip>/cgi-bin/cmh/log.sh?Device=LuaUPnP

This will get your hat propeller spinning.
Title: Re: Autelis Control?
Post by: Sammy2 on September 02, 2016, 01:22:41 pm
@Sammy, Use the following url.

Code: [Select]
http://<your Vera ip>/cgi-bin/cmh/log.sh?Device=LuaUPnP

This will get your hat propeller spinning.

This requires local access, correct?
Title: Re: Autelis Control?
Post by: rstrouse on September 02, 2016, 01:25:50 pm
I believe that to be the case but you can try the url that you get when logging in remotely and replacing the bits at the end.
Title: Re: Autelis Control?
Post by: Sammy2 on September 02, 2016, 01:48:40 pm
I believe that to be the case but you can try the url that you get when logging in remotely and replacing the bits at the end.

No worky.

Later I will remote into a PC on my network and then post the logs but maybe they'll not go back far enough, IDK.
Title: Re: Autelis Control?
Post by: rstrouse on September 02, 2016, 01:58:54 pm
I figured as much.
Title: Re: Autelis Control?
Post by: Sammy2 on September 02, 2016, 03:48:00 pm
I sent the log in a PM.
Title: Re: Autelis Control?
Post by: Sammy2 on September 02, 2016, 03:59:56 pm
Just in case, here's my Aux List:

Code: [Select]
<response>
<equipment>
<aux1>Cleaner</aux1>
<aux2>Booster Pump</aux2>
<aux3>Sheer Decent</aux3>
<aux4>Spa Light</aux4>
<aux5>Pool Light</aux5>
<aux6>Fiber Optic</aux6>
<aux7>Color Wheel</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/>
<aux17/>
<aux18/>
<aux19/>
<aux20/>
<aux21/>
<aux22/>
<aux23/>
</equipment>
</response>
Title: Re: Autelis Control?
Post by: rstrouse on September 02, 2016, 09:44:36 pm
Alright here is the new Beta.  I have added some additional debugging messages for when a call to Autelis fails.  This should tell us more information for diagnosis. I have also cleaned up quite a bit of the code to make it more efficient.
Title: Re: Autelis Control?
Post by: Sammy2 on September 03, 2016, 11:21:41 am
Alright here is the new Beta.  I have added some additional debugging messages for when a call to Autelis fails.  This should tell us more information for diagnosis. I have also cleaned up quite a bit of the code to make it more efficient.

I sent a link to the log via PM but here's the Circuits.
Title: Re: Autelis Control?
Post by: Sammy2 on September 06, 2016, 07:18:49 pm
@Sammy,

Set the pump and chemistry poll settings to 0 you do not want the plugin to look for these as you have no VS or VF pumps and your chemistry is with the wife not with Aqualink.  To show that love you need an AquaPure or ChemLink.

For the battery if the voltage drops below 7v it will not discharge to do you any good.  In fact under load it will probably read voltage well below the required voltage to power the chips on the board.  Capacity is not what is being measured here it is voltage.  If we just took a straight percentage of the voltage when the battery is bad it would read 77% and actually provide you with 0% of backup power.  The algorithm here is based upon the range between 7.3 to 9.0+ range anything >= 9 is 100% anything less than 7.3 is 0% since 7.3v under load will probably result in nothingness on the regulator that powers the boards in the panel.

As for the WaterTemp on the pool, the sensor (thermistor) is most likely in the plumbing.  If the pool is not running the temperature reported will not be accurate or even valid since the reading will be the static water in the pipe that is probably painted black in the hot Cali sun.

So.. since this post was made, my voltage has indeed dropped below 7V (Autelis says 6.85V, actually) and the Vera Plugin reads 0% which is a drastic drop in just a few days. In two years I haven't changed that battery and don't know when it was changed before we got the house in 2014 but we had the pool serviced, including adding a Hayward Salt Water Chlorinator and replacement of some valves and the air blower for the spa. Maybe it was replaced at that time but I haven't a clue actually. At any rate, the battery seems to have gone out of operating range at 40% to 0% quite quickly. It is alkaline and not lithium so I expected a slow discharge to fail but this seems pretty quick. Is this normal?
Title: Re: Autelis Control?
Post by: rstrouse on September 06, 2016, 10:33:31 pm
All batteries drop off a cliff as they discharge.  This is especially true when you are estimating capacity from voltage.  You were at around 32% when we were going through our testing and a drop under load like that for alkaline is not uncommon.  In fact if this had been a lithium cell you would go from around 60% of the operating voltage to 0% very quickly because of the internal chemistry.  Once a battery starts to discharge, it effectively begins to short out when any load is given.

The margin here is very narrow and I assumed that 2 volts below the rated capacity is typical.  Is that a 9v battery like you would find in a smoke detector?  You know the little square ones with the male and female terminals on top?  If it is then you can lose a full volt under load simply due to a temperature change when it is nearing end of life.  6.85 volts on a 9v battery typically spells 0% capacity.  That's like trying to power a 110v appliance with only 83 volts.

If Autelis is not indicating that the battery has already failed it soon will be.  Bear in mind these predictions are based upon what I presume the battery is doing in the Aqualink.

Take a look at these discharge curves and notice what happens at just over 6v.
http://www.powerstream.com/9V-Alkaline-tests.htm (http://www.powerstream.com/9V-Alkaline-tests.htm)
Title: Re: Autelis Control?
Post by: Sammy2 on September 07, 2016, 10:38:31 am
Yup.. the batteries that engineers test with their tongue. I'm pretty sure there's no current going across the taste buds on that one.. I'll replace it this weekend for sure as Aurelis shows it in red and not green on the equipment screen. I expect a lithium to drop off like that but not an alkaline.
Title: Re: Autelis Control?
Post by: Sammy2 on September 07, 2016, 10:40:50 am
BTW, I still have the booster pump  (Aux2) coming on randomly and have reported it on the Autelis forum. I have no scenes set to turn it on so there's a possible bug someplace..
Title: Re: Autelis Control?
Post by: rstrouse on September 07, 2016, 11:23:04 am
Yup.. the batteries that engineers test with their tongue. I'm pretty sure there's no current going across the taste buds on that one.. I'll replace it this weekend for sure as Aurelis shows it in red and not green on the equipment screen. I expect a lithium to drop off like that but not an alkaline.

That all depends on the load that they place on it.  The further you get from rated capacity with a higher load, the more steep the discharge curve is because the internal resistance of the pack rises as the battery discharges.  For instance, if you hit the battery for a 100mA burst and measure voltage the drop will be more dramatic than 50mA.  Not sure of the purpose of this cell but my guess is that it remains idle until power is off then it kicks in to maintain memory of the internal settings. 

Lithium chemistry with the same capacity rating will hold onto it's discharge longer then cliff at a much higher voltage.  Sadly, formation of dendrites in a lithium cell makes the battery release hydrogen that can be dangerous and is typically permanent damage to the pack.
Title: Re: Autelis Control?
Post by: rstrouse on September 07, 2016, 11:30:17 am
BTW, I still have the booster pump  (Aux2) coming on randomly and have reported it on the Autelis forum. I have no scenes set to turn it on so there's a possible bug someplace..
There's nothing that turns on any circuits on its own in the plugin.  However, you can unselect that circuit in the plugin as that will remove it from the control set.  Is that the only thing coming on?  You could also put a trigger on that circuit and see what time it is coming on.
Title: Re: Autelis Control?
Post by: Sammy2 on September 07, 2016, 11:48:15 am
BTW, I still have the booster pump  (Aux2) coming on randomly and have reported it on the Autelis forum. I have no scenes set to turn it on so there's a possible bug someplace..
There's nothing that turns on any circuits on its own in the plugin.  However, you can unselect that circuit in the plugin as that will remove it from the control set.  Is that the only thing coming on?  You could also put a trigger on that circuit and see what time it is coming on.

I assume what you mean by "put a trigger on.." is to put it as a trigger in a scene to send a text notification to me. Good idea. Thanks. I'll do that. BTW, the app is running great! I'm running into a SNAFU on accertaining LED replacement bulbs that are short enough to fit inside the Jandy Light and may have to resort to putting in 75Wx36degree halogen MR-16's again... That's 600 Watts versus 60 or so and all that heat too.
Title: Re: Autelis Control?
Post by: rstrouse on September 07, 2016, 12:19:32 pm
I assume what you mean by "put a trigger on.." is to put it as a trigger in a scene to send a text notification to me. Good idea. Thanks. I'll do that. BTW, the app is running great! I'm running into a SNAFU on accertaining LED replacement bulbs that are short enough to fit inside the Jandy Light and may have to resort to putting in 75Wx36degree halogen MR-16's again... That's 600 Watts versus 60 or so and all that heat too.

Yes I don't monkey with it much but you can also put a notification by selecting the notifications tab on the Booster Pump device.  As for the LEDs, doesn't the entire housing get replaced in the niche when you replace these with LED.  I can't imagine the niche not being big enough or are you talking about the fiber light-in-a-box?
Title: Re: Autelis Control?
Post by: Sammy2 on September 07, 2016, 01:13:22 pm
I assume what you mean by "put a trigger on.." is to put it as a trigger in a scene to send a text notification to me. Good idea. Thanks. I'll do that. BTW, the app is running great! I'm running into a SNAFU on accertaining LED replacement bulbs that are short enough to fit inside the Jandy Light and may have to resort to putting in 75Wx36degree halogen MR-16's again... That's 600 Watts versus 60 or so and all that heat too.

Yes I don't monkey with it much but you can also put a notification by selecting the notifications tab on the Booster Pump device.  As for the LEDs, doesn't the entire housing get replaced in the niche when you replace these with LED.  I can't imagine the niche not being big enough or are you talking about the fiber light-in-a-box?

I'll do that notification instead.

I know we're going a bit OT but heck we're the only two in this thread for the most part!

The halogen bulbs in there are 75W MR-16 GU5.3 EYC and are 1.79" tall (3). They go under the dichroic assembly (4) and fit pretty tightly. The replacement LED's are 7W(ish) MR-16 GU5.3 but I'm having difficulty finding them that short. The shortest I've found are at 1000bulbs (https://www.1000bulbs.com/product/153777/GREENCREATIVE-40812.html) and are $17 each. I've ordered a few on amazon and they don't fit but I'm about to either get longer SS Screws or longer brass stand offs to connect the dichroic assembly (4) to the bulb holder and electronics assembly (2) put it all back together with the bulbs I have now. They are a little longer but not so long that the glass lens (6) won't seal over the assembly. The last set, on their way back to amazon as we speak, were just flat out too tall, taller than the product page indicated. The current set is too but they're a little bit shorter.

See the attached reference photo of the assembly and this link (http://www.inyopools.com/pool_parts_jandy_colors_colored_light.aspx) for the description of the parts.
Title: Re: Autelis Control?
Post by: rstrouse on September 07, 2016, 01:36:19 pm
I see this is a MacGyver move.  If you can't find brass standoffs you could probably find nylon or cut down carbon fiber shafts.  The shafts are hollow and will take to threading pretty well with a ss machine screw.  I you get #4 too close to the lens I'll venture that it won't cast a very wide beam into the pool.
Title: Re: Autelis Control?
Post by: Sammy2 on September 07, 2016, 01:48:30 pm
Currently the dichroic assembly (colors in the reference picture are NOTHING like what I have which are little honey comb refractors of various colors) has little circular rings through the middle of it that basically sit right smack in front of the halogen bulbs which have no glass face, just a bulb and a 36 degree beam angle reflector. The LED bulbs fit right up under this ring but are completely within it as only the ventilator around the edges are touching it. I think it'll work and will be MUCH less than the Jandy LED which is about $600. :o I'm an engineer and I thrive on this sort of stuff! Now after looking at this, maybe I just grind down the ventilator on the bulbs a tad with a bench grinder.. all MacGyver style!
Title: Re: Autelis Control?
Post by: Sammy2 on September 07, 2016, 02:36:56 pm
BTW, I am trying to use a port other than port 80 for my Autelis. I changed the port to 90, opened the port in my router's port forwarding page for <poolcontrolip> then set the Vera Plugin to talk to <poolcontrolip>:90. The plugin failed to connect to the Autelis. is there a different way I should do this or does the plugin not recognized ports other than the default port 80? I can access the Autelis directly on the different port.
Title: Re: Autelis Control?
Post by: rstrouse on September 07, 2016, 02:45:55 pm
It should be fine.  Look at the log when you try a command.  It should say http://<ip of autelis>:90/set.cgi?name=xxx&value=yyy.  If the command fails you will also see the issue.
Title: Re: Autelis Control?
Post by: Sammy2 on September 07, 2016, 02:55:14 pm
Okay. I'll try again. I guess the luup needs to be reloaded. How to force that? The only way I know is the check the check box in the upload files section of "Develop Apps". Is there another way?
Title: Re: Autelis Control?
Post by: Sammy2 on September 07, 2016, 02:58:40 pm
@rstrouse,

What are your thoughts on removing that dichroic assembly and just using these (https://www.amazon.com/Spotlight-Control-Function-Changing-Prismatic/dp/B00BCA440E/ref=pd_sim_60_6?ie=UTF8&psc=1&refRID=RS24HKXDYYABBX43YN13) lights?
Title: Re: Autelis Control?
Post by: rstrouse on September 07, 2016, 03:40:49 pm
Okay. I'll try again. I guess the luup needs to be reloaded. How to force that? The only way I know is the check the check box in the upload files section of "Develop Apps". Is there another way?
Yes go to Settings-->Z-wave Settings-->Advanced and press the Reload Engine or go to any Device's Advanced tab-->New Service Tab and press Reload Engine.
Title: Re: Autelis Control?
Post by: rstrouse on September 07, 2016, 03:51:29 pm
@rstrouse,

What are your thoughts on removing that dichroic assembly and just using these (https://www.amazon.com/Spotlight-Control-Function-Changing-Prismatic/dp/B00BCA440E/ref=pd_sim_60_6?ie=UTF8&psc=1&refRID=RS24HKXDYYABBX43YN13) lights?
Three things
Title: Re: Autelis Control?
Post by: Sammy2 on September 07, 2016, 03:54:12 pm
So "no".

I was looking at them and figured I'd just set them to a color and leave them at that color but the flux is too low to work in the pool so I'll move on.
Title: Re: Autelis Control?
Post by: rstrouse on September 07, 2016, 08:30:41 pm
Did you get your port number changed?
Title: Re: Autelis Control?
Post by: Sammy2 on September 07, 2016, 08:41:52 pm
Did you get your port number changed?

I'll try that  tomorrow morning.
Title: Re: Autelis Control?
Post by: Sammy2 on September 08, 2016, 12:09:27 pm
Did you get your port number changed?

I'll try that  tomorrow morning.

This morning and last night was a wash on this. Maybe tomorrow!

I figured out how the booster pump was coming on.. those notifications let me nail it down! When switching from "home" to "away" mode it came on and sent me the notification. I checked My Modes and found that, for whatever reason, it was set to come on when switching modes. I set it to "No Change" in My Modes.. Problem solved.
Title: Re: Autelis Control?
Post by: rstrouse on September 10, 2016, 06:08:25 pm
Guys here is a new Beta.  There is quite a lot of cleanup on the code.


You know the drill.  Do not uninstall the plugin if you have it installed, simply copy the contents of the package to overwrite the files on you Vera.
Title: Re: Autelis Control?
Post by: Sammy2 on September 11, 2016, 04:12:29 pm
Guys here is a new Beta.  There is quite a lot of cleanup on the code.

  • Fixed polling issues:  Essentially the plugin polling would get longer between each poll until it effectively wasn't polling anymore.
  • Added detection for advanced firmware: Options not available for the specific firmware version of your Aqualink panel are no longer shown.  This should eliminate selections for hardware that is not supported.
  • UI5 Json fixes: Many of the static json files did not contain the correct positioning and required attributes.  Effort has been placed to get these files so the properly support UI5.

You know the drill.  Do not uninstall the plugin if you have it installed, simply copy the contents of the package to overwrite the files on you Vera.

Installing now. I finally got my lights sorted out with replacement LED's. Two tries from amazon were the wrong length bulb to fit in the fixture. I finally got these (http://www.homedepot.com/p/Euri-Lighting-50W-Equivalent-Cool-White-5000K-MR16-Dimmable-MCOB-LED-Flood-Light-Bulb-EM16-2050ew/207114658) from Home Depot. They cost a bit more but it was worth it. I still needed to replace the screw holding the dichroic assemble to the bulb base with longer ones but it was only needing to be a few hundredths longer, merely to get the screw engaged into the stand off as the included screw was about the least size possible to get the assembly together.
Title: Re: Autelis Control?
Post by: Sammy2 on September 11, 2016, 05:43:34 pm
Upon installing I had to re-enable Pool and Spa Heat and then these devices showed up in "No Room" rather than in the room I have labeled "Pool". IIR, this happened on the last beta update too. Not a deal breaker for sure but something to look into maybe but then again not really worth spending a lot of time troubleshooting either.
Title: Re: Autelis Control?
Post by: rstrouse on September 14, 2016, 12:17:56 pm
Here is .40 the most notable thing in this version are separate handling of UI5 static json files.  Also included are performance enhancements and general code cleanup.

BTW: I added an option to keep the equipment together in the same room as the parent.  It's under the config tab.
Title: Re: Autelis Control?
Post by: Sammy2 on September 14, 2016, 12:38:00 pm
Here is .40 the most notable thing in this version are separate handling of UI5 static json files.  Also included are performance enhancements and general code cleanup.

I'm headed out of town for a few days tomorrow. I don't know if I'll have time to test this or not before leaving but probably will squeeze it in tomorrow morning.

BTW, I still haven't had time to mess with changing the port on the Autelis from 80 to something else because it is down the list of priorities even though I do not like devices on the default port because they are too easily accessible to the world.
Title: Re: Autelis Control?
Post by: rstrouse on September 17, 2016, 01:03:08 pm
@mda,

Here are the UI5 only files.  This only affects you if you are running UI5.
Title: Re: Autelis Control?
Post by: rstrouse on September 18, 2016, 10:57:12 pm
Alright here is the .41 Beta we are horning in on a release.  We have some minor issues with positioning on UI5.  Changes to the chlorinator setpoint reporting and some tweaks to the control positioning in the detail panels for both UI versions.
Title: Re: Autelis Control?
Post by: mda on September 19, 2016, 03:04:46 pm
Alright here is the .41 Beta we are horning in on a release.  We have some minor issues with positioning on UI5.  Changes to the chlorinator setpoint reporting and some tweaks to the control positioning in the detail panels for both UI versions.

.41 is looking good on UI5 !
Title: Re: Autelis Control?
Post by: rstrouse on September 19, 2016, 10:59:12 pm
And again v.42 Beta.  This adds more polish to the configuration pages, fixes UI5 positioning woes and adds some additional performance tweaks.  Check it out and let me know.
Title: Re: Autelis Control?
Post by: Sammy2 on September 20, 2016, 12:47:57 pm
Maybe tomorrow I will test this. Should I install the intermediate betas that I missed or just jump ahead to 0.42?
Title: Re: Autelis Control?
Post by: rstrouse on September 20, 2016, 02:28:16 pm
Maybe tomorrow I will test this. Should I install the intermediate betas that I missed or just jump ahead to 0.42?

Sammy, Just install .42
Title: Re: Autelis Control?
Post by: Sammy2 on September 22, 2016, 08:11:54 pm
Maybe tomorrow I will test this. Should I install the intermediate betas that I missed or just jump ahead to 0.42?

Sammy, Just install .42

Still haven't had a chance to install this beta. Will shoot for this weekend.
Title: Re: Autelis Control?
Post by: Sammy2 on September 27, 2016, 10:09:37 am
Maybe tomorrow I will test this. Should I install the intermediate betas that I missed or just jump ahead to 0.42?

Sammy, Just install .42

Still haven't had a chance to install this beta. Will shoot for this weekend.

I did get this installed last Friday but was out of town for a few days again. I see that all is well with it, AFAIK but I did have to go through my pool related scenes again to get them to work. I noticed also that the reversed color scheme for the Macros (which I label in my Vera UI as "One-Touch Controls" has been fixed now also. Nice work!!

I can control the individual colors on my lights using the Keypad Emulator in the Autelis Web GUI / app, BTW, but apparently this functionality cannot be accessed in any other way that is open to Vera.

Thank you very much for taking the time to put this together.
Title: Re: Autelis Control?
Post by: Sammy2 on October 05, 2016, 04:51:47 pm
And again v.42 Beta.  This adds more polish to the configuration pages, fixes UI5 positioning woes and adds some additional performance tweaks.  Check it out and let me know.

Working great!!

Anything new up your sleeves??
Title: Autelis Control
Post by: LindsiWains on November 13, 2016, 08:13:25 am
I have not changed the battery in my control panel since buying the house with the pool in 2014 but now the back up battery is dead after using the Autelis for a few weeks now. Does the Autelis pull its power from this battery and should I have spare batteries lying around or is this merely a coincidence?
Title: Re: Autelis Control?
Post by: rstrouse on November 13, 2016, 01:04:58 pm
That might just be coincidence since the Plugin and the Autelis interface put this info up front.  Also, I suspect that there is also some draw when you shut the system power down.  Perhaps when you hooked up the Autelis.  I don't have this eq so I really don't know but Sammy had a similar situation when he first hooked up his system.  He also never replaced the battery.

Perhaps a quick e-mail to Autelis but I suspect a 2+ (probably the original battery) yo battery is the issue not a device on the 485 bus.
Title: Re: Autelis Control?
Post by: mda on November 13, 2016, 02:16:09 pm
Hi @rstrouse, I am seeing an odd behavior with my Jandy LED lights that might be plug-in related...

In iAqualink i set both my pool light and spa light to "Cobalt Blue" and both cycle until they arrive at that color. Then some minutes later the spa light switches to a lighter blue. I am not sure the plug in is doing this but I wonder if there might be some sort of accidental index incrementing going on that is switching the light color?

Sorry I don't have more data, I will try to gather more details and check logs, but wanted to put this on your radar in case you happen to think of what might be causing it. Thanks.
Title: Re: Autelis Control?
Post by: mda on November 13, 2016, 03:31:31 pm
@rstrouse I think i found another bug (in .42 beta on vera 3 UI 5).

I had some strangeness with my Aquapure (my filter needs cleaning and flow got too low). Once i rebooted the whole Jandy system and then i rebooted my Autelis, my Autelis was then showing the Chemistry.htm correctly. But the plug-in was still showing a setting of 0% for the chlorine and salt levels and that it was not chlorinating (Autelis showed correct % and salt level).

I restarted Luup and the plug-in then picked up the correct chemistry info. It is as if it did not recover from the connection error and never polled the chemistry until a luup restart. Here is the log.

Also a question, is there any way you can pick up Aquapure errors (eg: "General Fault" and "No Flow" etc. that appear in the panel status) and trigger a notification easily? Thanks!


Code: [Select]
06 11/13/16 12:04:09.101 Device_Variable::m_szValue_set device: 118 service: urn:rstrouse-com:serviceId:AutelisJandy1 variable: RunState was: 255 now: 250 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2e4c7680>
06 11/13/16 12:04:09.101 Device_Variable::m_szValue_set device: 118 service: urn:rstrouse-com:serviceId:AutelisJandy1 variable: RunStateDesc was: Connection Error now: Polling Panel #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2e4c7680>
06 11/13/16 12:04:09.102 Device_Variable::m_szValue_set device: 118 service: urn:rstrouse-com:serviceId:AutelisJandy1 variable: RunStateDesc_Formatted was: <div style='display:inline-block;vertical-align:top;color:red;font-size:.7em;font-weight:bold;'><span style='white-space:pre;'>Connection Error</span></div> now: <div style='display:inline-block;vertical-align:top;color:green;font-size:.7em;font-style:italic;font-weight:bold;'><span style='white-space:pre;'>Polling Panel</span></div> #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2e4c7680>
06 11/13/16 12:04:09.305 Device_Variable::m_szValue_set device: 118 service: urn:rstrouse-com:serviceId:AutelisJandy1 variable: RunState was: 250 now: 255 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2e4c7680>
06 11/13/16 12:04:09.305 Device_Variable::m_szValue_set device: 118 service: urn:rstrouse-com:serviceId:AutelisJandy1 variable: RunStateDesc was: Polling Panel now: Connection Error #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2e4c7680>
06 11/13/16 12:04:09.306 Device_Variable::m_szValue_set device: 118 service: urn:rstrouse-com:serviceId:AutelisJandy1 variable: RunStateDesc_Formatted was: <div style='display:inline-block;vertical-align:top;color:green;font-size:.7em;font-style:italic;font-weight:bold;'><span style='white-space:pre;'>Polling Panel</span></div> now: <div style='display:inline-block;vertical-align:top;color:red;font-size:.7em;font-weight:bold;'><span style='white-space:pre;'>Connection Error</span></div> #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2e4c7680>
06 11/13/16 12:04:09.307 Device_Variable::m_szValue_set device: 118 service: urn:rstrouse-com:serviceId:AutelisJandy1 variable: LastUpdate was: 1479067149 now: 1479067449 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2e4c7680>
06 11/13/16 12:09:09.101 Device_Variable::m_szValue_set device: 118 service: urn:rstrouse-com:serviceId:AutelisJandy1 variable: RunState was: 255 now: 250 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2e4c7680>
06 11/13/16 12:09:09.101 Device_Variable::m_szValue_set device: 118 service: urn:rstrouse-com:serviceId:AutelisJandy1 variable: RunStateDesc was: Connection Error now: Polling Panel #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2e4c7680>
06 11/13/16 12:09:09.102 Device_Variable::m_szValue_set device: 118 service: urn:rstrouse-com:serviceId:AutelisJandy1 variable: RunStateDesc_Formatted was: <div style='display:inline-block;vertical-align:top;color:red;font-size:.7em;font-weight:bold;'><span style='white-space:pre;'>Connection Error</span></div> now: <div style='display:inline-block;vertical-align:top;color:green;font-size:.7em;font-style:italic;font-weight:bold;'><span style='white-space:pre;'>Polling Panel</span></div> #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2e4c7680>
06 11/13/16 12:09:09.252 Device_Variable::m_szValue_set device: 118 service: urn:rstrouse-com:serviceId:AutelisJandy1 variable: RunState was: 250 now: 255 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2e4c7680>
06 11/13/16 12:09:09.253 Device_Variable::m_szValue_set device: 118 service: urn:rstrouse-com:serviceId:AutelisJandy1 variable: RunStateDesc was: Polling Panel now: Connection Error #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2e4c7680>
06 11/13/16 12:09:09.254 Device_Variable::m_szValue_set device: 118 service: urn:rstrouse-com:serviceId:AutelisJandy1 variable: RunStateDesc_Formatted was: <div style='display:inline-block;vertical-align:top;color:green;font-size:.7em;font-style:italic;font-weight:bold;'><span style='white-space:pre;'>Polling Panel</span></div> now: <div style='display:inline-block;vertical-align:top;color:red;font-size:.7em;font-weight:bold;'><span style='white-space:pre;'>Connection Error</span></div> #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2e4c7680>
06 11/13/16 12:09:09.254 Device_Variable::m_szValue_set device: 118 service: urn:rstrouse-com:serviceId:AutelisJandy1 variable: LastUpdate was: 1479067449 now: 1479067749 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2e4c7680>
06 11/13/16 12:14:09.101 Device_Variable::m_szValue_set device: 118 service: urn:rstrouse-com:serviceId:AutelisJandy1 variable: RunState was: 255 now: 250 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2e4c7680>
06 11/13/16 12:14:09.102 Device_Variable::m_szValue_set device: 118 service: urn:rstrouse-com:serviceId:AutelisJandy1 variable: RunStateDesc was: Connection Error now: Polling Panel #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2e4c7680>
06 11/13/16 12:14:09.102 Device_Variable::m_szValue_set device: 118 service: urn:rstrouse-com:serviceId:AutelisJandy1 variable: RunStateDesc_Formatted was: <div style='display:inline-block;vertical-align:top;color:red;font-size:.7em;font-weight:bold;'><span style='white-space:pre;'>Connection Error</span></div> now: <div style='display:inline-block;vertical-align:top;color:green;font-size:.7em;font-style:italic;font-weight:bold;'><span style='white-space:pre;'>Polling Panel</span></div> #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2e4c7680>
06 11/13/16 12:14:09.255 Device_Variable::m_szValue_set device: 118 service: urn:rstrouse-com:serviceId:AutelisJandy1 variable: RunState was: 250 now: 255 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2e4c7680>
06 11/13/16 12:14:09.256 Device_Variable::m_szValue_set device: 118 service: urn:rstrouse-com:serviceId:AutelisJandy1 variable: RunStateDesc was: Polling Panel now: Connection Error #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2e4c7680>
06 11/13/16 12:14:09.257 Device_Variable::m_szValue_set device: 118 service: urn:rstrouse-com:serviceId:AutelisJandy1 variable: RunStateDesc_Formatted was: <div style='display:inline-block;vertical-align:top;color:green;font-size:.7em;font-style:italic;font-weight:bold;'><span style='white-space:pre;'>Polling Panel</span></div> now: <div style='display:inline-block;vertical-align:top;color:red;font-size:.7em;font-weight:bold;'><span style='white-space:pre;'>Connection Error</span></div> #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2e4c7680>
06 11/13/16 12:14:09.257 Device_Variable::m_szValue_set device: 118 service: urn:rstrouse-com:serviceId:AutelisJandy1 variable: LastUpdate was: 1479067749 now: 1479068049 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2e4c7680>
06 11/13/16 12:15:23.887 Device_Variable::m_szValue_set device: 133 service: urn:rstrouse-com:serviceId:JandyHeater1 variable: AirTemp was: 81 now: 82 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x3014b680>
06 11/13/16 12:15:23.888 Device_Variable::m_szValue_set device: 133 service: urn:rstrouse-com:serviceId:JandyHeater1 variable: AirTemp_Formatted was: <div style='display:inline-block;vertical-align:top;font-size:.8em;format:{0}&deg;F;color:orangered;text-align:right;font-weight:bold;width:37px'><span style='white-space:pre;'>81&deg;F</span></div> now: <div style='display:inline-block;vertical-align:top;font-size:.8em;format:{0}&deg;F;color:orangered;text-align:right;font-weight:bold;width:37px'><span style='white-space:pre;'>82&deg;F</span></div> #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x3014b680>
06 11/13/16 12:15:23.890 Device_Variable::m_szValue_set device: 132 service: urn:rstrouse-com:serviceId:JandyHeater1 variable: AirTemp was: 81 now: 82 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x3014b680>
06 11/13/16 12:15:23.891 Device_Variable::m_szValue_set device: 132 service: urn:rstrouse-com:serviceId:JandyHeater1 variable: AirTemp_Formatted was: <div style='display:inline-block;vertical-align:top;font-size:.8em;format:{0}&deg;F;color:orangered;text-align:right;font-weight:bold;width:37px'><span style='white-space:pre;'>81&deg;F</span></div> now: <div style='display:inline-block;vertical-align:top;font-size:.8em;format:{0}&deg;F;color:orangered;text-align:right;font-weight:bold;width:37px'><span style='white-space:pre;'>82&deg;F</span></div> #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x3014b680>

-- restared Luup here --

06 11/13/16 12:19:19.483 Device_Variable::m_szValue_set device: 118 service: urn:rstrouse-com:serviceId:AutelisJandy1 variable: RunState was: 255 now: 250 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2b66f680>
06 11/13/16 12:19:19.483 Device_Variable::m_szValue_set device: 118 service: urn:rstrouse-com:serviceId:AutelisJandy1 variable: RunStateDesc was: Connection Error now: Polling Panel #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2b66f680>
06 11/13/16 12:19:19.495 Device_Variable::m_szValue_set device: 118 service: urn:rstrouse-com:serviceId:AutelisJandy1 variable: RunStateDesc_Formatted was: <div style='display:inline-block;vertical-align:top;color:red;font-size:.7em;font-weight:bold;'><span style='white-space:pre;'>Connection Error</span></div> now: <div style='display:inline-block;vertical-align:top;color:green;font-size:.7em;font-style:italic;font-weight:bold;'><span style='white-space:pre;'>Polling Panel</span></div> #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2b66f680>
06 11/13/16 12:19:20.204 Device_Variable::m_szValue_set device: 118 service: urn:rstrouse-com:serviceId:AutelisJandy1 variable: LastUpdate was: 1479068049 now: 1479068360 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 __LEAK__ this:970752 start:5124096 to 0x1fd4000 <0x2b66f680>
06 11/13/16 12:19:20.216 Device_Variable::m_szValue_set device: 118 service: urn:rstrouse-com:serviceId:AutelisJandy1 variable: LastUpate was: 1479040749 now: 1479068360 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2b66f680>
06 11/13/16 12:19:20.217 Device_Variable::m_szValue_set device: 118 service: urn:rstrouse-com:serviceId:AutelisJandy1 variable: RunState was: 250 now: 251 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2b66f680>
06 11/13/16 12:19:20.218 Device_Variable::m_szValue_set device: 118 service: urn:rstrouse-com:serviceId:AutelisJandy1 variable: RunStateDesc was: Polling Panel now: Polling Pumps #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2b66f680>
06 11/13/16 12:19:20.218 Device_Variable::m_szValue_set device: 118 service: urn:rstrouse-com:serviceId:AutelisJandy1 variable: RunStateDesc_Formatted was: <div style='display:inline-block;vertical-align:top;color:green;font-size:.7em;font-style:italic;font-weight:bold;'><span style='white-space:pre;'>Polling Panel</span></div> now: <div style='display:inline-block;vertical-align:top;color:green;font-size:.7em;font-style:italic;font-weight:bold;'><span style='white-space:pre;'>Polling Pumps</span></div> #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2b66f680>
06 11/13/16 12:19:20.293 Device_Variable::m_szValue_set device: 118 service: urn:rstrouse-com:serviceId:AutelisJandy1 variable: RunState was: 251 now: 8 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2b66f680>
06 11/13/16 12:19:20.294 Device_Variable::m_szValue_set device: 118 service: urn:rstrouse-com:serviceId:AutelisJandy1 variable: RunStateDesc was: Polling Pumps now: Connected and Ready #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2b66f680>
06 11/13/16 12:19:20.295 Device_Variable::m_szValue_set device: 118 service: urn:rstrouse-com:serviceId:AutelisJandy1 variable: RunStateDesc_Formatted was: <div style='display:inline-block;vertical-align:top;color:green;font-size:.7em;font-style:italic;font-weight:bold;'><span style='white-space:pre;'>Polling Pumps</span></div> now: <div style='display:inline-block;vertical-align:top;color:green;font-size:.7em;font-weight:bold;'><span style='white-space:pre;'>Connected and Ready</span></div> #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2b66f680>
06 11/13/16 12:19:20.296 Device_Variable::m_szValue_set device: 118 service: urn:rstrouse-com:serviceId:AutelisJandy1 variable: PumpLastUpdate was: 1479066789 now: 1479068360 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2b66f680>
06 11/13/16 12:19:20.299 Device_Variable::m_szValue_set device: 118 service: urn:rstrouse-com:serviceId:AutelisJandy1 variable: RunState was: 8 now: 252 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2b66f680>
06 11/13/16 12:19:20.299 Device_Variable::m_szValue_set device: 118 service: urn:rstrouse-com:serviceId:AutelisJandy1 variable: RunStateDesc was: Connected and Ready now: Polling Chemistry #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2b66f680>
06 11/13/16 12:19:20.300 Device_Variable::m_szValue_set device: 118 service: urn:rstrouse-com:serviceId:AutelisJandy1 variable: RunStateDesc_Formatted was: <div style='display:inline-block;vertical-align:top;color:green;font-size:.7em;font-weight:bold;'><span style='white-space:pre;'>Connected and Ready</span></div> now: <div style='display:inline-block;vertical-align:top;color:green;font-size:.7em;font-style:italic;font-weight:bold;'><span style='white-space:pre;'>Polling Chemistry</span></div> #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2b66f680>
06 11/13/16 12:19:23.367 Device_Variable::m_szValue_set device: 118 service: urn:rstrouse-com:serviceId:AutelisJandy1 variable: RunState was: 252 now: 8 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 __LEAK__ this:528384 start:5652480 to 0x2055000 <0x2b66f680>
06 11/13/16 12:19:23.368 Device_Variable::m_szValue_set device: 118 service: urn:rstrouse-com:serviceId:AutelisJandy1 variable: RunStateDesc was: Polling Chemistry now: Connected and Ready #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2b66f680>
06 11/13/16 12:19:23.369 Device_Variable::m_szValue_set device: 118 service: urn:rstrouse-com:serviceId:AutelisJandy1 variable: RunStateDesc_Formatted was: <div style='display:inline-block;vertical-align:top;color:green;font-size:.7em;font-style:italic;font-weight:bold;'><span style='white-space:pre;'>Polling Chemistry</span></div> now: <div style='display:inline-block;vertical-align:top;color:green;font-size:.7em;font-weight:bold;'><span style='white-space:pre;'>Connected and Ready</span></div> #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2b66f680>
06 11/13/16 12:19:23.370 Device_Variable::m_szValue_set device: 118 service: urn:rstrouse-com:serviceId:AutelisJandy1 variable: ChemistryLastUpdate was: 1479066849 now: 1479068363 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2b66f680>
06 11/13/16 12:19:23.446 Device_Variable::m_szValue_set device: 130 service: urn:rstrouse-com:serviceId:Chlorinator1 variable: PoolSaltLevel was: 0 now: 3500 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2b66f680>
06 11/13/16 12:19:23.447 Device_Variable::m_szValue_set device: 130 service: urn:rstrouse-com:serviceId:Chlorinator1 variable: PoolSaltLevel_Formatted was: <div style='display:inline-block;vertical-align:top;font-size:.8em;color:crimson;text-align:right;font-weight:bold;width:32px'><span style='white-space:pre;'>0</span></div> now: <div style='display:inline-block;vertical-align:top;font-size:.8em;color:green;text-align:right;font-weight:bold;width:32px'><span style='white-space:pre;'>3500</span></div> #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2b66f680>
06 11/13/16 12:19:23.447 Device_Variable::m_szValue_set device: 130 service: urn:rstrouse-com:serviceId:Chlorinator1 variable: SpaSaltLevel was: 0 now: 3500 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2b66f680>
06 11/13/16 12:19:23.448 Device_Variable::m_szValue_set device: 130 service: urn:rstrouse-com:serviceId:Chlorinator1 variable: SpaSaltLevel_Formatted was: <div style='display:inline-block;vertical-align:top;font-size:.8em;color:crimson;text-align:right;font-weight:bold;width:32px'><span style='white-space:pre;'>0</span></div> now: <div style='display:inline-block;vertical-align:top;font-size:.8em;color:green;text-align:right;font-weight:bold;width:32px'><span style='white-space:pre;'>3500</span></div> #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2b66f680>
06 11/13/16 12:19:23.449 Device_Variable::m_szValue_set device: 130 service: urn:rstrouse-com:serviceId:Chlorinator1 variable: SaltLevel was: 0 now: 3500 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2b66f680>
06 11/13/16 12:19:23.450 Device_Variable::m_szValue_set device: 130 service: urn:rstrouse-com:serviceId:Chlorinator1 variable: SaltLevel_Formatted was: <div style='display:inline-block;vertical-align:top;font-size:.8em;color:crimson;text-align:right;font-weight:bold;width:32px'><span style='white-space:pre;'>0</span></div> now: <div style='display:inline-block;vertical-align:top;font-size:.8em;color:green;text-align:right;font-weight:bold;width:32px'><span style='white-space:pre;'>3500</span></div> #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2b66f680>
06 11/13/16 12:19:23.450 Device_Variable::m_szValue_set device: 130 service: urn:rstrouse-com:serviceId:Chlorinator1 variable: PoolSetpoint was: 0 now: 30 #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2b66f680>
06 11/13/16 12:19:23.451 Device_Variable::m_szValue_set device: 130 service: urn:rstrouse-com:serviceId:Chlorinator1 variable: Status was: Off now: On #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2b66f680>
06 11/13/16 12:19:23.452 Device_Variable::m_szValue_set device: 130 service: urn:rstrouse-com:serviceId:Chlorinator1 variable: StatusDesc was: Cell Off now: Chlorinating #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2b66f680>
06 11/13/16 12:19:23.452 Device_Variable::m_szValue_set device: 130 service: urn:rstrouse-com:serviceId:Chlorinator1 variable: StatusDesc_Formatted was: <div style='display:inline-block;vertical-align:top;color:gray;font-size:.8em;'><span style='white-space:pre;'>Cell Off</span></div> now: <div style='display:inline-block;vertical-align:top;color:green;font-size:.8em;font-weight:bold;'><span style='white-space:pre;'>Chlorinating</span></div> #hooks: 0 upnp: 0 v:(nil)/NONE duplicate:0 <0x2b66f680>
Title: Re: Autelis Control?
Post by: rstrouse on November 18, 2016, 06:42:44 pm
@mda

I PM'd you.  Here is that screenshot of the Pentair.

The cell column is one of about 13 codes or so that report everything from low flow to over-voltage.

Title: Re: Autelis Control?
Post by: Sammy2 on November 28, 2016, 12:32:00 pm
Hi @rstrouse, I am seeing an odd behavior with my Jandy LED lights that might be plug-in related...

In iAqualink i set both my pool light and spa light to "Cobalt Blue" and both cycle until they arrive at that color. Then some minutes later the spa light switches to a lighter blue. I am not sure the plug in is doing this but I wonder if there might be some sort of accidental index incrementing going on that is switching the light color?

Sorry I don't have more data, I will try to gather more details and check logs, but wanted to put this on your radar in case you happen to think of what might be causing it. Thanks.

Lately, my Jandy Colors have not been cycling through but stuck on White.. I have to go through the process of turning them off then on then off then on then select Color Splash to get them to cycle through again. Not sure if this is Jandy, Autelis or Pool Control via Vera but I suspect it is Jandy. Is there a log I should post?
Title: Re: Autelis Control?
Post by: Sammy2 on March 15, 2017, 04:11:25 pm
Hi @rstrouse, I am seeing an odd behavior with my Jandy LED lights that might be plug-in related...

In iAqualink i set both my pool light and spa light to "Cobalt Blue" and both cycle until they arrive at that color. Then some minutes later the spa light switches to a lighter blue. I am not sure the plug in is doing this but I wonder if there might be some sort of accidental index incrementing going on that is switching the light color?

Sorry I don't have more data, I will try to gather more details and check logs, but wanted to put this on your radar in case you happen to think of what might be causing it. Thanks.

Lately, my Jandy Colors have not been cycling through but stuck on White.. I have to go through the process of turning them off then on then off then on then select Color Splash to get them to cycle through again. Not sure if this is Jandy, Autelis or Pool Control via Vera but I suspect it is Jandy. Is there a log I should post?

I guess I never reported back but all is well again.

I'm wondering if this will ever go beyond beta and show up in the MiOS App store?
Title: Re: Autelis Control?
Post by: Sammy2 on March 15, 2017, 04:17:30 pm
@rstrouse

I am looking to integrate a soon to be acquired VS pump into my system is discussed on the Trouble Free Pool Forum (https://www.troublefreepool.com/threads/133714-Pump-sizing-for-SWCG?p=1184301&viewfull=1#post1184301) using MIMO Z-Wave Relays. Will there be anything special to incorporate this into the Macros that run my various party modes or do I just add them to the associated scenes that those Macros call. BTW, I call the Macros "One Touch Controls".



Title: Re: Autelis Control?
Post by: rstrouse on March 15, 2017, 04:25:28 pm
@Sammy,

Yes I am going to release the Jandy version with the new version of the Pentair since I have to relearn the deployment software each time I post a version.  I am currently on hold since I have to find some time to sit down and draw an Icon for the Jandy version.  Any chance you are artistic?  I flip bits for a living not pixels.

Why wouldn't you simply hook the VS pump up to your iAquaLink?  Forget it I just read your post on TFP.  This is how you set multiple speeds in Pentair land.  I guess the iAquaLink actually needs a hardwired relay but in Pentair these can be virtual (Feature circuits).  So yes simply set them up as a macro.

Title: Re: Autelis Control?
Post by: Sammy2 on March 15, 2017, 04:43:24 pm
@Sammy,

Yes I am going to release the Jandy version with the new version of the Pentair since I have to relearn the deployment software each time I post a version.  I am currently on hold since I have to find some time to sit down and draw an Icon for the Jandy version.  Any chance you are artistic?  I flip bits for a living not pixels.

Why wouldn't you simply hook the VS pump up to your iAquaLink?  Forget it I just read your post on TFP.  This is how you set multiple speeds in Pentair land.  I guess the iAquaLink actually needs a hardwired relay but in Pentair these can be virtual (Feature circuits).  So yes simply set them up as a macro.

Thanks for the quick response!

I think that later Jandy RS One Touch PCB's incorporated VS Pumps. I saw a post, maybe page 3 of this thread, where mda had ouput for */pumps.html. I get a 404 error. This is why, short of replacing my Jandy PCB, I will incorporate a couple 24V MIMO relays into my Macros / Scenes. This is the most cost effective way to do this I think. Thanks for confirming that I am on the right track. The MIMO relay works great with the RTS Garage Door Plugin BTW to control my Garage Door.
Title: Re: Autelis Control?
Post by: Sammy2 on March 15, 2017, 04:50:07 pm
BTW, just swap out the Pentair logo for the AquaLink or Zodiac Logo found here (http://www.jandy.com/~/media/zodiac/global/downloads/sl/sl5504.pdf).. Cut. Paste. Done.
Title: Re: Autelis Control?
Post by: rstrouse on March 15, 2017, 05:08:37 pm
@Sammy,

Yeah unfortunately those images are all dithered around them so you have to sit down and strip all the pixels around the borders.  Not hard just time consuming.

BTW.  Be careful spending too much time reading about head measurements when determining the pump performance.  These pumps are not for wells or filling water towers, they often pump downhill and draw only slightly uphill.  Their focus is on flow rate not pressure so and most significant effect on flow are elbows and pipe diameter in the plumbing.  That is why I have 3" pipe in my pool and can get a chlor cycle ~1000 rpm and a clean cycle ~1600.  I'll bet I could actually set the chlor cycle lower but I want to make sure I have ample flow over the spa spillway during that time.
Title: Re: Autelis Control?
Post by: Sammy2 on March 15, 2017, 07:30:30 pm
Yeah.. that's tedious to go in and fill in pixels by hand.

Thanks for the head's up on going to crazy on the pump analysis.. it looks more and more that I should just do it as it seems the cost will be recouped in about a year..
Title: Re: Autelis Control?
Post by: rstrouse on March 15, 2017, 07:46:55 pm
Yeah I'll bet you pay homage to the PG&E deities.  Fortunately, I am part of a public/private utility.  I'm not sure I know how to control a VS pump via relays but if you can get it to run @ 100w for 5 hours vs.  3Kw for 3 hours you are saving half and probably dropping a tier or two in your billing.
Title: Re: Autelis Control?
Post by: Sammy2 on March 15, 2017, 07:56:16 pm
Yeah I'll bet you pay homage to the PG&E deities.  Fortunately, I am part of a public/private utility.  I'm not sure I know how to control a VS pump via relays but if you can get it to run @ 100w for 5 hours vs.  3Kw for 3 hours you are saving half and probably dropping a tier or two in your billing.

I'm in Riverside Public Utility and they give a $200 rebate on VSP's. I have solar so some of the year I'm in no tier at all although this year with the rain and associated cloud cover, I'm yet to "bank" kWh's but suspect I will for the next 2 or 3 billing cycles. In the summer we get into tier 3 at $.1867/kWh but even in the spring we're on Winter Tiers which break at 350kWh and 750kWh at $.1035 and $.1648 respectively and we have creeped into tier 3 at times. I figure everything I save on the pump costs for at least 7 to 8 months a year is in tier 3 and I'll get more banked energy at tier 1 or pay on it at tier 2 for the balance of the year.

Over on TFP, I was refered the manual for a Pentair Pump that can have the speed controlled via an adapter (https://www.amazon.com/gp/product/B01MCTHE53/ref=ox_sc_act_title_1?ie=UTF8&psc=1&smid=A1NGYZL9Y6NWBO) (sorta spendy for this thing, so once I have the pump in my hand I'll look to see if it can be done with a different cable) and 4 low voltage relays. I can control it with a couple MiMo low voltage z-wave relays (https://www.amazon.com/gp/product/B008D5066C/ref=ox_sc_act_title_2?ie=UTF8&psc=1&smid=A33RI86K4PO1EO) like this:

Title: Re: Autelis Control?
Post by: rstrouse on March 15, 2017, 08:05:16 pm
Oh, I see this is the Intellicomm adapter.  I didn't know that it translates the RS-485 link into 4 distinct inputs.  Makes sense.
Title: Re: Autelis Control?
Post by: Sammy2 on March 15, 2017, 08:07:19 pm
Oh, I see this is the Intellicomm adapter.  I didn't know that it translates the RS-485 link into 4 distinct inputs.  Makes sense.

I may need to enlist the help of someone that knows Lua to get the logic correct on this in order to do what I want with it..  ;) :D

Or I try to do something with AltUI or PLEG but I am still trying to figure those out too.
Title: Re: Autelis Control?
Post by: Sammy2 on March 21, 2017, 05:32:05 pm
Oh, I see this is the Intellicomm adapter.  I didn't know that it translates the RS-485 link into 4 distinct inputs.  Makes sense.

IntelliComm works with the IntelliFlo. I ended up getting the SuperFlo not only because the pump is $200 less but I only need an (overpriced @ $50!!) cable to connect it to Z-Wave relays as opposed to the $200 IntelliComm adaptor and an (unavailable anyhow) Port on my Jandy board which would lead to me having to upgrade the whole board, probably to pentair, then an new or flashed Autelis to work with that. Snowball Effect!! The SuperFlo is the only viable solution for me right now.
Title: Re: Autelis Control?
Post by: Sammy2 on March 26, 2017, 09:45:10 am
I got the pump installed. When powering back up the panel, the Autelis Control Unit became unresponsive. I rebooted it a couple of times and I also power cycled the Jandy Board a couple of time, even hitting the reset button on it as well. I even hit the reset button in the Autelis Web GUI and was even able to put back in my AUX labels which Google autofill saved for me and I was able to go to the ISY page and redo the Vera integration settings. Finally, I hooked back up the indoor touch panel and can control the pool from there indicating the Jandy Panel works fine but the Autelis, while powering up and connecting to my network does not work. I'm considering flashing the f/w but not sure if that will help. Autelis says on their webpage that they have a one year warranty but they are also out of stock, supposedly until April according to a post on their forum. I have posted there as well without any response..
Title: Re: Autelis Control?
Post by: Sammy2 on March 31, 2017, 06:40:08 pm
I am happy to report that after testing the voltages and continuity as good and removing the wires from the Autelis, firmly pushing the green terminal block into the Autelis and reinstalling the wires then hitting the reset button on the Autelis it came back to life and connected back to the Vera Plugin. All is well for the time being. Not sure why this occurred but glad it is resolved.
Title: Re: Autelis Control?
Post by: ssubo on May 17, 2017, 11:11:09 am
Thanks a lot for a great plugin! I installed and it everything seemed to be working fine. However, every day I get the "connection error" message. When I open the "connect" tab and click "save connection changes" it reconnects again. Any thoughts on how to solve this? I'm using a static IP and the connection to the Autelis unit is via ethernet. Tks again.
Title: Re: Autelis Control?
Post by: rstrouse on May 17, 2017, 11:42:32 am
Thanks a lot for a great plugin! I installed and it everything seemed to be working fine. However, every day I get the "connection error" message. When I open the "connect" tab and click "save connection changes" it reconnects again. Any thoughts on how to solve this? I'm using a static IP and the connection to the Autelis unit is via ethernet. Tks again.

Are you running Pentair or Jandy equipment?
Title: Re: Autelis Control?
Post by: ssubo on May 17, 2017, 01:13:52 pm
Pentair. Tks for the immediate response!
Title: Re: Autelis Control?
Post by: rstrouse on May 17, 2017, 03:08:35 pm
In that case I am pretty sure I know what is going on and I do have a fix.  It has to do with the plugin misinterpreting a busy response from the Pentair personality board as a communication failure.  The plugin is designed to stop attempting to poll the equipment when it sees a communication failure.

Now that being said are you running UI5 or UI7?
Title: Re: Autelis Control?
Post by: ssubo on May 17, 2017, 09:07:11 pm
In that case I am pretty sure I know what is going on and I do have a fix.  It has to do with the plugin misinterpreting a busy response from the Pentair personality board as a communication failure.  The plugin is designed to stop attempting to poll the equipment when it sees a communication failure.

Now that being said are you running UI5 or UI7?

I'm running UI7. Any workarounds? Tks!
Title: Re: Autelis Control?
Post by: rstrouse on May 18, 2017, 07:27:13 pm
In that case I am pretty sure I know what is going on and I do have a fix.  It has to do with the plugin misinterpreting a busy response from the Pentair personality board as a communication failure.  The plugin is designed to stop attempting to poll the equipment when it sees a communication failure.

Now that being said are you running UI5 or UI7?

I'm running UI7. Any workarounds? Tks!
I'll upload a new version that adds processing for the missing busy response as well as provides some additional features tomorrow afternoon.  This will fix your issues.
Title: Re: Autelis Control?
Post by: Sammy2 on May 18, 2017, 07:28:26 pm
Cool. I'm okay to not have a cool icon for the Jandy Version as what I have works. Thank you for all this!
Title: Re: Autelis Control?
Post by: ssubo on May 19, 2017, 04:47:30 pm
In that case I am pretty sure I know what is going on and I do have a fix.  It has to do with the plugin misinterpreting a busy response from the Pentair personality board as a communication failure.  The plugin is designed to stop attempting to poll the equipment when it sees a communication failure.

Now that being said are you running UI5 or UI7?

I'm running UI7. Any workarounds? Tks!
I'll upload a new version that adds processing for the missing busy response as well as provides some additional features tomorrow afternoon.  This will fix your issues.

Thanks, I really appreciate all your work!
Title: Re: Autelis Control?
Post by: rstrouse on May 19, 2017, 05:39:02 pm
In that case I am pretty sure I know what is going on and I do have a fix.  It has to do with the plugin misinterpreting a busy response from the Pentair personality board as a communication failure.  The plugin is designed to stop attempting to poll the equipment when it sees a communication failure.

Now that being said are you running UI5 or UI7?

I'm running UI7. Any workarounds? Tks!
I'll upload a new version that adds processing for the missing busy response as well as provides some additional features tomorrow afternoon.  This will fix your issues.

Thanks, I really appreciate all your work!

I have posted a new version at the following url.  Download and extract the Pool Control Plugin v3.0.zip file then copy all the files to your Vera by going to Apps-->Develop Apps-->Luup Files and dragging them to the upload section.

NOTE: This version is for Pentair equipment only and not for Jandy equipment.

http://forum.micasaverde.com/index.php?topic=30275.msg215828#msg215828 (http://forum.micasaverde.com/index.php?topic=30275.msg215828#msg215828)

Title: Re: Autelis Control?
Post by: ssubo on May 19, 2017, 05:50:12 pm
Tks a lot! Just downloaded and installed. Working great so far!