Arduino RCSwitch Libary + Send Variable


#1

Hello is it possible that I can switch my power socket over 433mhz with the RCSwitch libary?
I want that Cayenne send variable to the arduino when a button in the app is pressed. In the arduino sketch the variabble should actived the power socket over an if statment. Is this possible? Thank you! I am a German so sorry for my bad english.


#2

It sure is. Just use a generic PWM input (under actuators) and in the CAYENNE_IN(PWM_VIRTUAL_PIN) function put your code. However, there seems to be a bug with sending values at the moment Sending an EXACT value to rduino via Cayenne