BAC0
BAC0 copied to clipboard
run complete version with bokeh server
Am I adding trends in correctly for the complete version? https://bac0.readthedocs.io/en/latest/connect.html#complete
The dashboard is really nice looking....but no trends to plot:
No errors when I run this below....am only interested in analogInput
2 and 3. In the device they are named tempUoTwoBalco
and tempUoThreeBalco
import BAC0
import time,sys
bacnet = BAC0.connect(ip='192.168.0.100/24')
furnace_obj_list = [('analogInput', 2),
('analogInput', 3)]
furnace = BAC0.device('12345:2',
201201,
bacnet,
object_list=furnace_obj_list,
segmentation_supported=False)
time.sleep(5)
furnace['tempUoTwoBalco'].chart()
furnace['tempUoThreeBalco'].chart()
def main():
while True:
time.sleep(0.01)
if __name__ == "__main__":
try:
main()
except KeyboardInterrupt:
bacnet.disconnect()
print('disconnected')
sys.exit(0)
Go in the trends page. And use the drop down took to add the trends you want.
Gosh not seeing a drop down....here?
When a device is registered, the objetcs should be visible in a dropdown