Comments (9)
No worries, leave it with me 👍
What was the format of the sensor state on the old platform? Was it for example “sunny” or “mdi:sunny”
from bureau_of_meteorology.
mdi icons added in v0.7
from bureau_of_meteorology.
+1! Great integration.
I use Dark Sky for the icon's and would love to make the switch as my tileboard doesn't show anything when using this integrations icon:
from bureau_of_meteorology.
Awesome. It was the latter: “mdi:sunny”.
from bureau_of_meteorology.
I'm working on this now guys, I need to create a "map", to map BOMs values to MDI Icons, so far I have the below. If you could please help up by letting me know what BOM icons you have come across.
MDI_ICON_MAP = {
"cloudy": "mdi:weather-cloudy",
"light_shower": "mdi:weather-partly-rainy",
"sunny": "mdi:weather-sunny",
"windy": "mdi:weather-windy",
}
from bureau_of_meteorology.
Someone asked me for these in the old ftp component but I couldn't get it to use a variable mapping. The numbers are the BOM available conditions
ICON_MAPPING = {
'1': 'mdi:weather-sunny',
'2': 'mdi:weather-night',
'3': 'mdi:weather-partly-cloudy',
'4': 'mdi:weather-cloudy',
'6': 'mdi:weather-sunset',
'8': 'mdi:weather-partly-rainy',
'9': 'mdi:weather-windy',
'10': 'mdi:weather-sunset',
'11': 'mdi:weather-rainy',
'12': 'mdi:weather-pouring',
'13': 'mdi:weather-sunset',
'14': 'mdi:snowflake-melt',
'15': 'mdi:weather-snowy',
'16': 'mdi:weather-lightning',
'17': 'mdi:weather-light-showers',
'18': 'mdi:weather-pouring',
'19': 'mdi:weather-hurricane'
}
from bureau_of_meteorology.
And here are all the possible values for the new BOM API, fortunately the numbers match up with the FTP component.
sunny=1
clear=2
partly_cloudy=3
cloudy=4
mostly_sunny=5
haze=6
hazy=6
light_rain=8
wind=9
windy=9
fog=10
shower=11
showers=11
rain=12
dust=13
dusty=13
frost=14
snow=15
storm=16
storms=16
light_shower=17
light_showers=17
heavy_shower=18
heavy_showers=18
tropical_cyclone=19
cyclone=19
from bureau_of_meteorology.
yeah. They are published by BOM in a doc I found
from bureau_of_meteorology.
Sensational - thanks @bremor.
from bureau_of_meteorology.
Related Issues (20)
- Not available via Integrations. HOT 2
- Hourly forecast card not showing times HOT 13
- Failure to load location HOT 13
- Integration won't load - Can't config location. HOT 32
- Stopped working, “Unsupported Lat/Lon” HOT 3
- Unsupported Lat/Lon warning HOT 2
- Home assistant 2023.8.3 - fails to load HOT 1
- Unsupported Lat Lon HOT 1
- Can't install update HOT 9
- Read first: deprecated forecast - HA 2023.9 HOT 14
- Unsupported Lat/Lon HOT 1
- Feature Request - add tide data to the integration HOT 1
- does anyone find that this integration can take ages to start up sometimes? HOT 1
- Setup returns "Unsupported Lat/Lon" HOT 5
- Forecast temperature min for today becomes null HOT 4
- depricated weather forecast HOT 5
- [ Feature Request ] HOT 1
- Fire danger rating / fire behaviour index HOT 1
- 1.2.0 - Regular failure to initialise on HA 2023.10.3 HOT 1
- The bureau_of_meteorology custom integration is using deprecated weather forecast HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bureau_of_meteorology.