iMicknl / LoctekMotion_IoT

Learn how to connect your Flexispot (LoctekMotion) desk to the internet. This repository contains a collection of scripts to get your started, combined with research and instructions.
MIT License
625 stars 61 forks source link

Working Setup for CB28M1B-1 (2 RJ45-ports) with HS13A-1 and ESP32dev #29

Closed guevara777 closed 2 years ago

guevara777 commented 2 years ago

Disclaimer: I´m from germany and my englisch isn´t very good ... Sorry

Hello. With help from @iMicknl i was able to get my desk smart. Wanted to share my setup so that others may have an easy way to smart-up their desks :)

Hardware

Wiring image

ESPHome

`substitutions: device_name: Schreibtisch name: esp-schreibtisch min_height: "75.1" # Min height + 0.1 max_height: "109.1" # Max height - 0.1

esphome: name: ${name} comment: ${device_name} platform: esp32 board: esp32dev includes:

wifi: ssid: !secret wifi_ssid password: !secret wifi_password

Enable fallback hotspot (captive portal) in case wifi connection fails

ap: ssid: "Esp-Schreibtisch" password: ""

captive_portal:

Enable logging

logger: level: DEBUG

level: VERBOSE # Makes uart stream available in esphome logstream

baud_rate: 0 # Disable logging over uart

Enable Home Assistant API

api:

ota: password: ""

uart: id: desk_uart baud_rate: 9600 tx_pin: GPIO17 rx_pin: GPIO16

sensor:

button:

cover:

guevara777 commented 2 years ago

sorry...duplicate.... see https://github.com/iMicknl/LoctekMotion_IoT/issues/30