I'm using ESP RainMaker with the Arduino IDE to develop a security device. I’ve shared access to the device with two additional users via the RainMaker app. All three of us can control the arm/disarm switch from the app.
However, I’m currently unable to determine which specific user is toggling the security switch. For security and accountability purposes, I need a way to identify which user (by email ID or unique user ID) performed the action.
Is there any method—either through the Arduino SDK or via the RainMaker backend—to retrieve and display the identity of the user who triggered the switch? Ideally, this information should be viewable either in the serial monitor or displayed within the app.
Thanks in advance for your support!
Identify Which User Operated the Device in ESP RainMaker (Arduino IDE)
Re: Identify Which User Operated the Device in ESP RainMaker (Arduino IDE)
This is not possible for the set parameters workflow, as it is a lightweight and quick means for updating a device. For sensitive operations, you can use the command-response framework in ESP RainMaker. On public RainMaker, the history expires in a day, but on private deployments, there is an option to configure its validity. Note that you can use the AI chatbot on the bottom right of the ESP RainMaker website to ask more about "Command Response Framework in ESP RainMaker"
Re: Identify Which User Operated the Device in ESP RainMaker (Arduino IDE)
Thanks Piyush, I shall explore command response surely but not sure if it can work with arduino ide. It would be great if we could have got the user identity through someway as it was very important for my project.
Who is online
Users browsing this forum: YisouSpider and 1 guest
