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

DON'T UPDATE YOUR STATIONS! #101

Open
Patrick762 opened this issue Feb 6, 2024 · 21 comments
Open

DON'T UPDATE YOUR STATIONS! #101

Patrick762 opened this issue Feb 6, 2024 · 21 comments

Comments

@Patrick762
Copy link

The current update for at least the EP600 renames the Bluetooth name to "PBOX".

This causes some problems with this software.

Thanks @KM011092 for this info in your Pull request.

@warhammerkid could you check if it is possible to differentiate the stations by their device_type field?
If I find some spare time I'll also look into this because it also causes my HA integration to no longer work for new devices.

@twister36
Copy link

Interesting... I wonder if this is related to an issue I'm looking into for a friend. They updated their AC500 firmware on one unit and now they can't connect to their unit via bluetti-mqtt.

Did you ever resolve this?

@twister36
Copy link

The current update for at least the EP600 renames the Bluetooth name to "PBOX".

This causes some problems with this software.

Thanks @KM011092 for this info in your Pull request.

@warhammerkid could you check if it is possible to differentiate the stations by their device_type field? If I find some spare time I'll also look into this because it also causes my HA integration to no longer work for new devices.

Can you provide your steps to verify the bluetooth name?

@Patrick762
Copy link
Author

You can check it if you open your Bluetooth settings on your phone

@Patrick762
Copy link
Author

Interesting... I wonder if this is related to an issue I'm looking into for a friend. They updated their AC500 firmware on one unit and now they can't connect to their unit via bluetti-mqtt.

Did you ever resolve this?

I don't know how to resolve it in this repository, but I have a workaround in my HA integration (selecting the model manually). Next step would be to automate it again

@twister36
Copy link

Interesting... I wonder if this is related to an issue I'm looking into for a friend. They updated their AC500 firmware on one unit and now they can't connect to their unit via bluetti-mqtt.
Did you ever resolve this?

I don't know how to resolve it in this repository, but I have a workaround in my HA integration (selecting the model manually). Next step would be to automate it again

Which HA integration are you using? I'm just using the native bluetti-mqtt python app to send the data to MQTT. Is there a working integration now?

@Patrick762
Copy link
Author

My integration is available in the HACS Store as "Bluetti BT". It only has controls for AC and DC outputs but I plan on getting some other Bluetti stations to test the other controls.

@Patrick762
Copy link
Author

To use it with the PBOX update you'll need the latest Beta update

@twister36
Copy link

My integration is available in the HACS Store as "Bluetti BT". It only has controls for AC and DC outputs but I plan on getting some other Bluetti stations to test the other controls.

Ok, let me take a look. I was starting to write my own and got as far as connecting to the Bluetti device and started to to discover the Services and Chrematistics of the device.... but Ideally I didn't want to reinvent the wheel. It appears that yours is still based of this repository (bluetti-mqtt). correct?

@twister36
Copy link

twister36 commented Feb 13, 2024

To use it with the PBOX update you'll need the latest Beta update

Can you clarify what you are referring to ? I assume you mean the HACS needs to be the beta?

@Patrick762
Copy link
Author

My integration is available in the HACS Store as "Bluetti BT". It only has controls for AC and DC outputs but I plan on getting some other Bluetti stations to test the other controls.

Ok, let me take a look. I was starting to write my own and got as far as connecting to the Bluetti device and started to to discover the Services and Chrematistics of the device.... but Ideally I didn't want to reinvent the wheel. It appears that yours is still based of this repository (bluetti-mqtt). correct?

Yes. Currently it is based on this repository. But with future HA updates, one of the dependencies used will no longer work, so I'll have to switch to an own library.

@Patrick762
Copy link
Author

To use it with the PBOX update you'll need the latest Beta update

Can you clarify what you are referring to ? I assume you mean the HACS needs to be the beta?

You need the beta version 0.0.15 or 0.0.16 of the bluetti_bt integration (switch on when installing). You don't need HACS beta.

@twister36
Copy link

To use it with the PBOX update you'll need the latest Beta update

Can you clarify what you are referring to ? I assume you mean the HACS needs to be the beta?

You need the beta version 0.0.15 or 0.0.16 of the bluetti_bt integration (switch on when installing). You don't need HACS beta.

Ok, I just added it and it did auto discovery all 6 bluetti devices... which one of them is the bluetti with the issue. However, after "configuring" the integration for that device all entities are 'unknown'. Instead of asking questions about your project here, I'll create an issue on your project so we can work together, as I have a total of 12 bluetti devices that we can test with.

@tschernet
Copy link

Hi, I´ve been using bluetti_mqtt on a raspberry pi to get data from my EP600 and send it to my local mqtt broker. Unfortunately, I did update my bluetti´s iot thingie last week (yeah, stupid, I know... ), and now bluetti_mqtt --scan does not find any device.

According to pip, I have bluetti_mqtt version 0.15.0 installed. Can anybody direct me to what I need to do to get comms back? Is there some way to apply the above mentioned workaround to bluetti_mqtt? Thanks!

@Patrick762
Copy link
Author

The biggest problem is, they name multiple powerstations the same way, so this software can't detect the type anymore. If you're using Home Assistant, you could use my integration, otherwise you can try to add the type detection to this software like I have it here

@tschernet
Copy link

tschernet commented Apr 7, 2024

The biggest problem is, they name multiple powerstations the same way

I see. I´d be happy to set the device type manually (e.g. by some commandline parameter)

If you're using Home Assistant, you could use my integration,

Unfortunately I´m not; I am using NodeRed to process the data and show a dashboard, plus log into influxdb and use grafana for plotting

otherwise you can try to add the type detection to this software like I have it here

Thanks a lot, I´ll look into it. I´m not much of a python guy myself, but I´ll see if I can find my way around. (I´ll be grateful for any hints though!)

@KM011092
Copy link

KM011092 commented Apr 7, 2024

Is this a new issue or related to the rename of the EP600 to PBOX ? If itˋs caused by the rename to PBOX you may want to check the fork I am running on a RaspberryPi to monitor my EP600: https://github.com/KM011092/bluetti_mqtt.git. If this is a new issue, I better not update the IOT :-) and would be very interested if you found a way to fix it.

@tschernet
Copy link

Is this a new issue or related to the rename of the EP600 to PBOX ? If itˋs caused by the rename to PBOX you may want to check the fork I am running on a RaspberryPi to monitor my EP600: https://github.com/KM011092/bluetti_mqtt.git.

Hi, I´d love to do that! Please ignore my ignorance, but how do I tell pip to install your fork instead of the original project? Both mention the same command (pip install bluetti_mqtt), so I don´t know how to switch?

Thanks a lot! brgds - tscher

If this is a new issue, I better not update the IOT :-) and would be very interested if you found a way to fix it.

@KM011092
Copy link

KM011092 commented Apr 7, 2024

Hi, try pip install git+ https://github.com/KM011092/bluetti_mqtt.git

You may want to uninstall your old version first.
Please be aware that I am not a developer. The version is working for me, but I will not be able to give a lot of support if it does not work in your scenario.

@tschernet
Copy link

ok, did that; unfortunately, when running --scan, it still does not detect my EP600...

@KM011092
Copy link

KM011092 commented Apr 7, 2024

Mhhh, then this seem to be a new issue and I better not update my EP600 as long as everything is working for me. Sorry that this did not help.

@tschernet
Copy link

Mhhh, then this seem to be a new issue and I better not update my EP600 as long as everything is working for me. Sorry that this did not help.

No worries, thanks for your and everybody´s great work in creating all this in the first place, and for all the support you are providing!

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

4 participants