Code Monkey home page Code Monkey logo

hacs_test's Introduction

Min Renovasjon

hacs_badge

Home Assistant integration of the norwegian Min Renovasjon app.

Installation

Under HACS -> Integrations, add custom repository "https://github.com/eyesoft/home_assistant_min_renovasjon/" with Category "Integration". Select the newly added integration named "Min renovasjon" and install it.

Configuration

To enable the use of Min Renovasjon in your installation, add the following to your configuration.yaml file:

min_renovasjon:
  street_name: "Min gate"
  house_no: "12"
  street_code: "12345"
  county_id: "1234"
  date_format: "None"
  • street_name (string) (Requred): The name of the street without house number, e.g. "Slottsplassen".
  • house_no (string) (Requred): The number of the house, e.g. "1".
  • street_code (string) (Requred): Can be found with REST-API call.
  • county_id (string) (Requred): Can be found with REST-API call.
  • date_format (string) (Requred): Defaults to "%d/%m/%Y" if not specified. If set to "None" no formatting of the date is performed.

REST-API call to fetch street_code and county_id:

https://ws.geonorge.no/adresser/v1/#/default/get_sok
https://ws.geonorge.no/adresser/v1/sok?sok=Min%20Gate%2012

"street_code" equals to "adressekode" and "county_id" equals to "kommunenummer".

Fraction sensors

One sensor will be added for each fraction specified in your configuration.yaml file.

sensor:
  - platform: min_renovasjon
    fraction_id:
      - 1
      - 2
      - 3
      - 19

fraction_id (int)(Required): One or more fractions for which a sensor is to be set up. ID's might be different depending on county. Turn on debug logging in Home Asstistant to log the list of fractions (https://www.home-assistant.io/components/logger/).

1: Restavfall
2: Papir
3: Matavfall
4: Glass/Metallemballasje
5: Drikkekartonger
6: Spesialavfall
8: Trevirke
9: Tekstiler
10: Hageavfall
11: Metaller
12: Hvitevarer/EE-avfall
13: Papp
14: Møbler
19: Plastemballasje
23: Nedgravd løsning
24: GlassIGLO
25: Farlig avfall
26: Matavfall hytter
27: Restavfall hytter  
28: Papir hytter

hacs_test's People

Contributors

eyesoft avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.