-
Notifications
You must be signed in to change notification settings - Fork 0
Kommandos
Mathias Dalheimer edited this page May 27, 2013
·
10 revisions
All daemons are started using the daemontools. A hint on how to install this can be found in the hexabus wiki. All Software is installed in the directory
/home/intersolar/hexabus/hostsoftware/hexanode/{backend|webfrontend}
The raw commands are:
$ ./build/src/midi2hexabus -p 2
$ ./build/src/simulate_energyflows -c etc/simulation.ini -i eth5
$ ./build/src/hexabus_webbackend -i eth5 -u 10.42.42.1:3000
$ server=10..42.1 port=3000 node app.js
NOTE: These commands should not be used directly! The daemons are automatically started using the daemontools framework. The logfiles for the four services are in /var/log/hexalog
. If you want to manually start/stop the daemons, please use
# svc -u /etc/service/{midi2hexabus|...}
to start a service and
# svc -d /etc/service/{midi2hexabus|...}
to stop it.
Compile (check!):
hbcomp -g main.dot main.hbc -o main.hba -d datatype.hbd
hbasm -i main.hbaheatpump.hba -o main.hbaheatpump.hbx -d datatypes.hbd
hexaupload -p main.hbaheatpump.hbx