Hi - Very new to Home assistant but its very enjoyable to learn something new… I have a question. I have a remote button which has power, dimming and cycle scenes on it…how do i tie this to a bulb - i want the swtich to be and on/off and dimming for the bulb…not really sure where to look or, where to start?
This depends on what kind of button and bulb we are talking about. In general:
Connect both the button and the bulb to Home Assistant by adding the integration for it.
In many cases, Home Assistant will discover your devices automaticaly when these devices are connected to the same network as Home Assistant is using WiFi, Bluetooth, Zigbee or Zwave. If not, you can configure it manually
(Integrations - Home Assistant). In many cases you could add a custom integration when the integration is not included as official integration. I reccommend to use HACS for that (see https://www.wundertech.net/how-to-install-hacs-on-home-assistant/ )
Create an automation (Settings/automations) and define the button as trigger and the bulb as action. Actions can be a service like this example:
or you could for example use a scene as action to set multiple lights, dim them to a certain level and set the right color for your mood and turn on the music. For example we can activate the defined scene ‘romantic’ in an automation:
Ok - thanks very much! - first and foremost…the code stuff…no clue! none atall…im struggling with just what i can see thats in windows that i can click on! having said that im getting aquainted slowly with where stuff is. Ill have a crack at it now…many thanks.
Is there a payload once you release the dimming button? I see recall_1 , store_1 listed
How does the dimmer button operate? Does it repeatedly send ‘brightness_step_up/down’ payload the longer you press it or just once?
nodered is an homeassistant addon that provides another way of creating your automation ‘visually’
I can help create some flow example(another word for automation in nodered) to get you started but I’ll need some feedback on the payload sent from your remote.
ok- i went to the devices (where i thought it was) but that just tells me a button has been pressed…where am i looking? - i did also click on the link that took me to page on home assistant that said if i go to the device (which i did) and then it said click on the Bindings tab…theres no tab i can see…
If you can bear with me…for some strange reason my laptop keeps failing to load the home assistant dashboard…tried a new profile last night thinking id fixed it…but no…rather than trying to find the issue its been asking for a rebuild…ill just do it now…!