Home Assistant Link Binding

@kjknauss Before rebooting, did you try disabling / enabling the bridge? This shouldn’t happen though.

I have also uploaded v0.0.14 to match the current state of the PR.

I did try disable/enable. The only thing that refreshed items was saving the bridge thing, but that wasn’t persistent. Maybe something local to my machine was the cause.

Something else: I am using the label filter (great option btw), and I tried bringing in the openweathermap integration but it never showed up in the Inbox.

We’d need to get to the bottom of this somehow.

Can you please:

  • Turn on Trace log for org.openhab.binding.hasslink
  • Disable, then enable the bridge
  • PM me the trace logs involving RECV with ID 1-4
  • Tell me the exact bridge config (perhaps from the yaml)

@kjknauss please try v0.0.15 - it should include openweathermap in the discovery inbox if you add a tag / label to it.

That worked.

Here are the channels for Open Weather Map. HA shows 18 entities, but many more here.

version: 1
things:
  hasslink:device:04510bcffc3543cbb0b14bf781b1a67d:3a65ad38a363fc0e59381a1267f40ce6:
    bridge: hasslink:server:04510bcffc3543cbb0b14bf781b1a67d
    label: Open Weather Map Hasslink
    config:
      deviceId: 3a65ad38a363fc0e59381a1267f40ce6
    channels:
      weather-openweathermap:
        type: string
        label: Weather (Weather)
        config:
          entityId: weather.openweathermap
          autoCreated: true
      sensor-weather:
        type: string
        label: Weather (Sensor)
        config:
          entityId: sensor.openweathermap_weather
          autoCreated: true
      weather-openweathermap#cloud_coverage:
        type: number
        label: Weather Cloud Coverage
        config:
          entityId: weather.openweathermap
          attribute: cloud_coverage
          autoCreated: true
      weather-openweathermap#humidity:
        type: number
        label: Weather Humidity
        config:
          entityId: weather.openweathermap
          attribute: humidity
          autoCreated: true
      weather-openweathermap#apparent_temperature:
        type: number
        label: Weather Apparent Temperature
        config:
          entityId: weather.openweathermap
          attribute: apparent_temperature
          autoCreated: true
      weather-openweathermap#dew_point:
        type: number
        label: Weather Dew Point
        config:
          entityId: weather.openweathermap
          attribute: dew_point
          autoCreated: true
      weather-openweathermap#pressure:
        type: number
        label: Weather Pressure
        config:
          entityId: weather.openweathermap
          attribute: pressure
          autoCreated: true
      weather-openweathermap#temperature:
        type: number
        label: Weather Temperature
        config:
          entityId: weather.openweathermap
          attribute: temperature
          autoCreated: true
      weather-openweathermap#visibility:
        type: number
        label: Weather Visibility
        config:
          entityId: weather.openweathermap
          attribute: visibility
          autoCreated: true
      weather-openweathermap#wind_gust_speed:
        type: number
        label: Weather Wind Gust Speed
        config:
          entityId: weather.openweathermap
          attribute: wind_gust_speed
          autoCreated: true
      weather-openweathermap#wind_speed:
        type: number
        label: Weather Wind Speed
        config:
          entityId: weather.openweathermap
          attribute: wind_speed
          autoCreated: true
      weather-openweathermap#wind_bearing:
        type: number
        label: Weather Wind Bearing
        config:
          entityId: weather.openweathermap
          attribute: wind_bearing
          autoCreated: true
      weather-openweathermap#forecast_pressure:
        type: number
        label: Weather Forecast Pressure
        config:
          entityId: weather.openweathermap
          attribute: forecast_pressure
          autoCreated: true
      weather-openweathermap#forecast_uv_index:
        type: number
        label: Weather Forecast Uv Index
        config:
          entityId: weather.openweathermap
          attribute: forecast_uv_index
          autoCreated: true
      weather-openweathermap#forecast_dew_point:
        type: number
        label: Weather Forecast Dew Point
        config:
          entityId: weather.openweathermap
          attribute: forecast_dew_point
          autoCreated: true
      weather-openweathermap#forecast_wind_bearing:
        type: number
        label: Weather Forecast Wind Bearing
        config:
          entityId: weather.openweathermap
          attribute: forecast_wind_bearing
          autoCreated: true
      weather-openweathermap#forecast_precipitation_probability:
        type: number
        label: Weather Forecast Precipitation Probability
        config:
          entityId: weather.openweathermap
          attribute: forecast_precipitation_probability
          autoCreated: true
      weather-openweathermap#forecast_wind_speed:
        type: number
        label: Weather Forecast Wind Speed
        config:
          entityId: weather.openweathermap
          attribute: forecast_wind_speed
          autoCreated: true
      weather-openweathermap#forecast_wind_gust_speed:
        type: number
        label: Weather Forecast Wind Gust Speed
        config:
          entityId: weather.openweathermap
          attribute: forecast_wind_gust_speed
          autoCreated: true
      weather-openweathermap#forecast_templow:
        type: number
        label: Weather Forecast Templow
        config:
          entityId: weather.openweathermap
          attribute: forecast_templow
          autoCreated: true
      weather-openweathermap#forecast_humidity:
        type: number
        label: Weather Forecast Humidity
        config:
          entityId: weather.openweathermap
          attribute: forecast_humidity
          autoCreated: true
      weather-openweathermap#forecast_condition:
        type: string
        label: Weather Forecast Condition
        config:
          entityId: weather.openweathermap
          attribute: forecast_condition
          autoCreated: true
      weather-openweathermap#forecast_precipitation:
        type: number
        label: Weather Forecast Precipitation
        config:
          entityId: weather.openweathermap
          attribute: forecast_precipitation
          autoCreated: true
      weather-openweathermap#forecast_apparent_temperature:
        type: number
        label: Weather Forecast Apparent Temperature
        config:
          entityId: weather.openweathermap
          attribute: forecast_apparent_temperature
          autoCreated: true
      weather-openweathermap#forecast_temperature:
        type: number
        label: Weather Forecast Temperature
        config:
          entityId: weather.openweathermap
          attribute: forecast_temperature
          autoCreated: true
      weather-openweathermap#forecast_cloud_coverage:
        type: number
        label: Weather Forecast Cloud Coverage
        config:
          entityId: weather.openweathermap
          attribute: forecast_cloud_coverage
          autoCreated: true
      weather-openweathermap#forecast_hourly_pressure:
        type: number
        label: Weather Forecast Hourly Pressure
        config:
          entityId: weather.openweathermap
          attribute: forecast_hourly_pressure
          autoCreated: true
      weather-openweathermap#forecast_hourly_uv_index:
        type: number
        label: Weather Forecast Hourly Uv Index
        config:
          entityId: weather.openweathermap
          attribute: forecast_hourly_uv_index
          autoCreated: true
      weather-openweathermap#forecast_hourly_dew_point:
        type: number
        label: Weather Forecast Hourly Dew Point
        config:
          entityId: weather.openweathermap
          attribute: forecast_hourly_dew_point
          autoCreated: true
      weather-openweathermap#forecast_hourly_wind_bearing:
        type: number
        label: Weather Forecast Hourly Wind Bearing
        config:
          entityId: weather.openweathermap
          attribute: forecast_hourly_wind_bearing
          autoCreated: true
      weather-openweathermap#forecast_hourly_precipitation_probability:
        type: number
        label: Weather Forecast Hourly Precipitation Probability
        config:
          entityId: weather.openweathermap
          attribute: forecast_hourly_precipitation_probability
          autoCreated: true
      weather-openweathermap#forecast_hourly_wind_speed:
        type: number
        label: Weather Forecast Hourly Wind Speed
        config:
          entityId: weather.openweathermap
          attribute: forecast_hourly_wind_speed
          autoCreated: true
      weather-openweathermap#forecast_hourly_wind_gust_speed:
        type: number
        label: Weather Forecast Hourly Wind Gust Speed
        config:
          entityId: weather.openweathermap
          attribute: forecast_hourly_wind_gust_speed
          autoCreated: true
      weather-openweathermap#forecast_hourly_templow:
        type: number
        label: Weather Forecast Hourly Templow
        config:
          entityId: weather.openweathermap
          attribute: forecast_hourly_templow
          autoCreated: true
      weather-openweathermap#forecast_hourly_humidity:
        type: number
        label: Weather Forecast Hourly Humidity
        config:
          entityId: weather.openweathermap
          attribute: forecast_hourly_humidity
          autoCreated: true
      weather-openweathermap#forecast_hourly_condition:
        type: string
        label: Weather Forecast Hourly Condition
        config:
          entityId: weather.openweathermap
          attribute: forecast_hourly_condition
          autoCreated: true
      weather-openweathermap#forecast_hourly_precipitation:
        type: number
        label: Weather Forecast Hourly Precipitation
        config:
          entityId: weather.openweathermap
          attribute: forecast_hourly_precipitation
          autoCreated: true
      weather-openweathermap#forecast_hourly_apparent_temperature:
        type: number
        label: Weather Forecast Hourly Apparent Temperature
        config:
          entityId: weather.openweathermap
          attribute: forecast_hourly_apparent_temperature
          autoCreated: true
      weather-openweathermap#forecast_hourly_temperature:
        type: number
        label: Weather Forecast Hourly Temperature
        config:
          entityId: weather.openweathermap
          attribute: forecast_hourly_temperature
          autoCreated: true
      weather-openweathermap#forecast_hourly_cloud_coverage:
        type: number
        label: Weather Forecast Hourly Cloud Coverage
        config:
          entityId: weather.openweathermap
          attribute: forecast_hourly_cloud_coverage
          autoCreated: true
      sensor-apparent_temperature:
        type: number
        label: Apparent Temperature
        config:
          entityId: sensor.openweathermap_apparent_temperature
          autoCreated: true
      sensor-apparent_temperature#attribution:
        type: string
        label: Apparent Temperature Attribution
        config:
          entityId: sensor.openweathermap_apparent_temperature
          attribute: attribution
          autoCreated: true
      sensor-cloud_coverage:
        type: number
        label: Cloud Coverage
        config:
          entityId: sensor.openweathermap_cloud_coverage
          autoCreated: true
      sensor-cloud_coverage#attribution:
        type: string
        label: Cloud Coverage Attribution
        config:
          entityId: sensor.openweathermap_cloud_coverage
          attribute: attribution
          autoCreated: true
      sensor-condition:
        type: string
        label: Condition
        config:
          entityId: sensor.openweathermap_condition
          autoCreated: true
      sensor-condition#attribution:
        type: string
        label: Condition Attribution
        config:
          entityId: sensor.openweathermap_condition
          attribute: attribution
          autoCreated: true
      sensor-dew_point_temperature:
        type: number
        label: Dew Point Temperature
        config:
          entityId: sensor.openweathermap_dew_point_temperature
          autoCreated: true
      sensor-dew_point_temperature#attribution:
        type: string
        label: Dew Point Temperature Attribution
        config:
          entityId: sensor.openweathermap_dew_point_temperature
          attribute: attribution
          autoCreated: true
      sensor-humidity:
        type: number
        label: Humidity
        config:
          entityId: sensor.openweathermap_humidity
          autoCreated: true
      sensor-humidity#attribution:
        type: string
        label: Humidity Attribution
        config:
          entityId: sensor.openweathermap_humidity
          attribute: attribution
          autoCreated: true
      sensor-precipitation_kind:
        type: string
        label: Precipitation Kind
        config:
          entityId: sensor.openweathermap_precipitation_kind
          autoCreated: true
      sensor-precipitation_kind#attribution:
        type: string
        label: Precipitation Kind Attribution
        config:
          entityId: sensor.openweathermap_precipitation_kind
          attribute: attribution
          autoCreated: true
      sensor-pressure:
        type: number
        label: Pressure
        config:
          entityId: sensor.openweathermap_pressure
          autoCreated: true
      sensor-pressure#attribution:
        type: string
        label: Pressure Attribution
        config:
          entityId: sensor.openweathermap_pressure
          attribute: attribution
          autoCreated: true
      sensor-rain_intensity:
        type: number
        label: Rain Intensity
        config:
          entityId: sensor.openweathermap_rain_intensity
          autoCreated: true
      sensor-rain_intensity#attribution:
        type: string
        label: Rain Intensity Attribution
        config:
          entityId: sensor.openweathermap_rain_intensity
          attribute: attribution
          autoCreated: true
      sensor-snow_intensity:
        type: number
        label: Snow Intensity
        config:
          entityId: sensor.openweathermap_snow_intensity
          autoCreated: true
      sensor-snow_intensity#attribution:
        type: string
        label: Snow Intensity Attribution
        config:
          entityId: sensor.openweathermap_snow_intensity
          attribute: attribution
          autoCreated: true
      sensor-temperature:
        type: number
        label: Temperature
        config:
          entityId: sensor.openweathermap_temperature
          autoCreated: true
      sensor-temperature#attribution:
        type: string
        label: Temperature Attribution
        config:
          entityId: sensor.openweathermap_temperature
          attribute: attribution
          autoCreated: true
      sensor-uv_index:
        type: number
        label: UV Index
        config:
          entityId: sensor.openweathermap_uv_index
          autoCreated: true
      sensor-uv_index#attribution:
        type: string
        label: UV Index Attribution
        config:
          entityId: sensor.openweathermap_uv_index
          attribute: attribution
          autoCreated: true
      sensor-visibility:
        type: number
        label: Visibility
        config:
          entityId: sensor.openweathermap_visibility
          autoCreated: true
      sensor-visibility#attribution:
        type: string
        label: Visibility Attribution
        config:
          entityId: sensor.openweathermap_visibility
          attribute: attribution
          autoCreated: true
      sensor-weather#attribution:
        type: string
        label: Weather Attribution
        config:
          entityId: sensor.openweathermap_weather
          attribute: attribution
          autoCreated: true
      sensor-weather_code:
        type: number
        label: Weather Code
        config:
          entityId: sensor.openweathermap_weather_code
          autoCreated: true
      sensor-weather_code#attribution:
        type: string
        label: Weather Code Attribution
        config:
          entityId: sensor.openweathermap_weather_code
          attribute: attribution
          autoCreated: true
      sensor-wind_direction:
        type: number
        label: Wind Direction
        config:
          entityId: sensor.openweathermap_wind_direction
          autoCreated: true
      sensor-wind_direction#attribution:
        type: string
        label: Wind Direction Attribution
        config:
          entityId: sensor.openweathermap_wind_direction
          attribute: attribution
          autoCreated: true
      sensor-wind_gust_speed:
        type: number
        label: Wind Gust Speed
        config:
          entityId: sensor.openweathermap_wind_gust_speed
          autoCreated: true
      sensor-wind_gust_speed#attribution:
        type: string
        label: Wind Gust Speed Attribution
        config:
          entityId: sensor.openweathermap_wind_gust_speed
          attribute: attribution
          autoCreated: true
      sensor-wind_speed:
        type: number
        label: Wind Speed
        config:
          entityId: sensor.openweathermap_wind_speed
          autoCreated: true
      sensor-wind_speed#attribution:
        type: string
        label: Wind Speed Attribution
        config:
          entityId: sensor.openweathermap_wind_speed
          attribute: attribution
          autoCreated: true

Why would one use a HA integration if we have an native binding for openweathermap?
Wouldn’t it be better to add any missing feature to the openHAB binding?

I use the native binding. Just testing.

Ahhh. That makes sense, now :smiley:

Indeed.

1 Entity in HA can carry composite data within its attributes. Especially so in a weather entity, and especially so for openweathermap because it has forecast data too. Each attribute is represented as a separate channel in openHAB.

I am actually curious to see if the TimeSeries adaptation works here, as I have only written the code but never tested it.