pvvx / THB2

Custom firmware for Tuya devices on the PHY622x2 chipset
Other
92 stars 13 forks source link

Tuya THB1 #41

Open fcrovy opened 2 months ago

fcrovy commented 2 months ago

Hi, I didn't understand if I can use OTA ([PHY62x2BTHome.html web page) to change the original firmware of the THB1 sensor or if it is necessary to load, at least the bootloader, via USB-COM converter. Because from OTA web page the device is seen with the name THWL but then the connection is rejected due to an unrecognized device. Thank's in advance, Fabio

kopchik commented 2 months ago

I think it's necessary to flash the boot firmware first. It wasn't straightforward for me: https://github.com/pvvx/THB2/issues/44 .

fcrovy commented 2 months ago

thank's a lot. I have flashed the boot without mistake and than loaded the firmware with OTA

DON5PEDRO commented 1 day ago

After the firmware is wired, the OTA does not connect normally to the phone and the TUYA gateway. All the firmware went fine - there were no errors. On the page [PHY62x2BTHome.html] connects, all settings are available and can be read and changed. What's wrong? How can I restore the connection to the devices in normal mode? I pressed the reset button briefly, several times including - it does not help. BTH01

pvvx commented 1 day ago

After the firmware is wired, the OTA does not connect normally to the phone and the TUYA gateway

The firmware works with Home Assistant and other software running in the BTHome format. Working with Tuya is not supported. To work with Tuya, restore the original firmware.

DON5PEDRO commented 22 hours ago

После прошивки OTA не подключается нормально к телефону и шлюзу TUYA

Прошивка работает с Home Assistant и другим ПО, работающим в формате BTHome . Работа с Tuya не поддерживается. Для работы с Tuya восстановите оригинальную прошивку.

Thanks! I flashed this sensor because it consumed too much power, I even converted its power supply to an 18650 battery - and even it ran out in less than 30 days (18650 is a new 3500mAh). Is there anything we can do about it?