-
-
Notifications
You must be signed in to change notification settings - Fork 161
2. Run
The ebusd binary offers a lot of command-line options to adjust its behaviour. It can either be run as a daemon or in foreground.
-
-d, --device=DEV
Use DEV as eBUS device (serial device or ip:port) [/dev/ttyUSB0] -
-n, --nodevicecheck
Skip serial eBUS device test
-
-c, --configpath=PATH
Read CSV config files from PATH [/etc/ebusd] -
--checkconfig
Only check CSV config files, then stop -
--pollinterval=SEC
Poll for data every SEC seconds (0=disable) [5]
-
-a, --address=ADDR
Use ADDR as own bus address [FF] -
--acquireretries=COUNT
Retry bus acquisition COUNT times [2] -
--acquiretimeout=USEC
Stop bus acquisition after USEC us [9400] -
--answer
Actively answer to requests from other masters -
--numbermasters=COUNT
Expect COUNT masters on the bus [5] -
--receivetimeout=USEC
Expect a slave to answer within USEC us [15000] -
--sendretries=COUNT
Repeat failed sends COUNT times [2]
-
-f, --foreground
Run in foreground -
--localhost
Listen on 127.0.0.1 interface only -
-p, --port=PORT
Listen for client connections on PORT [8888]
-
-l, --logfile=FILE
Write log to FILE (only for daemon) [/var/log/ebusd.log] -
--logareas=AREAS
Only write log for matching AREAS:
main,network,bus,update,all [all] -
--loglevel=LEVEL
Only write log below or equal to LEVEL:
error/notice/info/debug [notice] -
--lograwdata
Log each received/sent byte on the bus
-
--dumpfile=FILE
Dump received bytes to FILE [/tmp/ebus_dump.bin] -
--dumpsize=SIZE
Make dump files no larger than SIZE kB [100] -
-D, --dump
Enable dump of received bytes
-
-?, --help
Give this help list -
--usage
Give a short usage message -
-V, --version
Print program version