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

Espurna style WB2S - BK7231 chips support. #2581

Open
davebuk opened this issue Mar 12, 2023 · 6 comments
Open

Espurna style WB2S - BK7231 chips support. #2581

davebuk opened this issue Mar 12, 2023 · 6 comments
Labels
enhancement New feature or request

Comments

@davebuk
Copy link
Contributor

davebuk commented Mar 12, 2023

Description

It's seems quite a few smart devices are moving away from ESP controllers and use BK7231 chips instead. Would there likely be espurna style firmware in the future?

Solution

The following site has one solution:
https://github.com/openshwprojects/OpenBK7231T_App

Alternatives

It seems the BK7231 chips can be directly replaced with ESP-02S boards. This involves de-soldering the old chip board and soldering in a new one. At least they could be flashed as normal putting espurna firmware on them.

Additional context

No response

@davebuk davebuk added the enhancement New feature or request label Mar 12, 2023
@mcspr
Copy link
Collaborator

mcspr commented Mar 14, 2023

I'd also add a link to https://github.com/kuba2k2/libretuya and the accompanying https://docs.libretuya.ml/docs/projects/esphome/ which supports both BK72xx and Realtek chips used in Tuya devices.

Not sure I am in the market of buying any of those, though, and developing anything without a hw around is fairly non-exiting to even think about. Port should be fairly straightforward, these do not add any extra hw features otherwise and can be treated as almost a esp8266 clone.
(have to look at actual differences some more)

@iprak
Copy link
Contributor

iprak commented Mar 17, 2023

The OpenBK7231T_App firmware is not as polished but it targets a variety of variants and is quite functional. I would give it a try. I understand Libretuya only handles a specific set of features found in esphome.

@kuba2k2
Copy link

kuba2k2 commented Mar 18, 2023

We're still enhancing the ESPHome support in LibreTuya, for example the remote receiver component was fixed lately.

@davebuk
Copy link
Contributor Author

davebuk commented Mar 18, 2023

I've not bought any new devices yet and I have just stock piled a few ESP WiFi sockets.

I will carry on using Espurna on my home made D1mini devices, but was looking to the future when the standard plug in WiFi sockets all come with other chips.

For me, as long as the devices support MQTT, thats all I generally need. I think OpenBK7231T now has MQTT support but its still early days where as Espurna has been working solidly for me for a few years.

I'll keep an eye on progress on github.

@kuba2k2
Copy link

kuba2k2 commented Mar 18, 2023

OpenBK7231 is around a year old now, so I presume it's stable enough for daily usage. If you need MQTT, then ESPHome-LibreTuya won't work for you yet, because MQTT still has issues.

@iprak
Copy link
Contributor

iprak commented Mar 18, 2023

OpenBK7231T_App is quite decent but also a work in progress. There is active support for various chips and sensors, lights. Also the project supports not just BK7231T but also variants like W600/W800/etc (device database)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants