Ah ok. Well for that I guess you just need to listen for an event kind + pubkey with a standard nostr library. Not sure where the listening takes place: on the arduino or somewhere that then signals the arduino. You'll end up listening via a standard nostr library like nostr-tools or NDK probably.