As a test, I setup a Pi 3 with a clean install of RaspberryMatic. Apart from setting up the firewall and creating the Guest user, I only created a Heating Test Group. I could not add any devices as I do not have a spare RF adaptor. My results:
As I have no BidCos or HM-IP devices on the Pi, I changed your script to ports 9292 and 39292. On port 9292 it fails with Got Interface: False.
A clean installation of RaspberryMatic doesn’t have SSL enabled. I have RaspberryMatic (without SSL) and resolving names works just fine.
In your test, did you try this before enabeling SSL on RaspberryMatic? Maybe RaspberryMatic has a bug where the JSON-RPC API does not switch back to non-SSL once SSL has been enabled. If so, you should open an issue here: https://github.com/jens-maus/RaspberryMatic/issues
But I did not enable SSL on the test PI. To enable SSL, I presume you go to Control Panel, Network Setting and create the certifcate there. To confirm this, I reflashed my SD card and rebooted the Pi. I then navigated to the IP address using HTTPS and this is what I see:
Ok, it wasn’t like this before. Maybe they started doing that later on when the CCU3 came along. Now that I’m testing this I have to agree that I can access via SSL, even though I have never setup any certificates.
Also, see here: https://github.com/jens-maus/RaspberryMatic/issues/59
RaspberryMatic generates self-signed certs from March 2017. I guess if were using RaspberryMatic before then, you would not have SSL enabled and the upgrades would respect that. I have been using it for 6 months sso I get SSL by default
No, only the parent name is used when resolving names. You can however click on the entity so that the card opens. In the upper right corner there’s a gear-icon. If you click that you can rename the entity ID however your like.
@danielperna84 based on your description, I’ve now all the entities in HA, including the ccu3 as entity. Can you please support me to get the variables out of the ccu3 in a card to use. I didn’t find a way to use them in HA or to set the value for further use in Homematic.
best regards
Thank you for the quick response. May I’ve explained my question the not specific …
I recently switched from ioBroker. In ioBroker, the variables were available as „normal" objects with an ID.
Here in HA the variables and the values are already available in the entity ccu3 (see picture). Isn’t it possible to display these values using something comparable to services? Additional it would be great, if in this special case not only the number of messages, but also the texts were displayed in a card. Thank you again for your support.
You can make entities out of them by using themplate sensors. This is an example where I extract the valve-position from a thermostat. The same could be done with the attributes of the CCU-entity.
@danielperna84 Setting the variables somehow doesn’t work. Can you give me a simple example, with the e. g. the button-card ,to show how pressing a button is setting a bool. variable value “true”. This would be great. Thanks a lot in advance.
In developer tools, services, there should be that option (provided the integration properly loaded). Otherwise you can setup an automation calling a service.