Mysensors - trigger custom functions/stuff

Hey!
I posted this question on the mysensors forum but will ask it here too (hopefully it’s ok) since it’s specifically for my Home Assistant setup. It can be seen here

Right now I’m using the mysensors esp8266 gateway and a few nodes, and it works great! I’ve added the arduino sketch in my link above, and it adds the rgb light in HASS UI and everything works (rgb color control and brightness), but how would I trigger/call other things that I add to the arduino sketch (like custom light effects/animations etc)? And then be able to trigger it from Home Assistant, like from a list or something? Anyone familiar with mysensors sketches and home assistant?

Thanks in advance!

for everything you like to trigger on the arduino, you need to make a switch.

off course you can program extra switches on the arduino to change sttings, but the right way to go is to do it from HA.

you can use the input_select to send different settings to the arduino node.
i use many arduino’s with mysensors and HA but i only use 433 mhz switches and lots of sensors.

1 Like

Thanks for the reply! Also got a similar response on mysensors forum, makes sense now to do it like that! Perfect! :slight_smile: