New binding - Rego 6xx based heat pumps

Development wise I’d say they are both quite similar - adding support for Husdata or “raw” CAN messages coming from rego8xx unit. However, the Husdata interface is well documented so implementation is more straight forward, while AFAIK there is no public documentation on “raw” rego8xx CAN messages so supporting the later would involve more error and trial.

Additional question - did you have to issue any commands on the Husdata interface or did you simply connect and data start to arrive?

Just hooked it up and the data started to roll in. I have an issue with not being able to send back data though.

I’m a bit confused about the readings you provided. There a couple of reading that seem to come from radiator return, but the values are alternating from 45 to 90. Since there is no timestamp associated with the values, do the below values make sense to you?

XR000101C2 => Radiator Return = 45°C
XR00010384 => Radiator Return = 90°C
XR000101C2 => Radiator Return = 45°C
XR00010384 => Radiator Return = 90°C
XR000101C2 => Radiator Return = 45°C
XR00010384 => Radiator Return = 90°C
XR000101C2 => Radiator Return = 45°C

Other readings seem more consistent:

XR000B0380 => Hot gas / Compressor = 89.6°C
XR0006FF93 => Brine Out / Condenser = -10.9°C
XR0006FF94 => Brine Out / Condenser = -10.8°C
XR0006FF96 => Brine Out / Condenser = -10.6°C
XR0007FFDF => Outdoor = -3.3°C

Please let me know.

Hi,

No - they make no sense at all :slight_smile: I haven’t actually started to dig into the data yet. I have not even figured out the java code for parsing the hex values. When you found out the values, you didn’t perhaps use some java code that you could share :slight_smile: ?

No, I decoded the values based on the provided data sheet, consider the first two entries within provided readings:

XR000101C2
  0x0001=reg Radiator return of temp type (0) 
  0x01C2=data (0x01*256)+0xC2 = 450 = 45 deg C

XR00010384
  0x0001=reg Radiator return of temp type (0) 
  0x0384=data (0x03*256)+0x84 = 900 = 90 deg C

I quickly checked the Husdata interface and it seems quite affordable, specially if you compare it with the canusb or can232 interface - therefore I might try adding support for the Husdata within the rego binding itself, but first would like to understand the provided values. Beside radiator return, do other values make sense (outdoor, …?). And do you have any clue why radiator return is alternating? What is the expected value?

A bit unsure what values in my unit that I should check for “Brine out”. However, I made a new dump with (what I can see) more stable radiator values? Still strange values?

If this connection type could fit in your binding - it would be fantastic.

