Showing temperature data into a video feed from Axis camera. Data are fetched from connected WeatherFlow station and shown in video
About the project
We’ve got another interesting example of integration for you, this time with a meteorological station. The CamScripter App makes it possible to launch micro-applications directly in AXIS cameras, allowing us to meet the requirements of our clients and embed data from specific products into our live streams.
“A client made a request to be able to depict super-local weather data from his meteorological station, which is located on Bald Head Island, where he provides accommodation for tourists,” Filip Hanek, Product Manager of CamStreamer, explains.
Technical solutionOur client streams the surroundings of a hotel suite on his Facebook page with the use of an AXIS P1448-LE camera and the CamStreamer App. His meteorological station WeatherFlow uploads data to its servers, and from there the CamScripter App then downloads them. With the help of the CamOverlay App (there is a service called Custom Graphics for this usage), a unique widget is added to the live stream and current weather data is embedded into it automatically. In addition, the widget can also be used, for example, as a mask over an object that isn’t suitable for a live stream (e.g. a building on a beach).
Thanks to the CamScripter App and integrations with specific products, people can make their stream more attractive in various ways and thus increase interest in a certain site. “When one of our clients reaches out to us with a specific request, we’re able to create a tailor-made micro-application for them,” adds Filip Hanek, Product Manager of CamStreamer.
What do you need?
- Use any compatible camera from Axis Communications with ARTPEC-5/6/7/8 processor
- The Axis camera portfolio can be found at axis.com
- Don’t forget to check the compatibility with CamStreamer apps
- MSRP starts at $419 (AXIS P1135)
- The meticulously designed Tempest Weather System leverages powerful machine learning and state-of-the-art modeling capabilities to provide the most precise, local forecast available - guaranteed. No moving parts, completely wireless, simple installation, with instant online access to weather data via free iOS and Android apps. Outdoor temp, humidity, dew point, feels like temp.
- Station pressure and sea-level pressure
- Wind speed, wind direction, average and gusts
- Lightning activity (strikes and distance up to 25 miles)
- Rain onset, intensity, duration and accumulation
- DeltaT, wind chill, wet bulb temp, air density
- UV index, brightness, solar radiation
- MSRP approx $329
- CamStreamer App is an In-camera app streams live video directly from Axis camera to YouTube, Facebook and many other streaming platforms. Easy setup via any browser, no additional HW is needed.
- CamOverlay App is an in-camera app that generates dynamic graphic overlays and displays them directly in Axis camera’s video stream
- CamScripter App allows to running of micro apps (Node.js script) inside the Axis camera fetch data from an external source
- MSRP $799
Background and config file for Custom Graphics in the CamOverlay App – download here
Get a free 30-day license on camstreamer.com. Try everything out before making a one-time purchase of the license.
How to set-up integration of WeatherFlow meteo station
Download the current WeatherFlowApp package on https://github.com/CamStreamer/CamScripterApp_packages_to_use
Download the ZIP file with backgrounds and config files for Custom Graphics. Unpack all files and:
a) Upload all pictures to Image manager (you can change the background in the service itself for our prepared pictures or for your own).
b) Import the .json file to the CamOverlay App to the Custom Graphics service.
Based on your resolution for broadcasting, select the 4k or FullHD option.
If you’d like to change the background, change it using the Image option.
Upload the file „wheatherflow_app.zip“ to the CamScripter App and press „Start“
Open the micro app via the gear icon and insert Insert your station ID and token and select the unit system you want to use.
Set the service ID of Custom Graphics in the CamOverlay App.
Set the time offset from UTC timezone and the name of the location displayed in the widget
Now, check out the widget in the picture!
And, of course, you can change the weather widget as you like. This one is a default widget which we’ve created.
The only condition is that the names of fields in the service have to be the same as they are shown on the configuration page (names of fields have to be: timestamp, airTemperature, barometricPressure, windAvg, windDirection, windGust, precipAccumLast1hr, date, time, location).