Open KipK opened 4 weeks ago
Seeing the traces on my pic above, it looks like the led is on PD2, I'll have to confirm that. Edit: it's indeed the case, so board .h is also edited with:
// LED
I couldn't wait to test, so I've flashed it with OTA. Everything seems all right. Button and leds are now working as expected with the define i've changed above.
@pvvx thanks a lot, you've done one hell of a good job with this firmware.
@KipK Would be great if you could share some hints to prep an OTA for my TS0201 _TZ3000_v1w2k9dd which is Zigbee out of the box. Bit unsure how to create something that is recognized by ZHA when using below config.
Note they work out of the box in home assistant but only seem to update when registering big changes in temperature / humidity hence my wish to use this custom firmware.
image_type_id 0x008 ---> 65535
manufacturer_id 0x007 ---> 4098
zha:
zigpy_config:
ota:
extra_providers:
- type: advanced
warning: I understand I can *destroy* my devices by enabling OTA updates from
files. Some OTA updates can be mistakenly applied to the wrong
device, breaking it. I am consciously using this at my own risk.
path: /config/zigpy_ota
zha_toolkit:
Hi
I'm trying to adapt the build for my TS0201, this version is identified as _TZ3000_bguser20.
I've already flashed your build for TS0201, it runs ok but button is not working and led not flashing.
I've checked with a multimeter, button is wired to PB5 instead of PC0. So I've changed the values in board_ts0201_tz3000.h like this:
I haven't changed the led yet , I couldn't find the correct pin so will try with default one first.
When compiling the OTA fw, I got those warnings:
I prefer to ask before bricking my device, does this error seems normal ? Can I still flash my build without risking bricking it ?
Thanks