Following as well. Just received an AC500 to upgrade my AC300 and being able to monitor is a dealbreaker if I can’t get it to work. Also using HomeAssistant with the same BT monitor plugin.
What is the format of the .csv file? Where should it be located? I have it almost up and running but get this error:
bluetti-discovery-dev --log the-log-file.log F8:B3:B7:42:XX:YY
Connecting to F8:B3:B7:42:XX:YY
Waiting for connection...
Waiting for connection...
[cryptModule]: Bluetti crypt module version:V1.0.0-L
[cryptModule]: crypt init end
[cryptModule]:Could not open bluetti_device_licence.csv
[cryptModule]: read sn list fail
[cryptModule]: Bluetti crypt module version:V1.0.0-L
[cryptModule]: crypt init end
[cryptModule]:Could not open bluetti_device_licence.csv
[cryptModule]: read sn list fail
Waiting for connection...
I put my full AC500
and
in the csv file and got a failure so I’m assuming there’s more to this story
[cryptModule]: Bluetti crypt module version:V1.0.0-L
[cryptModule]: crypt init end
[cryptModule]:Read check error
[cryptModule]: read sn list fail
[cryptModule]: Bluetti crypt module version:V1.0.0-L
[cryptModule]: crypt init end
[cryptModule]:Read check error
[cryptModule]: read sn list fail
Apparently you have to email support, per this CLOSED thread.
Thank you for a response But must express how surprised I am at its content.
Taking from bottom up.
“If you have questions about installing HomeAssistant, we recommend searching for relevant tutorials on YouTube.”
Where have I asked for HomeAssistant installation tutoring? I have not.
So left with two lines.
“Subsequent operations will need to be handled by customers themselves.”
This sounds like BLuetti are not sure how to help. Is that so?
“We’re sorry we can’t provide further assistance beyond granting API access”
Again why is Bluetti unwilling to help?
So my questions have been dismissed.
Clearly there is a need for clarification of the instructions within the link
“GitHub - bluetti-official/bluetti-bluetooth-lib”
I ask you to reconsider your response, and at your end ask tech-support to get involved.
That’s useful info.
You have got further than me. I cant get past a simply --scan, without errors all over the place.
If you have more that one Bluetti, order codes seperatly, as they do not within the e-mail or indeed anywhere, let you know what machine it is for. So now Not only is it not clear where these/this file is put, but how do I merge two files into one??
.
Why would this thread be closed?
The thread on Github was closed, not this one.
I’ll give you all the info I have, perhaps we can make progress together. It’s a bit if a niche within a niche.
I have HA running on a Proxmox VM. I was using Bluetti-BT with my AC300, but that became unreliable, so I switched to Bluetti-MQTT.
To Get that working, I spun up another VM, put fresh Ubuntu on it. I passed a USB BT dongle to the VM. The only way I could get Bluetti-MQTT installed and working was via pipx. Using that, it was relatively seamless with MQTT (mosquito?) in HA. That was about a month ago.
Today, I received an AC500 as an upgrade. I assumed it was using encrypted firmware, but I can’t confirm that. It’s fully updated (IoT v9041.10, ARM v4044.07, DSP v4059.04). I was not able to use my existing setup (by changing the MAC address found in a --scan, so I went down the encryption library rabbit hole.
Using ChatGPT (it’s very useful for HA & Python), I was able to get Bluetti’s version side-by-side with the published version. I was able to install the library and get to the point where I needed the decryption csv.
Instead of recreating it, you can poke through my ChatGPT log. Hopefully that’s useful.
Here’s the crazy thing: My AC500 might not be encrypted.
I came back home, and looked at the Bluetti-BT plug-in in HA, and found… DATA!
WTF!?! It wasn’t working before, so I have no idea what’s going on. I’m using the original, and not the modified version from Bluetti, and I haven’t received my encryption .CSV file from tech support yet.
I’ll post more if I learn more. Hopefully there’s some help here.
Thanks for all of that.
I’ve decided to start again ! Removed Python 3.9.13, and 3.13.3, all linked enviomental variables, and python Launch, so hopefully no dregs, kept a backup of some of the important bits, in case I need to refer to them. Upon Windows restart, it decided to do an update! 30 mins later, hopefully all clean.
And I am taking you advice and see if ChatGPT can guide me. It wasn’t a good start, as I had to ask the question does this version work with AC180, and admitted it didn’t. Anyway, I’ll slog away.
This all seems a bit bonkers. I just want to be able to control a machine that cost several hundred pounds, it has blootooth, I want to be able to monitor it and control it. I really don’t think that is asking too much, from Bluetti. I cannot believe their attitude! I know it’s slightly different, but I can pair my headphones, and use them freely, listen to music from my phone, in a crowded train, no one else able to connect. The only thing I had to do was pair them. Simple!
.
My big dilema is which version of bluetti-mqtt do I go with. I think I’ll try and us the one from “GitHub - bluetti-official/bluetti-bluetooth-lib”. I have tried it before, but errors abound.
I have tried soooo many different versions.
(GitHub - jesherman/bluetti_mqtt: MQTT interface for Bluetti power stations)
(GitHub - nhurman/bluetti_mqtt: MQTT interface for Bluetti power stations)
most recently. I found the error messages difficult to understand, so maybe ChatGPT will be able to help.
interested by this therefore following it. Thanks
The more the merrier.
One possibility is to install virtualbox or vmware on your pc and run a Linux VM as a test (or permanent if necessary). It shouldn’t make a difference, but could, and the niche of nerds that monitor things like this are more likely running Linux (and therefore might be able to help more).
I cut Bluetti support some slack - what we’re trying to do is really outside the mainstream (even if I agree with you that “it shouldn’t be this hard, people!!!”.
My AC500 continues to run through the night. When I moved it to it’s to-be-final-place last night, it wouldn’t reconnect, and I tinkered and… about 10 minutes later it started responding.
So it looks like, for me at least, I’m not encrypted. The delay is weird.
The AC500 doesn’t have the same outputs as the AC300, which is curious (like Battery discharging/charging/standby state reporting).
I have got this far. The ChatGPT conversation helped, with where files went.
Windows PC running the example, bluetti-mqtt. I was rather hoping the Broker in HA would now pick the info up. But nothing is happening.
It’s been a bit of trial and error process. Feel a bit weary now, so will leave for a while, see if any one else can see what the next stage is. Maybe it will come to me, with time. Apologies for paranoia blackouts, the numbers bear no similarities to the numbers in the CSV file.
I have:
1 x EP760
1 x AC200L
and have some other items on the way…
I am interfacing with the AC200L and EP760(read only) with Home Assistant primarily for data logging…
Once I get some key files from Bluetti, I should be able to test the encryption on the AC200L and EP760 and move on to the next phase.
Home assistant has been patched and runs a modified version of: GitHub - Patrick762/hassio-bluetti-bt: Bluetti Integration for Home Assistant
I hope they will provide the files.
Cheers,
AP
Downunder… upside down is my natural state…
Hi, @BLUETTI_CARE, I am looking to obtain the bluetti_device_license.csv for my AC500 unit. Phone support as well as ticket support have not been very helpful, in fact, I have the impression that the people at Bluetti who have responded to my tickets so far don’t even understand what I am talking about. They only go on about the device not being linked to a phone, but I don’t want to link it to a phone, but to my home automation system. I am perfectly able to do integration work, but I need the Bluetooth decryption keys in order to use bluetti-lib for communications. I can supply my serial when needed, but have not posted it here because this is a public forum.
Hi @Melanie_T, We are more than happy to assist you.
To protect your privacy, we will contact you via private message next. At that time, please provide the SN code of your AC500 and your email address. After that, we will enable the Bluetooth authorization for you and send the files you need to your email.
I got the BLE to MQTT connections working only to find no data being produced only the serial number of my newly purchased Elite 100. So this has lead me to this thread regarding encrypted Bluetooth. I wanted to build a stand alone esp32 display for my motorhome. The code is written in Arduino and so don’t know how i am going to uee the Python code and use the API call from a remote offgrid location.I can see the security point of view. But it would have been nice to have access to read only basic data.
Hi, @BLUETTI_CARE I require the CSV file for my EL100V22525000476159 andrew_titcombe@hotmail.com I hope to create an esp32 code from the python code. to decrypt to MQTT the messages from my device.
Hi @AndrewT, thank you for contacting us.
This requires us to apply for permission on your behalf. We’ve already submitted your request to the technical team, and they may need 1-2 working days to process it. Once completed, we’ll send an email to your registered account with the necessary information included.
Please keep an eye on your inbox, and feel free to let us know if you have any further questions in the meantime.
Additionally, to protect your private information, please edit your comment promptly and remove your email address from it.
FYI:
Hey @BLUETTI_CARE, I am looking for the CSV File to enable bluetooth communication on my AC200L. I hope to create esp32 code to decrypt to MQTT for home automation. Please let me know how to securely get you my Serial #. Thank you!
Hi @jdillondavis, please click on my profile picture and contact me via private message. Kindly provide your SN number and email address so that we can follow up on this matter.
