Hallo!
Ich betreibe innerhalb eines fhem Systems verschiedene Thermostate. Die HM-CC-RT-DN (Stellantrieb mit integriertem Thermostat) fuer kleine Raeume mit nur einer Heizung und die HM-CC-TC (bis zu vier seperate Stellantriebe an einem Thermostat) in groesseren Raeumen. Fuer letztere habe ich eine schoene Methode gefunden die Daten zu visualisieren:
# Define the thermostat 1 of the bibliothek ...
define Thermostat_BI1 CUL_HM 230DFA
attr Thermostat_BI1 IODev HMLAN1
attr Thermostat_BI1 actCycle 000:10
attr Thermostat_BI1 actStatus alive
attr Thermostat_BI1 autoReadReg 4_reqStatus
attr Thermostat_BI1 expert 2_full
attr Thermostat_BI1 firmware 2.1
attr Thermostat_BI1 model HM-CC-TC
attr Thermostat_BI1 room Bibliothek
attr Thermostat_BI1 serialNr KEQ0750246
attr Thermostat_BI1 subType thermostat
# ... and the corresponding log file.
define FileLog_Thermostat_BI1 FileLog ./log/Thermostat_BI1-%Y.log Thermostat_BI1
attr FileLog_Thermostat_BI1 logtype text
attr FileLog_Thermostat_BI1 room Bibliothek
# Create a custom temperature view for BI1.
define weblink_Thermostat_BI1 SVG FileLog_Thermostat_BI1:temp4hum6:CURRENT
attr weblink_Thermostat_BI1 label "Thermostat BI1 Min $data{min1}, Max $data{max1}, Last $data{currval1}"
attr weblink_Thermostat_BI1 room Bibliothek
Leider ist mir dies mit den neuen HM-CC-RT-DN Thermostaten noch nicht gelungen.
# Thermostat_A1_SZ at Sitzungszimmer (SZ) ...
define Thermostat_A1_SZ CUL_HM 301A5D
attr Thermostat_A1_SZ IODev HMLAN1
attr Thermostat_A1_SZ actCycle 000:10
attr Thermostat_A1_SZ actStatus alive
attr Thermostat_A1_SZ autoReadReg 4_reqStatus
attr Thermostat_A1_SZ expert 2_full
attr Thermostat_A1_SZ firmware 1.3
attr Thermostat_A1_SZ model HM-CC-RT-DN
attr Thermostat_A1_SZ room Sitzungszimmer
attr Thermostat_A1_SZ serialNr LEQ1196397
attr Thermostat_A1_SZ subType thermostat
attr Thermostat_A1_SZ webCmd getConfig:clear msgEvents:burstXmit
# ... and the corresponding log file.
define FileLog_Thermostat_A1_SZ FileLog ./log/Thermostat_A1_SZ-%Y.log Thermostat_A1_SZ
attr FileLog_Thermostat_A1_SZ logtype text
attr FileLog_Thermostat_A1_SZ room Sitzungszimmer
# Channels of Thermostat_A1_SZ.
define Thermostat_A1_SZ_Weather CUL_HM 301A5D01
attr Thermostat_A1_SZ_Weather model HM-CC-RT-DN
attr Thermostat_A1_SZ_Weather peerIDs 00000000,
define Thermostat_A1_SZ_Climate CUL_HM 301A5D02
attr Thermostat_A1_SZ_Climate model HM-CC-RT-DN
attr Thermostat_A1_SZ_Climate peerIDs 00000000,
define Thermostat_A1_SZ_WindowRec CUL_HM 301A5D03
attr Thermostat_A1_SZ_WindowRec model HM-CC-RT-DN
attr Thermostat_A1_SZ_WindowRec peerIDs 00000000,
attr Thermostat_A1_SZ_WindowRec stateFormat last:trigLast
define Thermostat_A1_SZ_Clima CUL_HM 301A5D04
attr Thermostat_A1_SZ_Clima model HM-CC-RT-DN
attr Thermostat_A1_SZ_Clima peerIDs 00000000,
define Thermostat_A1_SZ_ClimaTeam CUL_HM 301A5D05
attr Thermostat_A1_SZ_ClimaTeam model HM-CC-RT-DN
attr Thermostat_A1_SZ_ClimaTeam peerIDs 00000000,
define Thermostat_A1_SZ_remote CUL_HM 301A5D06
attr Thermostat_A1_SZ_remote model HM-CC-RT-DN
attr Thermostat_A1_SZ_remote peerIDs 00000000,
Wie kann ich das obige Schema auf die neuen Thermostate uebertragen?
Vielen Dank & Liebe Gruesse
Andreas
Wei bei dem anderen auch:
define weblink_Thermostat_A1_SZ SVG FileLog_Thermostat_A1_SZ:weblink_Thermostat_A1_SZ:CURRENT
attr weblink_Thermostat_A1_SZ alias Sitzungszimmer
attr weblink_Thermostat_A1_SZ label "Sitzungszimmer min.: $data{min1} °C, max: $data{max1} °C, Last: $data{currval1} °C"
attr weblink_Thermostat_A1_SZ room Plots
und den Rest ueber den GPlot Editor.