Raspbee2

Are all packages up-to-date ? Next command will bring all packages to the latest version. Does it work or do you get a similar error message as earlier ?

sudo apt-get update && apt-get upgrade

I upgraded everything via the config - same issue.

Will be back at Keyboard during the weekend and have a looks at it.

Hi guys - Thanks to everyone who gave me pointers. I know seem to have it running. I am not sure the serial port was correctly configured; the openhabian-config does not offer quite the same option as raspi-config in this regard. I added

EXTRA_JAVA_OPTS="-Dgnu.io.rxtx.SerialPorts=/dev/ttyUSB0:/dev/ttyS0:/dev/ttyS2:/dev/ttyACM0:/dev/ttyAMA0"

to the /etc/default/openhab2 system file as described in the Zigbee setup docs

I then installed deCONZ from the root directory.
This installed correctly - then thanks for the tip
sudo systemctl enable deconz
sudo systemctl start deconz

One further tip; avoid the Osram smart+ dimmable bulbs (I bought one as a tester) very difficult to reset.

Thanks again guys

1 Like

Hi - I have made progress, but deCONZ does not find things.
Here are the outputs requested earlier:
[20:10:04] openhabian@openhab:~$ systemctl list-unit-files |grep -i deconz
deconz-gui.service disabled
deconz-homebridge-install.service disabled
deconz-homebridge.service disabled
deconz-init.service disabled
deconz-update.service enabled
deconz-wifi.service enabled
deconz.service enabled

