Giter Club home page Giter Club logo

Comments (30)

jagheterfredrik avatar jagheterfredrik commented on September 27, 2024 1

Ok the bug was fixed. The dial range really should not matter.. I believe the IVT CAN room controller sends out the state of it's potentiometer-based dial, read by ADC to a resolution of 0-1024, 512 should be the mid point (i.e. "0"). Afaik the room controller is compatible with both versions and as such should work the same across them so it's a complete mystery why you see a change in heating setpoint when changing the dial range.

from esphome-rego1000.

jagheterfredrik avatar jagheterfredrik commented on September 27, 2024 1

@cjonhammar the bug meant you made changes/looked at ROOM_DIAL_RANGE_GLOBAL instead of ROOM_DIAL_RANGE (and is the one you were actually controlling). Add both as "numbers:" with value_factor 1, step 1 and test around. It seems your original values were ROOM_DIAL_RANGE=0 ROOM_DIAL_RANGE_GLOBAL=6 which is the same as I had.

from esphome-rego1000.

jagheterfredrik avatar jagheterfredrik commented on September 27, 2024 1

Thanks got noticing! The bug was cosmetic and a fix is now pushed

from esphome-rego1000.

jagheterfredrik avatar jagheterfredrik commented on September 27, 2024

It’s not a variable in the rego, it’s treated specially probably to reduce wear on non-volatile storage.

If you are using my code use the climate and set indoor_sensor like in https://github.com/jagheterfredrik/esphome-rego1000/blob/main/rego1000-1.12.1.yaml#L42

If you want to do it yourself the can id is defined here https://github.com/jagheterfredrik/esphome-rego1000/blob/main/components/rego1000/climate/rego_climate.h#L6

from esphome-rego1000.

davidbbs avatar davidbbs commented on September 27, 2024

Thank you! I think I understand this now, but if you have a moment I would appreciate it if you could double-check my analysis:

  • The indoor temperature is reported to the device by sending the temperature as a 2 byte integer scaled by 10 to can bus ID 0x10000060.
  • This is different from setting register values, which is done by sending the data to a can bus ID determined by (rego_variable << 14) | 0x04003FE0.

Is that correct?
Thank you!

from esphome-rego1000.

jagheterfredrik avatar jagheterfredrik commented on September 27, 2024

Correct!

Note! You have to set the “Knob's operating range” (sv. “Rattens arbetsområde”) to 0K in the heat pump indoor thermostat settings, otherwise the set point will be offset.
This is probably because I need to send an additional CAN message about the set point but I don’t know the ID.

from esphome-rego1000.

davidbbs avatar davidbbs commented on September 27, 2024

I don't see the Rattens arbetsområde option in my installation manual (just Kvittera rumsgivare and Rumsteperaturpåverkan). I hope that means there is no offset. :)

I'm using the device from hustdata.se, so I can't send directly to different can bus IDs, but I'll get in touch with the developer to see if it's possible to add that. Thanks again for your help!

from esphome-rego1000.

jagheterfredrik avatar jagheterfredrik commented on September 27, 2024

I believe you do have one: https://github.com/jagheterfredrik/esphome-rego1000/blob/main/rego1000-v3.6.0-variables.txt#L1452

Did you elevate your access before checking the menu?

from esphome-rego1000.

davidbbs avatar davidbbs commented on September 27, 2024

I was looking in the installer manual and I checked the system in installer mode. I couldn't find it accessible from there. Hopefully it defaults to 0, though!
-David

from esphome-rego1000.

jagheterfredrik avatar jagheterfredrik commented on September 27, 2024

On my pump it defaults to 6 unfortunately

from esphome-rego1000.

jagheterfredrik avatar jagheterfredrik commented on September 27, 2024

Ah, you can only see it if a indoor thermostat is installed, see page 49 https://cdn.jseducation.se/files/pages/install_he_6720643409_01.pdf

from esphome-rego1000.

cjonhammar avatar cjonhammar commented on September 27, 2024

I cant find that setting either. (in installer mode) (3.7.0)
(Im using the "faked" sensor from home-assistant.)
image

from esphome-rego1000.

jagheterfredrik avatar jagheterfredrik commented on September 27, 2024

