Add Logical Sensor
Moderator: Mattk
Re: Add Logical Sensor
Sorry, I don't understand the question. What exactly are you going to achieve?
Re: Add Logical Sensor
I'd like to know if is possible to manually add new logical sensor.
The phisical sensor is based on stations sensors, but I don't understand how logical sensor is created by meteobridge.
The phisical sensor is based on stations sensors, but I don't understand how logical sensor is created by meteobridge.
Re: Add Logical Sensor
Meteobridge does nit support user define logical sensors as with Meteohub. You still did not explain what you need that for. It was a rather complicated edge case on Meteohub with close to zero users.
Re: Add Logical Sensor
I added an additional weather station (Station 1) that provide a wind sensor.
I can see three new Phisical Senso (wind1!0avgwind, wind1!0wind, wind1!0dir), but not the correspondind Logical Sensors.
the only way to use the station 1 sensors is to remap them on the logical sensor normally used by Primary Station, there are not the logical sensor for station 1 wind sensors.
Now my needs are exactly to remap the wind sensor of "Primary Station" to the sensors of the "Station 1", but in future, if i add a new weather station that provide for example soil Temperature/Humidity or UV data, how I can add the additional Temperature or UV logical Sensor?
That's the reason of my question.
I can see three new Phisical Senso (wind1!0avgwind, wind1!0wind, wind1!0dir), but not the correspondind Logical Sensors.
the only way to use the station 1 sensors is to remap them on the logical sensor normally used by Primary Station, there are not the logical sensor for station 1 wind sensors.
Now my needs are exactly to remap the wind sensor of "Primary Station" to the sensors of the "Station 1", but in future, if i add a new weather station that provide for example soil Temperature/Humidity or UV data, how I can add the additional Temperature or UV logical Sensor?
That's the reason of my question.
Re: Add Logical Sensor
Mapping to logical sensors is mainly made to select which sensor to take for reporting of data to weather networks. I don‘t know of a weather network that takes data from more than one wind sensor, so a logical wind1 sensor would be of no use for reporting to these networks.
Inside Meteobridge you can always operate with the physical sensors, so again no benefit of an additional logical name. In Meteohub having assigned a logical sensor is precondition to have data recorded, Meteobridge does not have this restriction.
Does this explanation help?
Inside Meteobridge you can always operate with the physical sensors, so again no benefit of an additional logical name. In Meteohub having assigned a logical sensor is precondition to have data recorded, Meteobridge does not have this restriction.
Does this explanation help?
Re: Add Logical Sensor
Thanks for the full explanation.
Then, if I correclty understand, adding a station that provide UV or other sensors that are not already provided by the primary station, the correspondign logical sensor will be created?
Then, if I correclty understand, adding a station that provide UV or other sensors that are not already provided by the primary station, the correspondign logical sensor will be created?
Last edited by iu1jvo on Mon Feb 07, 2022 1:29 pm, edited 1 time in total.
Re: Add Logical Sensor
no, set of logical sensors is predefined for the ones needed by weather networks.
When you add a station you can map some of the new physical sensors to logical sensors if they should be used by weather networks.
Apart from that you can use all new physical sensors in templates, exports, graphs, etc. There is no need to assign logical sensors to them for this purpose.
When you add a station you can map some of the new physical sensors to logical sensors if they should be used by weather networks.
Apart from that you can use all new physical sensors in templates, exports, graphs, etc. There is no need to assign logical sensors to them for this purpose.
Re: Add Logical Sensor
You could easily add a DIY "logical" sensor by creating a plugin weathersation (as an AWK script) that could read the physical sensor of choice and output that data as any sensor you want. 

Davis VP2 with IIS and Leaf/Soil + numerous user defined plugin weather stations
Re: Add Logical Sensor
Ok, now is clear!admin wrote: Thu Feb 03, 2022 4:55 pm no, set of logical sensors is predefined for the ones needed by weather networks.
Logical sensors borns from the needs of weather networks.
Re: Add Logical Sensor
Yes!AlaskaWX wrote: Mon Feb 07, 2022 7:37 am You could easily add a DIY "logical" sensor by creating a plugin weathersation (as an AWK script) that could read the physical sensor of choice and output that data as any sensor you want.![]()
I already do that.

My "logical" weatherstation read the wind speed from the primary weather station Phisical Sensor and compute the Wind Gust, Wind Speed (average) and Direction (averge) of last 10 minutes.
The results are mapped on logical0 wind sensors.
I was only curious to understand how logical sensors born.