[20:16:45] openhabian@openhab:~$ systemctl status ‘deconz*’
● deconz-update.service - deCONZ: ZigBee gateway – Update Service
Loaded: loaded (/lib/systemd/system/deconz-update.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2020-08-08 17:37:19 BST; 2h 41min ago
Main PID: 370 (deCONZ-update2.)
Tasks: 2 (limit: 4915)
CGroup: /system.slice/deconz-update.service
├─ 370 /bin/bash /usr/bin/deCONZ-update2.sh
└─23950 sleep 10

Aug 08 17:37:19 openhab systemd[1]: Started deCONZ: ZigBee gateway – Update Service.
Aug 08 17:37:30 openhab deCONZ-update2.sh[370]: found deCONZ port 80
Aug 08 17:37:30 openhab deCONZ-update2.sh[370]: use database file /home/openhabian/.local/share/dresden-elektronik/deCONZ/zll.db
Aug 08 17:37:30 openhab deCONZ-update2.sh[370]: process update state allreadytoinstall

● deconz.service - deCONZ: ZigBee gateway – REST API
Loaded: loaded (/lib/systemd/system/deconz.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2020-08-08 17:37:19 BST; 2h 41min ago
Main PID: 347 (deCONZ)
Tasks: 5 (limit: 4915)
CGroup: /system.slice/deconz.service
└─347 /usr/bin/deCONZ -platform minimal --http-port=80

Aug 08 17:37:19 openhab systemd[1]: Started deCONZ: ZigBee gateway – REST API.
Aug 08 17:37:21 openhab deCONZ[347]: QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to ‘/tmp/runtime-openhabian’
Aug 08 17:37:21 openhab deCONZ[347]: libpng warning: iCCP: known incorrect sRGB profile
Aug 08 17:37:22 openhab deCONZ[347]: This plugin does not support propagateSizeHints()
Aug 08 17:37:22 openhab deCONZ[347]: This plugin does not support propagateSizeHints()

● deconz-wifi.service - deCONZ: ZigBee gateway – WIFI Service
Loaded: loaded (/lib/systemd/system/deconz-wifi.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2020-08-08 17:37:19 BST; 2h 41min ago
Main PID: 356 (deCONZ-WIFI2.sh)
Tasks: 2 (limit: 4915)
CGroup: /system.slice/deconz-wifi.service
├─ 356 /bin/bash /usr/bin/deCONZ-WIFI2.sh
└─23956 sleep 1

Aug 08 17:37:19 openhab systemd[1]: Started deCONZ: ZigBee gateway – WIFI Service.

I thought I had it nailed, but still not quite there

Does phoscon run? Are your devices in phoscon?

According to these outputs the required service is running now.
Does the gateway detection as described in post 4 ( Getting Started - deCONZ REST-API ) work now ?

what is missing / not working ?

1 Like

DeCONZ finds the gateway, but does not find any devices. I rebooted with an sd card without openHAB; Denbian buster / deCONZ ie standard deCONZ installation. The output from your commands
systemctl list-unit-files |grep -i deconz
systemctl status ‘deconz*’

pi@raspberrypi:~ $ systemctl list-unit-files |grep -i deconz
deconz-gui.service disabled
deconz-homebridge-install.service disabled
deconz-homebridge.service disabled
deconz-init.service disabled
deconz-update.service enabled
deconz-wifi.service enabled
deconz.service enabled
pi@raspberrypi:~ $ systemctl status ‘deconz*’
● deconz-wifi.service - deCONZ: ZigBee gateway – WIFI Service
Loaded: loaded (/lib/systemd/system/deconz-wifi.service; enabled; vendor pres
Active: active (running) since Wed 2020-08-05 16:35:12 BST; 3 days ago
Main PID: 364 (deCONZ-WIFI2.sh)
Tasks: 2 (limit: 4915)
Memory: 3.7M
CGroup: /system.slice/deconz-wifi.service
├─ 364 /bin/bash /usr/bin/deCONZ-WIFI2.sh
└─4434 sleep 1

Aug 05 16:35:12 raspberrypi systemd[1]: Started deCONZ: ZigBee gateway – WIFI S
Aug 05 16:35:27 raspberrypi deCONZ-WIFI2.sh[364]: command failed: Network is dow

● deconz.service - deCONZ: ZigBee gateway – REST API
Loaded: loaded (/lib/systemd/system/deconz.service; enabled; vendor preset: e
Active: active (running) since Wed 2020-08-05 16:35:12 BST; 3 days ago
Main PID: 344 (deCONZ)
Tasks: 5 (limit: 4915)
Memory: 40.6M
CGroup: /system.slice/deconz.service
└─344 /usr/bin/deCONZ -platform minimal --http-port=80

Aug 05 16:35:12 raspberrypi systemd[1]: Started deCONZ: ZigBee gateway – REST A
lines 1-23…skipping…
● deconz-wifi.service - deCONZ: ZigBee gateway – WIFI Service
Loaded: loaded (/lib/systemd/system/deconz-wifi.service; enabled; vendor pres
Active: active (running) since Wed 2020-08-05 16:35:12 BST; 3 days ago
Main PID: 364 (deCONZ-WIFI2.sh)
Tasks: 2 (limit: 4915)
Memory: 3.7M
CGroup: /system.slice/deconz-wifi.service
├─ 364 /bin/bash /usr/bin/deCONZ-WIFI2.sh
└─4434 sleep 1

Aug 05 16:35:12 raspberrypi systemd[1]: Started deCONZ: ZigBee gateway – WIFI S
Aug 05 16:35:27 raspberrypi deCONZ-WIFI2.sh[364]: command failed: Network is dow

● deconz.service - deCONZ: ZigBee gateway – REST API
Loaded: loaded (/lib/systemd/system/deconz.service; enabled; vendor preset: e
Active: active (running) since Wed 2020-08-05 16:35:12 BST; 3 days ago
Main PID: 344 (deCONZ)
Tasks: 5 (limit: 4915)
Memory: 40.6M
CGroup: /system.slice/deconz.service
└─344 /usr/bin/deCONZ -platform minimal --http-port=80

Aug 05 16:35:12 raspberrypi systemd[1]: Started deCONZ: ZigBee gateway – REST A
Aug 05 16:35:13 raspberrypi deCONZ[344]: QStandardPaths: XDG_RUNTIME_DIR not set
Aug 05 16:35:13 raspberrypi deCONZ[344]: libpng warning: iCCP: known incorrect s
Aug 05 16:35:14 raspberrypi deCONZ[344]: This plugin does not support propagateS
Aug 05 16:35:14 raspberrypi deCONZ[344]: This plugin does not support propagateS
Aug 05 16:35:24 raspberrypi deCONZ[344]: This plugin does not support propagateS

● deconz-update.service - deCONZ: ZigBee gateway – Update Service
Loaded: loaded (/lib/systemd/system/deconz-update.service; enabled; vendor pr
Active: active (running) since Wed 2020-08-05 16:35:12 BST; 3 days ago
Main PID: 357 (deCONZ-update2.)
Tasks: 2 (limit: 4915)
Memory: 8.9M
CGroup: /system.slice/deconz-update.service
lines 1-36…skipping…
● deconz-wifi.service - deCONZ: ZigBee gateway – WIFI Service
Loaded: loaded (/lib/systemd/system/deconz-wifi.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2020-08-05 16:35:12 BST; 3 days ago
Main PID: 364 (deCONZ-WIFI2.sh)
Tasks: 2 (limit: 4915)
Memory: 3.7M
CGroup: /system.slice/deconz-wifi.service
├─ 364 /bin/bash /usr/bin/deCONZ-WIFI2.sh
└─4434 sleep 1

Aug 05 16:35:12 raspberrypi systemd[1]: Started deCONZ: ZigBee gateway – WIFI Service.
Aug 05 16:35:27 raspberrypi deCONZ-WIFI2.sh[364]: command failed: Network is down (-100)

● deconz.service - deCONZ: ZigBee gateway – REST API
Loaded: loaded (/lib/systemd/system/deconz.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2020-08-05 16:35:12 BST; 3 days ago
Main PID: 344 (deCONZ)
Tasks: 5 (limit: 4915)
Memory: 40.6M
CGroup: /system.slice/deconz.service
└─344 /usr/bin/deCONZ -platform minimal --http-port=80

Aug 05 16:35:12 raspberrypi systemd[1]: Started deCONZ: ZigBee gateway – REST API.
Aug 05 16:35:13 raspberrypi deCONZ[344]: QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to ‘/tmp/runtime-pi’
Aug 05 16:35:13 raspberrypi deCONZ[344]: libpng warning: iCCP: known incorrect sRGB profile
Aug 05 16:35:14 raspberrypi deCONZ[344]: This plugin does not support propagateSizeHints()
Aug 05 16:35:14 raspberrypi deCONZ[344]: This plugin does not support propagateSizeHints()
Aug 05 16:35:24 raspberrypi deCONZ[344]: This plugin does not support propagateSizeHints()

● deconz-update.service - deCONZ: ZigBee gateway – Update Service
Loaded: loaded (/lib/systemd/system/deconz-update.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2020-08-05 16:35:12 BST; 3 days ago
Main PID: 357 (deCONZ-update2.)
Tasks: 2 (limit: 4915)
Memory: 8.9M
CGroup: /system.slice/deconz-update.service
├─ 357 /bin/bash /usr/bin/deCONZ-update2.sh
└─4416 sleep 10

Aug 05 16:35:12 raspberrypi systemd[1]: Started deCONZ: ZigBee gateway – Update Service.
Aug 05 16:35:23 raspberrypi deCONZ-update2.sh[357]: found deCONZ port 80
Aug 05 16:35:23 raspberrypi deCONZ-update2.sh[357]: use database file /home/pi/.local/share/dresden-elektronik/deCONZ/zll.db
Aug 05 16:35:23 raspberrypi deCONZ-update2.sh[357]: process update state allreadytoinstall

I’m hoping you might be able to decipher the error. At least this is forcing me up the learning curve - though frankly I’m wondering whether a hue bridge would have been much simpler!

Thanks!

Login to the phoscon app via browser as described here works ?

Yes, that works fine. It finds the gateway and I can login. But thin it can’t find any lights. The non openHAB installation finds lights with no problem

You have to add lights to phoscon. This requires a factory reset if they are paired to another coordinator.
Zigbee can only be tied to one hub/coodinator

as far as I understand your environment / posts:

  • you use one Raspbee2
  • once you booted it with openHAB
  • once you botted the same hardware but with Debian buster but without openHAB
    => so all your Zigbee devices are paired with the same hub/coordinator which is the Raspbee2
  • booting to Debian without openHAB shows paired zigbee devices
  • while booting to the instance with openHAB does not show any paired device ?
    Is this correct ?

exactly

Yes, I did a factory reset. Still DeConz did not find the lights. So basically wen I open the app, it finds the gateway and I can login, but I can’t find llights.

When I use the non openHAB version, it finds the lights.

Can you check the second point: https://phoscon.de/en/support#conbee2-connection-issues
in the non working environment ( system with openHAB )

under Gateway it says firmware “not connected” lsusb did not find Fresden Elektronik, but I guess tha makes sens since it is mounted internally.

I tried to follow the instructions but the sudo GCFFlasher_internal firmware update did not work.

you are right.

Could you for both systems create a list of installed packages with the below command.
Using this list we can compare if the required packages are installed on both systems.

dpkg -l > /tmp/list-of-installed-packages.txt

Besides that I would be interested to see the content of /boot/config.txt for both systems.

openHAB version
dpkg -l > /tmp/list-of-installed-packages.txt returned nothing!
[22:29:44] openhabian@openhab:~$ dpkg -l > /tmp/list-of-installed-packages.txt
[22:30:18] openhabian@openhab:~$ sudo dpkg -l > /tmp/list-of-installed-packages.txt
[sudo] password for openhabian:
[22:30:47] openhabian@openhab:~$ nano /boot/config.txt
GNU nano 3.2 /boot/config.txt

For more options and information see

http://rpf.io/configtxt

Some settings may impact device functionality. See link above for details

uncomment if you get no picture on HDMI for a default “safe” mode

#hdmi_safe=1

uncomment this if your display has a black border of unused pixels visible

and your display can output without overscan

#disable_overscan=1

uncomment the following to adjust overscan. Use positive numbers if console

goes off screen, and negative if there is too much border

#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16

uncomment to force a console size. By default it will be display’s size minus

               [ File '/boot/config.txt' is unwritable ]

Simple denbian buster no openHAB version
Again nothing returned for the first command

pi@raspberrypi:~ $ dpkg -l > /tmp/list-of-installed-packages.txt
pi@raspberrypi:~ $ nano /boot/config.txt
GNU nano 3.2 /boot/config.txt

For more options and information see

http://rpf.io/configtxt

Some settings may impact device functionality. See link above for details

uncomment if you get no picture on HDMI for a default “safe” mode

#hdmi_safe=1

uncomment this if your display has a black border of unused pixels visible

and your display can output without overscan

#disable_overscan=1

uncomment the following to adjust overscan. Use positive numbers if console

goes off screen, and negative if there is too much border

#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16

uncomment to force a console size. By default it will be display’s size minus

               [ File '/boot/config.txt' is unwritable ]

Did you back up the config when booted to Debian? If so I believe restoring the config will see the lights. Otherwise I believe you have to reset the rasbee and the light to pair them again.

One question I may have missed it above, what version of Debian did you install on the pi? Or did you install raspian?

I have backed up the SD card. I reset the lights each time. not sure how to resewt the Raspee2. I did try removing it and re-attaching it