Modifying Autelis Binding

Tags: #<Tag:0x00007f5c98c45418>

Hi there,

I installed openhab2 on a pi and configured the Autelis Binding. It connects fine with my Autelis Suntouch controller.

I realized the Openhab binding is missing an item for the Solar temperature “soltemp” (see item on the XML below). How can I modify my local configuration to show the Solar temperature on the UI?

Thanks in advance!

Javier

PS: here is the response to http://autelis-controller-ip/status.xml

<response>
<script/>
<system>
<runstate>50</runstate>
<model>11</model>
<haddr>1</haddr>
<opmode>0</opmode>
<freeze>0</freeze>
<sensor1>0</sensor1>
<sensor2>0</sensor2>
<sensor3>0</sensor3>
<sensor4>0</sensor4>
<sensor5>0</sensor5>
<version>1.6.8</version>
<time>1571768570</time>
<systime>11,22,4,22,10,19,0,0</systime>
</system>
<equipment>
<circuit1>0</circuit1>
<circuit2>0</circuit2>
<circuit3>1</circuit3>
<circuit4>0</circuit4>
<circuit5>0</circuit5>
<circuit6>1</circuit6>
<circuit7>0</circuit7>
<circuit8>0</circuit8>
<circuit9>0</circuit9>
<circuit10/>
<circuit11/>
<circuit12/>
<circuit13/>
<circuit14/>
<circuit15/>
<circuit16/>
<circuit17/>
<circuit18/>
<circuit19/>
<circuit20/>
<feature1/>
<feature2/>
<feature3/>
<feature4/>
<feature5/>
<feature6/>
<feature7/>
<feature8/>
<feature9/>
<feature10/>
</equipment>
<temp>
<poolht>3</poolht>
<spaht>1</spaht>
<htstatus>0</htstatus>
<poolsp>100</poolsp>
<spasp>100</spasp>
<maxplsp/>
<pooltemp>67</pooltemp>
<spatemp>67</spatemp>
<airtemp>79</airtemp>
<soltemp>104</soltemp>
<tempunits>F</tempunits>
<htpump>0</htpump>
</temp>
</response>

The docs would appear to indicate the binding does not support the soltemp property for the Pentair controller.

Hard to tell, since this particular doc doesn’t actually document much of anything.

If so, then you can’t do what you’re trying to do without modifying the binding itself.

Right, I am looking for guidance on how to modify the Autelis binding

Just do it?

The code’s easy enough to find.

Just a follow-up, that I filed a pull request in GitHub that was merged and included in the latest OPENHAB release. I upgraded the OPENHAB on my Raspberry pi and now the Solar temperature is showing fine!

So closing this!

Thanks OPENHAB community!

2 Likes