Customising the BOM Weather and lovelace - now in HACS

How did you configure it?
Did you download it in HACS and restart HA?
Is it after restart you see that error?
@BrendanMoran any ideas?

First of all, Iā€™m completely clueless about any programing so I try to always follow what is written :slight_smile:
I have installed yours from HACS, than I realized that I need Brendan one as well so i did the same (HACS), than integration (longitude and latitude) and I could see it in my integrations with my location but I could not see any new sensors (developer tool/entities). In hacs I could see that there is new version for Brendanā€™s component so I have updated and since than (after restart) Iā€™m getting that message.

Very strange error, not sure what it could be at this stage, please raise an issues here so I can take a closer look:

In the meantime I would suggest uninstalling, rebooting, reinstalling and rebooting

1 Like

Ok, apologies but need help again. Fixed the problem with bureau of meteorology, that is working now. I have your icons, your component installed, weather.yaml in packages folder, all my sensor seem to be ok but I can not get the icons to show and cant figure out why

weather

Hard browser refresh? Ctrl + f5?

Nope, no icons. Going nuts from this for last 2 days ā€¦

Can you show a screenshot of the directory structure with the icons. You donā€™t have them in the correct place is my guess. My github shows the required locations reasonably clearly.

The icons directory should be in www NOT community so move it up one level.

damn, thank you heaps, if I may point to your pic on github, The first section (HACS install) which I was looking at, has it that it is in community folder, I only noticed now that the folder structure for manual install has it in www folder.

Doh! Iā€™m going to plead the 5th on this oneā€¦ it was fine in Github Desktop but hadnā€™t been replicated or something went awry. Thanks for pointing that out. Itā€™s fixed now.

Thank you for all the help. I was checking and re-checking, copy pasting the names of the folders and didnā€™t notice that the manual install has different folder structure until you pointed out that in needs to be in www :slight_smile:

1 Like

I re installed everything as per the github (manual install) for 0.118 and I can not get the card to show up (the 6 day forecast). I have all the sensor data up.

Just the card does not display. In the logs i get

Logger: frontend.js.latest.202011112
Source: components/system_log/__init__.py:193
First occurred: 10:52:01 AM (3 occurrences)
Last logged: 11:00:25 AM

http://x.x.x.x:8123/local/bom-weather-card.js?v=0.1:789:14 Uncaught TypeError: Cannot read property 'childElementCount' of null

All the sensors are populated in the states. Iā€™ll keep playing around but any ideas?

As always with these issues, you re parsing a sensor to the card that doesnā€™t exist. You need to cross reference your lovelace parsed entities with dev-tools.

I have made sure all sensors have a value and they all show up in states. All of the entities exist and have data. I can add them all as entities in HA as well. I have no other issues in the log file to follow.

the dev tools show this error

</s> <s>bom-weather-card.js?v=0.1:789 Uncaught TypeError: Cannot read property 'childElementCount' of null</s> <s> at HTMLElement.updateValues (bom-weather-card.js?v=0.1:789)</s> <s> at HTMLElement.set hass [as hass] (bom-weather-card.js?v=0.1:778)</s> <s> at HTMLElement.value (chunk.cf0cfe4f7e4d6da03074.js:2858)</s> <s> at HTMLElement.value (chunk.cf0cfe4f7e4d6da03074.js:2858)</s> <s> at HTMLElement.t.addEventListener.once (chunk.cf0cfe4f7e4d6da03074.js:2858)</s> <s> at i (app.c5d13434.js:10291)</s> <s> at chunk.2c9a655d19cc27fc04b0.js:2083</s> <s>

I had to end up removing all resources and re adding them. No idea why but that worked.

hi,
ive just tried the integration using HACS: https://github.com/bremor/bureau_of_meteorology

Installed it and restarted HA.
Then went to integration and got this error:

Just wonder if anyone had similar issues?
Also does this integration have a pressure forecast for the next few days? This is the main feature im after.

No to pressure.

Thanks @DavidFW1960 !
Do you happen to know any weather forecast available in home assistant that has pressure forecast?
I tried a few and pressure is always missing i wonder why is that?

Pressure forecast! Never heard of that before, Iā€™m curious what you use it for if you donā€™t mind sharing? There is this pressure forecast chart published at bom that you might be able to create a generic camera from?
http://www.bom.gov.au/watl/pressure/index.shtml

@brendanheyu maybe not relevant but the bom have added an hourly forecast api (used by the recently updated mobile app).

https://api.weather.bom.gov.au/v1/locations/r3dnb6/forecasts/hourly