Git Product home page Git Product logo

Comments (13)

pszafer avatar pszafer commented on June 12, 2024

I could add some service to change suWiSwitchMode and add logic as follows:

if `suWiSwitchMode` == `active` and `outdoortemperature > suWiThreshold`:
   show HC as off.

from home-assistant-bosch-custom-component.

nibblerrick avatar nibblerrick commented on June 12, 2024

That's not better than what I do at the moment.

But I thought sthe suWuSwitchMode shows if it's in summer or wintermode, but you are right, that's only if the mode itselt is activated.

I just saw that at the moment I have current_temperature: null as attribute, maybe I can use that. But I don't know how it behaves, I restarted HA today when summermode was active. I'll see what it shows tonight and tomorrow, then it should have switched to winter and summer once.
If that doesn't help maybe the pumpmodulation of the different heatcircuits could be used. If the pumpModulation is >0 then the circuit should be active, I think. pumpModulation is only as RC35 Sensor in the actual code, but not for the different heatcircuits, right?

        {
            "id": "/heatingCircuits/hc2/pumpModulation",
            "type": "floatValue",
            "writeable": 0,
            "recordable": 1,
            "value": 100.0,
            "unitOfMeasure": "%",
            "minValue": 0.0,
            "maxValue": 100.0
        },

from home-assistant-bosch-custom-component.

pszafer avatar pszafer commented on June 12, 2024

can you explain what do you want to achieve?
do you want to turn on heating or just know what mode is thermostat on?

from home-assistant-bosch-custom-component.

nibblerrick avatar nibblerrick commented on June 12, 2024

E.g. the thermostat in the bathroom has a sensor in the floor, so the floor can be nice and warm. This is more than the average roomtemperature. So when it's in summermode it would try to heat gives power to the valves.
Therefore I want to put the thermostat to a targettemperature low enough so it won't try to heat.

My first idea: take the threshold which is set in the RC35 and switch the thermostat with the outdooretemperature. But then I noticed the threshold set in the RC35 is not a direct threshold.
6 weeks ago the heatingcircuit switched off about 3 hours after the outdooretemperature was above the threshold and switched on again about half an hour it has fallen below the threshold.
Now it switches the heatingcircuit off about an hour after going above the threshold and back on 3 1/2 hours after falling below.
So there is some magic/computing/debuncing/whatever going on in the RC35 based on the temperaturecurve over the day or something.
What I like to have is something which tells me if the heatingcircuit is on or off.
One thing which indicates the circuit is on is if the circulationpump of the circuit is running. If there are other parameters indicating this - I don't know. Therefore I want to observer if current_temperature is usable.
To answer your question: I want to know if the heatingcircuit is on and switch the roomthermostat accordingly. But I don't want to switch heating in the RC35 on or off.
Have I managed to explain it a little bit? Otherwise I'll try again.

from home-assistant-bosch-custom-component.

pszafer avatar pszafer commented on June 12, 2024

I think I understand. Can you make new scan tomorrow when day operation mode should be active?

from home-assistant-bosch-custom-component.

nibblerrick avatar nibblerrick commented on June 12, 2024

I made three scans: one when winter-mode is active, one when winter-mode is active but hotwater is generated (hot-water priority is enabled, so it shuts the heatingcircuits off to generate hotwater quicker) and one in summer-mode.
What I found: winter-mode and winter-mode with hot-water there is a difference in

            "id": "/heatingCircuits/hc2/currentOpModeInfo",
            "recordable": 0,
            "type": "hcmodelist",
            "values": [
                {
                    "auto": "**on**",
                    "floordrying": "off",
                    "holiday": "off",
                    "manual": "off"
                }
           "id": "/heatingCircuits/hc2/currentOpModeInfo",
            "recordable": 0,
            "type": "hcmodelist",
            "values": [
                {
                    "auto": "**off**",
                    "floordrying": "off",
                    "holiday": "off",
                    "manual": "off"
                }

and in

        {
            "id": "/heatingCircuits/hc2/pumpModulation",
            "maxValue": 100.0,
            "minValue": 0.0,
            "recordable": 1,
            "type": "floatValue",
            "unitOfMeasure": "%",
            "value": **100.0**,
            "writeable": 0
        },
        {
            "id": "/heatingCircuits/hc2/pumpModulation",
            "maxValue": 100.0,
            "minValue": 0.0,
            "recordable": 1,
            "type": "floatValue",
            "unitOfMeasure": "%",
            "value": **0.0**,
            "writeable": 0
        },

But when I compare winter and summer-mode the only difference is in pumpModulation, but currentOpModeInfo stays the same.
As far as I can see the only real indication if the heatingcircuit is running is the pumpModulation > 0.
The current_temperature-attribute in HA shows here always null.
bosch-scan-summer.json.txt
bosch-scan-winter.json.txt
bosch-scan-winter_hwactive.json.txt

from home-assistant-bosch-custom-component.

pszafer avatar pszafer commented on June 12, 2024

in EMS bus there is:

 {
            "allowedValues": [
                "off",
                "forced",
                "cooling"
            ],
            "id": "/heatingCircuits/hc1/currentSuWiMode",
            "recordable": 0,
            "type": "stringValue",
            "value": "forced",
            "writeable": 0
        }

in CAN bus I think the best would be to check manually outdoor temperature > suwiswitchmode and suwi is active.
I can also add extra sensor with pumpModulation to each HC.

I'm not eager to set HC on off if pumpModulation == 0, because I think bosch can sometimes turn off pump when HC is in auto mode and then component would lie about status.

what do you think?

from home-assistant-bosch-custom-component.

nibblerrick avatar nibblerrick commented on June 12, 2024

The problem is checking outdoor temperature > suwiswitchmode and suwi is active doesn't work as I said because the RC35 does some magic. At the moment I am doing that and it doesn't work so well.
A sensor for pumpModulation would be fine for me if that's possible.
I think setting the HC to off if pumpModulation == 0 isn't a good way, too.
So a sensor with the pumpModulation would be the best I think.

from home-assistant-bosch-custom-component.

nibblerrick avatar nibblerrick commented on June 12, 2024

Thanks for the update! With 9.1 here is what happens:
PumpModulation is availible, however it seems shifted:
when pump hc2 switches on hc3-pumpmodulations gets updated.
on hc3 hc4-pump and on hc4 hc2-pump gets updated
On startup I get this warning:

Logger: bosch_thermostat_client.helper
Source: custom_components/bosch/__init__.py:253
First occurred: 9:12:36 (5 occurrences)
Last logged: 9:16:39

Can't update data for controlType. Trying uri: /heatingCircuits/hc2/controlType. Error message: URI /heatingCircuits/hc2/controlType doesn not exist: 403, message='Forbidden', url='http://10.134.49.84/heatingCircuits/hc2/controlType

I tried to make a scan, so it might be helps debugging, but when I try to make a scan now I get this:

Logger: bosch_thermostat_client.encryption.base_encryption
Source: custom_components/bosch/__init__.py:284
First occurred: 9:17:27 (1 occurrences)
Last logged: 9:17:27

Unable to decrypt: b'\xee\x1b\xf5~%\xae\x9f\x89\xa4P\r\xbe\xc6a\xce:\xf7\xd2\x90\xca\x1d\xe5-\xffs\xf1\xb3\xc62p<\xe9\xd7/\\\x0c\x02`g\x19\xaa\xc9tN\xcd\x8f\xed\x0b\x9e)\x7f\xa2H\xfbP\x03L\xb7>\xdd{\x01\x08SGh\xeb\x12\x16\xc6\xa4\x1e\x80\xf8\x81\xdb\x8b\xd3\x00\x89.\xf4\x89+\x96s\xbdo\x7fLq\xde\x8b\xc8*\xcdT\xfb9\xe7\xe6\xac\x17\x04\xd6\xdfj\xfc\x02\xb3\xc8\xe7\xf3-\xe1V/\xd7jQ.\xba\x15j\xe3G\xb8pwV\x8f\xed\xdf\xd4^U>\xf8\xd2\xfb =\xb0\x95\x0e=\x0b\xc5\xc7V\xbb\xb08;\x91\xe9v\xa3"\x91\xf2P\xa9M\xdd\x03<\x034\x88!\xf9\x19>zgf\xadkE\x82I\xdb\xb0B\x1f\x04l\xc7\xcfA\xf3\xf8\xf4\xf5`N\xbf\x03\xcb7\xaa\xd1\xe1Zn\x13\x05' with error: 'utf-8' codec can't decode byte 0xee in position 0: invalid continuation byte

Does this help?

from home-assistant-bosch-custom-component.

stale avatar stale commented on June 12, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from home-assistant-bosch-custom-component.

nibblerrick avatar nibblerrick commented on June 12, 2024

Even with the switchpoint shifted on my system, as long as I know it it's easy to integrate and works very well for me, thank you again for integrating that.
Would be fine by me to close the issue therefore.

from home-assistant-bosch-custom-component.

pszafer avatar pszafer commented on June 12, 2024

can you open new issue for this shifted problem and explain it? am I understand correctly that if hcX turns on then you see hcX+1 updated as on? and hcX is still off?

from home-assistant-bosch-custom-component.

nibblerrick avatar nibblerrick commented on June 12, 2024

Hi, kind of. I'll try to gather a new log file and describe the issue best as possible at the weekend.

from home-assistant-bosch-custom-component.

Related Issues (20)

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.