Get Informed out of Data

Full width home advertisement

Raspbian

DataScience

Post Page Advertisement [Top]

Installing DIYHue on Raspberry pi 4 for Home Automation

Installing DIYHue on Raspberry pi 4  for Home Automation

 Home automation or Industrial automation - whatever it is, the basic rule is to send and receive data whether a relay or speaker or light.

That's why the major issue of Automation on the cloud is highly risky on the security side of it. But, Automation is highly feasible to extend the control over a process, it can also be done locally.

DIYHue provides such an interesting feature of being running an environment totally local on raspberry pi.

Can be combined with various other hardware like ESP8266 to enable wireless communication with home appliances.

Basically, it is started with Phillips Hue bulbs, which is wirelessly controlling a bulb - later improved to controlling WS2812B bulbs through ESP8266 modules too.

When it is festive time or party-time, then these are highly viable for commercialization also can be used in their own home to extend theatrical effects.

Let's get to know about these, 


When installing diyHue directly on the host, The automatic install is highly recommended and is kept most up to date.

Just run the following command to install:

curl -s https://raw.githubusercontent.com/diyhue/diyHue/master/BridgeEmulator/easy_install.sh | sudo bash /dev/stdin

Once complete, diyHue is installed and running. It will also automatically start on boot. diyHue can also be stopped, started, and restarted with the following command:

sudo systemctl [start/stop/restart] hue-emulator.service

The next step is to add devices, 

Pairing diyHue with the Hue app

To pair a new device to diyHue, first head to http://{IP_ADDRESS}/hue/linkbutton. The default username is Hue with a password of Hue also. At this point, you should open the Hue app on your phone and start searching for hubs. To speed this up you can click the Help button and then enter the IP address of your diyHue device. Once the bridge has been detected, click the green Set up button. At this point, the app will prompt you to press the link button on your Hue bridge. To do so, click the Activate button on the web page you loaded at the start. The Hue app should now prompt you through the rest of the setup.

You can go further by adding as many devices as you can.

DIYHue makes us convert normal build into a smart one too. It supports various protocols to interact with.

Let's see the following.

No comments:

Post a Comment

Bottom Ad [Post Page]