XR0006FF84
XR00040176
XR0006FF82
XR0006FF81
XR0006FF7F
XR00010149
XR0006FF81
XR0006FF82
XR000B02AF
XR0006FF84
XR00040175
XR00050124
XR0006FF85
XR0006FF87
XR0001014A
XR0006FF88
XR000B02B2
XR00040174
XR0006FF8A
XR0006FF8B
XR0006FF8D
XR000EFFDF
XR0006FF8E
XR000B02B4
XR0006FF90
XR0006FF91
XR0006FF93
XR0006FF94
XR0006FF96
XR0006FF97
XR000B02B6
XR0006FF99
XR0003011E
XR0006FF9A
XR00050125
XR000EFFDE
XR0006FF99
XR0006FF97
XR0006FF96
XR0006FF93
XR00040175
XR0006FF90
XR0006FF8D
XR0006FF8A
XR00040176
XR000B02B4
XR0006FF88
XR0006FF87
XR000EFFDD
XR0006FF84
XR00040178
XR0006FF82
XR000B02B2
XR0006FF81
XR0006FF7F
XR00040179
XR0006FF7E
XR0003011F
XR000B02AF
XR0006FF7C
XR0004017A
XR0006FF7B
XR0001014B
XR0006FF79
XR00050126
XR000EFFDC
XR0006FF7B
XR000B02B2
XR0006FF7C
XR00040179
XR0006FF7E
XR0006FF7F
XR000B02B4
XR000EFFDA
XR00040178
XR0006FF81
XR0001014C
XR0006FF82
XR000B02B6
XR00030120
XR1A080001
XR1A050000
XR1A010001
XR0006FF84
XR000B02AF
XR000B02A7
XR0006FF87
XR00040176
XR000B029D
XR0006FF8D
XR00040174
XR000B0292
XR0006FF93
XR00040171
XR000B0286
XR0006FF9A
XR0004016D
XR0006FFA0
XR000B027F
XR0006FFA5
XR000B0277
XR00040168
XR0006FFAB
XR000B0270
XR00040163
XR0006FFB2
XR0004015E
XR000EFFDC
XR000B0269
XR0006FFB9
XR00040156
XR000B0265
XR0006FFC1
XR00040151
XR0006FFC9
XR000B0261
XR0004014B
XR0006FFD0
XR00040146
XR0006FFD6
XR00040141
XR000B025F
XR0006FFDA
XR0004013C
XR000B025E
XR00040138
XR0006FFDF
XR000B025C
XR00040134
XR0006FFE2
XR000EFFDD
XR0004012E
XR0006FFE7
XR000B025A
XR00040129
XR0006FFEA
XR000B0258
XR00040125
XR0006FFEE
XR000B0256
XR0006FFF2
XR00040120
XR0006FFF8
XR000B0255
XR0004011C
XR00040118
XR0006FFFE
XR000EFFDE
XR000B0253
XR00040113
XR00060003
XR0004010F
XR0006000B
XR000B0252
XR00050127
XR00040108
XR00060015
XR0006001F
XR00040102
XR000B0250
XR00060028
XR000400FD
XR000B024D
XR00060032
XR00030121
XR000400F7
XR0001014D
XR000EFFDF
XR000400F2
XR0006003B
XR000B024A
XR00060045
XR000400ED
XR000B0245
XR0006004F
XR000400E8
XR000B023F
XR0006005B
XR000400E2
XR000B0239
XR00060066
XR000400DC
XR000EFFE0
XR000B0233
XR00060071
XR000400D8
XR000B022C
XR0006007C
XR000400D3
XR000B0226
XR00060087
XR000400CF
XR000B0220
XR00060092
XR0006009C
XR000B021C
XR000400CC
XR000EFFE1
XR000600A7
XR000B0218
XR000400C8
XR000600B2
XR000B0213
XR000400C4
XR000B020F
XR000600BD
XR0001014C
XR000400C1
XR000600C8
XR000B020B
XR000EFFE2
XR000400BE
XR000600D6
XR1A010000
XR1A050001
XR1A010001
XR000B0207
XR000400BC
XR000600E1
XR000B0204
XR000400BA
XR000600EB
XR000B01FF
XR000400B7
XR000600F5
XR0001014B
XR000EFFE4
XR000600FD
XR000B01FB
XR000400B6
XR00060104
XR000B01F7
XR000400B4
XR00060109
XR000B01F2
XR000400B2
XR0006010B
XR0001014A
XR000B01EA
XR000EFFE5
XR000B01E5
XR000400B1
XR00060109
XR000B01E0
XR00010149
XR000400B0
XR00060104
XR000B01DC
XR000400AF
XR000600FF
XR000B01D8
XR000600F8
XR00010148
XR000B01D4
XR000600F1
XR000B01D2
XR000600EA
XR00010147
XR000B01CF
XR000600E3
XR000400AE
XR000600DC
XR00010146
XR000B01CE
XR000600D5
XR000400AF
XR000600CD
XR000600C5
XR00010145
XR000EFFE6
XR000600BD
XR00010144
XR000600B6
XR000400B0
XR000600AF
XR000400B1
XR000600A9
XR00010143
XR000600A4
XR000B01CF
XR000400B2
XR0006009E
XR00010142
XR00060099
XR00060094
XR00010141
XR000B01D1
XR00060090
XR0006008C
XR00010140
XR00060089
XR00060086
XR0001013F
XR000400B1
XR00060081
XR000400B0
XR0001013E
XR0006007E
XR000400AF
XR0006007B
XR0001013D
XR000400AE
XR000B01CF
XR00060079
XR0001013C
XR000400AC
XR00060076
XR0001013B
XR000B01CE
XR1A010000
XR000400AA
XR00060073
XR0001013A
XR00060071
XR000400A8
XR0006006F
XR000400A7
XR00010139
XR0006006D
XR000400A5
XR00060069
XR00060065
XR00010138
XR000B01D1
XR0006005E
XR00010137
XR00060058
XR000B01D4
XR00060050

Just tried to set the interface to “readable output” (which is only for debug of course):

XR0005FF93   005 Brine in/Evaporator (65427), GT11_TEMP
XR000B0341   00B Hot gas / Compr. (833), GT6_TEMP
XR000101A3   001 Radiator Return (419), GT1_TEMP
XR0005FF96   005 Brine in/Evaporator (65430), GT11_TEMP
XR0006017B   006 Brine out/Condenser (379), GT10_TEMP
XR00030173   003 Heat carrier Return (371), GT9_TEMP
XR0005FF9D   005 Brine in/Evaporator (65437), GT11_TEMP
XR000B0345   00B Hot gas / Compr. (837), GT6_TEMP
XR000EFFD8   00E Air intake (65496), GT12_TEMP
XR000101A4   001 Radiator Return (420), GT1_TEMP
XR000901EE   009 Hot water 1 / Top (494), GT3_TEMP
XR0005FF91   005 Brine in/Evaporator (65425), GT11_TEMP
XR010701C5   107 Heating setpoint (453), RAD_BORVARDE
XR000401CD   004 Heat carrier Forwrd (461), GT8_TEMP
XR0005FF8A   005 Brine in/Evaporator (65418), GT11_TEMP
XR0006017C   006 Brine out/Condenser (380), GT10_TEMP
XR0007FFE2   007 Outdoor (65506), GT2_TEMP
XR000B0341   00B Hot gas / Compr. (833), GT6_TEMP
XR0005FF8B   005 Brine in/Evaporator (65419), GT11_TEMP
XR000EFFD9   00E Air intake (65497), GT12_TEMP
XR00030174   003 Heat carrier Return (372), GT9_TEMP
XR0005FF96   005 Brine in/Evaporator (65430), GT11_TEMP
XR000B0345   00B Hot gas / Compr. (837), GT6_TEMP
XR000EFFD8   00E Air intake (65496), GT12_TEMP
XR000401CC   004 Heat carrier Forwrd (460), GT8_TEMP
XR0005FF9A   005 Brine in/Evaporator (65434), GT11_TEMP
XR000B0348   00B Hot gas / Compr. (840), GT6_TEMP
XR000EFFD9   00E Air intake (65497), GT12_TEMP
XR000101A6   001 Radiator Return (422), GT1_TEMP
XR000401CD   004 Heat carrier Forwrd (461), GT8_TEMP
XR0005FF94   005 Brine in/Evaporator (65428), GT11_TEMP
XR0006017D   006 Brine out/Condenser (381), GT10_TEMP
XR000EFFDA   00E Air intake (65498), GT12_TEMP
XR000401CE   004 Heat carrier Forwrd (462), GT8_TEMP
XR000EFFDC   00E Air intake (65500), GT12_TEMP
XR0005FF9A   005 Brine in/Evaporator (65434), GT11_TEMP
XR000EFFDD   00E Air intake (65501), GT12_TEMP
XR00030175   003 Heat carrier Return (373), GT9_TEMP
XR0005FFA0   005 Brine in/Evaporator (65440), GT11_TEMP
XR000B034B   00B Hot gas / Compr. (843), GT6_TEMP
XR000101A7   001 Radiator Return (423), GT1_TEMP
XR000401CD   004 Heat carrier Forwrd (461), GT8_TEMP
XR0005FFA1   005 Brine in/Evaporator (65441), GT11_TEMP
XR000401CE   004 Heat carrier Forwrd (462), GT8_TEMP
XR0005FF97   005 Brine in/Evaporator (65431), GT11_TEMP
XR0006017E   006 Brine out/Condenser (382), GT10_TEMP
XR00030176   003 Heat carrier Return (374), GT9_TEMP
XR000401CF   004 Heat carrier Forwrd (463), GT8_TEMP
XR0005FF8D   005 Brine in/Evaporator (65421), GT11_TEMP
XR000B0348   00B Hot gas / Compr. (840), GT6_TEMP
XR000EFFDC   00E Air intake (65500), GT12_TEMP
XR000401D1   004 Heat carrier Forwrd (465), GT8_TEMP
XR000401CF   004 Heat carrier Forwrd (463), GT8_TEMP
XR0005FF96   005 Brine in/Evaporator (65430), GT11_TEMP
XR000EFFDA   00E Air intake (65498), GT12_TEMP
XR000101A8   001 Radiator Return (424), GT1_TEMP
XR000401CE   004 Heat carrier Forwrd (462), GT8_TEMP
XR0005FF97   005 Brine in/Evaporator (65431), GT11_TEMP
XR0006017F   006 Brine out/Condenser (383), GT10_TEMP
XR000B034B   00B Hot gas / Compr. (843), GT6_TEMP
XR000EFFD9   00E Air intake (65497), GT12_TEMP
XR0005FF91   005 Brine in/Evaporator (65425), GT11_TEMP
XR000EFFD8   00E Air intake (65496), GT12_TEMP
XR000101A9   001 Radiator Return (425), GT1_TEMP
XR00030178   003 Heat carrier Return (376), GT9_TEMP
XR0005FF8D   005 Brine in/Evaporator (65421), GT11_TEMP
XR0005FF90   005 Brine in/Evaporator (65424), GT11_TEMP
XR000B034F   00B Hot gas / Compr. (847), GT6_TEMP
XR000EFFD7   00E Air intake (65495), GT12_TEMP
XR0005FF94   005 Brine in/Evaporator (65428), GT11_TEMP
XR000EFFD6   00E Air intake (65494), GT12_TEMP
XR0005FF99   005 Brine in/Evaporator (65433), GT11_TEMP
XR00060180   006 Brine out/Condenser (384), GT10_TEMP
XR000EFFD5   00E Air intake (65493), GT12_TEMP
XR0005FF93   005 Brine in/Evaporator (65427), GT11_TEMP
XR000EFFD4   00E Air intake (65492), GT12_TEMP
XR00030179   003 Heat carrier Return (377), GT9_TEMP
XR0005FF8A   005 Brine in/Evaporator (65418), GT11_TEMP
XR0005FF84   005 Brine in/Evaporator (65412), GT11_TEMP
XR0007FFE0   007 Outdoor (65504), GT2_TEMP
XR010701C6   107 Heating setpoint (454), RAD_BORVARDE
XR0005FF87   005 Brine in/Evaporator (65415), GT11_TEMP
XR0005FF90   005 Brine in/Evaporator (65424), GT11_TEMP
XR00060181   006 Brine out/Condenser (385), GT10_TEMP
XR000B0352   00B Hot gas / Compr. (850), GT6_TEMP
XR000EFFD5   00E Air intake (65493), GT12_TEMP
XR000401CD   004 Heat carrier Forwrd (461), GT8_TEMP
XR0005FF97   005 Brine in/Evaporator (65431), GT11_TEMP
XR000EFFD6   00E Air intake (65494), GT12_TEMP
XR0003017A   003 Heat carrier Return (378), GT9_TEMP
XR000401CE   004 Heat carrier Forwrd (462), GT8_TEMP
XR0005FF9A   005 Brine in/Evaporator (65434), GT11_TEMP
XR000B0356   00B Hot gas / Compr. (854), GT6_TEMP
XR000401CF   004 Heat carrier Forwrd (463), GT8_TEMP
XR0005FF9D   005 Brine in/Evaporator (65437), GT11_TEMP
XR000401D1   004 Heat carrier Forwrd (465), GT8_TEMP
XR0005FF97   005 Brine in/Evaporator (65431), GT11_TEMP
XR000EFFD5   00E Air intake (65493), GT12_TEMP
XR000401D3   004 Heat carrier Forwrd (467), GT8_TEMP
XR0005FF8B   005 Brine in/Evaporator (65419), GT11_TEMP
XR00060182   006 Brine out/Condenser (386), GT10_TEMP
XR000101AA   001 Radiator Return (426), GT1_TEMP
XR000401D4   004 Heat carrier Forwrd (468), GT8_TEMP
XR0005FF8A   005 Brine in/Evaporator (65418), GT11_TEMP
XR000B0352   00B Hot gas / Compr. (850), GT6_TEMP
XR0005FF91   005 Brine in/Evaporator (65425), GT11_TEMP
XR000EFFD6   00E Air intake (65494), GT12_TEMP
XR000101AB   001 Radiator Return (427), GT1_TEMP
XR0003017B   003 Heat carrier Return (379), GT9_TEMP
XR000401D2   004 Heat carrier Forwrd (466), GT8_TEMP
XR0005FF9A   005 Brine in/Evaporator (65434), GT11_TEMP
XR000B0356   00B Hot gas / Compr. (854), GT6_TEMP
XR000EFFD5   00E Air intake (65493), GT12_TEMP
XR0005FF99   005 Brine in/Evaporator (65433), GT11_TEMP
XR0005FF90   005 Brine in/Evaporator (65424), GT11_TEMP
XR000101AC   001 Radiator Return (428), GT1_TEMP
XR000401D3   004 Heat carrier Forwrd (467), GT8_TEMP
XR0005FF87   005 Brine in/Evaporator (65415), GT11_TEMP
XR000EFFD4   00E Air intake (65492), GT12_TEMP
XR0005FF85   005 Brine in/Evaporator (65413), GT11_TEMP
XR00060183   006 Brine out/Condenser (387), GT10_TEMP
XR0007FFDE   007 Outdoor (65502), GT2_TEMP
XR000EFFD3   00E Air intake (65491), GT12_TEMP
XR010701C8   107 Heating setpoint (456), RAD_BORVARDE
XR000101AB   001 Radiator Return (427), GT1_TEMP
XR000401D2   004 Heat carrier Forwrd (466), GT8_TEMP
XR0005FF8D   005 Brine in/Evaporator (65421), GT11_TEMP
XR0003017C   003 Heat carrier Return (380), GT9_TEMP
XR000401D1   004 Heat carrier Forwrd (465), GT8_TEMP
XR0005FF91   005 Brine in/Evaporator (65425), GT11_TEMP
XR000EFFD1   00E Air intake (65489), GT12_TEMP
XR000101AC   001 Radiator Return (428), GT1_TEMP
XR000401CF   004 Heat carrier Forwrd (463), GT8_TEMP
XR0005FF90   005 Brine in/Evaporator (65424), GT11_TEMP
XR000B035A   00B Hot gas / Compr. (858), GT6_TEMP
XR000EFFD0   00E Air intake (65488), GT12_TEMP
XR000401D1   004 Heat carrier Forwrd (465), GT8_TEMP
XR0005FF8A   005 Brine in/Evaporator (65418), GT11_TEMP
XR000EFFD1   00E Air intake (65489), GT12_TEMP
XR000401D2   004 Heat carrier Forwrd (466), GT8_TEMP
XR0005FF85   005 Brine in/Evaporator (65413), GT11_TEMP
XR0005FF8A   005 Brine in/Evaporator (65418), GT11_TEMP
XR000EFFD3   00E Air intake (65491), GT12_TEMP
XR000401D1   004 Heat carrier Forwrd (465), GT8_TEMP
XR0005FF94   005 Brine in/Evaporator (65428), GT11_TEMP
XR00060184   006 Brine out/Condenser (388), GT10_TEMP
XR000B035E   00B Hot gas / Compr. (862), GT6_TEMP
XR0003017D   003 Heat carrier Return (381), GT9_TEMP
XR0005FF96   005 Brine in/Evaporator (65430), GT11_TEMP
XR000EFFD4   00E Air intake (65492), GT12_TEMP
XR0005FF8E   005 Brine in/Evaporator (65422), GT11_TEMP
XR000401D2   004 Heat carrier Forwrd (466), GT8_TEMP
XR0005FF87   005 Brine in/Evaporator (65415), GT11_TEMP
XR000EFFD3   00E Air intake (65491), GT12_TEMP
XR0005FF85   005 Brine in/Evaporator (65413), GT11_TEMP
XR0005FF8D   005 Brine in/Evaporator (65421), GT11_TEMP
XR010701CA   107 Heating setpoint (458), RAD_BORVARDE
XR000401D1   004 Heat carrier Forwrd (465), GT8_TEMP
XR0005FF94   005 Brine in/Evaporator (65428), GT11_TEMP
XR00060185   006 Brine out/Condenser (389), GT10_TEMP
XR0007FFDC   007 Outdoor (65500), GT2_TEMP
XR000101AE   001 Radiator Return (430), GT1_TEMP
XR0003017E   003 Heat carrier Return (382), GT9_TEMP
XR0005FF96   005 Brine in/Evaporator (65430), GT11_TEMP
XR000B0361   00B Hot gas / Compr. (865), GT6_TEMP
XR000401D2   004 Heat carrier Forwrd (466), GT8_TEMP
XR0005FF90   005 Brine in/Evaporator (65424), GT11_TEMP
XR0005FF88   005 Brine in/Evaporator (65416), GT11_TEMP
XR000B035E   00B Hot gas / Compr. (862), GT6_TEMP
XR000401D3   004 Heat carrier Forwrd (467), GT8_TEMP
XR0005FF87   005 Brine in/Evaporator (65415), GT11_TEMP
XR0005FF8D   005 Brine in/Evaporator (65421), GT11_TEMP
XR000B0361   00B Hot gas / Compr. (865), GT6_TEMP
XR000EFFD1   00E Air intake (65489), GT12_TEMP
XR000401D2   004 Heat carrier Forwrd (466), GT8_TEMP
XR0005FF8E   005 Brine in/Evaporator (65422), GT11_TEMP
XR00060186   006 Brine out/Condenser (390), GT10_TEMP
XR000EFFD3   00E Air intake (65491), GT12_TEMP
XR0003017F   003 Heat carrier Return (383), GT9_TEMP
XR0005FF8D   005 Brine in/Evaporator (65421), GT11_TEMP
XR000EFFD1   00E Air intake (65489), GT12_TEMP
XR0005FF8B   005 Brine in/Evaporator (65419), GT11_TEMP
XR000EFFCF   00E Air intake (65487), GT12_TEMP
XR0005FF8A   005 Brine in/Evaporator (65418), GT11_TEMP
XR0007FFD9   007 Outdoor (65497), GT2_TEMP
XR000EFFCE   00E Air intake (65486), GT12_TEMP
XR010701CC   107 Heating setpoint (460), RAD_BORVARDE
XR000101AF   001 Radiator Return (431), GT1_TEMP
XR0005FF88   005 Brine in/Evaporator (65416), GT11_TEMP
XR000EFFCD   00E Air intake (65485), GT12_TEMP
XR0005FF82   005 Brine in/Evaporator (65410), GT11_TEMP
XR000EFFCB   00E Air intake (65483), GT12_TEMP
XR0005FF81   005 Brine in/Evaporator (65409), GT11_TEMP
XR000B0365   00B Hot gas / Compr. (869), GT6_TEMP
XR000EFFCD   00E Air intake (65485), GT12_TEMP

And what probably would be interesting is that when you trigger an init of the interface (with the ! command), following appears which is the start procedure of the interface:

Bootloader...
(C)2013-2014 Arandis AB, Pitea Sweden.  http://www.husdata.se
System: REGO 800
XV351019
XI
v0 Initializing................................................ Done!
XR0001018C
XR0003015D
XR000401B7
XR0005FF9D
XR00060165
XR0007FFE9

Hi, I’m pretty new to the OH world so please forgive my noobness. I’ve managed to connect to my Bosch Heatpump (with a rego800) and see the CAN traffic (decoded by another protocol) on a RPi.
What i don’t get is how to have OH see my 8device USB2CAN as a serial/input. Can you elaborate please?
Thanks

Please find a pre-alpha binding with support for Husdata here.

Download the jar and put it within the addons folder. Navigate to the Paper UI, make sure you have “simple mode” on for the “item linking” and add a new thing, select RegoHeatPump binding, than the Husdata thing, set the serial port your interface is connected to the computer. Within the Control view of the Paper UI you should see some channels with values popping up (only a couple of channels are added):

"Radiator Return" 			= sensorValues#radiatorReturn
"Radiator Forward"  		= sensorValues#radiatorForward
"Heat carrier Return"       = sensorValues#heatFluidIn
"Heat carrier Forward"		= sensorValues#heatFluidOut
"Outdoor"					= sensorValues#outdoor
"Indoor"					= sensorValues#indoor
"Brine In / Evaporator"		= sensorValues#coldFluidIn
"Brine Out / Condenser"		= sensorValues#coldFluidOut
"Hot water 1 / Top"			= sensorValues#hotWater
"Hot gas / Compressor"		= sensorValues#compressor

