Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

D1 mini seems to crash when power is supplied via Ethernet [HS13B-1, Flexispot E7] #64

Open
j3mu5 opened this issue Sep 18, 2023 · 3 comments

Comments

@j3mu5
Copy link

j3mu5 commented Sep 18, 2023

Hello all,

Thanks to the great documentation, I was able to connect my table [HS13B-1, Flexispot E7] with HomeAssistant. However, the D1 mini seems to restart occasionally - it loses the connection with HomeAssistant (buttons are grey). After a few seconds, the D1 restarts and connects with HomeAssistant and works as desired again. This is also evident in the uptime (screenshot). I suspect that the power supply through the table is not stable. Is this already known to be a problem?

Screenshot_20230918-123848~2

If I do not connect the D1 mini to the table and power it via USB, it runs stably for 30,000 seconds (approx. 8 h).

@iMicknl
Copy link
Owner

iMicknl commented Sep 19, 2023

@j3mu5 I am working on improved documentation at the moment, and most likely the recommendation will be to use an ESP32 chip. Most desks provide 5V, where a ESP8266 works with 3.3V. You could use a 5V to 3.3V stepdown in between if you use ESP8266. Additional benefit of using ESP32 is that it has hardware UART.

I haven't been able to fully test my statement above, but this is most likely the cause. I will test this and update the documentation.

@j3mu5
Copy link
Author

j3mu5 commented Sep 19, 2023

@iMicknl Thank you for the explanation. In the meantime, I tried to supply the power separately via USB and only establish the data connection via Ethernet. The table could be controlled, but unfortunately I observed crashes again.

Only when the d1 Mini is operated without connection to the table do I see no restarts.

Never mind - I follow your advice once the documentation is done! I happen to have ordered wemos esp32 recently, for espresense. One of these can then also used for the desk. Or is there another ESP 32 board that can be recommended?

Thanks for your work on this project! I'm really looking forward to the table moving to my height when HA recognises me at the desk! 🤩

@iMicknl
Copy link
Owner

iMicknl commented Sep 19, 2023

The documentation in the README is a bit outdated, and there are some improvements to the YAML and C++ code to be made. I will integrate the work of all great contributors on GitHub + Discord and update the documentation accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants