Skip to content

marcomow/hass-addon-petoneer-smartdot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Home Assistant Petoneer Smart Dot Add-on

An add-on to integrate Petoneer Smart Dot with Home Assistant.

Installation

  • Head to Supervisor => Add-on Store.
  • Click on the three dots on the top right, select Repositories.
  • Add this repository https://github.com/marcomow/hass-addons.
  • A new section should appear "marcomow Home Assistant add-on repo", click on "Petoneer Smart Dot controller", install.

Setup

Input Select

  • Head to Configuration -> Helpers.
  • Create a new "Input Select".
  • Name it "Smartdot" and add the following options: stop, preset_small, preset_medium, preset_large.

Automation

  • Head to Configuration -> Automations.
  • Add automation.
  • Click on the three dots on the top right, select Edit in YAML.
  • Copy-paste the following code.
alias: Smartdot Handler
description: ''
trigger:
  - platform: state
    entity_id: input_select.smartdot
condition: []
action:
  - service: hassio.addon_stdin
    data:
      addon: 96fe3986_smartdot
      input: '{{ states(''input_select.smartdot'') }}'
mode: single

Lovelace interface

Add a new card by entity and select input_select.smartdot.

Enjoy!

Credits

I learned how to reverse engineer a bluetooth device thanks to @urish! In particular I took inspiration from these articles:

Without the open source code of @balda I would never had properly setup the Dockerfile, I heavily took inspiration from this repository.

About

No description, website, or topics provided.

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published