NOTE: binding is NOT tested so I don’t expect it to work in the first try/run. Please set logging to debug for the “org.openhab.binding.regoheatpump” package and please share the log so I can see what is going on.

If you need any more details on how to setup and/or test, please let me know.

Additional note - the binding does not yet initialize the interface so please do so manually and than configure the binding as described above (when data is already coming to the serial port). And please disable debug output on the interface.

Did some testing with provided values and got something like:

Please give it a spin and let me know how it goes. I’ll add more channels + additional (setup) handling.

Not sure what you mean “decoded by another protocol”, but if you are able to get/read CAN messages on a RPi (or any computer for that matter), you are all set-up :slight_smile:

I’d say that the USB2CAN adapter registers itself as a virtual serial port (i.e. COMx on Windows) and you can access it as any other serial port. In order to read CAN messages, you first need to setup the CAN (details can be found here).

When you have access to the CAN via serial, it is only a matter of decoding the received values.

Hope I got your question right, otherwise please let me know if you have any questions or comments.

Wow - fantastic!

I’m just about to download it - two quick questions:

  1. From OH-server, the interface is connected to via IP/port (physical attached to a RPi near the heat pump) - can I specify IP / port instead of Serial Port?
  2. Is it possible to not use Simple mode? This is inactive on my setup? If it is not possible, I’ll temporarily enable simple mode ofcourse!

