conbee III : problems with the installation and communication between the Conbee3 and domoticz

Xiaomi, Ikea TRÅDFRI, Philips Hue and more.

Moderator: leecollings

Post Reply
hanssie
Posts: 9
Joined: Sunday 21 January 2018 12:50
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

conbee III : problems with the installation and communication between the Conbee3 and domoticz

Post by hanssie »

Hi all,
I tried to connect a conbee III stick with my Domoticz application (runs on a Rasp 3b+). However, after several days, I have to conclude that I'm doing something wrong during the installation. Unfortunately, I don't know what .....

I use a complete new installation of the raspberry OS on my 3B+. After that, I installed the latest version of Domoticz en Phyton (version 3.9.2). I continued with the installation of the deconz software / plugins as decribed in : https://phoscon.de/en/conbee3/install

Unfortunately, I have to conclude that the installation was not successfully.

Please find the log file below. Can someone provide me some advices how to continue?

Thanks in Advance!!!


023-12-17 23:27:52.057 Status: Domoticz V2023.2 (c)2012-2023 GizMoCuz
2023-12-17 23:27:52.057 Status: Build Hash: 19efd039c, Date: 2023-07-21 17:23:44
2023-12-17 23:27:52.057 Status: Startup Path: /home/pi/domoticz/
2023-12-17 23:27:52.514 Status: PluginSystem: Started, Python version '3.9.2', 2 plugin definitions loaded.
2023-12-17 23:27:52.543 Status: WebServer(HTTP) started on address: :: with port 8080
2023-12-17 23:27:52.564 Status: WebServer(SSL) started on address: :: with port 443
2023-12-17 23:27:52.567 Status: TCPServer: shared server started...
2023-12-17 23:27:52.568 Status: RxQueue: queue worker started...
2023-12-17 23:27:54.569 Status: conbee3: Entering work loop.
2023-12-17 23:27:54.569 Status: conbee3: Started.
2023-12-17 23:27:54.569 Status: NotificationSystem: thread started...
2023-12-17 23:27:54.572 Status: EventSystem: reset all events...
2023-12-17 23:27:54.575 Status: EventSystem: reset all device statuses...
2023-12-17 23:27:54.712 Status: PluginSystem: 1 plugins started.
2023-12-17 23:27:54.813 Status: Python EventSystem: Initializing event module.
2023-12-17 23:27:54.813 Status: EventSystem: Started
2023-12-17 23:27:54.813 Status: EventSystem: Queue thread started...
2023-12-17 23:27:55.514 Status: conbee3: Initialized version 1.0.29, author 'Smanar'
2023-12-17 23:27:55.521 Status: conbee3: Plugin custom pages in date
2023-12-17 23:29:14.095 conbee3: ### Request config
2023-12-17 23:29:14.106 Error: conbee3: Connection problem (3) with Gateway, check your API key, or Use Request lib > V2.4.2
2023-12-17 23:29:24.075 conbee3: ### Request config
Thorgal789
Posts: 815
Joined: Wednesday 15 August 2018 14:38
Target OS: -
Domoticz version:
Contact:

Re: conbee III : problems with the installation and communication between the Conbee3 and domoticz

Post by Thorgal789 »

Hello, Phoscon is running/working ? If yes deconz is running so the problem can be from Domoticz.
This error message can say 2 things, Domoticz is not able to communicate with deconz, to check this you can just compare the URL you are using to access Phoscon, and the setting you have set in the plugin configuration.
You can use too

Code: Select all

https://phoscon.de/discover
to see missing information.
On log (with "debug info only") you will see a line starting with "Making Request: ...." you can just try this url on a browser.

Or can be your Request lib version too old on the python core, but long time it's something native now.
hanssie
Posts: 9
Joined: Sunday 21 January 2018 12:50
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: conbee III : problems with the installation and communication between the Conbee3 and domoticz

Post by hanssie »

I used the installation process, as described on the following site https://phoscon.de/en/conbee/install, to install the deCONZ application. The execution shows the following output:

Code: Select all

pi@raspberrypi:~ $ sudo gpasswd -a $USER dialout
Adding user pi to group dialout
pi@raspberrypi:~ $  wget -O - http://phoscon.de/apt/deconz.pub.key | \
           sudo apt-key add -
--2023-12-18 21:09:43--  http://phoscon.de/apt/deconz.pub.key
Resolving phoscon.de (phoscon.de)... 144.76.96.194
Connecting to phoscon.de (phoscon.de)|144.76.96.194|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1692 (1.7K) [application/octet-stream]
Saving to: ‘STDOUT’

-                   100%[===================>]   1.65K  --.-KB/s    in 0s      

2023-12-18 21:09:44 (4.64 MB/s) - written to stdout [1692/1692]

Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
OK
pi@raspberrypi:~ $ sudo sh -c "echo 'deb http://phoscon.de/apt/deconz \
            $(lsb_release -cs) main' > \
            /etc/apt/sources.list.d/deconz.list"
pi@raspberrypi:~ $ sudo apt update
Hit:1 http://phoscon.de/apt/deconz bullseye InRelease
Get:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease [15.0 kB]
Get:3 http://archive.raspberrypi.org/debian bullseye InRelease [23.6 kB]
Get:4 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages [13.2 MB]
Get:5 http://archive.raspberrypi.org/debian bullseye/main armhf Packages [313 kB]
Fetched 13.6 MB in 9s (1,503 kB/s)                                                                                                                
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
6 packages can be upgraded. Run 'apt list --upgradable' to see them.
pi@raspberrypi:~ $ sudo apt install deconz
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
deconz is already the newest version (2.24.2).
The following package was automatically installed and is no longer required:
  libfuse2
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
pi@raspberrypi:~ $
unfortunately, after rebooting the raspberry, I was not able to start the deCONZ application in the application menu.

When i opened the internet page http://phoscon.de/pwa/ on the browser of the raspberry, the gateway was not found / detected.

Only two brackets are shown '[]' when I visit the following website: https://phoscon.de/discover

Further, I tried to visit the following website (shown in the logfile): http://127.0.0.1:80/api/A7B210A413/config/ . The following message appears in the browser:
This site can’t be reached127.0.0.1 refused to connect.
Thorgal789
Posts: 815
Joined: Wednesday 15 August 2018 14:38
Target OS: -
Domoticz version:
Contact:

Re: conbee III : problems with the installation and communication between the Conbee3 and domoticz

Post by Thorgal789 »

Ok so it's because deconz is not running, not your fault, there is a problem on last version,
unfortunately, after rebooting the raspberry, I was not able to start the deCONZ application in the application menu.
Yeah it's the last issue ... I have it too.
You can launch the console on the desktop and type

Code: Select all

deCONZ
It will run deconz, at least during the time you let the console.

You can use

Code: Select all

sudo systemctl disable deconz
sudo systemctl stop deconz
sudo systemctl enable deconz-gui
And restart the PI, it will restart with desktop and deconz.
If you have an headless setup

Code: Select all

sudo systemctl disable deconz-gui
sudo systemctl stop deconz-gui
sudo systemctl enable deconz
Edit:
It's still bugged on the today version, but will be corrected in a 2.25.1 version.
hanssie
Posts: 9
Joined: Sunday 21 January 2018 12:50
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: conbee III : problems with the installation and communication between the Conbee3 and domoticz

Post by hanssie »

I started all over again today. I started with a fresh installation of the raspberry OS. I used the SD card image as found here : (https://phoscon.de/en/conbee3/sdcard#downloads (stable version). After this I installed the plugin for domoticz as described here: https://github.com/Smanar/Domoticz-deCONZ). I had to change the IP address (127.0.0.1) to the actual local IP address. It took me some time to locate the API key, but eventually, I succeeded. Looking back, I found the installation process for the Condee III stick in Domoticz quite intricate. In my view, there is room for improvement to make this process a bit more straightforward.
Thorgal789
Posts: 815
Joined: Wednesday 15 August 2018 14:38
Target OS: -
Domoticz version:
Contact:

Re: conbee III : problems with the installation and communication between the Conbee3 and domoticz

Post by Thorgal789 »

Yep, I m agree ^^.
And it's worse ATM because of the conbee 3, all is updated in same time, deconz, phoscon, the firmware, the website, and I think we can found issues everywhere.
From Manup, the phoscon site will be updated, (the deconz application too ofc, but this application will have big changes soon, so new problems).
On my side I can do something only on plugin side.
- For the IP adresss if you have deconz and domoticz on the same machine, better to use 127.0.0.1, like that your installation can work even without netwkork
- For the API key I have put a tool in the plugin, you haven't try it ? Else it's possible with a curl request And I m not sure but it's perhaps possible using Domoticz/custom/deconz menu.
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 0 guests