11.07.2021, 19:27
Hallo Zusammen,
mir hat das Thema über den Tag keine Ruhe gelassen und bin dann auf die Idee gekommen, selbst mal in die Quellen für das Binding zu schauen. Siehe da, in der "config.xml" ist man dann auch sehr schnell fündig geworden.
https://github.com/openhab/openhab-addon...config.xml
Beim Wind kann man sicherlich auch noch optimieren, aber das ist jetzt nur noch ein wenig testen mit "Windspeed".
Viele Grüße
Ralf
lcn.items
Number WetterLichtAve "M125 var 1 Licht ave [%.1f lx]" <sun> (gWetter) {channel="lcn:module:bus:S000M125:variable#1"}
Number:Temperature TempAussen "M125 var 6 Aussentemp. Dach [%.1f %unit%]" <temperature> (gWetter) {channel="lcn:module:bus:S000M125:variable#6"}
Number Wind "M125 val 7 Wind Dach [%.1f %unit%]" <wind> (gWetter) {channel="lcn:module:bus:S000M125:variable#7"}
Number WetterLichtO "M125 var 8 Licht O [%d %unit%]" <sun> (gWetter) {channel="lcn:module:bus:S000M125:variable#8"}
Number WetterLichtS "M125 var 9 Licht S [%d %unit%]" <sun> (gWetter) {channel="lcn:module:bus:S000M125:variable#9"}
Number WetterLichtW "M125 var10 Licht W [%d %unit%]" <sun> (gWetter) {channel="lcn:module:bus:S000M125:variable#10"}
Number:Angle WetterAzimut "M125 var11 Azimut [%.1f %unit%]" <sun> (gWetter) {channel="lcn:module:bus:S000M125:variable#11"}
Number:Angle WetterElevation "M125 var12 Elevation [%.1f %unit%]" <sun> (gWetter) {channel="lcn:module:bus:S000M125:variable#12"}
lcn.things
Thing module S000M125 "LCN M125 SH+ WIH Technik Unterverteilung" [ moduleId=125, segmentId=0 ] {
Channels:
Contact : binarysensor#8 [ invertState=true ]
Number : variable#1 [ unit="native" ] // Lux Light Average by calculation rule in variable definition
Number : variable#6 [ unit="temperature" ] // Temperatur
Number : variable#7 [ unit="windspeed" ] // Wind ms
Number : variable#8 [ unit="native" ] // Lux Light Ost
Number : variable#9 [ unit="native" ] // Lux Light Sued
Number : variable#10 [ unit="native" ] // Lux Light West
Number : variable#11 [ unit="angle" ] // Azimut
Number : variable#12 [ unit="angle" ] // Elevation
}
mir hat das Thema über den Tag keine Ruhe gelassen und bin dann auf die Idee gekommen, selbst mal in die Quellen für das Binding zu schauen. Siehe da, in der "config.xml" ist man dann auch sehr schnell fündig geworden.
https://github.com/openhab/openhab-addon...config.xml
Beim Wind kann man sicherlich auch noch optimieren, aber das ist jetzt nur noch ein wenig testen mit "Windspeed".
Viele Grüße
Ralf
lcn.items
Number WetterLichtAve "M125 var 1 Licht ave [%.1f lx]" <sun> (gWetter) {channel="lcn:module:bus:S000M125:variable#1"}
Number:Temperature TempAussen "M125 var 6 Aussentemp. Dach [%.1f %unit%]" <temperature> (gWetter) {channel="lcn:module:bus:S000M125:variable#6"}
Number Wind "M125 val 7 Wind Dach [%.1f %unit%]" <wind> (gWetter) {channel="lcn:module:bus:S000M125:variable#7"}
Number WetterLichtO "M125 var 8 Licht O [%d %unit%]" <sun> (gWetter) {channel="lcn:module:bus:S000M125:variable#8"}
Number WetterLichtS "M125 var 9 Licht S [%d %unit%]" <sun> (gWetter) {channel="lcn:module:bus:S000M125:variable#9"}
Number WetterLichtW "M125 var10 Licht W [%d %unit%]" <sun> (gWetter) {channel="lcn:module:bus:S000M125:variable#10"}
Number:Angle WetterAzimut "M125 var11 Azimut [%.1f %unit%]" <sun> (gWetter) {channel="lcn:module:bus:S000M125:variable#11"}
Number:Angle WetterElevation "M125 var12 Elevation [%.1f %unit%]" <sun> (gWetter) {channel="lcn:module:bus:S000M125:variable#12"}
lcn.things
Thing module S000M125 "LCN M125 SH+ WIH Technik Unterverteilung" [ moduleId=125, segmentId=0 ] {
Channels:
Contact : binarysensor#8 [ invertState=true ]
Number : variable#1 [ unit="native" ] // Lux Light Average by calculation rule in variable definition
Number : variable#6 [ unit="temperature" ] // Temperatur
Number : variable#7 [ unit="windspeed" ] // Wind ms
Number : variable#8 [ unit="native" ] // Lux Light Ost
Number : variable#9 [ unit="native" ] // Lux Light Sued
Number : variable#10 [ unit="native" ] // Lux Light West
Number : variable#11 [ unit="angle" ] // Azimut
Number : variable#12 [ unit="angle" ] // Elevation
}