Skip to content

Repository managing hacs-integration for pyduofern

License

Notifications You must be signed in to change notification settings

rakaandro/pyduofern-hacs

 
 

Repository files navigation

pyduofern-hacs

This repository contains hacs integration for pyduofern.

You can use this repo with hacs

Setting up pyduofern in hacs

  1. In HACS->Integrations on the top right click on and select custom repositories.

  2. Add a repo with URL https://github.com/gluap/pyduofern-hacs and type integration

  3. Back in HACS->Integrations search for duofern

  4. In Homeassistant go to Configuration -> Integrations, click the + sign to add an integration and search for dufoern

  5. Complete the setup dialog

Setup with homeassistant core (no Homeassistant OS)

To use pyduofern within Homeassistant <https://home-assistant.io/>, add the custom_components from <https://github.com/gluap/pyduofern-hacs> from the examples to ~/.homeassistant/ directory and enable it by adding the following to your configuration.yaml::

duofern:
   # (4 hex digits as code required, last 4 digits if migrating from FHEM)
   code: deda
   # Optional options, comment in if required:
   # serial_port: /dev/ttyUSB0
   #   # serial_port defaults to
   #   # /dev/serial/by-id/usb-Rademacher_DuoFern_USB-Stick_WR04ZFP4-if00-port0
   #   # which should work on most linuxes
   # config_file: ~/duofern.json
   #   # config_file defaults to duofern.json in homeassistant folder (assuming custom_component is used)

Usage

There are two services you can call via the service interface:

duofern.start_pairing starts the pairing mode for a given number of seconds.

Pairing

duofern.sync_devices will force-sync any newly discovered devices.

sync

Please use the renaming feature in the homeassistant GUI to arrive at human readable names for your deices.

About

Repository managing hacs-integration for pyduofern

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%