john30 / ebusd

daemon for communication with eBUS heating systems
GNU General Public License v3.0
592 stars 136 forks source link

New datatype #1027

Open MaciekIzdebski opened 1 year ago

MaciekIzdebski commented 1 year ago

Description

Hi, I am trying to complete the ebus message definitions for the SM1 solar module. I managed to decrypt the data in the broadcast message, but I can't match the data type. This is 4 byte data. The first two bytes are the FLT data type and the next two bytes are the UIN data type. The resulting value is the sum of the FLT and UIN data. For example: Input data 71 00 3f 00 decode flt 7100 -> 0.113 decode uin 3f00 -> 63 manual addition 63+0.113 Output: 63.113

Is it possible to add such a type? Or maybe there is already one and I just can't find it ;-).

Regards, Maciek

john30 commented 1 year ago

are you sure the value is really supposed to be 63.113 degrees (or whatever)? I'm nearly 100% sure that the second 2 bytes are just something else and not related to the first 2.

it could also just be a ULG with divisor 65536, then it would be 4128881/65536 = 63,0017

MaciekIzdebski commented 1 year ago

Yes I'm sure that it is correct value.

john30 commented 9 months ago

provide some sample values with those readings please so I can verify. hex message sequence plus value read visually from the hardware

MaciekIzdebski commented 9 months ago

Ok. But we have to wait for some sun ;-)

MaciekIzdebski commented 7 months ago

Her you are 2024-03-29 09:40:01.458 [update notice] received update-read broadcast solarYield QQ=71: 25.69;0.878;39;0.922;903;0.004;0 Device reading 39.8 2024-03-29 09:40:01.498 [bus notice] <71fe50180e9b016e0327009a0387030400000022 2024-03-29 09:52:00.257 [update notice] received update-read broadcast solarYield QQ=71: 26.69;0.154;45;0.922;903;0.004;0 Device reading 45.1 2024-03-29 09:52:00.307 [bus notice] <71fe50180eab019a002d009a0387030400000064 2024-03-29 09:57:00.280 [update notice] received update-read broadcast solarYield QQ=71: 27.00;0.407;47;0.922;903;0.004;0 Device reading 47.4 2024-03-29 09:57:00.320 [bus notice] <71fe50180eb00197012f009a0387030400000072 2024-03-29 09:57:30.411 [update notice] received update-read broadcast solarYield QQ=71: 27.00;0.632;47;0.922;903;0.004;0 Device reading 47.6 2024-03-29 09:57:30.459 [bus notice] <71fe50180eb00178022f009a03870304000000d9