[SOLVED] Insteon PLM Venstar Thermostat Module / ISY994i

Sorry. I know that was a bit cryptic and incomplete, but I am actually traveling and using VPN to access my files. I’m not saying what I did is the only way or even the best way to get this all to work, but it does work and works very well for me. My first suggestion is that you install the ISY binding from the Marketplace. It will do an auto discovery of all the Insteon devices included as part your ISY994i and dump them as Things in your OpenHAB INBOX. You are still free create items using text files but link them to your channels using PaperUI. It makes life a lot easier. There may still be a few devices that you manually need to create but they are few.

It took me quit a bit of trial and error using WireShark and digging on the ISY forums and Google searches to get this all to work, but as I said it now works very well and integrates nicely with OpenHAB.

To answer your specific question you would need to issue the following
MainFloorThermostatVenstarMode.sendCommand(“2”)
which will switch to Cooling Mode. This would be through a Sitemap, HabPanel or a rule or combination thereof.

What I did was link 2 String items to “Fan Setting” channel (vVenstarThermostat_FanMode, vVenstarThermostat_FanSetting)and 2 String Items to “Mode” channel (vVenstarThermostat_ModeSetting, vVenstarThermostat_Mode). These channels will appear within the Venstar Thing. Then in my Sitemap, I included the following.

Switch item=vVenstarThermostat_ModeSetting mappings=[OFF="OFF", HEAT="HEAT", COOL="COOL", AUTO="AUTO", PROGRAM_AUTO="PROG"] label="Mode" valuecolor=["OFF"="gray", "HEAT"="red", "COOL"="blue", "AUTO"="aqua", "PROGRAM_AUTO"="green"] icon="settings" 
Switch item=vVenstarThermostat_FanSetting mappings=[ON="ON", AUTO="AUTO"] label="Fan"  valuecolor=["ON"="green", "AUTO"="blue"] icon="settings" 
        

Notice how the String Items have been Type Cast as Switches. This is a “must do” to be able to set the modes and trigger the rules. You will need to do something similar for HabPanel if you are using that UI.

I also created MAP Transform files for Fan Setting and Mode as follows. All of these transforms may not be required, but it works.

Fan Setting Transform.

0=ON
1=AUTO
Auto=AUTO
On=ON
ON=ON
AUTO=AUTO

Mode Transform

0=OFF
1=HEAT
2=COOL
3=AUTO
4=PROG
Off=OFF
Heat=HEAT
Cool=COOL
Auto=AUTO
AUTO=AUTO
PROGRAM_AUTO=PROG
Program_Auto=PROG
Prog Auto=PROG
PROG AUTO=PROG
OFF=OFF
ON=ON
Null=\
NULL=\
COOL=COOL
HEAT=HEAT
=\

I can’t remember why in one case I used rule trigger “received update” and in the other I used “Changed” but there was a reason so I just use it as it as is. Let me know if I can be of further help. I’m no expert with any of this, less than year using OpenHAB, but I have been able to cobble together a fully?/extensively rule based automated home using Insteon and ISY products as my core and other products bolted on as needed and it works without any significant issues.