Haven’t had a chance to check it out. Plan to check it this week. Will let you know
Noticed one other thing that no longer works, “equipment-poolht”. When I turn it on via Jandy directly the item state is updated in openHab. However when I try to change the item on or off in openHab I don’t see any change in the autelis.log.
Running pre5, on openHab 2.3.
My items:
Number Pool_Random "Random Pool Lights [%s]" <light> (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 [%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 (Pool)
I’ll take a look this weekend.
That channel is actually a number and not a switch…
So this is something I went around and around on, on the surface it would seem that heaters should be a switch, but in the autelis API that can actually be 3 values, as opposed to something binary, this is how it looks in the thing file
<channel-type id="equipment-ht">
<item-type>Number</item-type>
<label>Heater</label>
<description>The current state of the heater</description>
<state>
<options>
<option value="0">Off</option>
<option value="1">Enabled</option>
<option value="2">On</option>
</options>
</state>
</channel-type>
In my sitemap I have
Switch item=PoolHeat mappings=[0="Off", 1="On"]
Thanks!
Anything wrong with my pump speed? I can turn it on and off, but not change the speed.
Number Pool_Pump_Speed "Pool Pump Speed [MAP(poolPump.map):%s]" <pool_pump> (Pool) {channel="autelis:jandy:Pool:pumps-vsp1"}
When I change that I don’t see anything change in the logs.
Setpoint item=Pool_Pump_Speed minValue=1 maxValue=8 step=1
Note when I change it on Jandy I do see it update in openHAB.
01-Jun-2018 08:15:14.085 [TRACE] [org.openhab.binding.autelis.handler.AutelisHandler] - updating channel autelis:jandy:Pool:pumps-vsp1 with state 3 (old state 1)
Still having an issues with setting pump speed, also having some problems with pool-heat.
events.log:2018-06-21 10:00:01.854 [ome.event.ItemCommandEvent] - Item 'Pool_Heat' received command 2
events.log:2018-06-21 10:00:01.855 [vent.ItemStateChangedEvent] - Pool_Heat changed from 0 to 2
events.log:2018-06-21 10:00:08.688 [vent.ItemStateChangedEvent] - Pool_Heat changed from 2 to 0
21-Jun-2018 10:00:01.855 [DEBUG] [org.openhab.binding.autelis.handler.AutelisHandler] - handleCommand channel: equipment-poolht command: 2
21-Jun-2018 10:00:01.878 [DEBUG] [org.openhab.binding.autelis.handler.AutelisHandler] - equipment set poolht value 2 : result 1