Skip to content

Conversation

@Nerivec
Copy link
Collaborator

@Nerivec Nerivec commented Nov 20, 2025

Closes #1556

  • add sendRaw to Controller public API
    • presence of specific properties in payload determines Adapter API to use
    • enforced validation of payload properties (asserted) based on determined Adapter API
    • can pass custom clusters directly for ZCL needs (e.g. define a custom cluster in ZHC, and pass it directly here without needing it being attached to a device)
  • add disableResponse support for InterPAN broadcast Adapter API
  • cleanup Touchlink & GreenPower class a bit, provide direct get access instead of wrapper functions, expose a few utils to allow custom usage in ZHC
  • fixes a bug with Touchlink on stop where it could have left the adapter on a different channel (probably the definition of edge case but...)

CC: @Mstrodl

TODO:

@Mstrodl
Copy link
Contributor

Mstrodl commented Nov 20, 2025

Is there a way to change inter PAN channel with this? Otherwise the ability to send an inter PAN message isn't very useful

@Mstrodl
Copy link
Contributor

Mstrodl commented Nov 20, 2025

Works for me

@Nerivec
Copy link
Collaborator Author

Nerivec commented Nov 20, 2025

Had not done that part yet. Now there is. 😉
Let me know if you see anything across the 3 PRs.
Once this is refined, we can add some frontend support (quick action buttons & co).

@Nerivec Nerivec marked this pull request as ready for review November 21, 2025 22:35
@Koenkk
Copy link
Owner

Koenkk commented Nov 22, 2025

@Nerivec not sure if it's ready, feel free to merge.

@Nerivec
Copy link
Collaborator Author

Nerivec commented Nov 22, 2025

It's mostly the added sendRaw on this one. The TL/GP stuff is mostly removing unnecessary wrappers. And the extra disable response logic only touches BC InterPAN.
i.e. impact should be rather limited as far as existing code is concerned.
I think this can be merged. If anything needs tweaking, it will likely be the ZHC part.

@Koenkk Koenkk merged commit 0c49c79 into master Nov 22, 2025
4 checks passed
@Koenkk Koenkk deleted the send-raw branch November 22, 2025 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants