-
-
Notifications
You must be signed in to change notification settings - Fork 169
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
How to setup ESPHome from scratch #327
Comments
Do you have access to an Linux host? Visual Studio isn't required. A few console commands should be sufficient: https://raw.githubusercontent.com/syssi/esphome-seplos-bms/main/install.gif
|
I'm really blown away. Thank you for your quick help. |
oh wait. I have a NEEY balancer that only has bluetooth. |
forget it, I think I got it now :-) |
Your understanding is correct. The mentioned YAML talks to your NEEY/Heltec Balancer via BLE and publishs the received measurements via MQTT. The |
Something is still wrong. ~/esphome$ ~/.local/bin/esphome run esp32-heltec-balancer-ble-example.yaml wifi: [source esp32-heltec-balancer-ble-example.yaml:24] Must be string, got <class 'esphome.helpers.EInt'>. did you forget putting quotes around the value?. I adapted the config on my board with the information from the website https://registry.platformio.org/platforms/platformio/espressif32/boards substitutions: esphome: esp32: the secret.yaml looks like this wifi_ssid: moscitobox Of course that's not my password :-) what i should mention i have 5 balancers. do I need an ESP32 for each balancer? I also use an ESP32 for another project to control my Bluetooth heating valves, so I can connect 6 devices to one ESP. |
quotation marks had to be set. It took me a while to understand :-) |
I give up. Tool Manager: Installing espressif/toolchain-riscv32-esp @ 8.4.0+2021r2-patch2 and ERROR Error while reading config: Invalid YAML syntax: Secret 'mqtt_password' not defined I have to find someone to flash my ESP. I obviously can't do it myself and you're not ESP support. |
Es lies mir keine Ruhe also habe ich es heute früh nochmal probiert. Ich hab Schritt für Schritt nach deiner Anleitung gehandelt aber ich komme zu keinem brauchbaren Ergebnis. Auf einem Laptop habe ich es auch probiert, das ist exakt das selbe Problem. Ich hab auch meinen Sohn gebeten das ganze mal auf seinem PC zu machen, der hat aber genau das selbe Problem. Er nutzt auch Ubuntu auf seinem Intel PC. |
I will spin up a ubuntu 18.04 machine and give it a try. Don't give up! You are almost there! |
The most recent ESPHome release requires Python >=3.9. Please use Ubuntu 22 and try again. |
ok, i switched to version 22. Now it's working. Now comes task 2 :-) |
Do you know this discussion? #310 (comment) The ESP32 supports up to 3 simultaneous BLE client connections. |
I read it but don't really believe it. |
Hmm... I'm talking about this limitation: https://esphome.io/components/ble_client.html#ble-client I guess the |
ok, this is probably sufficient for a heating valve. Here is the result of my "copying"
|
Could you rephrase your last question? What's the detail you are trying to improve? If you want to reduce the amount of traffic passed to the MQTT server you should use the Oh, I got it. I will provide a proper |
|
that doesn't seem to have been the case. `andy@andy:~/esphome$ ~/.local/bin/esphome run esp32-heltec-balancer-ble-example.yaml interval: [source esp32-heltec-balancer-ble-example.yaml:381]
|
Did you update the two button entities above? Please make sure to assign |
here the code
|
Please add these lines to your config:
|
I had the same problem, and disable the |
the just api: commented out? #api: 2 things struck me. |
Yes, , but the you got no homeassistant "things" . Or if you get it stable up and running, pleas share your code :-) |
|
tried it with only the voltages from 1-16 on 2 Neeys, does not work, maybe to much to work for one poor ESP :-) |
@Elektrofix-OL Could you create a new issue please? |
Hello
Can someone link me to instructions for an absolute beginner so that I can get the code on an esp32.
I've tried it for a while now but I don't have all the basics to do it.
I have a NEEY bms 4th 4A and would like to visualize the BMS data in Home Assistant. Unfortunately, I've really never worked with plattformIO and Visual Studio. For me it's like sitting in the space shuttle and it should land :-)
Since I don't know at all how to proceed I could use a simple good guide. Preferably a YT post.
The text was updated successfully, but these errors were encountered: