static ip issues
Closed this issue · 1 comments
Jzhenli commented
Hi, My device use static IP, and when run the scripts manual_test_create_device.py, it will raise error as follows,would u help to check what's the problem?
ChristianTremblay commented
provide the IP manually, when not provided, I try to ping google to find the socket...
myip = '192.168.1.200/24',
async def main():
# We'll use 3 devices plus our main instance
async with BAC0.start(ip=myip , 'localObjName="bacnet") as bacnet:
async with BAC0.start(ip=myip ,port=47809, localObjName="App1") as device_app:
async with BAC0.start(ip=myip ,port=47810, localObjName="App2") as device30_app:
async with BAC0.start(ip=myip ,port=47811, localObjName="App3") as device300_app:
add_points(2, device_app)
add_points(3, device30_app)
add_points(4, device300_app)
[...]