Giter VIP home page Giter VIP logo

Comments (20)

hofvanta avatar hofvanta commented on September 26, 2024 1

My personal dongle. The nonused wires are protected (thin shrink tubes) and all fixed by using one big heat shrink tube.
image
Thanks for the help

from loctekmotion_iot.

iMicknl avatar iMicknl commented on September 26, 2024

Would be good to add a pictures of your PCB (of the desk keypad). And do you own a multimeter? You should be able to check if your wiring is correct. In the past I have seen mistakes / issues with just using the color of the RJ45 wires.

You could uncomment

// ESP_LOGD("DEBUG", "Incoming byte is: %08x", incomingByte);
so that you will see all incoming bytes. This will also help to spot if you are using the right TX/RX.

from loctekmotion_iot.

hofvanta avatar hofvanta commented on September 26, 2024

The keypad is H13A-01.
image
I will uncomment the line and let you know.

from loctekmotion_iot.

iMicknl avatar iMicknl commented on September 26, 2024

Could you also add a picture of the PCB? (so screw open your desk keypad).

Did you try this one already? #12 (comment) I think this could be the correct wiring.

from loctekmotion_iot.

hofvanta avatar hofvanta commented on September 26, 2024

The PCB is cabled as documented H13A-1.
image

The uncomment, helped, I got continious incoming bytes, which default 000000 and changing values by hitting the height buttons of the keypad. Home assistant, see the sensor, but value is Unavailable.

from loctekmotion_iot.

hofvanta avatar hofvanta commented on September 26, 2024

Changing height logging:
image

from loctekmotion_iot.

iMicknl avatar iMicknl commented on September 26, 2024

Did you try this one already? #12 (comment) I think this could be the correct wiring.

??

from loctekmotion_iot.

hofvanta avatar hofvanta commented on September 26, 2024

OK, I will try other wiring as #12 commented.

from loctekmotion_iot.

hofvanta avatar hofvanta commented on September 26, 2024

Seems now to work with other cable color scheme. Tx. The home assistant integration only show the height as soon you hit the keypad and will not update the height after (after unpressing the button). Is there any fix for that?

from loctekmotion_iot.

iMicknl avatar iMicknl commented on September 26, 2024

Great to hear! We need to update the docs soon, great to have this confirmed.

Can you share the YAML you use now? And does the height update when you execute a command (like sit/stand) from your ESPHome? Current behavior is that the height only updates when something has been executed.

That is why in my other example, we call the 'M' button quickly on startup.

from loctekmotion_iot.

hofvanta avatar hofvanta commented on September 26, 2024

Im updating the YAML file now. Because I have more esphome integrations I will change the sensor and switches with desk_<> to seperate them more easily in home assistant. Will send you as soon everything is functioning. Tx for now.

from loctekmotion_iot.

hofvanta avatar hofvanta commented on September 26, 2024

The esp integration is working:when use keypad the initial height is recorded to HA. When also the up/down is working. But as soon as the keypad is in sleeping mode, no commands from HA/ESP are working. Should the wake up call should trigger to light on the key pad?

from loctekmotion_iot.

Sander51 avatar Sander51 commented on September 26, 2024

I've ordered the flexispot E8 and E7, both have the CB38M2J (IB)-1 control box as well. I've used the #12 (comment) wiring (without connecting RESET, SWIM , empty) and all functions work as @hofvanta mentioned as well. The only problem I have as well is once the display goes off it is not possible to control the desk anymore. The wakup call doesn't work. I've also tried to only connect the esp32 and disconnect the remote, but it still doesn't work. @hofvanta did you find a way to solve the sleeping mode issue?

from loctekmotion_iot.

Kienz avatar Kienz commented on September 26, 2024

I've ordered the flexispot E8 and E7, both have the CB38M2J (IB)-1 control box as well. I've used the #12 (comment) wiring (without connecting RESET, SWIM , empty) and all functions work as @hofvanta mentioned as well. The only problem I have as well is once the display goes off it is not possible to control the desk anymore. The wakup call doesn't work. I've also tried to only connect the esp32 and disconnect the remote, but it still doesn't work. @hofvanta did you find a way to solve the sleeping mode issue?

How did you connect your ESP32? RJ45 Splitter into HS Port? Because the second RJ45 Port doesn’t work. Can you confirm?

from loctekmotion_iot.

hofvanta avatar hofvanta commented on September 26, 2024

from loctekmotion_iot.

Kienz avatar Kienz commented on September 26, 2024

@hofvanta Thanks. Did your control panel work on the 2nd serial port? Mine only works on the first (upper) port. If it’s connect to 2nd port pressing a button only lights up the display but nothing happens. All buttons the same. Did someone have this issue too?

Control Box: CB38M2L(IB)-1

from loctekmotion_iot.

Sander51 avatar Sander51 commented on September 26, 2024

@Kienz For the Flexispot E7 and E8 both control ports work. I did have some issues though with the control panel while fixing this and cutting off power to the desk for a while and reconnecting fixed it, never had the issue again.

@hofvanta Thanks. For me it turns out a slight edit of the flexispot_e5b_esp32.yaml code seems to work perfectly for the E7 and E8. I'm waiting for an utp splitter so I can also connect the control panel directly so I would know the current state of the desk if only the control panel is used.

from loctekmotion_iot.

hofvanta avatar hofvanta commented on September 26, 2024

from loctekmotion_iot.

Kienz avatar Kienz commented on September 26, 2024

@hofvanta Strange. I contacted the Flexipot support. Let's see what they say.
Other question: Should it work if I only connect the eg ESP8266 to first port? (Display is disconnected) Can someone test this. Kind regards.

from loctekmotion_iot.

oischinger avatar oischinger commented on September 26, 2024

@Sander51 did the UTP splitter work out as expected? Does the ESP32 now always output the correct position even when the desk was operated via the panel?

from loctekmotion_iot.

Related Issues (20)

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.