BAC0 icon indicating copy to clipboard operation
BAC0 copied to clipboard

Points not detected by YABE

Open RatraShaw opened this issue 1 year ago • 3 comments

Hello, after running the create device test code with a modified add point function, YABE doss not show any points but a Network port. Is this a code issue or a YABE issue ? IMG-20240919-WA0003.jpg

IMG-20240919-WA0002.jpg

The point value can be modified and read according to output. IMG-20240919-WA0004.jpg

RatraShaw avatar Sep 19 '24 07:09 RatraShaw

The script you show me creates 2 bacnet devices. One on 0xBAC0, the other one on 0xBAC1 The one with all the points added is on port 47809 (0xBAC1) The one you look at on YABE is the one created first in the script, which I use for connecting to devices when testing.

If you want to create 1 device, use only the first async with

You should also remove time.sleep and maybe replace that with an asyncio.sleep or you will pause the execution of the script everytime you call sleep.

ChristianTremblay avatar Sep 23 '24 01:09 ChristianTremblay

The script you show me creates 2 bacnet devices. One on 0xBAC0, the other one on 0xBAC1 The one with all the points added is on port 47809 (0xBAC1) The one you look at on YABE is the one created first in the script, which I use for connecting to devices when testing.

If you want to create 1 device, use only the first async with

You should also remove time.sleep and maybe replace that with an asyncio.sleep or you will pause the execution of the script everytime you call sleep.

Thanks a lot. Is there a way to create two independent devices that are from the same IP , perhaps using different ports, to read /write on the other device?

RatraShaw avatar Sep 26 '24 04:09 RatraShaw

https://github.com/ChristianTremblay/BAC0/blob/main/tests/manual_test_create_device.py

ChristianTremblay avatar Sep 26 '24 13:09 ChristianTremblay

This issue had no activity for a long period of time. If this issue is still required, please update the status or else, it will be closed. Please note that an issue can be reopened if required.

github-actions[bot] avatar Nov 26 '24 02:11 github-actions[bot]