Is there a possibility to connect my Philips Hue Bridge to a wifi network through my Raspberry Pi 3 B+ with Raspbian Stretch Lite?
I live in an apartment compound with a separate wifi network provided to each tenant, there is no way to have our own wifi router. I do not have access to my landlord's router. Wifi: 192.168.1.0/24
What is Philips Hue and the Hue Bridge?
Philips Hue is a system for smart lights. The Hue Bridge is the device that controls all the lamps. Typically, you access the Hue Bridge from a smartphone app in order to turn on/off lights manually or set schedules. The Hue Bridge cannot connect to wifi directly, it only uses an ethernet port.
What I have tried so far
My first approach was to share my Raspberry's wifi to the ethernet device using the following approach: Sharing the Pi's WiFi connection through the Ethernet port The device connected via Ethernet then has internet, but is in a different subnet, so my phone could not find the Hue Bridge.
The second approach was to create a network bridge between eth0 and wlan0, but that also did not work for me. It seems that ethernet bridge to wireless is ok, but wireless bridge to ethernet is not. Raspberry PI 3 MODEL B - Wireless Bridge to ethernet
The hue bridge has a REST API on port 80. https://domoticproject.com/controlling-philips-hue-lights-with-raspberry-pi/
I used approach 1 so the Raspi creates a second subnet for the ethernet port and thus for the Hue bridge. I installed nginx reverse proxy on my raspi in order to forward the http requests to the hue bridge in my other subnet. The phone app can now find the bridge (by manually entering the raspi IP in the app). And I can also access kind of a start page of hue from my computer.
However the pairing process between the phone and the bridge requires me to press the button on the bridge for authorization. It seems the bridge needs to actively connect to the phone. This is where the nginx approach fails.
Does anyone have an idea of how to solve this?