jrspowers / blind-control-card

Custom card for controlling the AM43 Blinds Drive Motor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:MIT License


Languages

Language:JavaScript 92.7%Language:C++ 7.3%