Hi,
I do my first steps with HA. Actually I need a new Tablet Dashboard for my Homematic and would test Lovelace for this.
Right now I get rfd, wired, HMIP values in HA, but since days I fight with the integration of System variables and CUxD values from RaspberryMatic. I read something about pyhomematic but all the information which I can get in german don realy help to solve my request or are old and may be no more valid.
Is there a solution to integrate all CUxD values into HA?
Is there a solution to integrate all System variables into HA?
Do I need to install pyhomematic seperate. where and how (the CCU3 do not allow me to install this as Addon)?
HA and the CCU3 Addon Redmatic “speak” Node-Red, can this be an common Interface to get all HM values easily into HA?
Thanks for the quick response. For now It should be more easy to check if I can get the CCU System variables in HA. I read the Homematic document several times but can not follow the example.
´´´
sensor:
platform: template
sensors:
bedroom_valve:
value_template: “{{ state_attr(‘climate.leq123456’, ‘level’) }}”
entity_id: climate.leq123456
friendly_name: “Bedroom valve”
´´´
Can you give me a hint where I need to Enter this and how to integrate two of my variables?
1st = SV_Regenmenge = values are 0 - 200
2nd = SV_Tablet_online_LAN = value are true or false
After weeks of testing I got the values at my Dashboard. To give also other Homematic users an Idea, I add in configuration.yaml.
The CCU3 is detected in Home Assistant as “ccu3”
the CCU3 System variable names are “SV_Gartenwasser Tag aktuell” and “SV_Regenmenge”
Hello Georg1
I have a similar problem and I suspect it is due to a wrong entity. The documentation says:
Add a home assistant automation to connect to the raspberrymatic addon
To reach the raspberrymatic addon after it has been started correctly, a HA automation has to be implemented.
Creat a new programm on the raspberrymatic addon without any conditions, which executes the following HM-Script with a delay of 30 seconds. The Script needs to be implemented within the section Activity: Then
var obj = dom.GetObject(“V_Last_Reboot”);
string now = system.Date("%d.%m.%Y %H:%M:%S");
obj.State(now);
The raspberrymatic addon will execute all active programs which meet their conditions (none in this case) on every reboot.
Set up a template sensor in Home Assistants configuration.yml, which contains the value of the system variable:
sensor:
platform: template
sensors:
raspberrymatic_last_reboot:
value_template: “{{ state_attr(‘homematic.raspberrymatic’, ‘V_Last_Reboot’) or ‘01.01.1970 00:00:00’ }}”
icon_template: “mdi:clock”
entity_id: homematic.raspberrymatic Attention: You have to change your entity_id and the same value in value_template if you changed the entity_id of your raspberrymatic addon.
Set up an automation which calls homematic.reconnect whenever the sensor variable changes:
automation:
id: ‘raspberrymatic_reboot_detection’
alias: “Raspberrymatic CCU Reboot”
trigger:
platform: state
entity_id: sensor.raspberrymatic_last_reboot
action:
service: homematic.reconnect
Where can I see the entity of the Add-On Raspberrymatic?
May be, the entity is not “homematic.raspberrymatic”
I can’ see the variable in HA, in Raspberrymatic I habe create it.
Greetings Christoph
–Sorry for my bad english–
I have solved the problem.
The entity homematic.raspberrymatic comes from the file config.yaml.
In this file it is the parameter homematic and the host-paramter raspberrymatic.
Many greetings Christoph