Testing A Tuya Smart LED Bulb For Home Automation | Including Home Assistant Integration – DIY #56

a home automation setup would not be complete without some smart lighting and in this video we are going to take a look at one inexpensive option for this the bulb has its own app which allows you to control it from anywhere in the world we will first configure it with that app and we will then learn how to add it to home assistant so that we can integrate it with the rest of a home automation setup when it comes to smart lighting the first thing that you will probably think of is the Philips you range while these are excellent products they are not very cost effective for the average consumer you then need a bridge to connect all the devices which add some complexity and more cost to your smart is a leading company that has designed several products for home automation and they've also created a secure platform which is used by several different companies for their own products the wireless modules that they have designed are used in various different products and the end result is a range of smart devices that we can easily use all of these devices are controlled by a single app and have a host of smart capabilities so that you can get up and running with home automation I purchase these balls for about nine pounds each though you can also get them for about eight dollars on Aliexpress be sure to look for the – your logo when purchasing a unit another brand is taken and that has a lot of products to offer some of which are much better looking they are both very similar and can be used with a smart life app which again is very similar to the two your app the bulb itself looks like a regular LED bulb this one is a nine watt version with an output of 800 lumens which is not bad either keep in mind that many other efficient LED bulbs cost about the same and also produce the same light output this particular bulb has the e 27 holder but most of my bulb holders at home use a B 22 style like this I could go about changing all the holders but a much easier way is to use an adapter like this one which simply screws in place to convert the e 20 seven style to be 22 these adapters are easily available on various websites for this video I am going to use this e 20 7 lamp holder and the Bible simply screw in place by default the bug will give you a cool delayed output when switched on there's no way for us to control the color or brightness like this so let's get started with the setup the first thing we need to do is download the app I will be using the – yeah app so you can also use the smart life app I have tested both in a layout along with the process is the same you would first need to create an account or sign in if you have one all the devices will then be linked to your account once you've signed up you will reach a page like this where you can add a device you can view the long range of products that this app is compatible with from home appliances kitchen appliances and so on we will be adding the light bulbs to select lighting section and then select the lighting Wi-Fi option most of the products only support 2.

4 gigahertz networks so make sure you are connected to a 2.

4 gigahertz Network and then enter the password here which will be used to configure the bug in order to link the bulb with the app we need to put it into the pairing mode where the bug will blink continuously you can also view this guide to help you split it into the pairing mode power cycling it three times as per this guide did not work for me and the manual does not contain any instructions as well and if this is the same for you then try power cycling it between 5 to 10 times for me doing it five times worked every time you can then confirm that it is in the pairing mode to continue with the setup this step will take a few seconds and once done it will show you a screen like this edit the device name to something more suitable and then complete the setup you will then be taken to a screen where you can control the bulb change its brightness color temperature and so on you can also move to the next tab to change its color like so the next step contains presets that you can use to easily switch between modes you can also edit them as needed finally you can also create a schedule for basic automations if you go back then you will be able to view the device list and you can add several other devices and control them with the same app you also have access to the common functions for a particular device as of now I have been controlling the bulb over Wi-Fi but since the bulb is connected to the TR cloud we can control it using any other network as well this is very similar to what blinked us and we have looked at that in a previous video if I switch to my cellular network then you can see that I can sell view the bulb status and control it remotely which is handy also if you power cycle the bug then it will retain the last color and settings which is also pretty handy if you want to use this with a voice assistant then you will have to add the to your smart scale to it and you will then be able to control it I do not have a voice assistant at the moment so I cannot test this feature we will be making a voice assistant in a future video so do subscribe to stay updated for that in order to use it with home assistant we will need to use it to your integration we need to add these lines to the configuration file so start by copying them head over to home assistant and install the configurator add-on if you haven't already this is also called file editor once done you can open it up select the configuration file and then paste the lines that we copied enter the user name and password which you use to sign into the app for the country code you will need to add the international calling code so go back to the integrations page then select the option down here and find the code for your country which is 44 for me added to the configuration save the file and we then need to reboot the system so head over to has i/o system and click the reboot option give it a couple of minutes to boot and then head over to the dashboard maybe we'll add the bulb start configuring the you I had an entity and then select light option if you scroll down here then you will be able to view the light in the system so select the name that you had given the bulb and that's about it save this then exit the configuration view to view the dashboard you can then control the bulb from here you can also use the options menu to change the brightness and color temperature also you can still use the app for more advanced features changing the color and so on once you are able to successfully control the ball from the dashboard you can use its entity ID in node-red to create automation x' we have already learned how to do this before so I will not be covering it in this video however we will be doing it in the final home automation setup here's what's happening the bub is connected to the two-year server over the Internet and it needs this connection to work ideally you would want to avoid this and integrate it more closely to home assistant so that you don't have to rely on an external server there is something called to your convert which allows you to update the firmware on some of these devices to allow you to use it with the ESPE home tears motor or any other platform there are two ways to do this one is wirelessly and the other is by opening the bulb and connecting a cedar port to it I tried the wireless method but it doesn't seem to work for the bulbs that I have apparently – you have been utilizing firmware updates which prevents this upgrade I then opened up a bug to check what's inside and it's not exactly user-friendly you have the LEDs on one PCB while the Wi-Fi module sits underneath and is very difficult to get to I did remove the cover and sure enough it is a newer ESP a 2001 with the SP home if you are not familiar then the ESP 8 2000 is P 8 – 6 X chipset with 1 MB of melted flash memory and this means that you no longer have to add an external memory chip if you look at the – you convert wiki then you will find a list of devices that have been tested along with the region where they are available the Tekin SP 50 is one such bulb and though I could not find the exact model I ordered these which I will try out if I can successfully upgrade the firmware then I will make a video on it what else you can also refer this guide which will help you to the process which is very straightforward in summary I think using devices like these make it extremely easy for you to get started with home automation you do not need to set up home assistant use node-red and so on but obviously you do not have as much flexibility before we automate everything I would like to create a node for each room that can monitor the temperature detect motion and control the lights this is what I will be working on in future videos so do subscribe to stare dated thank you for watching and I will see you in the next one.

Leave a Reply