Student Techlife Student Techlife
  • Categories
    • Student Life
    • Technology
    • Home Assistant
    • 3D Printing
    • DIY
  • My House
  • My Projects
    • Home Assistant Glow
    • NIPKaart
    • Teddy Bear Hunting
    • NFC Scanner
  • Who am I?
  • Contact
0
842 Followers
165 Followers
Student Techlife Student Techlife Student Techlife
  • Categories
    • Student Life
    • Technology
    • Home Assistant
    • 3D Printing
    • DIY
  • My House
  • My Projects
    • Home Assistant Glow
    • NIPKaart
    • Teddy Bear Hunting
    • NFC Scanner
  • Who am I?
  • Contact
  • Home Assistant

First integration in Home Assistant!

  • June 2, 2021
  • Klaas Schoute

Something that was always on my todo / wish list was making my own integration, but it never happened until now! My knowledge of python is still quite basic, but I still wanted to give it a try. To start off simply, I decided to build an integration that shows the occupancy of a large number of parking garages in Amsterdam (The Netherlands).

You are probably wondering when can I use this integration? It’s available from version 2021.06!

Sensors

When you add a garage via the UI, you get 4 sensors in your overview:

  • Free space long
  • Free space short
  • Long capacity
  • Short capacity

The first 2 sensors indicate how many parking spaces are still available in the garage, the term “long” stands for spaces intended for permit, subscription holders or other reserved purpose. the term “short” stands for places that serve as regular paid parking space, so use that sensor to calculate whether a garage is running empty.

Currently, the data retrieval interval is set to every 10 minutes. The capacity sensors are fixed values and indicate the maximum capacity of a garage for the specific type of: “long” or “short”.

Not all garages keep data for long-term parking, in that case entities are only created for short-term parking.

Binary sensor

In addition, there is also a binary sensor, which has a data class for warning. You might think that this sensor indicates whether a garage is closed, unfortunately that is not the case. With an “OK” state, the data provision for a parking garage works fine, when it states “Problem” then there is a problem in the information provision of the municipality, for that particular garage.


This of course tastes like more, it won’t be my last! If you have any nice ideas that I can also integrate, please let me know, the preference is still with open data APIs

Share
Tweet
Share
Klaas Schoute

Interaction technology (UX/UI) student who loves home automation, drones, open source projects and likes to take you on his adventure to the perfect smart student house.

Related Topics
  • amsterdam
  • garages
  • Home Assistant
  • integration
Previous Article
  • DIY
  • Home Assistant

Blitzwolf LT11 with ESPHome

  • March 11, 2021
  • Klaas Schoute
View Post
Next Article
  • College
  • Home Assistant
  • Student Life

It’s a long time ago

  • June 3, 2022
  • Klaas Schoute
View Post
You May Also Like
View Post
  • Home Assistant
  • Integration

easyEnergy market prices with new integration in Home Assistant

  • Klaas Schoute
  • February 26, 2023
View Post
  • Home Assistant
  • Integration

EnergyZero market prices with new integration in Home Assistant

  • Klaas Schoute
  • January 11, 2023
View Post
  • College
  • Home Assistant
  • Student Life

It’s a long time ago

  • Klaas Schoute
  • June 3, 2022
View Post
  • DIY
  • Home Assistant

Blitzwolf LT11 with ESPHome

  • Klaas Schoute
  • March 11, 2021
Green light in the bathroom
View Post
  • Home Assistant
  • Student Life

How I save water while showering🚿

  • Klaas Schoute
  • December 25, 2020
View Post
  • Home Assistant
  • Student Life
  • Technology

Is this going to be the future?

  • Klaas Schoute
  • November 4, 2020
View Post
  • Home Assistant
  • Student Life
  • Technology

Hello? What is your emergency? 🆘

  • Klaas Schoute
  • February 12, 2020
View Post
  • College
  • Home Assistant
  • Student Life
  • Technology

My cookingplate died 🍳

  • Klaas Schoute
  • December 30, 2019

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Author
Klaas Schoute
Interaction technology (UX/UI) student who loves home automation, drones, open source projects and likes to take you on his adventure to the perfect smart student house.
Recent Posts
  • easyEnergy market prices with new integration in Home Assistant February 26, 2023
  • EnergyZero market prices with new integration in Home Assistant January 11, 2023
  • Let’s contribute! Hacktoberfest 2022 October 2, 2022
  • 🅿️ NIPKaart project update August 22, 2022
  • It’s a long time ago June 3, 2022
Instagram
klaasnicolaas
When the weekend is almost over 😥
Iedereen een gelukkig nieuwjaar! 🥂
Finally received my @chonkerkeys last week, now online meetings are even more fun! 😁
Wauw wat een mooie show! Als je nog niet geweest moet je zeker gaan, kan nog t/m december 2022 (is alweer verlengd). #soldaatvanoranje #valkenburg #theaterhangaar
Follow


Student Techlife Student Techlife
  • Categories
  • My House
  • My Projects
  • Who am I?
  • Contact
Make a student life smarter

Input your search keywords and press Enter.