Works, except for the humidity value.
Shows 0% also in your screenshot (i have to drink one more beer on such dry air)
EDIT: Iād suggest āGefĆ¼hltā instead of āFĆ¼hlt sich an wieā in the German translation, but lets wait what others say.
Works, except for the humidity value.
Shows 0% also in your screenshot (i have to drink one more beer on such dry air)
EDIT: Iād suggest āGefĆ¼hltā instead of āFĆ¼hlt sich an wieā in the German translation, but lets wait what others say.
You are correctā¦ Thanks for pointing that out. Updated card is on github.
I have to thank you for your effort!
I canāt seem to get this to work. i can see all the sensors in the traditional UI but no luck in lovelace. I placed this in my configuration.yaml and not the raw editor of lovelace. In lovelace I put the resource.
sensor:
I then placed this in my lovelace raw config under cards:
The result is a red box that says custom element doesnt exist dark-sky-weather-card. I see this in the log as well. Uncaught SyntaxError: Unexpected token <
Any ideas?
Iām on 0.84.6. Still switch to yaml mode?
Not sure. I think this is only an issue with 0.85
Didnāt helpā¦same result
Where have you saved the dark-sky-weather-card.js?
Please show the resource in ui-lovelace.yaml
www folder just created? -> needs restart
very nice! cool, and many thanks again.
Only thing missing now is Wind force in Bft scale. This fits perfectly in the left column on the wind line line, check my card adaptation of the regular card, used with Buienradar:
Could I tempt you to consider adding that?
also, please check the 2 sun entities arenāt on the same line, which isnāt a disaster, but not as nice as it was.
That is because you seem to missing a line!
Hm, maybeā¦
Whatās that 3d(!) temp for? Should it be there at all? Wasnāt there beforeā¦
Its the forcasted high temp for the current day
8Ā°!! Chilly!
I have the dark-sky-weather-card.js in the /config/www/custom_ui folder. HA is installed in docker on a synology NAS. I already have mini media player in my www folder
This is in my ui_lovelace.yaml section with the weather infoā¦
resources:
title: Home
views:
Yes but we have a higher humidity and barometric pressure than you.
Can you please format your code (read the blue box at the top).
Have you downloaded the file in raw format?
aha, that would explain why it is missing in my setup up, Iāve 2 sensors, 1 regular, 1 for the forecast sensor items. So will quickly rename the entity in the cardā¦which sensor is that? I think I have them all, but it wonāt show:
weather_darksky:
name: Weer Darksky
entities:
- sensor.dark_sky_temperature
- sensor.dark_sky_apparent_temperature
- sensor.dark_sky_cloud_coverage
- sensor.dark_sky_daily_summary
- sensor.dark_sky_dew_point
- sensor.dark_sky_hourly_summary
- sensor.dark_sky_humidity
- sensor.dark_sky_icon
- sensor.dark_sky_minutely_summary
- sensor.dark_sky_nearest_storm_bearing
- sensor.dark_sky_nearest_storm_distance
- sensor.dark_sky_uv_index
- sensor.dark_sky_ozone
- sensor.dark_sky_precip
- sensor.dark_sky_precip_intensity
- sensor.dark_sky_precip_probability
- sensor.dark_sky_pressure
- sensor.dark_sky_summary
- sensor.dark_sky_visibility
- sensor.dark_sky_wind_bearing
- sensor.dark_sky_wind_gust
- sensor.dark_sky_wind_speed
from:
- platform: darksky
api_key: !secret darksky_key
update_interval:
# At least one of these must be specified:
hours: 1
monitored_conditions:
- summary
- icon
- temperature
- temperature_high
- temperature_low
- precip_type
- precip_intensity
- precip_probability
- precip_accumulation
- apparent_temperature
- apparent_temperature_high
- apparent_temperature_low
- dew_point
- wind_speed
- wind_gust
- wind_bearing
- cloud_cover
- humidity
- pressure
- visibility
- ozone
- minutely_summary
- hourly_summary
- daily_summary
- precip_intensity_max
- uv_index
- moon_phase
- nearest_storm_distance
- nearest_storm_bearing
the line:
var daytimeHigh = this.config.entity_daytime_high ? html`<li><span class="ha-icon"><ha-icon icon="mdi:thermometer"></ha-icon></span>${Math.round(this.hass.states[this.config.entity_daytime_high].state)}<span> ${this.getUOM('temperature')}</span></li>` : ``;
wont pickup from the above, since these high/low sensors arenāt created in the first place without forecast settingsā¦ Think this is yet another bug in the platform.
EDIT_
found itā¦ I overlooked 1 of the optional config entities:
entity_daytime_high: sensor.dark_sky_forecast_daytime_high_temperature_0
since my forecast sensors are named dark_sky_forecast (opposed to my regular sensors called dark_sky) have to rename them in the config also, which is very easy thanks to the way this card is being installed )
since I find the 3d temp a bit confusing without further explanation, Ive added a small message there, just as with the feels like temp.
Would that be a nice touchy for you to add @m.p.frankland?
Thereās no prize for high humidity lol
Yes I copied the raw file. Sorry just starting out with HA. Here is my code:
In ui_lovelace.yaml I have theseā¦
cards:
- type: 'custom:dark-sky-weather-card'
entity_current_conditions: sensor.dark_sky_icon
entity_temperature: sensor.dark_sky_temperature
entity_forecast_high_temp_1: sensor.dark_sky_daytime_high_temperature_1
entity_forecast_high_temp_2: sensor.dark_sky_daytime_high_temperature_2
entity_forecast_high_temp_3: sensor.dark_sky_daytime_high_temperature_3
entity_forecast_high_temp_4: sensor.dark_sky_daytime_high_temperature_4
entity_forecast_high_temp_5: sensor.dark_sky_daytime_high_temperature_5
entity_forecast_icon_1: sensor.dark_sky_icon_1
entity_forecast_icon_2: sensor.dark_sky_icon_2
entity_forecast_icon_3: sensor.dark_sky_icon_3
entity_forecast_icon_4: sensor.dark_sky_icon_4
entity_forecast_icon_5: sensor.dark_sky_icon_5
entity_forecast_low_temp_1: sensor.dark_sky_overnight_low_temperature_0
entity_forecast_low_temp_2: sensor.dark_sky_overnight_low_temperature_1
entity_forecast_low_temp_3: sensor.dark_sky_overnight_low_temperature_2
entity_forecast_low_temp_4: sensor.dark_sky_overnight_low_temperature_3
entity_forecast_low_temp_5: sensor.dark_sky_overnight_low_temperature_4
entity_summary_1: sensor.dark_sky_summary_1
entity_summary_2: sensor.dark_sky_summary_2
entity_summary_3: sensor.dark_sky_summary_3
entity_summary_4: sensor.dark_sky_summary_4
entity_summary_5: sensor.dark_sky_summary_5
resources:
- type: module
url: /local/mini-media-player-bundle.js?v=0.9.2
- type: module
url: /local/custom_ui/dark-sky-weather-card.js?v=7.1
In configuration.yaml I have thisā¦
sensor:
- platform: darksky
api_key: xxxxxxxxxx
forecast:
- 0
- 1
- 2
- 3
- 4
- 5
monitored_conditions:
- icon
- summary
- nearest_storm_distance
- nearest_storm_bearing
- humidity
- temperature
- temperature_high
- temperature_low
- apparent_temperature
- apparent_temperature_high
- apparent_temperature_low
- wind_speed
- wind_bearing
- precip_type
- precip_probability
- precip_accumulation
- precip_intensity
- precip_intensity_max
- uv_index
- daily_summary
- pressure
- visibility
update_interval:
minutes: 5