@cjonhammar interesting! iirc my heating setpoint is wrong (too low) when room set point equals room temp if that settings is not 0. You didn’t notice anything like that?

from esphome-rego1000.

cjonhammar avatar cjonhammar commented on September 27, 2024

Looked at a newer installation manual (2013): https://docplayer.se/37061145-Premiumline-hq-c4-5-c10-e6-e17-installatorshandledning.html
Cant find that there either.
I have set the desired room temp to 20 but the real room temp never reaches more than around 18.
Maybe I should read out that value, 0x0882: ROOM_DIAL_RANGE by adding it to the "sensors"..
image

from esphome-rego1000.

jagheterfredrik avatar jagheterfredrik commented on September 27, 2024

That’d be interesting!

from esphome-rego1000.

jagheterfredrik avatar jagheterfredrik commented on September 27, 2024

But use a “number:”, that way you can set it as well.

from esphome-rego1000.

davidbbs avatar davidbbs commented on September 27, 2024

Ah, you can only see it if a indoor thermostat is installed, see page 49 https://cdn.jseducation.se/files/pages/install_he_6720643409_01.pdf

Ah. I see what the difference is. I have a Swedish version which does not work that way. (IVT informed me of this and sent me the Swedish installer manual which clarifies that.) The Swedish one only supports indoor temperature via CanBus, while the manual you have lists an analog input (E11.TT.T5) for a temperature sensor. I'm guessing there is an offset register on that version to calibrate the analog sensor.

from esphome-rego1000.

jagheterfredrik avatar jagheterfredrik commented on September 27, 2024

My understanding is that v1.x.x supports analog sensor and v3.x.x does not. But the analog sensor does not have a knob while the canbus one does. I wonder if IVT simply removed the ability to change (such a niche feature in the first place...)

from esphome-rego1000.

cjonhammar avatar cjonhammar commented on September 27, 2024

ROOM_DIAL_RANGE is set to 1 in my 3.7.0 rego1000.

from esphome-rego1000.

jagheterfredrik avatar jagheterfredrik commented on September 27, 2024

Does changing it change the heating setpoint?

from esphome-rego1000.

cjonhammar avatar cjonhammar commented on September 27, 2024

if i changed it to 0 the setpoint changed +10:
875BB3F7-C9B1-4F54-8B62-972E20899E67

from esphome-rego1000.

jagheterfredrik avatar jagheterfredrik commented on September 27, 2024

@cjonhammar I just pushed a fix, 4ec4f05, that also sends emulates the CAN bus dial to be at the midpoint, rendering the dial range unused. Please try it out, the dial range change should not impact the heating setpoint at all.

from esphome-rego1000.

cjonhammar avatar cjonhammar commented on September 27, 2024

Same behaviour with the fix.
image

from esphome-rego1000.

jagheterfredrik avatar jagheterfredrik commented on September 27, 2024

Still +10? This was highly unexpected..

from esphome-rego1000.

cjonhammar avatar cjonhammar commented on September 27, 2024

Yes, you can see the jump on the graph.. But I saw that my "default" setting wasnt 1.0 but 0.6. (it rounded it up, since i had it to step 1 instead of .1)

from esphome-rego1000.

jagheterfredrik avatar jagheterfredrik commented on September 27, 2024

Ah, you need to set
min: 0
max: 6
step: 1
value_factor: 1

from esphome-rego1000.

jagheterfredrik avatar jagheterfredrik commented on September 27, 2024

Actually, hold off on using the number: for now, there’s a bug

from esphome-rego1000.

cjonhammar avatar cjonhammar commented on September 27, 2024

Ok, reverted the dial_range values to 0 and 6. But there seems to be a bug in the heating, now 20.0 shows up as 200
image

from esphome-rego1000.

cjonhammar avatar cjonhammar commented on September 27, 2024

Sweet, thanks. (I did also notice that it was only cosmetic after running to the boiler room last night.. :) )

from esphome-rego1000.

jagheterfredrik avatar jagheterfredrik commented on September 27, 2024

Well @cjonhammar I think you might want to set the dial range to 0 if you want to get closer to your target temp :)

from esphome-rego1000.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.