I’m very new to openHAB and struggling in many ways…
here is in the documentation is an FHRT binding
http://docs.openhab.org/addons/bindings/fht1/readme.html
However, no amount of searching, seems to land me with any idea of how to install or use it.
Does someone mind explaining to me how to install this binding please?
sihui
(SiHui)
April 4, 2017, 11:59am
#2
You need to install that binding manually and also install the compatibility layer:
Ah, ok. thanks. I’ve managed to download and install the add on, and it tells me that it is installed and running.
181 | Active | 80 | 2.0.0 | openHAB 1.x Compatibility Layer
182 | Active | 80 | 1.9.0 | openHAB CUL Transport Bundle
185 | Active | 80 | 2.0.0 | Exec Binding
188 | Active | 80 | 1.9.0.201602270920 | openHAB FHT Binding
I’ve created an fht.cfg file the services folder with the contents
housecode=1234
device=network:192.168.1.4:2000
I’m usually running FHEM which connects to this ser2net instance running on a rPi, and it works fine.
but I’m quite stuck how to configure an item to get and set the temp, plus valve position, as documented here…
sihui
(SiHui)
April 6, 2017, 6:12am
#4
fht.items:
//valve position in percent
Number FHT_Valve_Position "Valve Position [%d %%]" { fht="TR3D4900" }
//window contact
Contact FHT_Window_Contact "Window [%s]" { fht="TR952E90" }
fht.sitemap:
sitemap fht label="FHT binding test"
{
Text item=FHT_Valve_Position
Text item=FHT_Window_Contact
}
For general instructions how to do that:
http://docs.openhab.org/configuration/items.html
http://docs.openhab.org/configuration/sitemaps.html
sitemap demo label="Main Menu"
{
Frame {
Group item=gFF label="First Floor" icon="firstfloor"
Group item=gGF label="Ground Floor" icon="groundfloor"
Group item=gC label="Cellar" icon="cellar"
Group item=Garden icon="garden"
}
Frame label="Weather" {
Text item=Weather_Temperature valuecolor=[Weather_LastUpdate=="NULL"="lightgray",Weather_LastUpdate>90="lightgray",>25="orange",>15="green",>5="orange",<=5="blue"] {
Frame {
Text item=Weather_Temp_Max valuecolor=[>25="orange",>15="green",>5="orange",<=5="blue"]
Text item=Weather_Temp_Min valuecolor=[>25="orange",>15="green",>5="orange",<=5="blue"]
Text item=Weather_LastUpdate visibility=[Weather_LastUpdate>30] valuecolor=[Weather_LastUpdate>120="orange", Weather_LastUpdate>300="red"]
}
Frame {
Switch item=Weather_Chart_Period label="Chart Period" icon="chart" mappings=[0="Hour", 1="Day", 2="Week"]
Chart item=Weather_Chart period=h refresh=600000 visibility=[Weather_Chart_Period==0, Weather_Chart_Period=="NULL"]
Chart item=Weather_Chart period=D refresh=3600000 visibility=[Weather_Chart_Period==1]
Chart item=Weather_Chart period=W refresh=3600000 visibility=[Weather_Chart_Period==2]
This file has been truncated. show original
Thank you for the reply. I can’t try it out right now, where does the code come in for each device? Say my fht code is 5846? Does this get factored into that fht="" command?
Finally last question. Setting the desired temp? Sorry for my greenness, I’m pretty good with computers but I’m finishing openhab fairly difficult.
sihui
(SiHui)
April 6, 2017, 12:05pm
#6
I have no idea, I don’t use that binding …