Page 1 of 1
How upload templates in the SheevaPlug
Posted: Wed Dec 09, 2009 8:47 pm
by vecerapl
Hi, please how to upload template in the SheevaPlug. I read something about /public/graphs/, but I do not know how this use. The instructions I have not found anything.
Re:How upload templates in the SheevaPlug
Posted: Wed Dec 09, 2009 11:34 pm
by WS Grave
Hi Vecerapi, open your file explorer en doubleclick on "Network".
Wait for a second or 10 and you'll see "Meteohub".
Click that and you'll have to enter an ID and password, which probably are Meteohub and Meteohub.
Then you have access to the mentioned directories.
PS.
I had the same problem when I configured my Meteohub.
Had to ask here how to get to it ;)
Re:How upload templates in the SheevaPlug
Posted: Wed Dec 09, 2009 11:42 pm
by vecerapl
Thank you for the information. Meteohub me to your IP and your own password. Do meteohub through FIREFOX get cool. Then, simply choose the maintenance, where you can meteohub aktalizovat and which can be updated so that you can upload files. So that probably over the upload of files can be uplodovat templates in HTML. But how then the template must delete or edit:) Are there any templates to download?
Re:How upload templates in the SheevaPlug
Posted: Thu Dec 10, 2009 1:44 am
by WS Grave
You can use any html-design you like.
There were you want to put data you use a tag from the all-sensors.txt and put them between [ and ].
For example:
[actual_th0_temp_c] °C wil produce 9.8 °C
Put a template (example actualweather.html) into the directory graphs. You can put as many templates there as you like.
In the Meteohub admin (graph upload) you should find the template name (it will have a asterix* instead of the .html) in the pulldown menu, then decide how often the file should be updated and give a name for the file that's going to be uploaded to your website.
There are only few templates available for Meteohub. Would be nice if they would be shared more.
Re:How upload templates in the SheevaPlug
Posted: Mon Dec 14, 2009 7:06 pm
by vecerapl
And as my template created for it through the admin meteohub put? :)
Re: How upload templates in the SheevaPlug
Posted: Mon Sep 19, 2011 10:10 pm
by gust
In a Sheevaplug one can find 2 graphs directories
/data/graphs
/mnt/graphs
Which one is the right one to put a template in, which will be automatically uploaded to a web server please?
How do you insert data tags in your template? href = [actual_th0_temp_c]?
Similar question for graphs. How to you insert them in the template please?
Thanks.
Re: How upload templates in the SheevaPlug
Posted: Tue Sep 20, 2011 8:43 am
by gust
Where is the all-sensors.txt file please?
Command "locate all-sensors.txt" did not find it in my Sheevaplug.
Is there an other file listing all the tags?
Thanks