do you have FHEM running and could see which request are supported?
to my understanding the request of that firmware is different as indicated in this post
when you look at the THZ.pm file
my %sets439539common = (
“pOpMode” => {cmd2=>“0A0112”, type => “2opmode”}, # 1 Standby bereitschaft; 11 in Automatic; 3 DAYmode; SetbackMode; DHWmode; Manual; Emergency
“p01RoomTempDayHC1” => {cmd2=>“0B0005”, argMin => “12”, argMax => “30”, type =>“5temp”, unit =>" °C"},
“p02RoomTempNightHC1” => {cmd2=>“0B0008”, argMin => “12”, argMax => “30”, type =>“5temp”, unit =>" °C"},
“p03RoomTempStandbyHC1” => {cmd2=>“0B013D”, argMin => “12”, argMax => “30”, type =>“5temp”, unit =>" °C"},
“p01RoomTempDayHC1SummerMode” => {cmd2=>“0B0569”, argMin => “12”, argMax => “30”, type =>“5temp”, unit =>" °C"},
“p02RoomTempNightHC1SummerMode” => {cmd2=>“0B056B”, argMin => “12”, argMax => “30”, type =>“5temp”, unit =>" °C"},
“p03RoomTempStandbyHC1SummerMode” => {cmd2=>“0B056A”, argMin => “12”, argMax => “30”, type =>“5temp”, unit =>" °C"},…
you see that the request are byte arrays, this is why i asked you to translate the above configuration into the configuration for this binding. It looks like this version allow to read out single values instead of a register which contains multiple values at the same time.
i gave some explanations how to translate it here, would be great if you could do this .
just take this file and add your data .
e.g.:
<record channelid="p01RoomTemperatureStandardMode" requestByte="0B0005" dataType="Settings" position="4" length="2"
scale="0.1" bitPosition="0" min="10" max="30" step="0.1"></record>
the position should seen when we do have the byte respond in the debug log
Pierre die some log here . it is just about to get the position of the bytes to read.
2020.05.26 19:49:00 5: THZ_Get: Try to get ‘p01RoomTempDayHC1’
2020.05.26 19:49:00 5: THZ_Get_Comunication: Check if port is open. State = ‘(opened)’
2020.05.26 19:49:00 5: Mythz sending 02
2020.05.26 19:49:00 5: SW: 02
2020.05.26 19:49:00 5: Mythz start Function THZ_ReadAnswer
2020.05.26 19:49:00 5: THZ_ReadAnswer: uc unpack: ‘10’
2020.05.26 19:49:00 5: Mythz sending 0100110B00051003
2020.05.26 19:49:00 5: SW: 0100110B00051003
2020.05.26 19:49:00 5: Mythz start Function THZ_ReadAnswer
2020.05.26 19:49:00 5: THZ_ReadAnswer: uc unpack: ‘10’
2020.05.26 19:49:00 5: Mythz start Function THZ_ReadAnswer
2020.05.26 19:49:00 5: THZ_ReadAnswer: uc unpack: ‘02’
2020.05.26 19:49:00 5: Mythz sending 10
2020.05.26 19:49:00 5: SW: 10
2020.05.26 19:49:00 5: Mythz start Function THZ_ReadAnswer
2020.05.26 19:49:00 5: THZ_ReadAnswer: uc unpack: ‘0100D40B000500C31003’
2020.05.26 19:49:00 5: Mythz sending 10
2020.05.26 19:49:00 5: SW: 10
2020.05.26 19:49:00 5: Parse message: D40B000500C3
2020.05.26 19:49:00 5: Message length: 12
2020.05.26 19:49:00 5: (OH) Parsing Command: 0B0005
2020.05.26 19:49:00 5: (OH) Parsing Rule: ARRAY(0x18401f0) | Msg Type: 5temp}
2020.05.26 19:49:00 5: (OH) THZ_Parsing: offset(8) + length(4) | message : ‘D40B000500C3’ | value : ‘00C3’
2020.05.26 19:49:00 5: (OH) THZ_Parsing: ParsedMsg(19.5) | value : ‘19.5’
Are you able to bring this together or anybody who has similar version available and can test?
As an improvement i could imagine we define a text channel on which we can write the request bytes and get output in the log. What do you think?