Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails when adding a lot of discovered BACnet objects #18

Open
Ben1902 opened this issue Nov 28, 2017 · 4 comments
Open

Fails when adding a lot of discovered BACnet objects #18

Ben1902 opened this issue Nov 28, 2017 · 4 comments

Comments

@Ben1902
Copy link

Ben1902 commented Nov 28, 2017

Hi,

When scanning a device, I discovered 50 BACnet objects on one device. When "selecting all" and adding, it seems like its too much to handle for the openmuc (its running on a Siemens IOT2040, 400mhz cpu, 1gb memory, linux yocto 2.2). It misses some of the values, and some of them does not contain the scanned data, just a empty channel.

Maybe its possible to add a small delay between each "add" to the system?

For now, I scan, and edit the channels.xml manually instead:)

Best regards
Benjamin Kruger

@Ben1902
Copy link
Author

Ben1902 commented Nov 28, 2017

Also, when scanning device with larger number of objects (over 50), the description is not coping. But if i just scan one more time, it corrects the description and everything is ok. Could it be that my device is slow compared to the (developer) PC?

@danielWQ
Copy link
Contributor

Hi,

We are using the driver for big installations, too. But to be honest, I've never tried to add many channels at once via the WebUI.
I would expect that this is an issue of OpenMUC and not of the driver. Have you made some deeper analysis to pinpoint the problem?

@Ben1902
Copy link
Author

Ben1902 commented Dec 1, 2017

I will dig into this and find out. :)

@Ben1902
Copy link
Author

Ben1902 commented Oct 19, 2018

Hi,

Now I have some more background from different setups, and it could indeed seem like not enough processing power (CPU) could be the issue when mass-adding scanned objects. It may have to do with the code, that its not "thread-safe" in some way. I have not dug into the source code, but I do not have this problem on servers, but only on embedded devices. I think we could say this case is solved, and I will add more if I find out more later

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants