I’ve been busy enjoying with family , taking a vacation in turkey . Great place , artifacts of ottoman and Byzantine civilization is everywhere in the city
During the long plane ride I went through the code and did some hacking with Kasa smart outlet . After some field testing in my garage I think I have a working support for kasa110 single outlet smartplug with current monitoring and Kasa 300 , a 6 outlet powerstrip with current monitoring (independent outlet). We don’t have any notion of current monitoring in reef-pi yet, so for the time being the drivers for the smart plugs expose a standard outlet interface as well as analog input interface (that returns the current utilization) , which for the time being can be visualized as ph (since they are just tied to an analog input ) . Overall, at the end of all this I was able to build a simple temperature controller that has only a pi zero and an audio jack to plug in a temp sensor. This controller paired with a Kasa smart poweratrip or plug , can monitor as well as control heater and at the same time report back the current utilization. I also went ahead and get my hands dirty with a rather primitive 3d printed enclosure. It’s tiny
Has only the bare minimal, pi zero is powered by stock micro usb connector. Thankfully, Kasa smar strip has 5v, 2.4a USB port, so one less power adapter.
I have added two notches to easily mount the enclosure anywhere using couple of screws
Pi zero and audio jack fits neatly.
I’m putting it in action next week and I’ll update you all how things go. I’m worried about smart outlets being dependent on network, but we’ll see. I’m otherwise very happy with the powerstrip in particular, it’s sleek , has touch control for each outlet for manual override , has current monitoring for each outlets, we can offload the timers on the smart strip directly if we want and there’s 5v , 2.4a usb sockets. All of this at 60$ , that’s just super awesome. Field testing will reveal more though ... but I’m hopeful