Hi,
No there will no device be installed in HA, but the corresponding entities are created and made available in HA.
To view the BLnet data in HA, you need to create a card and select the BLnet entities.
As explained in a previous post, you can do this either via the entity card where you then have to add the individual entities, or you create the card based on the entities (this is the right tab in the menu window when choosing a card).
You then select the entities and HA automatically generates a card.
Since you wrote that you are new to HA…, I would like to ask whether you are familiar with the general functionality and the display of cards on the dashboard?
A little tip to maybe get a little further now.
You could check whether the BLnet entities are even available in HA before you try to create a card. You can do this in the following 2 ways.
Either select “developer tools” (auf deutsch Entwicklerwerkzeuge) in the main menu on the left and then “states” (Zustände) and there you can search for BLnet entities.
Or go to “Settings” (Einstellungen) in the main menu and then to “Devices” (Geräte & Dienste) and then to the “Entities” (Entitäten) tab.
There you can now also search for BLnet entities.
If they appear there, the integration should work and the problem is more likely to be your attempt to display them…
finally I get values in HA and can now think of getting rid of my old 32bit stuff, still had an old Raspberry running because of it. I may have been a bit impatient, but I had to get values first to decide whether to keep HA or continue with Node-red. In any case, a big praise and thank you to you @C64, that you have answered even to my stupid questions. It went back and forth sometimes, but through your answers am always a bit closer. eg with the BL Can address 62 etc. and finally the entities. Now that I know that I’m getting further with HA in this regard, I will also work my way reasonably. The basics must first be right and to find this out you have helped me very much - top.
Now I can run alone
I’m glad it’s working now and that I was able to help you.
HA is an open source project with a very large community and this is what makes the whole thing so great.
I think you will still encounter a few hurdles on your way, but you will definitely find someone who will help you.
I do not use HA that long myself, I installed my HA approx a year ago
BLnet was also the first integration that I wanted to install to integrate my UVR1611.
In the meantime I have also integrated Homematic and there is a lot more to come (but unfortunately I don’t have so much time).
Now, I also have a second HA installation running on an old laptop as a test system. I think this is a good solution for playing around and testing without putting my current system at any risk.
For example, I have MariaDB and Grafana running on it, which is also a very interesting topic.
I think you won’t be bored any time soon
One tip I give you is to look into the backup function of HA and come up with a sensible backup strategy.
This works very well with the “Samba Backup” add-on in HA.
I use it to make full backups of the entire system locally on my NUC and a copy to my NAS.
And familiarize yourself with the basics of the system, this will help you a lot and save you from many “stupid” mistakes
I wish you good times and lots of fun with your HA.
If someone is also facing the issue that after a while no data is transmitted from BLNET anymore, check if the CAN Node radio button is still checked in the webfrontend. If this is not the case your facing the same issue I had. Niels did an update on the pyblnet site-package which is at the moment not used by the HA integration as further tests still need to be done.
If everything works fine for you, you seem to be lucky. If so and someone is willing to verify the new pyblnet version with his configuration please let me or Niels know.
See also the open issue Figure out how to set the can node · Issue #41 · nielstron/pyblnet · GitHub
Hi @TheGsus
Many thanks for pointing to this issue report, I also have regular data display failures.
The description from the user “whatashit” made me deactivate the can-node configuration in my configuration.yaml, where I had set the node number of my BLnet, and now it has been running for me since yesterday without any data display failing in HA.
The node configuration seems realy to be the issue.
FYI: Regarding my post about missing data in Home Assistant, where you also answered here:
Hooking up the UVR1611 via BLNET - #110 by TheGsus , I’m now back in touch with “Nielstron” on his Github page: Adding missing values · Issue #40 · nielstron/pyblnet · GitHub
regards,
Even if the UVR1611 and the BLNET are very old pieces it still can be found in plenty of houses as this is a very reliable and highly configurable system. I still havn’t come accross newer built-in heating systems offering that much degrees of freedom.
Adding the missing values to the lib would be awesome. If you need a ‘tester’ or more examples just let me know. Winter is coming. I am usually playing around with the UVR during this period anyways.
@TheGsus
During all the troubleshooting, which is finally due to lack of knowledge with HA, I found out that if the node of the UVR1611 is not set, no data is transferred. So far, it has happened twice since yesterday, that the node (radio button unchecked) was deselected and thus no data was transmitted. After a manual set, it works again.
Since I am still very much at the beginning of my HA - configuration, I could test this.
@StephanChrist100
Very much appreciated.
More or less to try to fix this you have to do six steps.
- Install the AddOn called “File Editor” in HA to edit files directly from inside HA on your browser or you could also deal with “Samba share” AddOn to edit files using a windows computer.
- In “File Editor” web UI browse to “config/custom_components_blnet” and open ‘manifest.json’. Edit line 6 and change “pyblnet==0.9.1” to “pyblnet==0.9.2”. SAVE the file
- In “File Editor” web UI browse to “config/custom_components_blnet” and open ‘
__init__.py
’. Edit line 19 and change “pyblnet==0.9.1” to “pyblnet==0.9.2”. SAVE the file - Add the can_node config back to ur configuration.yaml file. Ensure to use the correct number (most likely can_node: 1)
- Verify that ur blnet is still set correctly. Your BLNET should have the ID 62.
- Restart/Reboot HA. Check logs for errors. Check if the BLNET ID was still changed. If so u did something wrong in step 1 to 4.
@TheGsus
Thank you from me too, I appreciate it too. I did everything as you said, everything worked out well.
This morning as I checked the BL-Net, the radio button was deselected again, no data was transferred. I report further, if now no more data come.
I have the impression that before with the version 0.9.1 the BLnet address was changed. because I had in the configuration.yaml still the address 20 set, which was then also set in the Bl-Net as BL-Net Can address.
After the change, so with 0.9.2 is now apparently the UVR1611 Can address set to 1, regardless of the BL-Net address…
Thanks again
@TheGsus
@C64
@nielstron
One at the question still to you, is also possible to read out one at the DL-bus of the UVR1611 connected devices or values ? So far, i.e. with my old software, these values were read out via data frame 2. Does PyBlnet read only the data frame 1 ?
e.g.:
There I have connected a pressure sensor and another room temperature sensor, these values are no longer available with HA.
24.09.2023
@TheGsus
So far, the data transmission from the BL-Net works without any disturbance or the Can node 1 always remains set. Before version 0.9.2 it was about 2 times a day that the node 1 was no longer selected.
Many thanks for this, top !
It would be now of course very nice if also the data frame 2 of the BL-Net in HA could be brought to the display. Do you think this will be possible ? Or am I missing something again ?
Many thanks.
Glad to hear it works for you also with the address.
DataFrame2? Was this ever transmitted by pyblnet. I have never seen any values here.
To me its pretty easy. The pyblnet web is only reading two html sites. Doing a regex. And extracting the value from html text.
The html for “Messwerteüberischt” isnt even mentioned in the pyblnet module.
This would be another feature request. But as we are still missing plenty of requests I dont have a good feeling about that
Hello,
does this work via CMI as well?
Greetings,
Hendrik
@henfri
i think what has been discussed here refers only to the BL-Net. As far as I have noticed, there is another integration for CMI in Homeassitant.
Since the data frame 2 is not read out of the BL-Net from the integration, I switched back to my old version - with a 32bit RasberryPI I read out the data with the program Datenlx ( runs only 32-bit ). Per bash script I publish the measured values directly to MQTT. Works now over 10 years, so I also have the pressure values of my heater from the DL-bus. Originally wanted to do everything with HA and save the Raspi, so he must still continue the service.
Hello @nielstron , I have this integration running and it gives me my values. However, they don’t come up with a unique ID so no modifications can be done. Is there a way to change this?