You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Dear Christian and experts,
1 Possible to advice how we may use the BAC0.device to make all devices under one BAC0 network like following picture 1?
2 This is what we follow Christian 's code. However needs to create BAC1 and BAC2 to view the device.
Author: Tomáš Kretek
Created for test purposes on VUT Brno, Czech Republic
tested BAC0 version: 21.12.03
import time
from collections import namedtuple
import pytest
import BAC0
from BAC0.core.devices.local.models import (
analog_input,
analog_output,
analog_value,
binary_input,
binary_output,
binary_value,
character_string,
date_value,
datetime_value,
humidity_input,
humidity_value,
make_state_text,
multistate_input,
multistate_output,
multistate_value,
temperature_input,
temperature_value,
)
from BAC0.core.devices.local.object import ObjectFactory
bacnet = BAC0.lite()
device_app = BAC0.lite(port=47809, deviceId=101)
device30_app = BAC0.lite(port=47810, deviceId=102)
test_device = BAC0.device("192.168.3.147/24", 101, bacnet, poll=10)
test_device_30 = BAC0.device("192.168.3.147/24", 102, bacnet, poll=0)
Beta Was this translation helpful? Give feedback.
All reactions