https://github.com/zubir2k/homeassistantmetmalaysia
⛅ Weather forecast integration from Malaysian Meteorological Department (MET)
https://github.com/zubir2k/homeassistantmetmalaysia
home-assistant homeassistant integration malaysia metmalaysia weather windy wttrin yaml
Last synced: 6 months ago
JSON representation
⛅ Weather forecast integration from Malaysian Meteorological Department (MET)
- Host: GitHub
- URL: https://github.com/zubir2k/homeassistantmetmalaysia
- Owner: zubir2k
- License: unlicense
- Created: 2021-09-20T17:59:09.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2025-01-01T01:29:05.000Z (10 months ago)
- Last Synced: 2025-05-06T18:15:08.460Z (6 months ago)
- Topics: home-assistant, homeassistant, integration, malaysia, metmalaysia, weather, windy, wttrin, yaml
- Homepage:
- Size: 60.5 KB
- Stars: 9
- Watchers: 2
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
 \

[](https://zbrj.ml/buymecoffee)
> [!Tip]
> Home Assistant Integration is available as a successor to this template. \
> [https://github.com/zubir2k/homeassistant-malaysiaweather](https://github.com/zubir2k/homeassistant-malaysiaweather)
Weather forecast from Malaysia Meteorological Department (MET) API.\
Please register and obtain METToken from [https://api.met.gov.my/](https://api.met.gov.my/)
### What's New
- 2 Weather entity: weekly and current day
- Location code is now available as dropdown list.
- METToken number is now defined in `secrets.yaml`
- Satellite imagery can be selected from a dropdown list.
- Included satellite imagery from [Windy](https://windy.com)
- Added sensors from [wttr.in](https://wttr.in)
## Installation
### 1. Copy all files
- Browse into your Home Assistant directory and paste all files into `\config`.
### 2. Add your METToken to [secrets.yaml](secrets.yaml)
- Add the following line into the secret yaml file. (**IMPORTANT**: replace below with your acquired METToken)
```yaml
metmalaysia: METToken 1234567890abcdefghijklmnopqrstuvwxyz1234
```
### 3. Enable package in [configuration.yaml](configuration.yaml)
- Add the following line into the config file
```yaml
homeassistant:
packages: !include_dir_named HAMY/
```
- Restart Home Assistant to take effect.
### 4. Dashboard [lovelace-ui.yaml](lovelace-ui.yaml)
- Add new card, scroll at the bottom and choose Manual.
- Copy & paste the YAML respectively.
### 5. Configuration
- Select location from the drop down list
- Select the satellite imagery \
[It may take a while for the sensor to fully update]
## Automation Ideas
- Idea #1: Prompt/notify to take your laundry if its going to rain.
- Idea #2: Send reminder on today's weather before going out.
- Feel free to apply any automation from these sensors
### Example output

### Special Thanks
- [Bro Anas](https://github.com/anas-ivs) for pointing out MET API
- [MET Malaysia](https://www.met.gov.my/)
- [HomeAssistantMalaysia](https://www.facebook.com/groups/homeassistantmalaysia)