Skip to content

This custom integration retrieves data from Dom 5 - housing cooperative management system.

License

Notifications You must be signed in to change notification settings

PiotrMachowski/Home-Assistant-custom-components-Dom-5

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HACS Custom GitHub Latest Release GitHub All Releases Ko-Fi buycoffee.to PayPal.Me Revolut.Me

Dom 5 Sensor

This custom integration retrieves data from Dom 5 - housing cooperative management system.

Installation

Using HACS (recommended)

This integration can be added to HACS as a custom repository:

  • URL: https://github.com/PiotrMachowski/Home-Assistant-custom-components-Dom-5
  • Category: Integration

After adding a custom repository you can use HACS to install this integration using user interface.

Manual

To install this integration manually you have to download dom_5.zip and extract its contents to config/custom_components/dom_5 directory:

mkdir -p custom_components/dom_5
cd custom_components/dom_5
wget https://github.com/PiotrMachowski/Home-Assistant-custom-components-Dom-5/releases/latest/download/dom_5.zip
unzip dom_5.zip
rm dom_5.zip

Configuration

Config flow (recommended)

To configure this integration go to: Configuration -> Integrations -> Add integration -> Dom 5.

You can also use following My Home Assistant link

Open your Home Assistant instance and start setting up a new integration.

Manual - yaml

Key Type Required Value Description
platform string true dom_5 Name of a platform
name string false Desired name of a entity
url string true URL of system (in format: https://dom5.pl
username string true Username in Dom 5 system
password string true Password in Dom 5 system

Example configuration

sensor:
  - platform: dom_5
    url: "https://dom5.pl"
    username: "123456"
    password: "SecretPassword"

Displaying data

You can display data from this integration using Markdown card:

type: markdown
content: |-
  {%- set username="123456" -%}
  # Latest announcement
  ## {{ state_attr('sensor.dom_5_last_announcement_' + username, 'title') }}
  {{ state_attr('sensor.dom_5_last_announcement_' + username, 'body') }}
  ---  
  # Latest message
  ## {{ state_attr('sensor.dom_5_last_message_' + username, 'title') }}  
  {{ state_attr('sensor.dom_5_last_message_' + username, 'body') }}
  ---
  # Finances
  **Balance:** {{ "%.2f zł" | format(states('sensor.dom_5_finances_' + username) | float) }}
  **Arrear:** {{ "%.2f zł" | format(state_attr('sensor.dom_5_finances_' + username, 'arrear') | float) }}
  **Overpayment:** {{ "%.2f zł" | format(state_attr('sensor.dom_5_finances_' + username, 'overpayment') | float) }}

Support

If you want to support my work with a donation you can use one of the following platforms:

Platform Payment methods Link Comment
Ko-fi
  • PayPal
  • Credit card
  • Buy Me a Coffee at ko-fi.com
  • No fees
  • Single or monthly payment
  • buycoffee.to
  • BLIK
  • Bank transfer
  • Postaw mi kawę na buycoffee.to
    PayPal
  • PayPal
  • PayPal Logo
  • No fees
  • Revolut
  • Revolut
  • Credit Card
  • Revolut
  • No fees
  • About

    This custom integration retrieves data from Dom 5 - housing cooperative management system.

    Topics

    Resources

    License

    Stars

    Watchers

    Forks

    Packages

    No packages published

    Languages