Meteobridge NANO SD - a NANO with local storage

All about the standard Meteobridge devices based on mobile routers from TP-Link, D-Link, ASUS

Moderator: Mattk

prestwickwx
Junior Boarder
Junior Boarder
Posts: 30
Joined: Sat Aug 23, 2014 3:28 pm

Re: Meteobridge NANO SD - a NANO with local storage

Post by prestwickwx » Sat Dec 01, 2018 4:00 pm

weatherist34 wrote:
Sat Dec 01, 2018 9:09 am
good morning

not sure if it is a bug or my end but at 1st day of month yesterdays max/min is showing todays data . for example the string [wind0wind-ydmax:--] [wind0wind-ydmaxtime:--] returns todays values. having gone into history tab to edit it shows correct data for 30th Nov however going into livedata tab it shows yesterdays max/min using todays values .

myesterday.png
Brian,

I have not installed the SD card, yet. My Nano, without SD card is reporting correctly.

Chuck

weatherist34
Senior Boarder
Senior Boarder
Posts: 65
Joined: Tue Mar 28, 2017 6:57 am

Re: Meteobridge NANO SD - a NANO with local storage

Post by weatherist34 » Sat Dec 01, 2018 4:06 pm

there is also a similar report in the meteobridge pro section viewtopic.php?f=61&t=13326

User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 5479
Joined: Mon Oct 01, 2007 10:51 pm

Re: Meteobridge NANO SD - a NANO with local storage

Post by admin » Sat Dec 01, 2018 8:47 pm

Issue is fixed with just released update.

weatherist34
Senior Boarder
Senior Boarder
Posts: 65
Joined: Tue Mar 28, 2017 6:57 am

Re: Meteobridge NANO SD - a NANO with local storage

Post by weatherist34 » Sun Dec 02, 2018 8:48 am

ha the magician works his magic again ...many thanks..brian

gruenitz
Fresh Boarder
Fresh Boarder
Posts: 6
Joined: Wed Oct 10, 2018 2:36 pm

Re: Meteobridge NANO SD - a NANO with local storage

Post by gruenitz » Sat Dec 08, 2018 11:13 am

I really love the work that you guys have put into this.
Quick question: how the change the URL for the webcam to my own cam
Any way to FTP into the Meteobridge Nano SD?

User avatar
ConligWX
Junior Boarder
Junior Boarder
Posts: 28
Joined: Wed Nov 14, 2018 12:48 pm
Location: Conlig, Co. Down, UK
Contact:

Re: Meteobridge NANO SD - a NANO with local storage

Post by ConligWX » Sat Dec 08, 2018 12:27 pm

You could use WinSCP and edit the cam.php I guess.

User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 5479
Joined: Mon Oct 01, 2007 10:51 pm

Re: Meteobridge NANO SD - a NANO with local storage

Post by admin » Sat Dec 08, 2018 4:13 pm

NANO has just an FTP client built in, so you cannot upload to it via FTP. Every Meteobridge can grab a picture from a URL. When your CAM provides a URL in your LAN from where to grab the image you can tell Meteobridge on "Station" tab to do so. Having that, you can define the Meteobridge CAM upload service on "Weather Network" tab. By that the picture is uploaded to the Meteobridge server in the Internet and from there you can access it from around the world.

How to integrate it into the php scripts of HomeWeatherStation would need some code inspection, but should not be too hard.

gruenitz
Fresh Boarder
Fresh Boarder
Posts: 6
Joined: Wed Oct 10, 2018 2:36 pm

Re: Meteobridge NANO SD - a NANO with local storage

Post by gruenitz » Sun Dec 09, 2018 4:27 am

I have the cam working well on my "normal" Weather Network page. I know which code to change. Question is how can I edit the cam.php file to change is to my cam URL on the NANO SD.

User avatar
ConligWX
Junior Boarder
Junior Boarder
Posts: 28
Joined: Wed Nov 14, 2018 12:48 pm
Location: Conlig, Co. Down, UK
Contact:

Re: Meteobridge NANO SD - a NANO with local storage

Post by ConligWX » Sun Dec 09, 2018 2:08 pm

ssh to meteobridge

vi /www/PWS/cam.php

or if your main PC is windows based, then use Winscp and notepad++

simple.

gruenitz
Fresh Boarder
Fresh Boarder
Posts: 6
Joined: Wed Oct 10, 2018 2:36 pm

Re: Meteobridge NANO SD - a NANO with local storage

Post by gruenitz » Mon Dec 10, 2018 1:19 pm

Thanks. Just realized that using a bash shell was the issue. All modified and working well now.

User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 5479
Joined: Mon Oct 01, 2007 10:51 pm

Re: Meteobridge NANO SD - a NANO with local storage

Post by admin » Wed Dec 12, 2018 12:20 am

ConligWX wrote:
Sun Dec 09, 2018 2:08 pm
ssh to meteobridge

vi /www/PWS/cam.php

or if your main PC is windows based, then use Winscp and notepad++

simple.
When you add this line instead of the default webcam call, you get the image you upload to the Meteobridhe Camera Server when requsting a cam picture on the HWS dashboard:
<img src="https://admin.meteobridge.com/cam/<?php $out=shell_exec ("md5sum /dev/mtd2ro | awk '{print $1}'"); echo $out; ?>/camplus.jpg?version=<?php echo time(); ?>" alt="weathercam" class="webcamlarge">

Post Reply