state_class: measurement
source: 1.1.24
unit_of_measurement: Wh
device_class: energy
friendly_name: Total Active Energy
last_reset: 1970-01-01T00:00:00+00:00
I will try your solution with removing the sensor and readding it. I am still wondering what the correct state_class is. Is it measurement or total_increasing?
You are right. I still had my global customize active which did overwrite it. Now it is working.
This problem was driving me nuts. Thanks for your help
Hi @Jpsy ,
I have some kind of the same question.
My house is full with Gira RF Wall Switches.
I would love the wall switches to trigger my Home Assistant environment. No need for the reverse way.
What would I need to make this happen
RF Line Coupler?
KNX IP Router or just KNX IP Interface?
The company who installed my Gira system does not exist any more.
Would I need ETS (how to get it) or can I manage without it?
KNX interface should be good enough. KNX router is needed if you want to couple two KNX buses over IP.
Regarding the ETS it will be difficult if you donāt have the project. ETS free version supports up to 5 devices only. Than there is the next up which is around 200 EUR although there might be some good promos e.g. some time ago there was a limited time offer for newly registered users for ETS Home or Lite.
Not sure if you can reverse engineer your system though. With demo ETS version you can monitor your KNX system and this might be good enough to get required info for HA integration.
If you have some kind of display next to your front door, you could leave some nice message for your loved ones from time to time
Other than that, I have no idea š¤· but Iām sure someone will find a good use for it.
Has anyone tried secure routing yet?
Or are there any problems with the new ConfigFlow and OptionFlow (āConfigureā button on HAs integrations panel)? Like eg. āAutomaticā connection mode suddenly not available?
the action part works perfectly, when I trigger the automation manually through the frontend, however the trigger does not work at all.
I have a KNX button, when I press it it sends a 1 to the group address 0/7/0. I get this event in my ETS, so I know it is there. However, the group address is always on 1, as I never need to change it to something else - so this might by an issue. In my previous used system I just needed to add "enforce_updates: true" to my yaml file and it fired events also when the value was not changed. Is there something similiar in home assistant? If this is probably not my issue: do you have any ideas what I could try next?
Iām new to home assistant and wanted to check if Iāve done it right.
My roller shutters use DTP9.* for reading the position (response is between 0 (open) and 100,34 (closed)) and DTP5.001 (0-100%) for setting the position. Thus I had to convert the read shutter position (cover expects 5.001 for both values).
I created a virtual address with the correct DTP5.001 for the current position. In addition I also reversed the read value to reflect the correct position (opened/closed)
1st: read position, response will be between 0 and 100,34
You may also use address: i-rolladenpos_kuche_percent in the expose and for position_state_address. The i- with some string appended denotes an internal GA - this is only used internally and never sent to the bus.
Other than that - the value returned from position_state_address has to match the value sent from position_address. So if you send 0% to the actuator it shall, at the end of travel return 0 on the state.
@airmax please tell me the manufacturer and model of this device so I never ever fall into the trap of buying a device from them
Thanks for all your contribution, this is soo helpfoul,
Im quite new to both KNX and HA but Im on my way understanding both
Im trying to set up some minor functionality between HA and my KNX (Wiser KNX)
I have started to add in configuration yaml, the following
knx: !include /config/knx.yaml
and in the knx.yaml, I started to set up some minor things.
First I started with reading a temperature from KNX and it worked fine, but then I tried to add a switch. But for some reason that did not work at all?
Can any of you sharp minds see what is going wrong?
I get error message āInvalid config for [knx]: [Switch] is an invalid option for [knx]. Check: knx->knx->Switch. (See /config/configuration.yaml, line 31).ā when checking the configuration?
āāknx.yaml----ā
sensor:
ā- name: āBadrum tempāā
state_address: ā2/1/21ā
type: temperature
sync_state: every 30
ā
Switch:
ā - name: āFasadbelysning Garageāā
address: ā5/0/11ā
state_address: ā5/0/12ā
Let me see if you can solve my next question. I got the Switch and sensor working fine. So my next step is to see if I can control my floor heating. I got 6 group addresses that are controlling 12 floor heating valves/pipes. In addition to this I have one group address connected to the 6 controllers where I can switch HVAC mode on all 6 at once. I have HVAC mode (Comfort/night/eco/auto) with different temperature settings on each address. SO now I want one controller in HA to switch HVAC mode, from Comfort to Eco and backā¦
I have one central group address and I have no temperature addresses for the central addressā¦ I canāt get it to work in HA?
I have tried the following in my knx.yaml file
You canāt use a climate entity without the required keys - which are temperature things mostly. Its main purpose is changing temperatures.
Please have a look at the documentation https://www.home-assistant.io/integrations/knx/#climate
You can use the same mode address in multiple climate entities - so changing ones mode would change all while eg a target temperature change only counts for one room. Thats perfectly fine.
If you want a pure mode selector, use a select entity.
Was struggeling with getting a good format on the code, but I thought you were refering to how I was using " in my code
I understood that the controller needed temperature and thats why I asked if there were any other way to do this, You are reffering to select entity.
And Im quite new to both KNX and HA, but Im learning fast can you perhaps send me in the right direction to ware I can find some referens material? Cause im not sure what to do with select entityā¦