I wouldn't make a smart plug, I use a ready made one that you can change the firmware, TUYA where good for that, the energy monitoring one seem to still be flash able.
Sonoff they have been good and a decent known brand.
Check https://templates.blakadder.com/index.htm
It also gives you pictures of the insides.
ESP became popular as you can put your own firmware on, and they are used in smart IoT style devices from plugs, to lights, to air con controllers, to curtains, temp sensors etc...
RP2s are just not there yet.
A good RaspberryPi will work as the server for all of these. But do try the IoT side with a PicoW or other WiFi enabled RP2xxx device if it does the need.. ESP can deep sleep and use less power (compared to RP2040, no idea a out the new Pico2) .
Learn MQTT that's the common method, though seem use API, sockets etc for a faster and known response.
Sonoff they have been good and a decent known brand.
Check https://templates.blakadder.com/index.htm
It also gives you pictures of the insides.
ESP became popular as you can put your own firmware on, and they are used in smart IoT style devices from plugs, to lights, to air con controllers, to curtains, temp sensors etc...
RP2s are just not there yet.
A good RaspberryPi will work as the server for all of these. But do try the IoT side with a PicoW or other WiFi enabled RP2xxx device if it does the need.. ESP can deep sleep and use less power (compared to RP2040, no idea a out the new Pico2) .
Learn MQTT that's the common method, though seem use API, sockets etc for a faster and known response.
Statistics: Posted by bensimmo — Tue Aug 20, 2024 8:08 pm