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

Points not detected by YABE #478

Open
SIDRAGNEEL opened this issue Sep 19, 2024 · 4 comments
Open

Points not detected by YABE #478

SIDRAGNEEL opened this issue Sep 19, 2024 · 4 comments

Comments

@SIDRAGNEEL
Copy link

SIDRAGNEEL commented Sep 19, 2024

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

@ChristianTremblay
Copy link
Owner

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.

@SIDRAGNEEL
Copy link
Author

SIDRAGNEEL commented Sep 26, 2024

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?

Copy link

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.

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

No branches or pull requests

2 participants