It’s still an alpha (v0.3.0), but already can collect pushed data from SHP2 & DPU devices so could be useful. I will continue to improve and will be glad to hear constructive criticism. Since it’s my first integration for HA: quite sure I missed something important, so any general suggestions or PRs on how to improve the integration overall will help greatly!
Gave this a go but seems all my sensors show unavailable. Though I am running different version on shp2 4.0.3.27. I’ll give the scripts a go and check if that gets me further.
Thank you for testing! Sorry it’s still in early stage and I yet need to figure out the firmware upgrade process for shp2 & dpu to be able to control firmware upgrade/downgrade freely.
If you can collect the debug logs - that should give us some thoughts to think about.
Hi @Jazzphone , will be great to see: so you click “add integration”, selecting “EcoFlow BLE (Unofficial)” and it shows you something (like list of available devices) or it’s empty?
And you can go into integration https://YOUR_HA_ADDRESS/config/integrations/integration/ef_ble and click “Enable debug logging” - then try to add device, then click “Disable debug logging” and it will ask you where to save the log file. But please check it before attaching here - it could contain your EcoFlow ID, so will be better to mask it.
Hi. I’ve trying to test this but without success. I am running the smart Home Panel 2 on firmware 4.0.3.27 and when launched the Integration sees bith my devices (SMH2 and Delta Pro Ultra) but I can’t find my Ecoflow User ID
I can log in to the ecoflow portal, but I don’t know where ot find the “Dev Console”…
Hi @slatour007 , yeah I suppose I need to describe it better in the docs - the dev console you can find in your browser: Firefox or Chrome (usually you can open it by pressing F12, or through the menu).
I was able to locate the POST sent to api-a.ecoflow.com, but I did not find the data.user.userId field in the response headers as described on the github site. I don’t have a rooted device - Is there any other way to identify the user id?
Thanks. I was able to extract my userId with these instructions. I added your integration and it found my shp2 and dpu but doesn’t show any data for them. So I pulled down your ef-ble-reverse scripts and tried to use those to connect. I can’t figure out the shp2’s address and it doesn’t show up in the scanner when running connect.py. I do see the dpu’s but when I try to connect to it by specifing its address in connect.py, I get “KeyError”. firmware on the dpu is 5.0.0.49 and on the shp2 is 4.0.3.34
Hi @fcorrao , could you please attach any debug logs (please check them on private info like login id or serial numbers of the devices before sending)? You can enable debug logging in the integration and then try to connect the device. Then disable it and it will allow you to save the log.
If you are using the ef-ble-reverse repo - please make sure you know python and can read the exception traces, this tool is not for regular users and is needed for debug purposes of developers.
I also gave it a try since I would really like to not connect my EcoFlow to Wifi. Unfortunately, I wasn’t even able to scan for devices, it seems? I have other BLE integrations in my HA config. Is it the reason?
Hi @me.tommyc , oh that’s a shame, sorry about that - but in general if your BLE dongle can see the device there should be no issues in detecting the devices. So what’s the EF devices do you have?
Hello, I’m also facing the issue where I’m able to connect to my Delta Pro Ultra via Bluetooth, but none of the entities populate.
My DPU has FW Version: V0.1.0.0 and 2.0.2.4(Wi-FI)
Hi @toastflyinginsectpie , sorry for the confusion - but the integration still can’t work with DPU (only SHP2 for now) - there is no device implemented yet, although it can handle the protocol and in my reverse-engineering repo there are protobuf handlers for it. So no worries - subscribe here or to the integration repo and I will send a notification when DPU will be available as well.
Overall the logs looks fine - so that will be an easy one to update and get the entities.
Yep, no worries about that - DPU uses slightly different encoding (also xor’s data), so it’s already addressed in the reverse-engineering repo, but still need to find some time to make it right in the integration itself. Sorry for the inconvenience, hopefully upcoming holidays will allow me to work on this integration more, but unfortunately still busy with paid work
Hi @me.tommyc , sorry to say, but if you will look at the supported devices - you will see only SHP2 for now. Also in my plan is to implement DPU, but not the other devices - because I don’t have them to test properly. Will be glad to see PR’s with changes to integration to support them though.