Saving the complete Device configuration to a device-specific Config file #43
Replies: 12 comments 7 replies
-
|
I've entertained the idea of creating a config file for a while, but in essence, the configuration of the add-on is already a config file. The add-on is made to be sort of "fire and forget", meaning you start it and it just works. For small to medium sites with only a few BACnet devices and points, this is the best. For large sites or BACnet devices with a huge number of objects, some more control is most definitely wanted. For this, I want to propose the following:
Something useful to mention is, the integration and add-on work separately from each other. The add-on arranges all the BACnet stuff while the integration handles the Home Assistant stuff by gathering the data from the add-on. Disabling entities by default is already an option when setting up the integration for the first time, it just won't change anything anymore when trying to reconfigure the integration. |
Beta Was this translation helpful? Give feedback.
-
|
Would it be possible and in accordance with the BACnet standard to use the EDE file for this purpose? For example, I could create an EDE file specifically for my heatpump model, which would only contain the objects that are needed for monitoring and controlling that device. Maybe this is already "somehow" foreseen in the Add-On, but I have currently no clue how those menu items are supposed to work and what is meant with "Select State Texts". If that is documented anywhere, could you please point me to a description? |
Beta Was this translation helpful? Give feedback.
-
|
If you download v1.4.1b1, you'll see there's some new configuration options: CoV whitelist isn't implemented yet. I think modifying the EDE file and then using it for entities is a little odd. It's meant as a placeholder until the real devices joins the network. |
Beta Was this translation helpful? Give feedback.
-
|
I restarted the Add-On with deviceName in the config. Apparently it is polling now. However, unlike CoV subscriptions, I'm seeing the Entities flashing as "not available" during the update of the presentValues. See how it looks every 5s, which is my FastPoll interval: 31-03-2024_19-06-18.mp4It looks even worse when I use graphical cards like guages: 31-03-2024_19-15-04.mp4 |
Beta Was this translation helpful? Give feedback.
-
|
Unfortunately, the poll task stopped and the log is full of errors. The last update happened 2h ago. :-( Here are the Add-On and Integration logs: bacnet_addon_logs_2024-03-31.zip |
Beta Was this translation helpful? Give feedback.
-
|
The AV1673 is a mode switch that won't change unless I change it manually. I therefore included other objects to the FastPoll list that do change dynamically. Unfortunately, I don't see the values getting updated in the Entities. The last update of all those values was 10h ago, which is when I restarted HA: The log file only tells me that "some" value was updated, but not what the object and latest presentValue was. It would perhaps be useful to see that in the Debug log. Currently, it says only:
Here are two logs that I captured last night: home-assistant_bacnet_interface_2024-03-31T21-47-22.800Z.zip |
Beta Was this translation helpful? Give feedback.
-
|
The polling doesn't work yet for me. This is my configuration: The presentValues were not getting updated by FastPoll for the last 2h, since I installed v1.4.1b2. Here are the log files: bacnet_addon_logs_2024-04-01.zip home-assistant_bacnet_interface_2024-04-01T20-09-21.668Z.zip I'm going to test it again with SlowPoll removed in the config. I'm suspecting that 600s are not enough to poll "all" values, so that the poll task might get screwed up. I'm seeing many errors related to the Poll task in the logs... |
Beta Was this translation helpful? Give feedback.
-
|
Found the issue with CoV, that should work now. For the slow poll, try it with an empty slow_poll_list. See if the quick poll and CoV update at least. Your device really does take a long time to read everything. |
Beta Was this translation helpful? Give feedback.
-
|
I'll install v1.4.1b3 now. The empty slow_poll_list with v1.4.1b2 didn't help. |
Beta Was this translation helpful? Give feedback.
-
|
Still no success, even with v1.4.1b3, unfortunately. The CoV list in the Add-On remains empty and the Entity values are not getting updated, neither by CoV nor QuickPoll, after the Add-On has finished reading all objects. This is my current config: I noticed from an error in the log that I made a mistake. It actually needs to be - analogValue:459. I corrected it and restarted the Add-On. Otherwise, the Poll task attempts to read the QuickPoll objects every 5s, but the Entities are not getting updated. While the Object list is being read at startup, I'm still seeing the "not available" flashing each ~3s. Shouldn't the timer already be at 30s in v1.4.1b3? Here are the logs (still with the error about non-existing object - analogInput:459): bacnet_addon_logs_2024-04-01b.zip |
Beta Was this translation helpful? Give feedback.
-
|
Can you try to include slow_poll_list with slow_poll_rate in your configuration? Just make it empty like so:
This is handled by the integration. You should see the add-on as a separate piece of software running beside Home Assistant, while the integration is part of Home Assistant. |
Beta Was this translation helpful? Give feedback.
-
|
Good news! With v1.4.1b4 and the SlowPoll in the config, the entities are getting updated and the CoV subscriptions have been made: Here's the Add-On log. (Debug logging was off in my latest test): bacnet_addon_logs_2024-04.01c.zip All Entities are getting updated after some seconds: I noticed that sometimes the values are being refreshed every few seconds, but sometimes it can can quite a bit longer than the configured 5s update interval. |
Beta Was this translation helpful? Give feedback.












Uh oh!
There was an error while loading. Please reload this page.
-
It would be great if I could save the entire configuration of my BACnet device to a file, so that I can restore the settings from a file, or share it with other users who have the same device.
Use-case description:
I have a Brötje Mono K 11 heatpump that is retrofitted with a GTW-21 BACnet interface module. The BACnet module is universal for many different devices, made by the BDR Thermea group. It has 1279 objects, but only a small subset of the object is used for controlling and monitoring my heatpump.
I have to configure all subscriptions and entities that are being supported by the Mono K11 device, while all unused objects of the GTW-21 can deactivated and do not need to be used in HA.
Configuring the GTW-21 device is a lot of work and I'd like to be able to store the configuration of all entities and subscriptions for the Mono K11 device. This is currently not possible in the Bepacom Add-on.
The proposal is therefore to add a feature "Save the complete Add-On & Integration config to a file", as well as "Load configuration file".
Beta Was this translation helpful? Give feedback.
All reactions