ebusd-Installation def. nach anleitung - was tun?

Begonnen von tho-mas, 13 Februar 2022, 19:02:01

Vorheriges Thema - Nächstes Thema

tho-mas

Moin!

Nach dem Versuch, mittels https://wiki.fhem.de/wiki/EBUS-MQTT2 (Vorbereitung und Definition am eBus) die Heizung einzubinden ist die Ebus-Dämon-installation defekt. Ich habe die Musterzeile aus dem wiki in die Datei /etc/default/ebusd kopiert und bekomme danach

pi@pi4:/etc $ ebusd
2022-02-13 18:54:41.429 [main error] invalid configpath without scanconfig

Auch nach entfernen der Musterzeile und später nach Anpassung (die eben nicht in der anleitung steht - einfach reinkopieren wie in der Anleitung suggeriert funktioniert nicht) funktioniert ebusd nicht mehr. Was also tun?

# /etc/default/ebusd:
# config file for ebusd service.

# Options to pass to ebusd (run "ebusd -?" for more info):
EBUSD_OPTS="--scanconfig --accesslevel=* --mqttport=1883 --mqttjson --mqtthost=127.0.0.1 --mqtttopic=ebusd/%circuit/%name"

# MULTIPLE EBUSD INSTANCES WITH SYSV
# In order to run multiple ebusd instances on a SysV enabled system, simply
# define several EBUSD_OPTS with a unique suffix for each. Recommended is to
# use a number as suffix for all EBUSD_OPTS settings. That number will then be
# taken as additional "instance" parameter to the init.d script in order to
# start/stop an individual ebusd instance instead of all instances.
# Example: (uncomment the EBUSD_OPTS above)
#EBUSD_OPTS1="--scanconfig -d /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A50285BI-if00-port0 -p 8888 -l /var/log/ebusd1.log"
#EBUSD_OPTS2="--scanconfig -d /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A900acTF-if00-port0 -p 8889 -l /var/log/ebusd2.log"
#EBUSD_OPTS3="--scanconfig -d /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A900beCG-if00-port0 -p 8890 -l /var/log/ebusd3.log"

# MULTIPLE EBUSD INSTANCES WITH SYSTEMD
# In order to run muiltiple ebusd instances on a systemd enabled system, just
# copy the /usr/lib/systemd/system/ebusd.service file to /etc/systemd/system/
# with a different name (e.g. ebusd-2.service), remove the line starting with
# 'EnvironmentFile=', and replace the '$EBUSD_OPTS' with the options for that
# particular ebusd instance.



Gruß
Thomas

john30

Zitat von: tho-mas am 13 Februar 2022, 19:02:01
2022-02-13 18:54:41.429 [main error] invalid configpath without scanconfig
d.h. dass "--scanconfig" in den Argumenten fehlt. Was ist denn der letzte Stand in /etc/default/ebusd ?
author of ebusd

tho-mas

Moin!

Mit Datum letzte Nacht: Die Standarteinstellung

EBUSD_OPTS="--scanconfig --accesslevel=*"

Der jetzt nicht mehr vorhandene Rest war vom Versuch den ebus per mqtt auszulesen. Und DAS hatte den ebusd total lahmgelegt. Jetzt bekomme ich zwar Werte, bin aber noch nicht zufrieden (anderes Thema, kommt heute noch).