All Projects → foosel → homeassistant-coronavirus-hessen

foosel / homeassistant-coronavirus-hessen

Licence: Apache-2.0 license
[Unmaintained] Home Assistant component to scrape the current SARS-CoV-2 data for the German state of Hessen from the website of the Hessisches Ministerium für Soziales und Integration.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to homeassistant-coronavirus-hessen

midea-ac-py
This is a library to allow communicating to a Midea appliance via the Midea cloud.
Stars: ✭ 72 (+380%)
Mutual labels:  homeassistant, hacs
home-assistant-omnik-inverter
Read the current, daily and total Wh from your Omnik Inverter via local network (no cloud!)
Stars: ✭ 45 (+200%)
Mutual labels:  homeassistant, hacs
Mozdef
DEPRECATED - MozDef: Mozilla Enterprise Defense Platform
Stars: ✭ 2,164 (+14326.67%)
Mutual labels:  abandoned, unmaintained
charger-card
A lovelace card for electrical vehicle (EV) home chargers and charging robots.
Stars: ✭ 57 (+280%)
Mutual labels:  homeassistant, hacs
HomeAssistant-Cupertino-Icons
Apple SF Symbols icons for Home Assistant! (3000+ icons)
Stars: ✭ 100 (+566.67%)
Mutual labels:  homeassistant, hacs
Gaia
DEPRECATED - Gaia is a HTML5-based Phone UI for the Boot 2 Gecko Project. NOTE: For details of what branches are used for what releases, see
Stars: ✭ 2,091 (+13840%)
Mutual labels:  abandoned, unmaintained
home-assistant-p2000
🚒 This component tracks P2000 emergency events in The Netherlands.
Stars: ✭ 45 (+200%)
Mutual labels:  homeassistant, hacs
web-forward
DEPRECATED - Innovation acceleration program from Mozilla Labs
Stars: ✭ 17 (+13.33%)
Mutual labels:  abandoned, unmaintained
custom-brand-icons
Custom brand icons for Home Assistant
Stars: ✭ 242 (+1513.33%)
Mutual labels:  homeassistant, hacs
home-assistant-miele
Miele integration for Home assistant
Stars: ✭ 101 (+573.33%)
Mutual labels:  homeassistant, hacs
home-assistant-theme-outline
🎨 Home Assistant Theme: Outline
Stars: ✭ 20 (+33.33%)
Mutual labels:  homeassistant, hacs
Hasal
DEPRECATED - A Framework for testing web performance between different browser
Stars: ✭ 30 (+100%)
Mutual labels:  abandoned, unmaintained
elmo
DEPRECATED - Elmo ~ https://mozilla.github.io/elmo/
Stars: ✭ 32 (+113.33%)
Mutual labels:  abandoned, unmaintained
ha-sengledapi
Home Assistant Integration for Sengled Bulbs. This is a custom component to allow control of Sengled Bulbs in Homeassistant using the unofficial Sengled API. Please note this mimics the Sengled app and therefore Sengled may cut off access at anytime.
Stars: ✭ 85 (+466.67%)
Mutual labels:  homeassistant, hacs
rescuefox
DEPRECATED - demo game to drive 3D engine creation: rescue your pet space fox!
Stars: ✭ 35 (+133.33%)
Mutual labels:  abandoned, unmaintained
thermal
Thermal Vision Sensor and Camera for Home Assistant
Stars: ✭ 43 (+186.67%)
Mutual labels:  homeassistant, hacs
page-metadata-service
DEPRECATED - A RESTful service that returns the metadata about a given URL.
Stars: ✭ 18 (+20%)
Mutual labels:  abandoned, unmaintained
rilproxy
DEPRECATED
Stars: ✭ 21 (+40%)
Mutual labels:  abandoned, unmaintained
home assistant omnik solar
Home Assistant Omnik Solar sensor component
Stars: ✭ 15 (+0%)
Mutual labels:  homeassistant, home-assistant-component
homeassistant-jlrincontrol
An integration for JLR InControl to Home Assistant
Stars: ✭ 34 (+126.67%)
Mutual labels:  homeassistant, hacs

Unmaintained and replaced

Having to constantly adapt to changes in the scraped HTML structure got annoying when there are better options available now. Thus, as of November 2021 I've replaced this integration in my own setup with a bunch of RESTful sensors utilizing the excellent rki-covid-api by @marlon360 as available on api.corona-zahlen.org.

Take a look at Migration if you want to do the same switch.

Coronavirus Hessen

Home Assistant component to scrape the current SARS-CoV-2 data for the German state of Hessen from the website of the Hessisches Ministerium für Soziales und Integration.

Screenshot of an example configuration using the integration

For a look-and-feel as displayed in the screenshot above you'll need to install lovelace-multiple-entity-row (available on HACS), create a bunch of sensors and then use a configuration similar to this for each sensor:

- type: custom:multiple-entity-row
  entity: sensor.coronavirus_hessen
  entities:
    - attribute: cases
      name: Cases
    - attribute: deaths
      name: Deaths
    - attribute: incidence
      name: Incidence
  show_state: false
  icon: 'mdi:biohazard'
  name: Hessen
  secondary_info: last-changed

Setup

There are two ways to set this up:

1. Using HACS

Open your HACS Settings and add

https://github.com/foosel/homeassistant-coronavirus-hessen

as custom repository URL.

Then install the "Coronavirus Hessen" integration.

If you use this method, your component will always update to the latest version.

2. Manual

Copy the folder custom_components/coronavirus_hessen to <ha_config_dir>/custom_components/. When you are done you should have <ha_config_dir>/custom_components/coronavirus_hessen/__init__.py, <ha_config_dir>/custom_components/coronavirus_hessen/sensor.py and so on.

If you use this method then you'll need to keep an eye on this repository to check for updates.

Configuration

In Home Assistant:

  1. Enter configuration menu
  2. Select "Integrations"
  3. Click the "+" in the bottom right
  4. Choose "Coronavirus Hessen"
  5. Choose the county you wish to monitor (or "Gesamthessen" for all of Hessen)
  6. Save

Services

The integration offers one servce, coronavirus_hessen.refresh, which you may use to manually refresh the data from the web. It takes no arguments.

TODO

  • Find out why the created sensors don't show up in the integration overview
  • Find out if there's a possibility to select more than one county during configuration to have all created sensors under one integration entry
  • Make this thing work with HACS for easier installation/updating

This is my first integration for Home Assistant ever and I basically learned how to even begin to do this stuff while writing this. I'm happy for any pointers as to how to improve things.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].