Skip to content

Custom card for controlling the AM43 Blinds Drive Motor

License

Notifications You must be signed in to change notification settings

juagarh5/blind-control-card

Repository files navigation

blind-control-card

Requirements:

  • ESP32 Microcontroller
  • A-OK AM43 Blind Motor example

Features:

  • Execution of simple actions: go up, go down, stop.
  • Integration of daily scheduled movements (morning and night).
  • Parameters modification: Velocity (20-50 rpm) and Direction (Forward-Reverse).
  • Limits modification: Upper limit and Bottom limit.
  • Factory reset option.
  • Live battery-blind position status.

Installation:

ESP32

  • Add in the Additional Boards Manager URLs (File > Preferences) the following link:
https://dl.espressif.com/dl/package_esp32_index.json
  • Install the board esp32 by Espressif System through the Board Manager (Tools > Board > Board Manager).
  • Select the ESP32 Dev Module Board (Tools > Board) and the Huge App partition scheme (Tools > Partition Scheme > Huge APP (3MB No OTA/1MB SPIFFS).
  • Download the Arduino code and introduce the network ssid, password and IP. Upload the code.

Home Assistant

  • Add the configuration code after modifying the MQTT Broker's IP into the Home Assistant's configuration.yaml file.
  • Add the automation code into the Home Assistant's automations.yaml file.
  • Load the resource in the LovelaceUI's Raw Configurator Editor:
resources:
  - type: module
    url: /hacsfiles/blind-control-card/blind-control-card.js
  • Include the following code in "cards":
      - type: 'custom:blind-control-card'
        entity: sensor.time
  • Restart Home Assistant's server.

About

Custom card for controlling the AM43 Blinds Drive Motor

Resources

License

Stars

Watchers

Forks

Packages

No packages published