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

User avatar
prestwickwx
Platinum Boarder
Platinum Boarder
Posts: 510
Joined: Sat Aug 23, 2014 3:28 pm
Location: Myrtle Beach, SC USA
Contact:

Re: Meteobridge NANO SD - a NANO with local storage

Post by prestwickwx »

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
Image
https://myrtleweather.com/
Myrtle Beach WX @ Prestwick
weatherist34
Platinum Boarder
Platinum Boarder
Posts: 1693
Joined: Tue Mar 28, 2017 6:57 am

Re: Meteobridge NANO SD - a NANO with local storage

Post by weatherist34 »

there is also a similar report in the meteobridge pro section viewtopic.php?f=61&t=13326
Simple Update February 2023 for Weather34 Aurora MKII
https://www.mediafire.com/file/jk4lj3mq ... 2.zip/file

Weather34 Master Download Aurora MKII
https://download.meteobridge.com/files/Weather34.zip
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re: Meteobridge NANO SD - a NANO with local storage

Post by admin »

Issue is fixed with just released update.
weatherist34
Platinum Boarder
Platinum Boarder
Posts: 1693
Joined: Tue Mar 28, 2017 6:57 am

Re: Meteobridge NANO SD - a NANO with local storage

Post by weatherist34 »

ha the magician works his magic again ...many thanks..brian
Simple Update February 2023 for Weather34 Aurora MKII
https://www.mediafire.com/file/jk4lj3mq ... 2.zip/file

Weather34 Master Download Aurora MKII
https://download.meteobridge.com/files/Weather34.zip
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 »

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
Platinum Boarder
Platinum Boarder
Posts: 329
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 »

You could use WinSCP and edit the cam.php I guess.
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re: Meteobridge NANO SD - a NANO with local storage

Post by admin »

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 »

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
Platinum Boarder
Platinum Boarder
Posts: 329
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 »

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 »

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: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re: Meteobridge NANO SD - a NANO with local storage

Post by admin »

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">
User avatar
ConligWX
Platinum Boarder
Platinum Boarder
Posts: 329
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 »

Thanks for the info, though I run a script on my web server to pull the image from the camera and then add the overlays to it so I have no need to upload to meteobridge too.
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re: Meteobridge NANO SD - a NANO with local storage

Post by admin »

If you are using your own cam.php, please set rights to read-only, otherwise next update on dashboard will overwrite your customized file.
User avatar
ConligWX
Platinum Boarder
Platinum Boarder
Posts: 329
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 »

admin wrote: Sat Dec 15, 2018 12:37 am If you are using your own cam.php, please set rights to read-only, otherwise next update on dashboard will overwrite your customized file.
Thanks, does all the PWS get overwritten? settings1.php etc?
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re: Meteobridge NANO SD - a NANO with local storage

Post by admin »

yes, when I release a new version of the HWS stack all files will be overwritten (if not blocked by being made RO by root). That is because 95% of users will not give the SD NANO dashboard any individual changes.
Post Reply