Closed darekhome closed 4 years ago
What is the error message from the journal? You‘ve missed the interesting part ;)
Yes, sorry. See below:
ebusd --help' or
ebusd --usage' for more information.
Dec 13 17:40:14 raspberrypi systemd[1]: ebusd.service: Control process exited, code=exited, status=64/USAGE
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: https://www.debian.org/support-- The job identifier is 153639 and the job result is failed. Dec 13 17:40:14 raspberrypi sudo[10707]: pam_unix(sudo:session): session closed for user root Dec 13 17:40:17 raspberrypi kernel: Voltage normalised (0x00000000) lines 4224-4265/4265 (END) `
unrecognized option '--mqtthost=192.168.1.35'
Did you download the version with MQTT compiled in?
Ah, I was blind. Now I see my error. Should install ‘mqqt’ version... Thx for pointing...
My broker is installed on RPI 192.168.1.35 and ebus board (via Wemos is) on 192.168.135). Ebusd config:
EBUSD_OPTS="--scanconfig -d 192.168.1.135:9999 --httpport=801 --configpath=http://ebusd.eu/config/ --mqtthost=192.168.1.35 --mqttport=1883 --mqttjson --accesslevel="*" --latency=20000"
And this above settings is causing error:
pi@raspberrypi:~ $ sudo service ebusd start Job for ebusd.service failed because the control process exited with error code. See "systemctl status ebusd.service" and "journalctl -xe" for details. pi@raspberrypi:~ $ systemctl status ebusd.service ● ebusd.service - ebusd, the daemon for communication with eBUS heating systems. Loaded: loaded (/etc/systemd/system/ebusd.service; enabled; vendor preset: enabled) Active: activating (auto-restart) (Result: exit-code) since Fri 2019-12-13 16:45:27 CET; 24s ago Process: 10376 ExecStart=/usr/bin/ebusd $EBUSD_OPTS (code=exited, status=64)
But without MQQT setting ebusd service is starting:
EBUSD_OPTS="--scanconfig -d 192.168.1.135:9999 --httpport=801 --configpath=http://ebusd.eu/config/ --accesslevel="*" --latency=20000"
Not sure what is wrong. I tryied with 2 different MQQT brokers - result still the same...