Replies: 5 comments
-
|
Hello, the requesting node must be in the ACL list, as the sensor needs to know the requesting nodes public key in order to decrypt the request. Either the requestor needs to perform a log in to the node with a password to get automatically added to the ACL, or they need to be manually added to the ACL by an existing admin user. This is how the encryption and request/response mechanism works, so it's not possible for any/unknown nodes to make requests without being in the ACL. |
Beta Was this translation helpful? Give feedback.
-
|
Okay, that makes sense, thank you for your answer. Perhaps I should rephrase the question: If so, I haven't been able to find where or how to do that. Perhaps you have some suggestions? |
Beta Was this translation helpful? Give feedback.
-
|
Ah, if I access the compiled sensor via the configuration interface at https://config.meshcore.io (Repeater/Room-Setup), I can also assign a guest password. I'll try that. |
Beta Was this translation helpful? Give feedback.
-
|
No, that doesn't work either. While I can set a guest password, the sensor doesn't react when someone logs in with it. I thought that a guest login might add the user to the ACL list with read-only permissions. |
Beta Was this translation helpful? Give feedback.
-
|
No, the sensor is no on par with other types it does not have "guest" mode implemented. As the branch is marked with TODO. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I compiled the program code for a "Simple Sensor" for a XIAO nRF52, connected a BME280, and it works fine. The sensor also responds to the "DISCOVER NEARBY DEVICES ==> DISCOVER SENSORS" function.
However, another user could NOT query the sensor until I added him to the ACL list with readonly via the management in the app. After that, he could query the sensor as well.
It's rather strange to be able to detect a sensor but not allowed to query it?
Is there a way to configure the sensor so that ANYONE can query it?
Beta Was this translation helpful? Give feedback.
All reactions