Skip to content

glance-/dbschenker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DbSchenker custom_component

This is a custom component for home-assistant to track dbschenker packages.

Its activated by adding the following to your configuration.yaml:

sensor:
  - platform: dbschenker

After that you can start to track your packages by calling the service dbschenker.register with a argument looking like {"package_id": "UA123456789SE"} to have home-assistant start tracking that package.

And when you loose interest in that package, you just stop tracking it by calling dbschenker.unregister with a corresponding argument.

To view all your packages in a nice fashion, I use the auto-entities[1] card to view them all as a list in lovelace:

      - card:
          type: entities
        filter:
          include:
            - domain: dbschenker
        type: 'custom:auto-entities'

This is reverse engineered code.

This component shares quite a bit of code and architecture with my package tracker for Postnord[2], DHL[3] and bring[4].

  1. https://github.com/thomasloven/lovelace-auto-entities
  2. https://github.com/glance-/postnord
  3. https://github.com/glance-/dhl
  4. https://github.com/glance-/bring

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages