-
Notifications
You must be signed in to change notification settings - Fork 14
Extra Sensors not available #21
Comments
With the way I can get data from the Meteobridge, it is very hard to make this fit all the HW configurations that are possible. I am pretty sure the issue for you is that you have logical sensors that contain a 1 and maybe a 2 in them as you have 3 Stations. Could you try and go to the Meteobridge Device and click on Station and then Mapping and post that picture here. That will show me how Meteobridge creates the logical sensors for each station. (I only have 1 attached). I have asked for a way to retrieve the list of logical sensors from Meteobridge, so that I could loop through those and built the right call to get data for all sensors attached, but so far this has not been implemented. |
I didn't realize that a mapping was needed. After adding a mapping to th1temp and th2temp, I am seeing the new entities in Home Assistant. I did notice that mapping to a "Temperature Only" sensor, didn't work with the integration. I left that in the screen shot output as t0temp and t1temp for your reference. |
I did some more digging and actually I do not need you to map to a logical sensor - so if you don't need it, you can remove it again. Issue now is still that the combination of Weather Stations and Extra sensors attached to 1 Meteobridge can be numerous, so it will require that I rewrite a lot of stuff to create a station per physical device, and then attached sensors to that station. This is a big re-write of the IO module, so it will not happen right now. |
Is it possible in the current code to read the physical sensor? Did I just miss a setting somewhere? |
No this is not possible. I will have to re-write some code before this can work. |
Understood. I'll use it with the mappings for now. When you get around to adding the hardware sensor support I'll be glad to test it. |
As soon as I have time, I will have a look at converting this to the Physical sensors. The idea right now is to give you the option of multiple installs where you then select the Physical sensor number 1....x. That way I can also ensure that the sensors get different names, so that they do not override each other. |
The sensor
You could have a Wind Speed sensor that shows the current wind speed value, but that updates every 2 seconds and would create too many entries in the HA History log. So that is why I decided to do it like this. Any comments? Suggestions? |
I have three Davis Weather stations (one ISS, and two temperature stations) connected to a Weatherlink Live which is feeding meteobridge.
I have configured the Meteobridge integration setting for additional sensors to "2" and have also tried the maximum of "7". Also "Enable newly added entities" and "Enable polling for updates" are both enabled. My two additional two sensors do not get populated in Home Assistant.
Meteobridge version: Meteobridge 5.2 (Dec 5 2021, build 2460), FW 1.3
Running HASSOS. Version info below.
Meteobridge Datalogger Integration v3.2.4 installed via HACS
System Health
Home Assistant Community Store
Home Assistant Cloud
Home Assistant Supervisor
Lovelace
2022-01-08 20:19:55 DEBUG (MainThread) [custom_components.meteobridge] Connected to Meteobridge Platform Davis-WLL
2022-01-08 20:19:59 DEBUG (MainThread) [custom_components.meteobridge] Finished fetching meteobridge data in 4.152 seconds (success: True)
2022-01-08 20:20:00 DEBUG (MainThread) [custom_components.meteobridge.binary_sensor] Adding binary sensor entity Is Freezing
2022-01-08 20:20:00 DEBUG (MainThread) [custom_components.meteobridge.binary_sensor] Adding binary sensor entity Is Raining
2022-01-08 20:20:00 DEBUG (MainThread) [custom_components.meteobridge.sensor] Adding sensor entity Air Temperature
2022-01-08 20:20:00 DEBUG (MainThread) [custom_components.meteobridge.sensor] Adding sensor entity Sea Level Pressure
2022-01-08 20:20:00 DEBUG (MainThread) [custom_components.meteobridge.sensor] Adding sensor entity Station Pressure
2022-01-08 20:20:00 DEBUG (MainThread) [custom_components.meteobridge.sensor] Adding sensor entity Relative Humidity
2022-01-08 20:20:00 DEBUG (MainThread) [custom_components.meteobridge.sensor] Adding sensor entity Precipitation Rate
2022-01-08 20:20:00 DEBUG (MainThread) [custom_components.meteobridge.sensor] Adding sensor entity Precipitation Today
2022-01-08 20:20:00 DEBUG (MainThread) [custom_components.meteobridge.sensor] Adding sensor entity Precipitation Current Month
2022-01-08 20:20:00 DEBUG (MainThread) [custom_components.meteobridge.sensor] Adding sensor entity Precipitation Current Year
2022-01-08 20:20:00 DEBUG (MainThread) [custom_components.meteobridge.sensor] Adding sensor entity Wind Speed
2022-01-08 20:20:00 DEBUG (MainThread) [custom_components.meteobridge.sensor] Adding sensor entity Wind Direction
2022-01-08 20:20:00 DEBUG (MainThread) [custom_components.meteobridge.sensor] Adding sensor entity Wind Gust
2022-01-08 20:20:00 DEBUG (MainThread) [custom_components.meteobridge.sensor] Adding sensor entity Beaufort
2022-01-08 20:20:00 DEBUG (MainThread) [custom_components.meteobridge.sensor] Adding sensor entity Solar Radiation
2022-01-08 20:20:00 DEBUG (MainThread) [custom_components.meteobridge.sensor] Adding sensor entity UV Index
2022-01-08 20:20:00 DEBUG (MainThread) [custom_components.meteobridge.sensor] Adding sensor entity Feels Like Temperature
2022-01-08 20:20:00 DEBUG (MainThread) [custom_components.meteobridge.sensor] Adding sensor entity Heat Index
2022-01-08 20:20:00 DEBUG (MainThread) [custom_components.meteobridge.sensor] Adding sensor entity Wind Chill
2022-01-08 20:20:00 DEBUG (MainThread) [custom_components.meteobridge.sensor] Adding sensor entity Dewpoint
2022-01-08 20:20:00 DEBUG (MainThread) [custom_components.meteobridge.sensor] Adding sensor entity Visibility
2022-01-08 20:20:00 DEBUG (MainThread) [custom_components.meteobridge.sensor] Adding sensor entity Temperature Trend
2022-01-08 20:20:00 DEBUG (MainThread) [custom_components.meteobridge.sensor] Adding sensor entity Pressure Trend
2022-01-08 20:20:00 DEBUG (MainThread) [custom_components.meteobridge.sensor] Adding sensor entity UV Description
2022-01-08 20:20:00 DEBUG (MainThread) [custom_components.meteobridge.sensor] Adding sensor entity Wind Cardinal
2022-01-08 20:20:00 DEBUG (MainThread) [custom_components.meteobridge.sensor] Adding sensor entity Beaufort Description
2022-01-08 20:20:00 DEBUG (MainThread) [custom_components.meteobridge.sensor] Adding sensor entity Indoor Temperature
2022-01-08 20:20:00 DEBUG (MainThread) [custom_components.meteobridge.sensor] Adding sensor entity Indoor Humidity
2022-01-08 20:20:00 DEBUG (MainThread) [custom_components.meteobridge.sensor] Adding sensor entity Air Density
2022-01-08 20:20:00 DEBUG (MainThread) [custom_components.meteobridge.sensor] Adding sensor entity Wet Bulb Temperature
2022-01-08 20:20:00 DEBUG (MainThread) [custom_components.meteobridge.sensor] Adding sensor entity Air Temperature Day Min
2022-01-08 20:20:00 DEBUG (MainThread) [custom_components.meteobridge.sensor] Adding sensor entity Air Temperature Day Max
2022-01-08 20:20:00 DEBUG (MainThread) [custom_components.meteobridge.sensor] Adding sensor entity Air Temperature Month Min
2022-01-08 20:20:00 DEBUG (MainThread) [custom_components.meteobridge.sensor] Adding sensor entity Air Temperature Month Max
2022-01-08 20:20:00 DEBUG (MainThread) [custom_components.meteobridge.sensor] Adding sensor entity Air Temperature Year Min
2022-01-08 20:20:00 DEBUG (MainThread) [custom_components.meteobridge.sensor] Adding sensor entity Air Temperature Year Max
The text was updated successfully, but these errors were encountered: