Closed pavel808 closed 4 months ago
@pavel808 Well, what ZAP version are you using? Are you just using the ZAP from bootstrap, or do you have a separate (older) ZAP installed that you are pointing at via the env vars?
@bzbarsky-apple Thanks for your reply. In the end, I installed it from the connectedhomeip inside the esp-matter repository after doing a git pull.
I still can't get this to work though. When I try to send a command I keep receiving this: ERROR: Avahi resolve failed
What i'm trying to do. My Node ID is 0x7293. I have a custom cluster server on my device with ID 0x131bfc00. There is a command from that cluster with ID 0x1, and I am trying to send value 0x1 there via the command.
Would you know the correct format to send such a command from CHIP REPL? Maybe i'm doing something wrong. Thanks.
I don't really know how to use the Python repl, sorry. That said, it sounds like there are issues with DNS-SD resolution in your setup.... Hard to say more without knowing what exactly is being resolved and what is being advertised.
@bzbarsky-apple Ok thanks. It's a very difficult tool to use.
Is there any other Matter controller tool than be used to test and send commands to a device with custom cluster servers?
chip-tool only works with standard known clusters etc.
There is the ESP Matter Controller example, but it turns out that this is not supported for the ESP32-C6. I've hit a brick wall it seems:)
chip-tool only works with standard known clusters etc.
chip-tool can absolutely do custom things. See https://github.com/project-chip/connectedhomeip/blob/master/docs/guides/chip_tool_guide.md#using-wildcards-with-any-command which talks about wildcards, but you can just use whatever cluster/command/attribute IDs you want.
The value syntax there for commands/writes is JSON. The built-in docs describe how those payloads work (e.g. if you run chip-tool any command-by-id
the help output has a long section about the payload
argument, and chip-tool any write-by-id
has the same for attribute-values
).
@bzbarsky-apple
My bad. I hadn't realized this. I tried it and it works great. Thanks a lot.
@pavel808 You're welcome!
Closing: issue was not having a propper zap-cli installed, which should be installed after bootstrap.
Reproduction steps
My goal is to install and use CHIP REPL to work with customized cluster servers on my ESP32-C6 device. I am building on Ubuntu 22.04.4 LTS.
I am following the instructions as defined here : https://github.com/project-chip/connectedhomeip/blob/master/docs/guides/python_chip_controller_building.md#building-and-installing
When I reach the following stage : scripts/build_python.sh -m platform -i separate
I get the following issue below. I'd appreciate any help with this.
Bug prevalence
always
GitHub hash of the SDK that was being used
28430f1364f541329fc5dd4350495d5afd9b8644
Platform
esp32
Platform Version(s)
No response
Type
Spec Compliance Issue, Platform Issue
Anything else?
No response