Version 3.9
released March 2, 2019
- allows to feed alien data (as "data21num") into Meteobridge by providing an executeable shell script as /root/datafeed that returns "data21 xxx", where xxx is an integer number which will be divided by 100 when used by Meteobridge. Example: File "/root/datafeed" is defined as follows and presents value "100.00" on the live data display for sensor "data21num":
Code: Select all
#!/bin/sh # echo "data21 10000" exit 0
Meteobridge Alien Data
Moderator: Mattk
Meteobridge Alien Data
I just read the firmware update log and there is a new update that gives the Meteobridge the ability to handle what is being called alien data. I'd like to understand this new feature better and examples of possible use scenarios. What is this for?
Meteobridge RPI | GW1000
Re: Meteobridge Alien Data
There was a request to have Meteobridge working on data not coming from the connected weather station but from somewhere else.
Think of a solar power panel that reports available voltage via USB. To make use of this inside Meteobridge you need
Long message short: It is a feature for some advanced users who want to connect an additional device.
Think of a solar power panel that reports available voltage via USB. To make use of this inside Meteobridge you need
- a low level driver that brings voltage data to the Meteobridge platform (some Linux driver, shell script, etc) and when you have the data somehow available
- then you want to make use of it via template variables or order to report the data or to trigger actions when voltage meets some critical level.
Long message short: It is a feature for some advanced users who want to connect an additional device.
Re: Meteobridge Alien Data
Thank you for the explanation. Meteobridge is awesome and amazing that it can do so much yet remain so user friendly.
Meteobridge RPI | GW1000
Re: Meteobridge Alien Data
So, does the data name have to be "data21" or can it be anything - like "AQI25", for example?
Re: Meteobridge Alien Data
Is it true that this "alien data" is only supported on the Nano and the MB Pro? I've created the /root/datafeed script on my MR3020v3, and nothing happens. I would really like to have this, so that I can include the AQI at my locations along with the weather data (instead of calculating it in multiple different places).
It would be awesome if we could also get the supported "data" values from the Pro version on the MR3020v3 - the bolded ones below should be available:
data10num: cpu load in percent
data11num: uptime in hours
data12num: usage of data partition in percent
data13num: usage of RAM in percent
data14num: power consumption in Watts
data15num: number of processes
data16num: age of data (all sensors) in seconds
data17num: voltage in Volts
data18num: current consumption in Ampere
data19num: kilobytes of data sent (including web interface traffic)
data20num: kilobytes of data received (including web interface traffic)
It would be awesome if we could also get the supported "data" values from the Pro version on the MR3020v3 - the bolded ones below should be available:
data10num: cpu load in percent
data11num: uptime in hours
data12num: usage of data partition in percent
data13num: usage of RAM in percent
data14num: power consumption in Watts
data15num: number of processes
data16num: age of data (all sensors) in seconds
data17num: voltage in Volts
data18num: current consumption in Ampere
data19num: kilobytes of data sent (including web interface traffic)
data20num: kilobytes of data received (including web interface traffic)
Re: Meteobridge Alien Data
sorry, that is not planned.