Comments (10)
I tried using the chip-tool api to connect
./chip-tool pairing code 1 21104754926
Where did that code come from? Is that the one the Android app provided?
./chip-tool payload discover commissionables
also fails.
There is no "payload discover" command in chip-tool...
What is avahi, if you have it installed, showing you about the commissionable advertisement in question?
from connectedhomeip.
from connectedhomeip.
from connectedhomeip.
chip-tool discover commissionables
should generally work. So if that's not working, then chances are either a commissioning window is not being opened, or the device that is commissionable and chip-tool are not on the same network, or something on that network is messing with dns-sd.
avahi could be a way to at least cross-check that the issue is not with chip-tool itself, just in case.
from connectedhomeip.
from connectedhomeip.
Ok, so I have it working now. Couple of things to note.
- This does not work with WSL for me. It seems to need the full ubuntu install desktop install.
- You need to --bypass-attestation-verifier=true to complete the commissioning.
Commissioning then complete successfully and I could see the new fabric linking on my android.
However, one concern was that the logging didn't provide me with the discriminator code that I could understand. I was able to successfully toggle a matter plug by using discriminator set to 1.
If you know how to distinguish it from the logs that would be very helpful going forward.
Otherwise, the controller does as advertised. Thank you!
from connectedhomeip.
You need to --bypass-attestation-verifier=true to complete the commissioning.
Probably because it's signed by a PAA that has not been imported into the SDK source tree yet.... I hope.
the logging didn't provide me with the discriminator code that I could understand. I was able to successfully toggle a matter plug by using discriminator set to 1.
I'm not sure what you mean @pmatsibekker. Discriminator is only used during commissioning, to narrow the set of things you might try to commission.
Where are you using the discriminator in any way? Normally you "use" it just by using the pairing code (which encodes the discriminator, or part of it in the case of the numeric code).
from connectedhomeip.
from connectedhomeip.
If I understand the api correctly, the controllers need the descriptor id to distinguish the individual devices on the fabric node once commissioned.
Once the device is commissioned, all you need is the node ID.
The node ID is assigned by the commissioner, and can be anything the commissioner wants, as long as it's unique within the commissioner's fabric. The commissioning command used above:
pairing code 0x1 26058243772
is using 0x1
as the node ID to assign to the commissionee. After that, you need to use the same node ID to sent it commands. You can use any other node ID you want here, as desired.... It's totally up to you, as the commissioner.
I'm not sure whether that actually answers your question/concern, though. If it doesn't, can you please clearly explain what problem you are trying to address here?
from connectedhomeip.
from connectedhomeip.
Related Issues (20)
- [BUG] SDK does not send Read DataReports with "suppressResponse=true" HOT 10
- Do we have any example for room air conditioner. If not, then how to create such device HOT 2
- linux arm64 HOT 5
- [Platform] linux HOT 4
- Remove QueuedPresets from the Thermostat cluster
- [Tooling] API compatibility checker does not consider apiMaturity="provisional" on structs
- [BUG] uninitialized PairingCommand::mDiscriminator leads "chip-tool pairing onnetwork" to die HOT 2
- [TC-IDM-10.4] Python script has to be updated as per test plan changes
- [TC-EEVSE-2.2,2.4 & 2.5] Python script has to be updated as per the test plan changes
- [TC-OPCREDS-3.1] - Python Test case failed during PASE Reconnection
- [Platform] [Zephyr] Basic example to test Zephyr platform
- [Tooling] [chip-cert] CD certs are not properly generated and have encoding errors HOT 1
- [Feature] Init mLastUsedNodeId from chip config file
- [Feature] Implement feedback channel for not application python test cases
- [BUG] [DRLK] Adding or modifying credential from different fabric that creatorFabric of user/cred does not fail as expected
- [1.3] Apk Size of Android app is over 500 Mb
- [Laundry Washer Mode] Sample app(All-cluster-app) has to be updated by removing the provisional Attributes.
- [CERT-TEST-FAILURE][ TC-ICDM-2.1] - Python script Failed
- [Dish Washer Mode] Sample app(All-cluster-app) has to be updated by removing the provisional Attributes
- [Refrigerator And Temperature Controlled Cabinet Mode] Sample app(All-cluster-app) has to be updated by removing the provisional Attributes.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from connectedhomeip.