viktak / ha-cc-openweathermap_all

Home Assistant custom component combining multiple OpenWeatherMap API calls
GNU General Public License v3.0
22 stars 2 forks source link

[EXAMPLE] References for defining AQI graphs bounds and color transitions #13

Closed dimankiev closed 1 year ago

dimankiev commented 1 year ago

Example configuration

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 image

Custom components

viktak commented 1 year ago

Thank you for your samples. I really like the collapsible extra info - Why didn't I think about it? :) Anyway, due to lack of time to create a wiki, I added a link to this page so people can easily find it. Thank you for contributing!

dimankiev commented 1 year ago

Adding outdoor air quality whitepaper as reference for safety boundaries https://www.renesas.com/us/en/document/whp/outdoor-air-quality-white-paper And international limit values search form https://limitvalue.ifa.dguv.de/WebForm_gw2.aspx

xox-ua commented 7 months ago

зображення_2024-03-18_001046682 No creates charts. :(

viktak commented 7 months ago
image

@xox-ua yes creates charts :)

First of all, you should provide a bit more details on what/how you are trying to achieve it. Second, as long as the number are working, this component is OK and the problem leas somewhere else.

xox-ua commented 7 months ago
  1. I want to see the same beauty as yours. But with a light design.
  2. Integration works for about two days.

What do I have? Mini PC, Proxmox, HAOS, MariaDB. Code like above (from dimankiev).

Lovelace: mini-graph card lovelace-layout-card lovelace-collapsable-cards apexcharts-card

In configuration.yaml: sensor:

No errors in logs. :(

P.S. There were no errors yesterday. But today I received: "Did not get proper reply from 'onecall'" Logger: custom_components.openweathermap_all.sensor Source: custom_components/openweathermap_all/sensor.py:190 integrations: openweathermap_all

viktak commented 7 months ago

As I mentioned in the previous reply, as long as the numbers show up correctly, this component works fine. If you have a problem with the graphs, you need to look into those. Check if they are correctly installed (maybe remove it and install it again), etc.

Here is a sample of what I have:

      - type: custom:mini-graph-card
        name: Fine Particle Matter (PM2.5)
        hours_to_show: 24
        points_per_hour: 6
        hour24: true
        icon: mdi:scatter-plot
        show:
          extrema: true
        entities:
          - entity: sensor.owm_pollution_fine_particles_pm2_5

I'm afraid, I can't assist you with the graph component as I am only a fellow user of it.

xox-ua commented 7 months ago

I'm ashamed to admit, but the problem was that I forgot to add data saving into the database. :))) I added next lines to "include" : entity_globs:

viktak commented 7 months ago

:) No worries - it happens to all of us :) Glad it worked out!!

SofaKingCoder commented 1 month ago

Is Open Weather All module still working for you? Tried HACS install, it fails. Tried manual install, won’t load.

viktak commented 1 month ago

Yepp, see attached image: image

dimankiev commented 1 month ago

@viktak I suggest closing this issue thread for any future replies. The reason is simple: If something related to your plugin doesn't work - people should create a new issue 😅

I'll try to attach links to repositories of used plugins in case anyone would like to report issues with any of them but actually your ones.

This issue serves one role: example of usage 🫠

viktak commented 1 month ago

@dimankiev Locked, thank you for your input!