Feature #1191
Updated by Hammel 2 months ago
This will be a simple Arduino controller, based on ESP01 (because I have lots of those), that controls off-the-shelf 433MHz outlets. I will use the "ESP8266 Remote Controlled Sockets":https://randomnerdtutorials.com/esp8266-remote-controlled-sockets/ tutorial as an outline. The code will require * "rc-switch":https://github.com/sui77/rc-switch as a submodule * A receiver app, _pwscan_ , for scanning for a remote's codes. The code for this is in the tutorial. * An Ironman sensor, _pwremote_ , that actually controls the outlets and integrates with IronMan. The signalling code is in the tutorial example for sending commands. This will have a unique requirement: a shared submodule for rc-switch. Since both apps needs to use it, I will need to put both apps in a subdir, pwrmgmt, which will hold the app directories and the submodule. The pwrmgmt.mk will cd into pwrmgmt directory and build the APP=<> app. pwremote and pwscan require * ESP01 * Mains power to 3.3V for the ESP01 * Possible antenna extension? It might be possible to put both into a single app with a push button/switch the toggles the boot mode. But that probably won't help unless I add some web service code to display the codes it finds. It also might not work because I need to use a button/toggle to switching between operational mode and pairing mode and there are not enough GPIOs for that. I would need to add some kind of I2C device or maybe just an xor in hardware or something.