Identify Which User Operated the Device in ESP RainMaker (Arduino IDE)

rupeshk74
Posts: 13
Joined: Mon Apr 21, 2025 7:38 am

Identify Which User Operated the Device in ESP RainMaker (Arduino IDE)

Postby rupeshk74 » Sat Aug 02, 2025 10:48 am

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!

Piyush
Espressif staff
Espressif staff
Posts: 372
Joined: Wed Feb 20, 2019 7:02 am

Re: Identify Which User Operated the Device in ESP RainMaker (Arduino IDE)

Postby Piyush » Fri Aug 08, 2025 2:19 pm

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"

rupeshk74
Posts: 13
Joined: Mon Apr 21, 2025 7:38 am

Re: Identify Which User Operated the Device in ESP RainMaker (Arduino IDE)

Postby rupeshk74 » Sun Aug 24, 2025 7:19 pm

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