Conbee II with current docker image?

Could you tell me if conbee II works with current docker image?
container can’t find any adapter.
thanks.

1 Like

The container needs to be told which serial port to use.

I had to add --device=/dev/ttyACM1 to my docker run command since my ConBee II was on /dev/ttyACM1

I have a script called find_port.py which you can use to help find the ConBee port.

You can run find_port.py -l to list the ports:

USB Serial Device 0658:0200 with vendor '0658' found @/dev/ttyACM0
USB Serial Device 1cf1:0030 with vendor 'dresden_elektronik_ingenieurtechnik_GmbH' serial 'DE1948475' found @/dev/ttyACM1

You can then use:

find_port.py --vid 1cf1 --pid 0030

If you run the above you should see something like this:

$ find_port.py --vid 1cf1 --pid 0030
/dev/ttyACM1

You can then create a bash script to start your docker container. My script looks like this:

#!/bin/bash
docker run \
    -d \
    --rm \
    -v /home/dhylands/moziot/gateway-docker/.mozilla-iot:/home/node/.mozilla-iot \
    --net=host \
    --name mozilla-iot-gateway \
    --device=$(find_port.py --vid 1cf1 --pid 0030) \
    gateway
1 Like

Thanks a lot.
your python tool is useful

1 Like