bachya / alerts.home-assistant.io

Home Assistant Alerts

Home Page:https://alerts.home-assistant.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Home Assistant Alerts

Home Assistant Alerts is a database of alerts for Home Assistant users. Alerts will be able to be tied to integrations, Python versions, Python packages or operating systems.

The goal will be to integrate this into Home Assistant so that users can subscribe to alerts that impact their installation. It will also function as a standalone website too.

Development

Install dependencies using yarn. Then run script/develop. Dev environment will be available on http://localhost:5000 and at http://localhost:5000/demo_alert_link.html.

Alert metadata

Alerts can have the following meta data:

Created (required)

When the alert was created.

Updated (optional)

When the alert was updated.

Home Assistant (required)

Home Assistant versions impacted.

GitHub issue (optional)

URL of a relevant GitHub issue.

Integrations (optional)

List of impacted integrations combined with version ranges.

Python packages (optional)

List of impacted Python packages combined with version ranges.

Deployment

Deployment is done with script/deploy. It will build the app and sync it to an s3 bucket.

The s3 bucket needs to be configured for static website hosting with default page index.html.

Under Permissions -> CORS Configuration, add the following:

<CORSConfiguration>
  <CORSRule>
    <AllowedOrigin>*</AllowedOrigin>
    <AllowedMethod>GET</AllowedMethod>
  </CORSRule>
</CORSConfiguration>

About

Home Assistant Alerts

https://alerts.home-assistant.io


Languages

Language:TypeScript 84.5%Language:JavaScript 15.5%