I assumed the Husdata interface is connected via serial port. Can you please provide more details on how you are connecting to the interface?

Not sure what you mean by “simple mode”? The binding is currently expecting data to arrive in the following format:

XR0001018C[Carriage Return + New Line]

as specified within the provided document - the “Communication structure”. Please let me know if this is not the case.

The interface is attached directly to an RPi which are located next to the heat pump. My openHAB server is located in another location and connects to the RPi via IP/Port. On the RPi the daemon ser2net is responsible for sharing the serial port over TCP/IP. Works flawless.

Oh, I mean if it is possible to use it on my openHAB that does not run in Simple Mode (for Item creations). But I’ll gladly switch to simple mode in order to test this (I guess all Things and Links to Items in items-files will remain untouched).

Simple mode is only used for convenience - so if you turn it on before you add the serial/ip Husdata thing, it will create the links for you (those that can be seen on the screenshot from my previous post). You can turn it off after you add the thing, or manually add items if you prefer that way.

Please re-download the binding, you should have the option to add “ipHusdata” thing and select ip/port. Since I just added it, it is not tested :frowning:

:wink:

21:04:00.867 [WARN ] [ore.thing.internal.ThingRegistryImpl] - Cannot create thing. No binding found that supports creating a thing of type regoheatpump:ipHusdata.

is binding name regoheatpump so debug line would be?

log:set DEBUG org.openhab.binding.regoheatpump

?

Forgot to add the ip thing into a list of supported things, please re-download and try again, sorry for this.

No problem at all :slight_smile:

First everything looks good:

21:15:14.165 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'regoheatpump:ipHusdata:487fff1b' changed from UNINITIALIZED to INITIALIZING
21:15:14.169 [INFO ] [me.event.ThingStatusInfoChangedEvent] - 'regoheatpump:ipHusdata:487fff1b' changed from INITIALIZING to ONLINE
21:15:14.170 [INFO ] [.regoheatpump.handler.HusdataHandler] - Rego controller connected via 192.168.0.26:2001

Then I get:

21:18:26.827 [WARN ] [.regoheatpump.handler.HusdataHandler] - Still no Carriage Return + New Line received, resyncing.

I have enabled debug, but as far as what I can see, this is what gets written.