jagheterfredrik / esphome-rego1000

ESPHome custom component for IVT Rego1000 heat pump controller
12 stars 5 forks source link

[E][RegoReader:231]: Expected DLC of 2 for 0x0CBD3FE0, got 1 #1

Closed cjonhammar closed 1 year ago

cjonhammar commented 1 year ago

Hi, Looks like a great project, So I thought Id test.

But getting alot of errors in the log. And not the correct data in the webgui:

[E][RegoReader:231]: Expected DLC of 2 for 0x0CBD3FE0, got 1 [E][RegoReader:241]: Expected DLC of 4 for 0x0DC53FE0, got 1 [E][RegoReader:231]: Expected DLC of 2 for 0x0C8DFFE0, got 1 [E][RegoReader:231]: Expected DLC of 2 for 0x0C9B7FE0, got 1 [I][ota:102]: Boot seems successful, resetting boot loop counter. [E][RegoReader:231]: Expected DLC of 2 for 0x0C84BFE0, got 1

WiFi Signal Sensor | -51 dBm |   Heat Carrier 1 | 1741.8 °C |   Outdoor | 1643.2 °C |   Warm water | nan °C |   Hot gas | 0.0 °C |   Heat fluid out | nan °C |   Heat fluid in | 0.0 °C |   Cold fluid in | nan °C |   Cold fluid out | 1741.8 °C |   Heating start | nan °C |   Heating stop | 10.5 °C |   Heat fluid pump control | nan %

Connected the Canlite to the REGO1000 as per diagram found at: https://www.husdata.se/SupportDoc.asp?view=1&show=36

 Ground             35
  can L            36 
  can H            37
   +12v             38

Should the canL and canH be switched?

cjonhammar commented 1 year ago

More logging:

INFO Waiting for result... INFO OTA successful INFO Successfully uploaded program. INFO Starting log output from esp-rego1000.local using esphome API INFO Successfully connected to esp-rego1000.local [12:52:16][I][app:102]: ESPHome version 2022.1.2 compiled on Oct 9 2022, 12:51:39

removed [12:52:18][D][climate:381]: 'Indoor setpoint' - Sending state: [12:52:18][D][climate:384]: Mode: HEAT [12:52:18][D][climate:404]: Current Temperature: nan°C [12:52:18][D][climate:410]: Target Temperature: 0.00°C [12:52:18][D][sensor:125]: 'Heating stop': Sending state 11.50000 °C with 1 decimals of accuracy [12:52:18][D][RegoReader:221]: 0807C270 (1): 01 [12:52:18][D][climate:381]: 'Indoor setpoint' - Sending state: [12:52:18][D][climate:384]: Mode: HEAT [12:52:18][D][climate:404]: Current Temperature: nan°C [12:52:18][D][climate:410]: Target Temperature: 0.00°C [12:52:18][E][RegoReader:231]: Expected DLC of 2 for 0x0CBD3FE0, got 1 [12:52:18][D][RegoReader:221]: 0004C270 (1): 00 [12:52:19][D][climate:381]: 'Indoor setpoint' - Sending state: [12:52:19][D][climate:384]: Mode: HEAT

jagheterfredrik commented 1 year ago

What version rego1000 do you have? The variables I use is for v1.1.12, do you perhaps have v3.x.x?

If that’s the case a new variable list must be read out and I have not had the time to implement it here. Instructions for how to do it are available here.

cjonhammar commented 1 year ago

OK, I was not aware that it was different variables for differnt version, I am using 3.7.0 Someone must have done the read out already, ill have a look around, or is it possible to do with the canlite? (I can see that Heating stop actually is actually matching the outside temperature.)

jagheterfredrik commented 1 year ago

The canlite can certainly do it (it is what I used) but never had time to implement it properly in this code base. I'm not aware of anyone who did a read out of an IVT v3.x.x.

jagheterfredrik commented 1 year ago

Added code for reading out variables https://github.com/jagheterfredrik/esphome-rego1000/commit/3736ce5fabf444156bc1c73e8f2dddf84737dae6, if you manage successfully please contribute back by documenting the procedure 🙏