In comparing the openhab.log with the network sniffer I noticed that at about the same time the openhab.log showed the transition from Initializing to online the sniffer showed that the binding sent a get status command to the autelis and the autelis responded with what I believe is the correct xml response and a 200 (No Error) response code. At about the time the openhab.log showed the transition from online to offline (Configuration Error) and then (Communication Error) the sniffer showed the binding sending the following command:
'GET /chem.xml?timestamp=1490044953225
The autelis then responded with a response code of 404 Not Found
The autelis controller I have is the model that only supports the Intelliflow pump. I was wondering if this could will be the problem.
Nope no resolution. I have put a logic analyzer on the physical interface
and run a network sniffer and I am convinced the binding doesn’t handle
that model correctly, but no feedback from the developer.
Thanks Larry. Based on your clue, I looked through the code and sure enough, the developer has assumed there are 3 XML files available at the controller - Status, Chem and Pumps. There’s no allowance if any of these don’t exist, so, like you, I have no Chem.xml (nor pumps.xml) so the binding reports a “communication error”.
Based on this I created a custom version of the autelis binding that removes the Chem and Pumps xml check - though longer term I could probably re-write so those won’t cause an error if they don’t exist. Happy to pass it along if you’d like. I haven’t tested it completely, but it is working correctly and I’m successfully reading Pool Temp in OH2. I’m going to try equipment control soon.
I know the developer of the Autellis binding has added some additional code so it is now aware of the differences between the Jandy and Pentair versions of the Autellis controller.
I don’t know if he has initiated a PR as there were a couple of issues I had brought up to him.
As far as I am aware all of the Autellis controllers have the addional XML files.
Sorry for the delay. Here’s the Autelis binding with only status.xml processed: Autelis Binding jar
You’ll also need the Smarthome uPNP jar in your addons folder with the Autelis binding: Smarthome uPNP
I’ve only tested temperature and an equipment switch for the pump. Temperature works, but equipment did not. I see differences in the code vs. the webapi called, so I intended to address issues to work with my controller.
@KidSquid - I definitely do not have chem or pump xml. I have not upgraded the controller though, so they might be in all controllers in a later version.
Hi, I’m trying to use the binding with a Pentair SunTouch system via ScreenLogic 2 protocol adapter. I installed the binding and created a autelis.things in the things directory
Spoke too soon, does the latest jandy-pre4 binding still check chem.xml? I am not seeing chlrp and saltp set in openHAB. When I turn on trace, I don’t see anything from chem.xml or pumps.xml.
My items:
Number Pool_Random "Random Pool Lights [%s]" (Pool)
Switch Pool_Pump "Pool Pump" <pool_pump> (Pool) {channel="autelis:jandy:Pool:equipment-pump"}
Number Pool_Pump_Speed "Pool Pump Speed [MAP(poolPump.map):%s]" <pool_pump> (Pool) {channel="autelis:jandy:Pool:pumps-vsp1"}
Switch Pool_Heat "Pool Heat []" <pool_heater> (Pool) {channel="autelis:jandy:Pool:equipment-poolht"}
Number Pool_SetPoint "Pool SetPoint [%.0f °F]" <temperature> (Pool) {channel="autelis:jandy:Pool:temp-poolsp"}
Number Pool_Temperature "Pool Temperature [%.0f °F]" <temperature> (Pool) {channel="autelis:jandy:Pool:temp-pooltemp"}
Number Pool_Chlorination "Chlorination Setpoint [%d %%]" <chlorine> (Pool) {channel="autelis:jandy:Pool:chem-chlrp"}
Number Pool_Salt_Sensor (Pool) {channel="autelis:jandy:Pool:chem-saltp"}
Number Pool_Salt "Pool Salt Level [%d ppm]" <salt> (Pool)
String Pool_ORP_Sensor {serial="/dev/ttyPort4@9600"}
Number Pool_ORP "Pool ORP [%.1f mV]" <orp> (Pool)
String Pool_pH_Sensor {serial="/dev/ttyPort5@9600"}
Number Pool_pH "Pool pH [%.2f pH]" <ph> (Pool)
Switch Pool_Freeze