I just successfully configured the netatmo binding for my Netatmo MainIndoor-Module in openhab2.
I realized, that not all items from the documentation work.
I then copied the whole list of types from the source code and generated my items from that list.
My config now looks like this:
Number Netatmo_Indoor_Temperature "Temperature" { channel = "netatmo:NAMain:home:inside:Temperature" }
Number Netatmo_Indoor_TempTrend "TempTrend" { channel = "netatmo:NAMain:home:inside:TempTrend" }
Number Netatmo_Indoor_Unit "Unit" { channel = "netatmo:NAMain:home:inside:Unit" }
Number Netatmo_Indoor_Humidity "Humidity" { channel = "netatmo:NAMain:home:inside:Humidity" }
Number Netatmo_Indoor_Humidex "Humidex" { channel = "netatmo:NAMain:home:inside:Humidex" }
Number Netatmo_Indoor_HeatIndex "HeatIndex" { channel = "netatmo:NAMain:home:inside:HeatIndex" }
Number Netatmo_Indoor_Dewpoint "Dewpoint" { channel = "netatmo:NAMain:home:inside:Dewpoint" }
Number Netatmo_Indoor_DewpointDepression "DewpointDepression" { channel = "netatmo:NAMain:home:inside:DewpointDepression" }
Number Netatmo_Indoor_BoilerOn "BoilerOn" { channel = "netatmo:NAMain:home:inside:BoilerOn" }
Number Netatmo_Indoor_BoilerOff "BoilerOff" { channel = "netatmo:NAMain:home:inside:BoilerOff" }
Number Netatmo_Indoor_date_max_temp "date_max_temp" { channel = "netatmo:NAMain:home:inside:date_max_temp" }
Number Netatmo_Indoor_date_min_temp "date_min_temp" { channel = "netatmo:NAMain:home:inside:date_min_temp" }
Number Netatmo_Indoor_min_temp "min_temp" { channel = "netatmo:NAMain:home:inside:min_temp" }
Number Netatmo_Indoor_max_temp "max_temp" { channel = "netatmo:NAMain:home:inside:max_temp" }
Number Netatmo_Indoor_Co2 "Co2" { channel = "netatmo:NAMain:home:inside:Co2" }
Number Netatmo_Indoor_Pressure "Pressure" { channel = "netatmo:NAMain:home:inside:Pressure" }
Number Netatmo_Indoor_AbsolutePressure "AbsolutePressure" { channel = "netatmo:NAMain:home:inside:AbsolutePressure" }
Number Netatmo_Indoor_PressTrend "PressTrend" { channel = "netatmo:NAMain:home:inside:PressTrend" }
Number Netatmo_Indoor_PressureUnit "PressureUnit" { channel = "netatmo:NAMain:home:inside:PressureUnit" }
Number Netatmo_Indoor_Noise "Noise" { channel = "netatmo:NAMain:home:inside:Noise" }
Number Netatmo_Indoor_Rain "Rain" { channel = "netatmo:NAMain:home:inside:Rain" }
Number Netatmo_Indoor_SumRain1 "SumRain1" { channel = "netatmo:NAMain:home:inside:SumRain1" }
Number Netatmo_Indoor_SumRain24 "SumRain24" { channel = "netatmo:NAMain:home:inside:SumRain24" }
Number Netatmo_Indoor_WindAngle "WindAngle" { channel = "netatmo:NAMain:home:inside:WindAngle" }
Number Netatmo_Indoor_WindStrength "WindStrength" { channel = "netatmo:NAMain:home:inside:WindStrength" }
Number Netatmo_Indoor_WindUnit "WindUnit" { channel = "netatmo:NAMain:home:inside:WindUnit" }
Number Netatmo_Indoor_GustAngle "GustAngle" { channel = "netatmo:NAMain:home:inside:GustAngle" }
Number Netatmo_Indoor_GustStrength "GustStrength" { channel = "netatmo:NAMain:home:inside:GustStrength" }
Number Netatmo_Indoor_BatteryVP "BatteryVP" { channel = "netatmo:NAMain:home:inside:BatteryVP" }
Number Netatmo_Indoor_LowBattery "LowBattery" { channel = "netatmo:NAMain:home:inside:LowBattery" }
Number Netatmo_Indoor_WifiStatus "WifiStatus" { channel = "netatmo:NAMain:home:inside:WifiStatus" }
Number Netatmo_Indoor_RfStatus "RfStatus" { channel = "netatmo:NAMain:home:inside:RfStatus" }
Number Netatmo_Indoor_TimeStamp "TimeStamp" { channel = "netatmo:NAMain:home:inside:TimeStamp" }
Number Netatmo_Indoor_Location "Location" { channel = "netatmo:NAMain:home:inside:Location" }
Number Netatmo_Indoor_LastStatusStore "LastStatusStore" { channel = "netatmo:NAMain:home:inside:LastStatusStore" }
Number Netatmo_Indoor_LastMessage "LastMessage" { channel = "netatmo:NAMain:home:inside:LastMessage" }
When I list the items on the karaf console I see some have a valid state.
But many don’t.
I realize (now) that not all types are supported by my indoor module.
list of not working items:
Netatmo_Indoor_TempTrend (Type=NumberItem, State=NULL, Label=TempTrend, Category=null)
Netatmo_Indoor_BoilerOn (Type=NumberItem, State=NULL, Label=BoilerOn, Category=null)
Netatmo_Indoor_BoilerOff (Type=NumberItem, State=NULL, Label=BoilerOff, Category=null)
Netatmo_Indoor_date_max_temp (Type=NumberItem, State=NULL, Label=date_max_temp, Category=null)
Netatmo_Indoor_date_min_temp (Type=NumberItem, State=NULL, Label=date_min_temp, Category=null)
Netatmo_Indoor_min_temp (Type=NumberItem, State=NULL, Label=min_temp, Category=null)
Netatmo_Indoor_max_temp (Type=NumberItem, State=NULL, Label=max_temp, Category=null)
Netatmo_Indoor_PressTrend (Type=NumberItem, State=NULL, Label=PressTrend, Category=null)
Netatmo_Indoor_Rain (Type=NumberItem, State=NULL, Label=Rain, Category=null)
Netatmo_Indoor_SumRain1 (Type=NumberItem, State=NULL, Label=SumRain1, Category=null)
Netatmo_Indoor_SumRain24 (Type=NumberItem, State=NULL, Label=SumRain24, Category=null)
Netatmo_Indoor_WindAngle (Type=NumberItem, State=NULL, Label=WindAngle, Category=null)
Netatmo_Indoor_WindStrength (Type=NumberItem, State=NULL, Label=WindStrength, Category=null)
Netatmo_Indoor_GustAngle (Type=NumberItem, State=NULL, Label=GustAngle, Category=null)
Netatmo_Indoor_GustStrength (Type=NumberItem, State=NULL, Label=GustStrength, Category=null)
Netatmo_Indoor_BatteryVP (Type=NumberItem, State=NULL, Label=BatteryVP, Category=null)
Netatmo_Indoor_LowBattery (Type=NumberItem, State=NULL, Label=LowBattery, Category=null)
Netatmo_Indoor_RfStatus (Type=NumberItem, State=NULL, Label=RfStatus, Category=null)
Netatmo_Indoor_TimeStamp (Type=NumberItem, State=NULL, Label=TimeStamp, Category=null)
Netatmo_Indoor_Location (Type=NumberItem, State=NULL, Label=Location, Category=null)
Netatmo_Indoor_LastStatusStore (Type=NumberItem, State=NULL, Label=LastStatusStore, Category=null)
Netatmo_Indoor_LastMessage (Type=NumberItem, State=NULL, Label=LastMessage, Category=null)
So…
- the
*Trend
types are misspelled in the documentation
(should beTempTrend
instead ofTemperatureTrend
)
I will correct this in GitHub. - Do these items not work with the indoor module?
They are listed in the documentation for the indoor module.TempTrend
PressTrend
TimeStamp
Location
LastStatusStore