Allow to get attributs on more than one levels
Add an example for that And fix minors bugs
This commit is contained in:
parent
ea46631f0a
commit
78bea66884
2 changed files with 37 additions and 8 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue