Giter VIP home page Giter VIP logo

Comments (1)

TillFleisch avatar TillFleisch commented on September 26, 2024 1

After some reading here it looks like the author of the Autonomous control repo sends the memory button message repeatedly until the desk has reached the target position.

Implementing this behaviour in your fork is possible but would first require retrieving the height from the desk.
My implementation does not work as your desk uses a different communication protocol.
Changing the existing height sensor should be possible as it looks like it's implemented in the linked repository.
Sadly I cannot help you with this, as I don't have access to an Autonomous AI desk.

You could validate that repeatedly sending the memory button does what it supposed to do by using a for loop.
You can also do this without this repository by using the built in ESPHome uart.write or uart switch functionality.

Maybe a hacky workaround/solution is to just send the command for a long fixed time period without checking the height and just assuming the desk made it to its target position.
I have no idea what implications sending a memory button message has after the desk has reached its position though :/

You can easily try this using the esphome uart switch in your yaml configuration.

PS: This repository is only named 'generic' since my desk does not have serial number/name. It is not intended as a 'compatible with all desks' solution. Feel free to fork and modify. Maybe this is a good foundation for your project.

from esphomegenericsitstanddesk.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.