ptvoinfo / zigbee-configurable-firmware

PTVO firmware for CC2530, CC2531, and CC2652 Zigbee chips
https://ptvo.info/zigbee-configurable-firmware-features/
MIT License
205 stars 22 forks source link

Model ID won't update #226

Closed phalox closed 1 year ago

phalox commented 1 year ago

Referring to a closed issue #178

I seem to be experiencing the same issue:

image

image

I've deleted the device in Z2M, and restarted Z2M. None of it seems to fix the problem. When I make changes to the firmware (e.g. add an input), they do show up in Z2M.

I've also let it validate that the hex file is correct, and that seems to be the case:

image

I bumped into one more thing.... When exporting the converter and opening the file, I still see the old name (ptvo.switch).

image

Could it be that this is part of the issue?

Also, using the custom converter in Z2M, I think it's still not triggered because of the lack of another modelID

Originally posted by @phalox in https://github.com/ptvoinfo/zigbee-configurable-firmware/issues/178#issuecomment-1703841926

ptvoinfo commented 1 year ago

@phalox Hi,

  1. Delete your device in Z2M.
  2. Stop Z2M.
  3. Delete coordinator_backup.json in the "data" folder.
  4. Start Z2M.
  5. Join the device again.
phalox commented 1 year ago

Great, that seems to have solved it!

image

What would be your recommended development process? When playing around with different settings, adding & removing sensors etc, this seems a little tedious. I also found it challenging to debug zigbee issues. Often it's a matter of reflashing/repowering, but I'd love some more visibility.

ptvoinfo commented 1 year ago

Unfortunately, Z2M is not friendly for DIY :). I use the same procedure while testing/