Thanks for the responses.
So my ultimate goal is to be able to turn on all lamps in a room using a old style dumb toggle switch (I hate the decora switches, but that's a separate discussion). The dumb switch controls the top of one outlet. In all but 2 rooms, I achieve this behavior using extension cords, however there are 2 rooms where the outlet is bordered on 2 sides with doors, so I have been trying to figure out a smart-solution.
I previously tried to get the behavior I wanted using a product called the "Quirky Switchflip". That product does exactly what I want, however it's buggy (due to poor design). The remote lights randomly turn off/on either because of interference or occlusion. It sends a continuous signal to a remote outlet when the switch-controlled outlet is powered and the remote outlet turns off when that signal goes away. So sometimes, when the signal is interrupted, it results in the remote lights turning off/on seemingly randomly.
I tried looking for a product that could do this differently: send one signal when power turns on and use a capacitor to send a dying "turn off" signal. But such a product doesn't exist or is prohibitively expensive and/or buggy according to reviews.
I was thinking about this issue over the weekend and had another idea. I have 2 pairs of Quirky Switchflips and if it's interference or signal occlusion, I may be able to eliminate that issue by moving the Switchflip receiver to the same outlet the transmitter is on, but into the continuously powered socket, and plug the nearer lamp into it, with the transmitter directly above it on the wall-switch-controlled socket. With the switchflip receiver plugged into a wifi smart outlet in that continuously powered socket, that smart outlet could send a signal when the lamp turns on and off (controlled by the switchflip from the transmitter on the wall switch socket). I can then use that message to control another outlet across the room (I intend to use a cheap 433Mhz outlet for that, controlled from the Pi). Anyway, that's the idea. It would allow me to keep the old style dumb toggle switch, which I strongly prefer.
I know that's a really hacky solution. If I did not actually prefer a dumb toggle switch, I know I could solve the whole thing with a smart switch, but for multiple reasons, I do not want a smart switch. If you want, we can have that discussion, but suffice it to say, I just want a smart outlet that can send signals based on power usage changes. Partly, I just want to play around and experiment.
I actually discovered that the Currant
smart plug works with google home, and I discovered that there's a google home node for node red, so I ordered a Currant
outlet to play with (only $40) to see if I could experiment with my idea. I'm hoping that I can configure google home on node red to get the switch to send its power usage signals to node red.
Oh yeah - and I'm in the US.