I’m still having a problem with running Pimatic and the software deCONZ in parallel on the same raspberry. I can force pimatic to start if if wait until the start up of pimatic has been fully accomplished. But that’s very annoying because the pimatic plugins pimatic-hue-zll and pimatic-raspbee can’t find the Raspbee modul and I have to pair the plugins again to the raspbee modul after starting the deCONZ software.
So perhaps somebody of you guys can help me solving this problem…
If the deCONZ service is started with following settings
pi@raspberrypi:~ $ sudo systemctl status deconz ● deconz.service - deCONZ: ZigBee gateway -- REST API Loaded: loaded (/usr/lib/systemd/system/deconz.service; disabled) Drop-In: /etc/systemd/system/deconz.service.d └─override.conf Active: active (running) since Mi 2018-07-25 02:47:07 CEST; 4 days ago Main PID: 32480 (deCONZ) CGroup: /system.slice/deconz.service └─32480 /usr/bin/deCONZ -platform minimal --http-port=8080 --ws-port=8088 --http-listen=192.168.2.100 Jul 25 02:47:07 raspberrypi systemd: Started deCONZ: ZigBee gateway -- REST API. Jul 25 02:47:08 raspberrypi deCONZ: This plugin does not support propagateSizeHints()
pimatic is showing the following errors while starting:
18:06:05.050 [pimatic] error: An uncaught exception occurred: Error: bind EADDRINUSE 0.0.0.0:1900 18:06:05.050 [pimatic] error:> at Object.exports._errnoException (util.js:911:11) 18:06:05.050 [pimatic] error:> at exports._exceptionWithHostPort (util.js:934:20) 18:06:05.050 [pimatic] error:> at dgram.js:214:18 18:06:05.050 [pimatic] error:> at nextTickCallbackWith3Args (node.js:469:9) 18:06:05.050 [pimatic] error:> at process._tickCallback (node.js:375:17) 18:06:05.050 [pimatic] error:> This is most probably a bug in pimatic or in a module, please report it! 18:06:05.055 [pimatic] info: exiting...
I have tried so many differnt things but I’m out of ideas right now. I guess the problem is about the two webservers, but I don’t know how to solve this. Does somebody have an idea?