Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
Signed-off-by: Oleg Bulatov <[email protected]>
  • Loading branch information
dmage committed Sep 5, 2015
1 parent 5cc0d6b commit a56c424
Showing 1 changed file with 1 addition and 29 deletions.
30 changes: 1 addition & 29 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,39 +2,11 @@

## Usage

sudo cp -iv dbusrules/io.github.dmage.CO2Mon.conf /etc/dbus-1/system.d/

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 Signals

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

## D-Bus Methods

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

dbus-send --system \
--dest=io.github.dmage.CO2Mon \
--type=method_call \
--print-reply \
/io/github/dmage/CO2Mon \
io.github.dmage.CO2Mon.GetCO2
./co2mond/co2mond

## See also

Expand Down

0 comments on commit a56c424

Please sign in to comment.