BAC0 icon indicating copy to clipboard operation
BAC0 copied to clipboard

run complete version with bokeh server

Open bbartling opened this issue 1 year ago • 3 comments

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: image

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)

bbartling avatar Sep 19 '22 15:09 bbartling

Go in the trends page. And use the drop down took to add the trends you want.

ChristianTremblay avatar Sep 19 '22 15:09 ChristianTremblay

Gosh not seeing a drop down....here? image

bbartling avatar Sep 19 '22 18:09 bbartling

When a device is registered, the objetcs should be visible in a dropdown

image

image

ChristianTremblay avatar Sep 22 '22 00:09 ChristianTremblay