RGB Light: Custom Effects
-
Anyone figured out how to trigger an update + sending of V_VAR1 / V_VAR2 from home assistant to a node?
My goal is to trigger custom effects in a mysensor-RGB node.
(Yes, I know my sketch could present switches to allow triggering of the effects but I wanted to learn more how HA mySensor integration works and maybe couple with HA's existing 'effect_list' attribute for RGB lights).
-
Anyone figured out how to trigger an update + sending of V_VAR1 / V_VAR2 from home assistant to a node?
My goal is to trigger custom effects in a mysensor-RGB node.
(Yes, I know my sketch could present switches to allow triggering of the effects but I wanted to learn more how HA mySensor integration works and maybe couple with HA's existing 'effect_list' attribute for RGB lights).
@rvendrame
I think you should start with presenting a sensor as S_CUSTOM with V_VAR1 as described here
https://www.home-assistant.io/integrations/sensor.mysensors/
That should show up in HA and from there you can control the values from HA.
I hope this helps. -
@electrik , thanks for the directions. Yes the S_CUSTOM does show up in HA --- But how to change its value there? I can set different values in dev tools UI, but that is known to be temporary (it lasts only until next refresh from integration), and changing it there does not trigger a V_VAR1 message from HA back to node...
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login