viktak / ha-cc-openweathermap_all Goto Github PK
View Code? Open in Web Editor NEWHome Assistant custom component combining multiple OpenWeatherMap API calls
License: GNU General Public License v3.0
Home Assistant custom component combining multiple OpenWeatherMap API calls
License: GNU General Public License v3.0
Super useful integration, thanks for that! Is there somewhere (haven't found it yet...) minimum and maximum values plus a rating for the two index sensors "sensor.owm_pollution_overall_air_quality" and "sensor.owm_ultraviolet_index" ?
Thanks and best regards,
Thomas
Hello -
How do I limit the number of API calls? I use OW on my Lovelace dashboard and don't need to use 1,000 calls per day.
Thank you in advance,
n.
sorry viktak, don't know how to communicate with you... can you publish the source of those beautiful mini-graph card? Tryed to configure but don't know how to obtain min/max info groups
Thank you
Can you share the YAML code you used to create your mini-graph-cards? Love the design and would like to mimic.
Hi, OpenWeather sent a mail with this text.
I suppose that >1000 calls per day are a lot (for my purpose)
It is normal? How I can solve? Where is possible to limit the calls to (i.e.) 3 per hour?
One Call API usage alert
Dear Customer!
Thank you for choosing OpenWeather!
We have noticed that your account is currently using One Call API quite intensively and exceed the account limit of 1000 calls per day.
[cut]
thanks a lot
Marco alias Kamm0r
In the integration in HACS, the screenshot is broken
All the sensors seem to be working fine except for OWM Ultraviolet index.
I constantly get a value of -1 for this sensor.
Is this a problem on the add-on? Or have they changed the OWM API to not give this information?
Thanks a lot for that great feature :-) I just see that openweather also offers forcast, but how to show it in Lovelace Mini Graph Card? Any hints?
Hi,
I have found this openweather project on github developed by you, and I am looking for a similar software, so was wondering if you could help me or I could hire you for it - you can share it on github after as well.
basically I have a list of API request strings ( about a 1000 - currently in excel- but format doesnt matter ) for openweather one call and pollution forecast for different geographic coordinates. What i would like to get is a soft which would pull say 20 or 40 of those (chosen by me each time) simultaneously and I would see forecast data plus pollution forecast data hourly for each coordinates for the next 5 hours. It would save me a bunch of time compared to copy and paste API requests into browser one by one.
Do you think its relatively easy to do?
thank you in advance,
604-4408007
Serge
There are https://openweathermap.org/api some changes introduced last year.
Seems like this plugin has not been updated for a long period.
I am probably doing something stupid as I am new to Homeassistant.
I have installed your integration and entered my location and API into configuration.yaml.
But nothing has changed, I can not see any new sensors.
I have the other openweather integration which gives the weather working perfectly
i installed via hacs and created the config
# Open Weathermap All
sensor:
- platform: openweathermap_all
api_key: !secret openweather
latitude: xx.xxxxxxx
longitude: x.xxxxxxx
and restarted but no entities are created
I too LOVE that mini-graph-card -- use it for just about everything.
Would be willing to share your yaml you used in the screenshot?
Hello, I would like to share some resources I used to configure graphs
You could include it in examples, or maybe create a wiki and include my shared materials alongside yours, in a "Users examples" section
Safety boundaries: https://www.airnow.gov/sites/default/files/2020-05/aqi-technical-assistance-document-sept2018.pdf
Conversion from ppb: https://www2.dmu.dk/atmosphericenvironment/expost/database/docs/ppm_conversion.pdf
For ppm just multiply the value by coefficient, then by 1000 (as far as I get it right)
views:
- theme: Google Dark Theme
title: AQI
path: aqi
subview: true
icon: mdi:air-filter
type: custom:horizontal-layout
badges: []
cards:
- show_current: true
show_forecast: false
type: weather-forecast
entity: weather.home_assistant
name: Weather summary
secondary_info_attribute: wind_speed
theme: Google Dark Theme
- type: vertical-stack
cards:
- type: horizontal-stack
cards:
- type: custom:mini-graph-card
show:
extrema: true
hours_to_show: 8
points_per_hour: 1
min_bound_range: 2
entities:
- entity: sensor.owm_pollution_coarse_particles_pm10
name: PM10
show_state: true
show_indicator: true
state_adaptive_color: true
color_thresholds:
- value: 0
color: '#a8eb34'
- value: 54
color: '#ebc334'
- value: 154
color: '#eb7734'
- value: 254
color: '#eb3434'
- value: 354
color: '#7734eb'
- value: 424
color: '#eb3458'
- value: 504
color: '#7e0024'
- type: custom:mini-graph-card
show:
extrema: true
hours_to_show: 8
points_per_hour: 1
min_bound_range: 2
entities:
- entity: sensor.owm_pollution_fine_particles_pm2_5
name: PM2.5
show_state: true
show_indicator: true
state_adaptive_color: true
color_thresholds:
- value: 0
color: '#a8eb34'
- value: 12
color: '#ebc334'
- value: 35.4
color: '#eb7734'
- value: 55.4
color: '#eb3434'
- value: 150.4
color: '#7734eb'
- value: 250.4
color: '#eb3458'
- value: 350.4
color: '#7e0024'
- type: custom:collapsable-cards
title: Pollutants info
cards:
- type: markdown
content: >-
**10μm Particulate Matter**
Fly Ash, Dust (Settling, Cement), Mould Spores, Pollen
**2.5μm Particulate Matter**
Settling Dust, Fly Ash, Oil Smoke, Mould Spores, Dust Mite
Allergens, Bacteria, Other Allergens
- type: vertical-stack
cards:
- type: horizontal-stack
cards:
- type: custom:mini-graph-card
show:
extrema: true
hours_to_show: 8
points_per_hour: 1
min_bound_range: 0.5
entities:
- entity: sensor.owm_pollution_ammonia_nh3
name: Ammonia (NH3)
show_state: true
show_indicator: true
state_adaptive_color: true
color_thresholds:
- value: 0
color: '#a8eb34'
- value: 5
color: '#ebc334'
- value: 15
color: '#eb7734'
- value: 50
color: '#eb3434'
- value: 100
color: '#7734eb'
- value: 150
color: '#eb3458'
- value: 200
color: '#7e0024'
- type: custom:mini-graph-card
show:
extrema: true
hours_to_show: 8
points_per_hour: 1
min_bound_range: 5
entities:
- entity: sensor.owm_pollution_carbon_monoxide_co
name: Carbon monoxide (CO)
show_state: true
show_indicator: true
state_adaptive_color: true
color_thresholds:
- value: 0
color: '#a8eb34'
- value: 5038
color: '#ebc334'
- value: 10763
color: '#eb7734'
- value: 14198
color: '#eb3434'
- value: 17633
color: '#7734eb'
- value: 34808
color: '#eb3458'
- value: 46258
color: '#7e0024'
- type: custom:collapsable-cards
title: Pollutants info
cards:
- type: markdown
content: >-
The toxicity of **ammonia** solutions does not usually cause
problems for humans and other mammals, as a specific mechanism
exists to prevent its build-up in the bloodstream.
**Carbon monoxide** poisoning is the most common type of fatal
air poisoning. It is relatively undetectable. 667k μg/m3 may
cause up to 50% of the body's hemoglobin to convert to
carboxyhemoglobin, which may result in seizure, coma, and
fatality.
- type: vertical-stack
cards:
- type: horizontal-stack
cards:
- type: custom:mini-graph-card
show:
extrema: true
hours_to_show: 8
points_per_hour: 1
min_bound_range: 2
entities:
- entity: sensor.owm_pollution_sulphur_dioxide_so2
name: Sulphur Dioxide (SO2)
show_state: true
show_indicator: true
state_adaptive_color: true
color_thresholds:
- value: 0
color: '#a8eb34'
- value: 91.7
color: '#ebc334'
- value: 196.5
color: '#eb7734'
- value: 484.7
color: '#eb3434'
- value: 796.48
color: '#7734eb'
- value: 1582.48
color: '#eb3458'
- value: 2106.48
color: '#7e0024'
- type: custom:mini-graph-card
show:
extrema: true
hours_to_show: 8
points_per_hour: 1
min_bound_range: 2
entities:
- entity: sensor.owm_pollution_nitrogen_dioxide_no2
name: Nitrogen Dioxide (NO2)
show_state: true
show_indicator: true
state_adaptive_color: true
color_thresholds:
- value: 0
color: '#a8eb34'
- value: 99.64
color: '#ebc334'
- value: 188
color: '#eb7734'
- value: 676.8
color: '#eb3434'
- value: 1220.12
color: '#7734eb'
- value: 2348.12
color: '#eb3458'
- value: 3100.12
color: '#7e0024'
- type: custom:collapsable-cards
title: Pollutants info
cards:
- type: markdown
content: >-
**Sulfur dioxide** can damage trees and plants, inhibit plant
growth, and damage sensitive ecosystems and waterways. It also
can contribute to respiratory illness and aggravate existing
heart and lung conditions.
Breathing air with a high concentration of **NO2** can
irritate airways in the human respiratory system. Such
exposures over short periods can aggravate respiratory
diseases, particularly asthma, leading to respiratory symptoms
(such as coughing, wheezing or difficulty breathing)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.