Author Topic: Android Phone for webcam and wx station data storage/distribution  (Read 563 times)

0 Members and 1 Guest are viewing this topic.

Offline quailvalleywx

  • Member
  • *
  • Posts: 25
Android Phone for webcam and wx station data storage/distribution
« on: September 27, 2018, 11:22:17 AM »
Using an old Android phone I've added a webcam and wx data adjust/storage/distribution for my Ambient Weather WS 1400 IP.
Webcam:
- Uses builtin rear phone camera to generate images.
- Captions current wx conditions onto webcam image.
- Graph overlay of last 6 days of temperature, dew point using google charts.
- Uploads to WU, frequency variable based on cloud (solar) dynamics.
- Latest captioned/overlayed image hosted for WeatherCloud page access.
- Creates daily Time Lapse videos and stores them on google drive https://tinyurl.com/yctgx5mn.

Wx Data:
- WS 1400 data retained for ~7 days via mysql database on phone (Bit Web Server Android app).
- Non-linear correction for humidity and barometric pressure sensors (Observer IP only provides offset corrections).

Wx Data Distribution:
- 5 hosting services - WU, PWS, WeatherCloud, OpenWeatherMap, and CWOP.

There are a bunch of cheap, cracked screen, old Android phones being dumped on ebay.  Re-tasking one of these phones as a webcam and web server seemed like a good budget thing to do - except it takes a lot of hours for a custom rain-proof install and software install/development/tweaks.  For a hobby though consuming time was OK :)  Cost - about ~$35 for the phone, ~$10 for mounting, ~$6 for a couple Google Play Store apps, and again plenty of hours for custom mount building and software installs / modifications.

More details and code are on github https://github.com/mrcodegh.  If you copy/use the code you will need to edit it with your local IP addresses, wx service provider station info, and database login info.  There is no simple install and having some previous programming experience would help.  Once the phone is mounted and connected to WiFi remote control is done via wireless adb and screen control via the TeamViewer app.

Mike

Offline galfert

  • Forecaster
  • *****
  • Posts: 829
Re: Android Phone for webcam and wx station data storage/distribution
« Reply #1 on: September 27, 2018, 01:01:06 PM »
Very creative use of hardware. Nice job.
WS-2902A | ObserverIP | WeatherBridge (Meteobridge)
WU: KFLWINTE111  |  PWSweather: KFLWINTE111
CWOP: FW3708  |  AWEKAS: 14814
Tele-Pole flag pole is here (not installed yet)

Offline quailvalleywx

  • Member
  • *
  • Posts: 25
Re: Android Phone for webcam and wx station data storage/distribution
« Reply #2 on: September 27, 2018, 08:08:21 PM »
Very creative use of hardware. Nice job.
Thanks.  This started as just some way to get some webcam images to WU and then expanded from there.  Lots of learning along the way like don't put a phone that doesn't auto-boot on external power at the top of pole - one that was a pain to take down in freezing weather when it dropped WiFi.

Online Bushman

  • Forecaster
  • *****
  • Posts: 7028
    • Eagle Bay Weather
Re: Android Phone for webcam and wx station data storage/distribution
« Reply #3 on: September 27, 2018, 08:42:12 PM »
Get an old phone with the baro and temp sensors, add a mic port Anemometer and POOF!  Android weather station.  :) 

 

anything