To conserve electricity, I’m moving my deCONZ from an x86 to an RPI.
Everything seems to be working, except that the installation of RPI has nothing under /api. As such, none of the applications (phoscon, for instance) work.
See this simple example curl asking RPI for the config via the API:
$ curl http://44.128.4.56:9181/api/config
<html><head></head><body><h1>This is not the page you are looking for</h1><p>The file /api/config couldn't be found.</p></body></html>
I tried to install version 2.14.01 (the one that the x86 box runs right now) and the latest 2.17.01, and both show the same problem.
Reconnecting the ConBee II to the x86 box returns the expected output:
$ curl http://44.128.4.182:9181/api/config
{"apiversion":"1.16.0","bridgeid":"xx","datastoreversion":"93","devicename":"ConBee II","factorynew":false,"mac":"00:16:3e:42:00:b6","modelid":"deCONZ","name":"Phoscon-GW","replacesbridgeid":null,"starterkitid":"","swversion":"2.14.1"}%
The above happens with and without moving the original .local/share/dresden-elektronik/deCONZ/ to the RPI.
This is the systemd service file that starts deCONZ:
# cat /etc/systemd/system/deconz-vnc.service
[Unit]
Description=deCONZ: ZigBee gateway -- REST API
StartLimitIntervalSec=0
[Service]
User=deconz
ExecStartPre=+/usr/bin/chown deconz /dev/ttyACM0
ExecStart=/usr/bin/deCONZ -platform vnc --http-port=9181 --dev=/dev/ttyACM0
Restart=on-failure
RestartSec=30
#AmbientCapabilities=CAP_NET_BIND_SERVICE CAP_KILL CAP_SYS_BOOT CAP_SYS_TIME
[Install]
WantedBy=multi-user.target
Checksums for the installers:
$ sha256sum deconz_2.1*
682238ca46f9dad034ab0c2adbe5acdaea62d7634a5b1dd8a2158bf9d6df4312 deconz_2.14.01-debian-buster-stable_arm64.deb
ceecb87bd6f3711a837973fa99fcd92c20caff7c1edb92c7eb192d9cee875e9b deconz_2.17.01-debian-buster-stable_arm64.deb
I’m clueless about what goes wrong with the RPI version of deCONZ.
