Closed giovanne123 closed 1 year ago
Hm, flashed the fork: https://github.com/Seb0815/Bluetti_ESP32_Bridge And this is directly working with EB3A @Seb0815, Home Assistant Auto Discovery would be fine ;-)
Edit: I think I forgot that I have added following in BTooth.cpp (maybe with this the original is also working, need to check it):
if (advertisedDevice.haveServiceUUID() && advertisedDevice.isAdvertisingService(serviceUUID) && (strcmp(advertisedDevice.getName().c_str(),settings.bluetti_device_id)==0) )
Update:
Connect to the EB3A with original from Mario is also working, when modifying the
BTooth.cpp:
Line 50:
from:
if (advertisedDevice.haveServiceUUID() && advertisedDevice.isAdvertisingService(serviceUUID) && advertisedDevice.getName().compare(settings.bluetti_device_id)) {
to:
if (advertisedDevice.haveServiceUUID() && advertisedDevice.isAdvertisingService(serviceUUID) && (strcmp(advertisedDevice.getName().c_str(),settings.bluetti_device_id)==0) ) {
@mariolukas, can you please update this to support these devices? (maybe test before if still working for your device) @Seb0815, can you also update this in your fork? Maybe I will use this because of the nice WebUI ;-)
Edit 19012023 modified: DEVICE_EB3A.h https://github.com/mariolukas/Bluetti_ESP32_Bridge/blob/main/Bluetti_ESP32/DEVICE_EB3A.h from:
#ifndef DEVICE_AC300_H
#define DEVICE_AC300_H
To:
#ifndef DEVICE_EB3A_H
#define DEVICE_EB3A_H
@mariolukas, can you please update this to support these devices for future relevat changes (at the moment the files seems identical)?
Now, I think details are missing in MQTT, see pictures for comparison with bluetti_mqtt:
additional nice features:
ESP32-Bridge:
bluetti_mqtt (python):
I will merge all open PR's this week, this will bring a new Webserver interface. Additionally i will fix the device definition in the header for the EB3A.
I will merge all open PR's this week, this will bring a new Webserver interface. Additionally i will fix the device definition in the header for the EB3A.
Can you please also modify the BTooth.cpp: line 50 See above.
Yes i will review this.
@giovanne123 WLAN reconnect is already in my latest fork. I will create a PR as soon as @mariolukas merged all other PR's
Yes i will review this.
👍
@giovanne123 WLAN reconnect is already in my latest fork. I will create a PR as soon as @mariolukas merged all other PR's
👍
i edited BTooth.cpp and DEVICE_EB3A_h as suggested but stiil no connectiion
@giovanne123 asked
The Bluetti Bluetooth ID is the "EB3A2249........", right?
i also would like to know
i edited BTooth.cpp and DEVICE_EB3A_h as suggested but stiil no connectiion
@giovanne123 asked
The Bluetti Bluetooth ID is the "EB3A2249........", right?
i also would like to know
Starting with the EB3A... would be right. With this it is connecting for me (see above screengrabs)
I am closing this because the initial issues should be fixed now. Reopen it if you have further issues related to this topic, otherwise create a new issue.
thanks !
Is ok. I will/have create/created new issues. Was more collection for me what I will have to look for ;-)
@giovanne123 WLAN reconnect is already in my latest fork. I will create a PR as soon as @mariolukas merged all other PR's
@Seb0815, I think you can create your PR regards to WLAN retry if not connected after first try on boot/reset, because it isn't working https://github.com/mariolukas/Bluetti_ESP32_Bridge/issues/26 after Mario has merged the PRs.
Hi, I'm trying to get it running for a EB3A.
First question, is it right that the specific DEVICE_EB3A.h (https://github.com/mariolukas/Bluetti_ESP32_Bridge/blob/main/Bluetti_ESP32/DEVICE_EB3A.h) file is starting with:
ifndef DEVICE_AC300_H
define DEVICE_AC300_H
I changed it to:
ifndef DEVICE_EB3A_H
define DEVICE_EB3A_H
But at the moment I only get Wifi connected and Mqtt-Broker connected.
But BL is not connecting: The Bluetti Bluetooth ID is the "EB3A2249........", right?
WebUI: Serial-Output (some text replaced with XXXXXX):
Mqtt:
- Is there someone already using it with EB3A? Have you done changes?