first of all I am not very familiar to DBUS.
Right now I have a daemon ot-monitor running in a raspberry-pi. The process is sending signals to the "system bus", in fact I can check it via "dbus-monitor --system", so the guy is running good in that sense.
Now I want to command the thermostat via the command line (so I can write scripts). I would say that this should be possible employing the command "dbus-send". I have to say that it is a bit frustrating since it seems to me
a bit cumbersome.
Is the following the right way?
Code: Select all
dbus-send --system --dest=com.tclcode.otmonitor --type=method_call /com/tclcode/otmonitor com.tclcode.otmonitor.Command string:"TT=19.0"
Btw, before I was using the graphical program "d-feet" for interfacing the DBUS and I could click on all the available commands very easily. So I hope it is also easy to interface otmonitor via the command line.
Thanks in advance!