Closed mfabiani53 closed 3 years ago
Hi, please put the component log to debug level and post here the details.
# Logging
logger:
logs:
custom_components.climacell: debug
Thanks, Renato
Here it is:
2020-07-02 16:07:34 INFO (MainThread) [custom_components.climacell] __init__ async_setup start for domain climacell.
2020-07-02 16:07:34 INFO (MainThread) [custom_components.climacell] __init__ async_setup done for domain climacell.
2020-07-02 16:07:34 INFO (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'sensor' start for climacell with config OrderedDict([('platform', 'climacell'), ('api_key', 'xxxxxxxxxxxxxxxxxxxxxxxxxxxx'), ('name', 'climacell'), ('latitude', 42.0472856), ('longitude', 13.4308795), ('monitored_conditions', OrderedDict([('realtime', OrderedDict([('conditions', ['weather_condition', 'temperature', 'feels_like', 'humidity', 'visibility', 'cloud_cover', 'precipitation', 'precipitation_type', 'pressure', 'wind_speed', 'wind_direction', 'wind_gust', 'moon_phase', 'sunset', 'sunrise', 'pm25', 'pm10', 'o3', 'co', 'so2', 'no2', 'epa_aqi', 'epa_health_concern', 'pollen_tree', 'pollen_weed', 'pollen_grass', 'road_risk_score', 'road_risk_confidence', 'road_risk_conditions', 'fire_index']), ('scan_interval', datetime.timedelta(seconds=7200)), ('exclude_interval', [OrderedDict([(1, ['23:30', '06:00'])])])])), ('daily', OrderedDict([('conditions', ['weather_condition', 'temperature', 'feels_like', 'humidity', 'visibility', 'precipitation', 'precipitation_probability', 'precipitation_accumulation', 'pressure', 'wind_speed', 'wind_direction', 'sunset', 'sunrise']), ('scan_interval', datetime.timedelta(seconds=7200)), ('exclude_interval', [OrderedDict([(1, ['23:30', '06:00'])])])])), ('hourly', OrderedDict([('conditions', ['weather_condition', 'temperature', 'feels_like', 'humidity', 'visibility', 'cloud_cover', 'precipitation', 'precipitation_probability', 'precipitation_type', 'pressure', 'wind_speed', 'wind_direction', 'wind_gust', 'moon_phase', 'sunset', 'sunrise', 'pm25', 'pm10', 'o3', 'co', 'so2', 'no2', 'epa_aqi', 'epa_health_concern', 'pollen_tree', 'pollen_weed', 'pollen_grass', 'road_risk_score', 'road_risk', 'road_risk_confidence', 'road_risk_conditions']), ('scan_interval', datetime.timedelta(seconds=7200)), ('exclude_interval', [OrderedDict([(1, ['23:30', '06:00'])])])])), ('nowcast', OrderedDict([('conditions', ['weather_condition', 'temperature', 'feels_like', 'humidity', 'visibility', 'cloud_cover', 'precipitation', 'precipitation_type', 'pressure', 'wind_speed', 'wind_direction', 'wind_gust', 'sunset', 'sunrise', 'pm25', 'pm10', 'o3', 'co', 'so2', 'no2', 'epa_aqi', 'epa_health_concern', 'pollen_tree', 'pollen_weed', 'pollen_grass', 'road_risk_confidence', 'road_risk_conditions']), ('scan_interval', datetime.timedelta(seconds=7200)), ('exclude_interval', [OrderedDict([(1, ['23:30', '06:00'])])])]))]))]).
2020-07-02 16:07:34 INFO (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'sensor' start for climacell.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'realtime' update: auto.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'realtime' interval: 2:00:00.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'realtime' exceptions: [OrderedDict([(1, ['23:30', '06:00'])])].
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell] ClimacellRealtimeDataProvider initializated for: weather_code,temp,feels_like,humidity,visibility,cloud_cover,precipitation,precipitation_type,baro_pressure,wind_speed,wind_direction,wind_gust,moon_phase,sunset,sunrise,pm25,pm10,o3,co,so2,no2,epa_aqi,epa_health_concern,pollen_tree,pollen_weed,pollen_grass,road_risk_score,road_risk_confidence,road_risk_conditions,fire_index.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'realtime' condition list: weather_code,temp,feels_like,humidity,visibility,cloud_cover,precipitation,precipitation_type,baro_pressure,wind_speed,wind_direction,wind_gust,moon_phase,sunset,sunrise,pm25,pm10,o3,co,so2,no2,epa_aqi,epa_health_concern,pollen_tree,pollen_weed,pollen_grass,road_risk_score,road_risk_confidence,road_risk_conditions,fire_index.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'realtime', add sensor fo condition: weather_condition, climacell.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'realtime', add sensor fo condition: temperature, climacell.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'realtime', add sensor fo condition: feels_like, climacell.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'realtime', add sensor fo condition: humidity, climacell.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'realtime', add sensor fo condition: visibility, climacell.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'realtime', add sensor fo condition: cloud_cover, climacell.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'realtime', add sensor fo condition: precipitation, climacell.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'realtime', add sensor fo condition: precipitation_type, climacell.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'realtime', add sensor fo condition: pressure, climacell.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'realtime', add sensor fo condition: wind_speed, climacell.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'realtime', add sensor fo condition: wind_direction, climacell.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'realtime', add sensor fo condition: wind_gust, climacell.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'realtime', add sensor fo condition: moon_phase, climacell.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'realtime', add sensor fo condition: sunset, climacell.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'realtime', add sensor fo condition: sunrise, climacell.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'realtime', add sensor fo condition: pm25, climacell.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'realtime', add sensor fo condition: pm10, climacell.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'realtime', add sensor fo condition: o3, climacell.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'realtime', add sensor fo condition: co, climacell.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'realtime', add sensor fo condition: so2, climacell.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'realtime', add sensor fo condition: no2, climacell.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'realtime', add sensor fo condition: epa_aqi, climacell.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'realtime', add sensor fo condition: epa_health_concern, climacell.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'realtime', add sensor fo condition: pollen_tree, climacell.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'realtime', add sensor fo condition: pollen_weed, climacell.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'realtime', add sensor fo condition: pollen_grass, climacell.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'realtime', add sensor fo condition: road_risk_score, climacell.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'realtime', add sensor fo condition: road_risk_confidence, climacell.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'realtime', add sensor fo condition: road_risk_conditions, climacell.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'realtime', add sensor fo condition: fire_index, climacell.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'daily' observations: 0:05:00.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'daily' update: auto.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'daily' interval: 2:00:00.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'daily' exceptions: [OrderedDict([(1, ['23:30', '06:00'])])].
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell] ClimacellDailyDataProvider initializated for: [weather_code,temp,feels_like,humidity,visibility,precipitation,precipitation_probability,precipitation_accumulation,baro_pressure,wind_speed,wind_direction,sunset,sunrise] .
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'daily' condition list: weather_code,temp,feels_like,humidity,visibility,precipitation,precipitation_probability,precipitation_accumulation,baro_pressure,wind_speed,wind_direction,sunset,sunrise.
This log is incomplete, please check carefully and put all the rows here.
Thanks, Renato
I am also having this issue
I quoted all the log entries about the component showed in the HA log.
@In-Orbits please quote also your logs so i can check if i forgot something, but i am sure i quoted all.
Having the same issue after latest update - all sensors show in Dev tools but state for all is unknown.
Could the additional 'conditions' line under each type of monitoring be causing an issue? It worked fine before without this.
Hi, try to use this configuration to test the component and post here the logs if the sensors not works.
## Weather climatecell.co
- platform: climacell
api_key: !secret climacell_api_key
name: example
latitude: !secret gps_geo_home_lt
longitude: !secret gps_geo_home_ln
monitored_conditions:
realtime:
conditions:
- temperature
- feels_like
- dewpoint
- humidity
- wind_speed
- wind_direction
- wind_gust
- pressure
- precipitation
- precipitation_type
- sunset
- sunrise
- visibility
- cloud_cover
- cloud_base
- cloud_ceiling
- surface_shortwave_radiation
- moon_phase
- weather_condition
- pm25
- pm10
- o3
- no2
- co
- so2
- epa_aqi
- epa_primary_pollutant
- epa_health_concern
- pollen_tree
- pollen_weed
- pollen_grass
- road_risk_score
- road_risk_confidence
- road_risk_conditions
- fire_index
update: auto
scan_interval:
# At least one of these must be specified:
days: 0
hours: 0
minutes: 30
seconds: 0
milliseconds: 0
In your logs you should find some rows like this:
2020-07-03 09:13:17 DEBUG (SyncWorker_9) [custom_components.climacell] _retrieve_data response.text: {"lat":yyyyy,"lon":xxxxx,"temp":{"value":23.31,"units":"C"},"feels_like":{"value":23.31,"units":"C"},"wind_speed":{"value":1.38,"units":"m/s"},"wind_gust":{"value":3.25,"units":"m/s"},"baro_pressure":{"value":1011.125,"units":"hPa"},"visibility":{"value":10,"units":"km"},"humidity":{"value":88.63,"units":"%"},"wind_direction":{"value":303.88,"units":"degrees"},"precipitation":{"value":0,"units":"mm/hr"},"precipitation_type":{"value":"none"},"cloud_cover":{"value":0,"units":"%"},"fire_index":{"value":2.125},"sunrise":{"value":"2020-07-03T03:40:50.374Z"},"sunset":{"value":"2020-07-03T18:47:59.501Z"},"moon_phase":{"value":"waxing_gibbous"},"weather_code":{"value":"clear"},"epa_aqi":{"value":29.8125},"pm25":{"value":9.25,"units":"µg/m3"},"pm10":{"value":26.625,"units":"µg/m3"},"o3":{"value":17.875,"units":"ppb"},"no2":{"value":5.3125,"units":"ppb"},"co":{"value":0.875,"units":"ppm"},"so2":{"value":3.625,"units":"ppb"},"epa_health_concern":{"value":"Good"},"pollen_tree":{"value":null,"units":"Climacell Pollen Index"},"pollen_weed":{"value":null,"units":"Climacell Pollen Index"},"pollen_grass":{"value":0,"units":"Climacell Pollen Index"},"observation_time":{"value":"2020-07-03T07:13:17.548Z"}}
@r-renato I have no entries like those in my log as none sensor is created....
and no ERROR? ummm that's bizarre. the following rows show the sensors creation. did you check if you see them under Developer Tools -> States menu?
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'realtime', add sensor fo condition: weather_condition, climacell.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'realtime', add sensor fo condition: temperature, climacell.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'realtime', add sensor fo condition: feels_like, climacell.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'realtime', add sensor fo condition: humidity, climacell.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'realtime', add sensor fo condition: visibility, climacell.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'realtime', add sensor fo condition: cloud_cover, climacell.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'realtime', add sensor fo condition: precipitation, climacell.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'realtime', add sensor fo condition: precipitation_type, climacell.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'realtime', add sensor fo condition: pressure, climacell.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'realtime', add sensor fo condition: wind_speed, climacell.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'realtime', add sensor fo condition: wind_direction, climacell.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'realtime', add sensor fo condition: wind_gust, climacell.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'realtime', add sensor fo condition: moon_phase, climacell.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'realtime', add sensor fo condition: sunset, climacell.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'realtime', add sensor fo condition: sunrise, climacell.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'realtime', add sensor fo condition: pm25, climacell.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'realtime', add sensor fo condition: pm10, climacell.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'realtime', add sensor fo condition: o3, climacell.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'realtime', add sensor fo condition: co, climacell.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'realtime', add sensor fo condition: so2, climacell.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'realtime', add sensor fo condition: no2, climacell.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'realtime', add sensor fo condition: epa_aqi, climacell.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'realtime', add sensor fo condition: epa_health_concern, climacell.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'realtime', add sensor fo condition: pollen_tree, climacell.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'realtime', add sensor fo condition: pollen_weed, climacell.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'realtime', add sensor fo condition: pollen_grass, climacell.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'realtime', add sensor fo condition: road_risk_score, climacell.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'realtime', add sensor fo condition: road_risk_confidence, climacell.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'realtime', add sensor fo condition: road_risk_conditions, climacell.
2020-07-02 16:07:34 DEBUG (SyncWorker_7) [custom_components.climacell.sensor] __init__ setup_platform 'realtime', add sensor fo condition: fire_index, climacell.
No, i see no sensor under Developer Tools -> States menu
Only one that is not related to the eventually created sensor by climacell custom component.
Try to use cc_
as filter.
No way....
I see a climacell.climacell_weather inside services... which is his purpose?
I tried to put off from the sensors configuration daily, hourly and nowcast, leaving only realtime and the sensors are there again. SO definitely there are problems with daily, hourly and nowcast sensors...
I double checked, re-added daily sensors and the sensors are gone again......
Please post your logs and configuration.
Thanks, Renato
I already posted the config in the opening post of this issue and also the logs. No new from there. Now i put off from the sensors config all what is related to daily, hourly and nowcast leaving only realtime. This is the screenshot i have now:
Puoi farmi vedere la configurazione di questa scheda?
Renato
- type: custom:ha-card-weather-conditions
style: |
ha-card {
font-size: 14px;
font-family: 'Georgia';
font-weight: normal;
background: none; border-radius: 0px; box-shadow: none;
}
.icon.bigger {
width: 10em;
height: 10em;
margin-top: -4em;
position: absolute;
left: 0em;
}
.title {
position: absolute;
left: calc(140px + (26 - 14) * ((100vw - 300px) / (1600 - 300)));
top: 0.6em;
font-weight: 300;
font-size: calc(14px + (26 - 14) * ((100vw - 300px) / (1600 - 300)));
color: var(--primary-text-color);
}
.moon {
position: absolute;
left: calc(115px + (26 - 14) * ((100vw - 300px) / (1600 - 300)));
top: calc(63px - (26 - 14) * ((100vw - 300px) / (1600 - 300)));
font-weight: 300;
font-size: calc(14px + (26 - 14) * ((100vw - 300px) / (1600 - 300)));
color: var(--primary-text-color);
line-height:20px;
display: inline-block;
}
.temp {
position: absolute;
// top: 0.65em;
font-weight: 300;
font-size: calc(49px + (26 - 14) * ((100vw - 300px) / (1600 - 300)));
color: var(--primary-text-color);
right: 1em;
margin-top: 2px;
}
.tempc {
position: absolute;
font-weight: 300;
font-size: calc(12px + (26 - 14) * ((100vw - 300px) / (1600 - 300)));
// font-size: 1.5em;
vertical-align: super;
color: var(--primary-text-color);
right: 1em;
margin-top: -11px;
margin-right: 7px;
}
name: 'Meteo Avezzano'
language: it
animation: true
camera: camera.immagini_radar_infrarossi
uv:
protection_window: binary_sensor.protection_window
ozone_level: sensor.current_ozone_level
uv_index: sensor.current_uv_index
uv_level: sensor.current_uv_level
max_uv_index: sensor.max_uv_index
set_skin_type_1: sensor.skin_type_1_safe_exposure_time
set_skin_type_2: sensor.skin_type_2_safe_exposure_time
set_skin_type_3: sensor.skin_type_3_safe_exposure_time
set_skin_type_4: sensor.skin_type_4_safe_exposure_time
set_skin_type_5: sensor.skin_type_5_safe_exposure_time
set_skin_type_6: sensor.skin_type_6_safe_exposure_time
pollen:
tree:
entity: sensor.cc_climacell_pollen_tree
min: 0
max: 5
low: 1
high: 3
weed:
entity: sensor.cc_climacell_pollen_weed
min: 0
max: 5
low: 1
high: 3
grass:
entity: sensor.cc_climacell_pollen_grass
min: 0
max: 5
low: 1
high: 3
fire_index:
entity: sensor.cc_climacell_fire_index
min: 0
max: 5
low: 1
high: 3
air_quality:
pm25: sensor.cc_climacell_pm25
pm10: sensor.cc_climacell_pm10
o3: sensor.cc_climacell_o3
co: sensor.cc_climacell_co
epa_aqi: sensor.cc_climacell_epa_aqi
epa_health_concern: sensor.cc_climacell_epa_health_concern
# epa_primary_pollutant: sensor.climacell_epa_primary_pollutant
no2: sensor.cc_climacell_no2
so2: sensor.cc_climacell_so2
alert:
fire_risk:
entity: sensor.cc_climacell_fire_index
icon: mdi:campfire
min: 1
max: 100
show_if_ge: 1
thunderstorms_risk:
entity: binary_sensor.dpc_avezzano_temporali_oggi
# show_if_on: false
hydraulic_risk:
entity: binary_sensor.dpc_avezzano_idraulico_oggi
hydrogeological_risk:
entity: binary_sensor.dpc_avezzano_idrogeologico_oggi
weather:
icons_model: climacell
current:
sun: sun.sun
moon_phase: sensor.cc_climacell_moon_phase
current_conditions: sensor.cc_climacell_weather_condition
humidity: sensor.cc_climacell_humidity_percentage
pressure: sensor.cc_climacell_barometric_pressure
temperature: sensor.cc_climacell_temperature
visibility: sensor.cc_climacell_visibility
wind_bearing: sensor.cc_climacell_wind_direction
wind_speed: sensor.cc_climacell_wind_speed
precipitation: cc_sensor.climacell_precipitation
feels_like: sensor.cc_climacell_feels_like
forecast: true
forecast:
meteogram: camera.climacell_meoteogram
icons:
day_1: sensor.cc_climacell_weather_condition_0d
day_2: sensor.cc_climacell_weather_condition_1d
day_3: sensor.cc_climacell_weather_condition_2d
day_4: sensor.cc_climacell_weather_condition_3d
day_5: sensor.cc_climacell_weather_condition_4d
temperature_high:
day_1: sensor.cc_climacell_max_temperature_0d
day_2: sensor.cc_climacell_max_temperature_1d
day_3: sensor.cc_climacell_max_temperature_2d
day_4: sensor.cc_climacell_max_temperature_3d
day_5: sensor.cc_climacell_max_temperature_4d
temperature_low:
day_1: sensor.cc_climacell_min_temperature_0d
day_2: sensor.cc_climacell_min_temperature_1d
day_3: sensor.cc_climacell_min_temperature_2d
day_4: sensor.cc_climacell_min_temperature_3d
day_5: sensor.cc_climacell_min_temperature_4d
precipitation_probability:
day_1: sensor.cc_climacell_precipitation_probability_0d
day_2: sensor.cc_climacell_precipitation_probability_1d
day_3: sensor.cc_climacell_precipitation_probability_2d
day_4: sensor.cc_climacell_precipitation_probability_3d
day_5: sensor.cc_climacell_precipitation_probability_4d
precipitation_intensity:
day_1: sensor.cc_climacell_max_precipitation_0d
day_2: sensor.cc_climacell_max_precipitation_1d
day_3: sensor.cc_climacell_max_precipitation_2d
day_4: sensor.cc_climacell_max_precipitation_3d
day_5: sensor.cc_climacell_max_precipitation_4d
Te lo avevo già chiesto, ma senza risposta: come si fa ad avere i sensori dell'object 'sea'?
I nomi di alcuni sensori sono cambiati cc_climacell_max_precipitation_0d
cc_climacell_precipitation_max_0d
e via dicendo per quelli che hanno min e max, inoltre i sensori con le date partono da 1d
e non più da 0d
.
Per i sensori del layer sea io ho utilizzato un componente che ho sviluppato ma non ho ancora messo su hacs. In questo periodo ho parecchie attività che mi portano a finire di lavorare tardi e non sono riuscito a seguire gli hobby. Porta pazienza appena posso lo registro.
Grazie, ciao. Renato
Ok, ma io non ho quei sensori... non sono stati creati probabilmente perchè non ho i sensori daily ed hourly....
Provo e riprovo, ma i sensori vengono creati solo se in sensor: metto solo realtime. E in questo caso non ho neanche i sensori del forecast!
I sensori sono corretti così, prova. ;)
- type: custom:ha-card-weather-conditions
style: |
ha-card {
font-size: 14px;
font-family: 'Georgia';
font-weight: normal;
background: none; border-radius: 0px; box-shadow: none;
}
.icon.bigger {
width: 10em;
height: 10em;
margin-top: -4em;
position: absolute;
left: 0em;
}
.title {
position: absolute;
left: calc(140px + (26 - 14) * ((100vw - 300px) / (1600 - 300)));
top: 0.6em;
font-weight: 300;
font-size: calc(14px + (26 - 14) * ((100vw - 300px) / (1600 - 300)));
color: var(--primary-text-color);
}
.moon {
position: absolute;
left: calc(115px + (26 - 14) * ((100vw - 300px) / (1600 - 300)));
top: calc(63px - (26 - 14) * ((100vw - 300px) / (1600 - 300)));
font-weight: 300;
font-size: calc(14px + (26 - 14) * ((100vw - 300px) / (1600 - 300)));
color: var(--primary-text-color);
line-height:20px;
display: inline-block;
}
.temp {
position: absolute;
// top: 0.65em;
font-weight: 300;
font-size: calc(49px + (26 - 14) * ((100vw - 300px) / (1600 - 300)));
color: var(--primary-text-color);
right: 1em;
margin-top: 2px;
}
.tempc {
position: absolute;
font-weight: 300;
font-size: calc(12px + (26 - 14) * ((100vw - 300px) / (1600 - 300)));
// font-size: 1.5em;
vertical-align: super;
color: var(--primary-text-color);
right: 1em;
margin-top: -11px;
margin-right: 7px;
}
name: 'Meteo Avezzano'
language: it
animation: true
camera: camera.immagini_radar_infrarossi
uv:
protection_window: binary_sensor.protection_window
ozone_level: sensor.current_ozone_level
uv_index: sensor.current_uv_index
uv_level: sensor.current_uv_level
max_uv_index: sensor.max_uv_index
set_skin_type_1: sensor.skin_type_1_safe_exposure_time
set_skin_type_2: sensor.skin_type_2_safe_exposure_time
set_skin_type_3: sensor.skin_type_3_safe_exposure_time
set_skin_type_4: sensor.skin_type_4_safe_exposure_time
set_skin_type_5: sensor.skin_type_5_safe_exposure_time
set_skin_type_6: sensor.skin_type_6_safe_exposure_time
pollen:
tree:
entity: sensor.cc_climacell_pollen_tree
min: 0
max: 5
low: 1
high: 3
weed:
entity: sensor.cc_climacell_pollen_weed
min: 0
max: 5
low: 1
high: 3
grass:
entity: sensor.cc_climacell_pollen_grass
min: 0
max: 5
low: 1
high: 3
fire_index:
entity: sensor.cc_climacell_fire_index
min: 0
max: 5
low: 1
high: 3
air_quality:
pm25: sensor.cc_climacell_pm25
pm10: sensor.cc_climacell_pm10
o3: sensor.cc_climacell_o3
co: sensor.cc_climacell_co
epa_aqi: sensor.cc_climacell_epa_aqi
epa_health_concern: sensor.cc_climacell_epa_health_concern
# epa_primary_pollutant: sensor.climacell_epa_primary_pollutant
no2: sensor.cc_climacell_no2
so2: sensor.cc_climacell_so2
alert:
fire_risk:
entity: sensor.cc_climacell_fire_index
icon: mdi:campfire
min: 1
max: 100
show_if_ge: 1
thunderstorms_risk:
entity: binary_sensor.dpc_avezzano_temporali_oggi
# show_if_on: false
hydraulic_risk:
entity: binary_sensor.dpc_avezzano_idraulico_oggi
hydrogeological_risk:
entity: binary_sensor.dpc_avezzano_idrogeologico_oggi
weather:
icons_model: climacell
current:
sun: sun.sun
moon_phase: sensor.cc_climacell_moon_phase
current_conditions: sensor.cc_climacell_weather_condition
humidity: sensor.cc_climacell_humidity_percentage
pressure: sensor.cc_climacell_barometric_pressure
temperature: sensor.cc_climacell_temperature
visibility: sensor.cc_climacell_visibility
wind_bearing: sensor.cc_climacell_wind_direction
wind_speed: sensor.cc_climacell_wind_speed
precipitation: cc_sensor.climacell_precipitation
feels_like: sensor.cc_climacell_feels_like
forecast: true
forecast:
meteogram: camera.climacell_meoteogram
icons:
day_1: sensor.cc_climacell_weather_condition_1d
day_2: sensor.cc_climacell_weather_condition_2d
day_3: sensor.cc_climacell_weather_condition_3d
day_4: sensor.cc_climacell_weather_condition_4d
day_5: sensor.cc_climacell_weather_condition_5d
temperature_high:
day_1: sensor.cc_climacell_temperature_max_1d
day_2: sensor.cc_climacell_temperature_max_2d
day_3: sensor.cc_climacell_temperature_max_3d
day_4: sensor.cc_climacell_temperature_max_4d
day_5: sensor.cc_climacell_temperature_max_5d
temperature_low:
day_1: sensor.cc_climacell_temperature_min_1d
day_2: sensor.cc_climacell_temperature_min_2d
day_3: sensor.cc_climacell_temperature_min_3d
day_4: sensor.cc_climacell_temperature_min_4d
day_5: sensor.cc_climacell_temperature_min_5d
precipitation_probability:
day_1: sensor.cc_climacell_precipitation_probability_1d
day_2: sensor.cc_climacell_precipitation_probability_2d
day_3: sensor.cc_climacell_precipitation_probability_3d
day_4: sensor.cc_climacell_precipitation_probability_4d
day_5: sensor.cc_climacell_precipitation_probability_5d
precipitation_intensity:
day_1: sensor.cc_climacell_precipitation_max_1d
day_2: sensor.cc_climacell_precipitation_max_2d
day_3: sensor.cc_climacell_precipitation_max_3d
day_4: sensor.cc_climacell_precipitation_max_4d
day_5: sensor.cc_climacell_precipitation_max_5d
No, mi spiace, ma forse non sono riuscito a farmi capire. I sensori del forecast NON vengono creati dal component. Gli unici sensori creati sono questi:
Come vedi non ci sono sensori per il forecast.
Se controlli la configurazione dei sensori nel mio primo post vedrai che ho inserito tutto correttamente (sia realtime che daily, hourly e nowcast) ma se li metto tutti e tre NESSUN sensore viene creato mentre se uso solo realtime ho i sensori sopra mostrati.
Ok finally good news !!!! Sono finalmente riuscito ad ottenere tutti i sensori inserendo sempre (anche se i docs dicono sia opzionale) _forecastobservations. Ora potresti spiegarmi come utilizzare in forecast anche gli altri dati disponibili come visibilità, copertura nuvole, rischio stradale etc.? Basta creare un'altra card ? Hai degli esempi? Comunque grande lavoro!!!
how about realtime conditions , i couldn't make it work
how about realtime conditions , i couldn't make it work
Here it is my config about realtime:
monitored_conditions:
realtime:
conditions:
- weather_condition
- temperature
- feels_like
- humidity
- visibility
- cloud_cover
- cloud_base
- cloud_ceiling
- surface_shortwave_radiation
- precipitation
- precipitation_type
- pressure
- wind_speed
- wind_direction
- wind_gust
- moon_phase
- sunset
- sunrise
- pm25
- pm10
- o3
- co
- so2
- no2
- epa_aqi
- epa_health_concern
- pollen_tree
- pollen_weed
- pollen_grass
- road_risk_score
- road_risk_confidence
- road_risk_conditions
- fire_index
update: auto
scan_interval:
days: 0
hours: 2
minutes: 0
seconds: 0
milliseconds: 0
exclude_interval:
1:
- "23:30"
- "06:00"
Hi There, My issue is solved. not sure how but all my sensors got renamed with cccc prefixes on them. Thanks
On my side, after updating to the latest release i have many sensors doubled with _2 added to them and, more, almost all sensors are unavailable. What happened????
let me see, put here the component logs. the latest releases contain only a small bug fix for FORECAST_OBSERVATIONS.
After a restart the sensors are here again, but why i have doubled some sensors? And i noticed also the max and min temperature and precipitation are not anymore created... what you changed here? EDIT: the name of the sensors about max and min temperature is changed. Now the min temperature has _2 appended. About precipitation it is changed to accumulation. Right?
Hi, can you check again with the new release?
Thanks, Renato
Now back to the old names... And now i have both accumulation and precipitation_max. Can you tell me which is the difference between precipitation_max and precipitation_accumulation? Which one to use in forecast ?
I just updated to the latest release, made the changes accordingly to the docs and created the sensors in this way:
But after a restart i have NO sensors created and the HA log doesn't show any errors.... Where i am wrong?