How upload templates in the SheevaPlug
Moderator: Mattk
How upload templates in the SheevaPlug
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.
- WS Grave
- Expert Boarder
- Posts: 103
- Joined: Fri Oct 30, 2009 3:42 pm
- Location: Grave - the Netherlands
- Contact:
Re:How upload templates in the SheevaPlug
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 ;)
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
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?
- WS Grave
- Expert Boarder
- Posts: 103
- Joined: Fri Oct 30, 2009 3:42 pm
- Location: Grave - the Netherlands
- Contact:
Re:How upload templates in the SheevaPlug
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.
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
And as my template created for it through the admin meteohub put? :)
Re: How upload templates in the SheevaPlug
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.
/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
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
Command "locate all-sensors.txt" did not find it in my Sheevaplug.
Is there an other file listing all the tags?
Thanks