Allow to get attributs on more than one levels

Add an example for that
And fix minors bugs
This commit is contained in:
Florent 2013-03-01 18:01:31 +01:00 committed by Romain Bignon
commit 78bea66884
2 changed files with 37 additions and 8 deletions

View file

@ -54,4 +54,22 @@ echo "========= ICapBill config"
./bill config
rm bill
# Monitor temperature in Rennes
export cache_expire=7200
export HOME="/home/flo"
export capa="ICapWeather"
export do="get_current,619163,yahoo"
export import="from weboob.capabilities.weather import ICapWeather"
export attribvalue="temp/value"
export attribid="temp/id"
export title="Température à Rennes"
export vlabel="Température"
echo "========= ICapWeather fetch"
cp ./generic-munin ./rennes
./rennes
echo "========= ICapWeather config"
./rennes config
rm rennes