Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.01 KB

File metadata and controls

30 lines (21 loc) · 1.01 KB

Software for CO2 Monitor

Usage

mkdir build
cd build
cmake ..
make

cd ../graph/
make graph.rrd
./update_graph.sh >/dev/null &
xdg-open index.html &
./update_data.sh

D-Bus Monitor

dbus-monitor "type='signal',interface='io.github.dmage.CO2Mon',member='NewValue'"

D-Bus Methods

dbus-send --session --dest=io.github.dmage.CO2Mon --type=method_call --print-reply /io/github/dmage/CO2Mon io.github.dmage.CO2Mon.GetTemperature
dbus-send --session --dest=io.github.dmage.CO2Mon --type=method_call --print-reply /io/github/dmage/CO2Mon io.github.dmage.CO2Mon.GetCO2

See also