Hi there,
hopefully this question is not too stupid and I’m using the proper terminology:
Here’s what I want to do:
For no reason I want to display the valve state of a homematic thermostat (HM-CC-RT-DN working with an original CCU2). Here is what I’ve done so far:
1.I introduced my CCU2 to Home Assistant via configuration.yaml
That worked so far. Several things (entities, right? ) were discoverd and could be used. As far as I have discoverd, there was no entity created for the valve state (as for the battery state of that thermostat). Nevertheless I want that .
I read the documentation and came up with that idea:
Hi there and thank you very much for the quick reply.
I tried your code snippet and the displayed value changed from NONE to unknown. Now, that’s possiblby a hint that there may be a problem on the CCU2 side.What do you think?
Thank you anyway - I’m still learnig & working examples are very helpful. Maybe I have to dig into the logs.
Yes. I guess the sensor will stay at Unknown if there hasn’t been any value change initially. Try what happens when you press the boost-button or lower the target temperature. Anything that makes the valve move. This should be transmitted just like you have seen in the log.
As you said, the data is transmitted very well. I could watch the VALVE_STATE moving nicely up and down when I initiated BOOST-Mode.
Maybe there is something wrong with my way trying to display the entity. Interesting enough, when I try to add a gauge-card to my home view and select the sensor.my_valve the card says “Entity is non-numeric”.
Maybe there’s a typo somewhere. I will go through it oncemore with a fresh setup. Again, thank you very much - this is very helpful. But I don’t want to bother you. This is not a top-priority problem
Search in “Developer Tools - States” for ‘valve’. In my case, all my groups show the ‘valve’ attribute being emtpy.
So one has to read out the valve value from one of the connected HKTs (Heizkörperthermostate) of the group (a group may have up to 7 connected HKTs which all will have the same valve value).
Hi everybody,
my apologies already for maybe asking a dumb question.
yes, I am pretty new to HA (used openHab before) and how I am struggling with exactly was is discussed in this thread… but I do not understand your solutions
I have my Raspberrymatic connected and setup like @Crevis has stated. Works fine so far, many entities are found and using the “Developer Tools - Template” I could also get a meaningful reading of my valves using Ventil Heizung Bad: {{ state_attr('climate.002018a997609b', 'level') }}%
But I do not understand how and where to use the code snippets you provided.
Where to put the code you shared, @oe3arc or lopez1de ?
If I place it in the config yaml, i get strange warning (yes, i am also completly new to YAML and basically on’t know what I am doing there… but hey, I was able to connect the homematic )
I would recommend to switch to the new integration. There you have the option to enable a sensor-entity for the level (disabled by default).
Brief installation instructions can be found here. More detailed instructions (for use with the RaspberryMatic Add-on, but a lot still applies to setups with a dedicated RaspberryMatic host) can be found here.
“There you have the option to enable a sensor-entity for the level (disabled by default)”.
If you’re going to respond to a question, giving the perfect answer, please at least link to where the information is, rather than leave people to fend for themselves (hint: it isn’t easy to find, at least for me)
Hi all,
I search for a solution to get some values from Homematic to home assistant.
my setup:
Home Assistant version 2023.10.5
Add ON RaspberryMatic CCU version: 3.71.12.20231020
Connection HA to HM in configuration.yml with homematic: … interfaces: … hmip: …
I got all my devices from Homematic into home assistant, but not all informations from those devices.
my actual case I have a device “HmIP-BWTH” it is a Homematic IP wall mounted thermostat for floor heating with humidity sensor. I got the sensor in home assistant and also a climate device with additional attributes. but in the attributes I miss the information if the relay is on or off from special channel from this device. this information is needed to knew if the floor is heating right now or not. cause floor heating has no “level” for hot water control. it is open or closed. so the thermostat switch in on or off.
the described solution above is to create my own sensor and grep the state information from the climate device attribute. but how do I get the special attribute I need, if it is not there.
I tried to read the docs from home assistant for homematic but in don’t understand how I can get informations that are not provided by default. maybe someone can help me and also describe how to test this .
as I am on the same run to get the valve reading shown as a sensor, a question to your solution:
The
'climate.002018a9a7c83e'
out of your code is the name of the thermostate out of the entity-section? I am questioning as my are shown with a clear name like: climate.og_toilet1_hkr1 and not the alphanumeric name as you show.