Niko friends of hue switch integration


I have bought one of these:

It works really well with the Hue app, although even better with the eve app which lets you use double click and triple click on the buttons.

I can set rules up in the app so that if a light is on, another click on the same button turns it off etc so the switch is mega useful.

My issue is I would really like to connect it HA so that the buttons could maybe start a sonos playing, or operate plug sockets etc but because the switch is hubless/powerless etc HA does not discover it at all?

Unless anyone knows a way of getting the switch to be detected by HA I was wondering if I could create dummy hue lights somehow in HA? some sort of emulator or similar and then use HA to set my sonos play state to on if this imaginary light is on?

Anyway, any thoughts or help would be great.


Anyone able to help?

I’m interestted in this as well.

I suppose if a third party app like Eve can detect the switch it should be possible for another zigbee controller to detect it.

Question is if it is zigbee complient and how / when it activates.
I don’t (yet) have of these so can’t comment any further unfortunately.

Yeah a friend says it will be zigbee too so it’s whether it’s worth the risk of buying some sort of zigbee controller / detector to try and pick up whatever signal it sends then code these.

Will see what options are out there

I’m interested in the friends of hue switches but not working with HA is a dealbreaker for me. If anyone knows how to make these switches work with HA I would love to hear it

I have this working using the hue custom sensor. There’s a thread on here about the custom sensor. The switch is amazing.
Start with the above link to install HACS. I use hassio (not regular HA). When installation is done it should show up in the hassio menu as community. Start HACS and install Hue sensor custom component. This will make the friends of hue switches available to HA. Search for entities named sensor.switch_name



To sum up:
What hardware is needed?

  • Niko friends of hue switch
  • zigbee USB stick for rpi
  • hue light or other hassio controllable light?


  • I use Philips hue lights (any type will do)
  • Philips hue bridge V2
  • Niko friends of hue switch

depends what you want to do. The switch can control anything as long as you have a Niko switch and a zigbee stick.

Mine controls my sonos for example

Hi SarumaN, thank you for this info. I’m still new in but am I correct that if I install Hassio + HACS + Hue sensor custom component that I won’t need additional hardware (aside from the Niko Hue Switch)? In other posts I read that you would also need a Zigbee USB stick?

I would like to be able to add the Niko Hue Switch to HA so that I can use I to control other automatons.

You either need a zigbee stick (according to other users) or a philips hue bridge (part of my setup). Zigbee devices always need a coordinator (bridge) in the mesh network. Most devices (switches, lights) are also routers at the same time.
Zigbee network image