I don't understand your point. Are you saying it can be done, or can't? Or shouldn't? It seems you agree with us that it is possible, instructive, but less than economic.Ummm. No. You gentlemen are somewhat out of date........
Ha ha, out of date, Arduino code. True, maybe at the basic functionality level a few years ago but the commercial IoT world has moved on with Matter and Thread based systems that actually have security.Ummm. No. You gentlemen are somewhat out of date. As I stated above, most IoT devices are based on ESP8266 & ESP32, which are programmable using Arduino code.
...
If he really wants the works in a standard sized light bulb, buying one is the only option likely to succeed.It is not likely that any aduino package could be included in any "smart light bulb" assembly. The size, power supply requirements, Output control, and temperature withstand requirements join to make creating a controller into a serious design project.
So while an I.T. Professional could certainly create code that could provide the functions, and undoubtedly create a reasonable block diagram, producing a workable package is rather unlikely.
Solved on this crosspost:“Smart Bulbs” can mean a lot of things. The Home Automation and IoT landscape is far from simple.
First, I don’t see any benefit in making a smart bulb. I would start with a smart outlet or switch. The space constraints and high temperatures in a light bulb are needless complications for a learing exercise, and there is not practical advantage to be had.
Second, there is a great deal to learn about the variety of IoT ecosystems before you can select the one you want to participate in. Things definitely seem to be converging on Thread and Matter, and also moving away from Wi-Fi in favor or Zigbee, and a dash of BLE as well for some functions.
But you can still do a lot with the lowly ESP-12x for a couple of bucks, a MOSFET, and a relay. You can create compatible hardware that interfaces with a variety of existing systems. But it will have no growth potential.
If someone really wants to learn this area, I would suggest starting with Home Assistant and cheap, compatible devices like Sonoff or (somewhat less cheap but excellent) Shelly. And, for voice assistant, you can use Alexa, or Siri and HomeKit, or Google Home—or Home Assistant’s built in option.
But, you need to survey the landscape and choose the direction with some foresight because you could do an awful lot of “learning” that won’t be portable, and won’t age well—and doesn’t teach the key principles, just particular implementations.
Good luck.
That‘s not any more of a solution than what was discussed here, nor is it the only or necessarily the best development board for the purpose. I like the Seeed Xiao, I use it—but there is nothing special about it.Solved on this crosspost:
https://forums.tomshardware.com/thr...nal-to-make-bulbs-smart.3842524/post-23244571