Open eph2 opened 3 months ago
I'm using a Macbook, but when I try to upload the FW APP with OTA, on a Windows computer, it worked.
Only Linux, Windows, Android are supported. APP programming has problems in the ROM chip program. Therefore, it is recommended to use OTA for APP.
Only Linux, Windows, Android are supported. APP programming has problems in the ROM chip program. Therefore, it is recommended to use OTA for APP.
Nice, Victor. Thanks for your reply!
Straying from the topic of this post, but taking advantage of the fact that I have doubts.
I configured the BTH01 in Home Assistant, using BTHome, everything worked perfectly, but only two entities are coming without values (as shown in the image below). When clicking on them, they say they are disabled. Is this normal?
Second question: when the sensors were connected to the Tuya system, the integration with Home Assistant notified me when the devices became unavailable. Is there any way I can monitor this now? I imagine it has to do with the entities mentioned above, but maybe there is another way. When I remove the batteries from the sensors, they just stop sending the signal and do not update the value. Should I use this time of the last update as a "sign" of unavailability?
Thanks in advance!
I configured the BTH01 in Home Assistant, using BTHome, everything worked perfectly, but only two entities are coming without values (as shown in the image below). When clicking on them, they say they are disabled. Is this normal?
This is diagnostic data and is not needed by everyone. When activated, the data will be written to the history, to the HA database. This will reduce the media resource and increase the size of the database.
Second question: when the sensors were connected to the Tuya system, the integration with Home Assistant notified me when the devices became unavailable.
This is configured in the integration package you are using (Bluetooth, BTHome).
The parameter state is marked as "Unavailable". I don't remember where in "Bluetooth" and "BTHome" the period is set.
NIce, thanks, Victor!
i get the same error on bth01 when fw 1.8b.bin was successfully flashed with ota and i try to reconnect with web flasher. boot was updated to 1.8 before via serial
`
5:09:16 PM: Not connected 5:09:19 PM: Searching for devices 5:09:23 PM: Waiting for connection to BTH01-FF9DAB 5:09:33 PM: Model: BTH01 5:09:33 PM: Firmware: github.com/pvvx 5:09:33 PM: Hardware: 0014 5:09:33 PM: Software: B1.8 5:09:33 PM: Device info # hw: 0014, sw: 0018, services: 00000281, sd: 0000 5:09:33 PM: OTA ver: 01 5:09:33 PM: Connected. 5:09:33 PM: Set device time... 5:09:33 PM: Set device time (23CDCEE166)... 5:10:22 PM: Download firmware file 'BTH01_v18.bin'... 5:10:22 PM: File: bin/BTH01_v18.bin 5:10:22 PM: File id:PHY6, Segments: 3, Start: 0x"1FFF1838, : 48624 5:10:22 PM: Filesize: 48628 bytes 5:10:22 PM: Counter: 3040 blocks 5:10:43 PM: Start OTA flashing... 5:11:37 PM: Flash finished in 52.867 seconds 5:11:40 PM: Device is disabled. 5:11:45 PM: Searching for devices 5:11:49 PM: Waiting for connection to BTH01-FF9DAB 5:11:58 PM: Model: BTH01 5:11:58 PM: Firmware: github.com/pvvx 5:11:58 PM: Hardware: 0014 5:11:58 PM: Software: V1.8 5:11:58 PM: NotSupportedError: GATT operation failed for unknown reason. 5:11:58 PM: Reconnect 0 / 5 5:11:58 PM: Waiting for connection to BTH01-FF9DAB 5:11:59 PM: Model: BTH01 5:11:59 PM: Firmware: github.com/pvvx 5:11:59 PM: Hardware: 0014 5:11:59 PM: Software: V1.8 5:11:59 PM: NotSupportedError: GATT operation failed for unknown reason. 5:11:59 PM: Reconnect 1 / 5 5:11:59 PM: Waiting for connection to BTH01-FF9DAB 5:11:59 PM: Model: BTH01 5:11:59 PM: Firmware: github.com/pvvx 5:11:59 PM: Hardware: 0014 5:11:59 PM: Software: V1.8 5:11:59 PM: NotSupportedError: GATT operation failed for unknown reason. 5:11:59 PM: Reconnect 2 / 5 5:11:59 PM: Waiting for connection to BTH01-FF9DAB 5:12:00 PM: Model: BTH01 5:12:00 PM: Firmware: github.com/pvvx 5:12:00 PM: Hardware: 0014 5:12:00 PM: Software: V1.8 5:12:00 PM: NotSupportedError: GATT operation failed for unknown reason. 5:12:00 PM: Reconnect 3 / 5 5:12:00 PM: Waiting for connection to BTH01-FF9DAB 5:12:00 PM: Model: BTH01 5:12:00 PM: Firmware: github.com/pvvx 5:12:00 PM: Hardware: 0014 5:12:00 PM: Software: V1.8 5:12:00 PM: NotSupportedError: GATT operation failed for unknown reason. 5:12:00 PM: Reconnect 4 / 5 5:12:00 PM: Waiting for connection to BTH01-FF9DAB 5:12:01 PM: Model: BTH01 5:12:01 PM: Firmware: github.com/pvvx 5:12:01 PM: Hardware: 0014 5:12:01 PM: Software: V1.8 5:12:01 PM: NotSupportedError: GATT operation failed for unknown reason. 5:12:01 PM: Connection failed!`
Two options:
Two observations on MacOS Sequoia on a M1Max:
Hello. I'm trying to write the FW APP to my BTH01.
The firmware was successful uploaded, but when I try to upload the FW APP some errors occurs.
I tryed from OTA page, and the command line method too.
Here are the code from the command line:
And here are the OTA error:
On the status area this are the message when the FW area trying to be uploaded: Block transferred 15 from 3039, 0% succeeded, total time 0.006 seconds
Sometimes, OTA returns this message too: Error: Error (7) during block transmission 15 OTA: Package loss
I'm attaching the "resume" of the sensors to this post too, the voltage are ok!
And, I'm attaching a photo of the board too.
EDIT: I tried with the 1.8 version too, and I have the same errors