I am a complete newbie to Raspberry Pi 3 and Blynk, both got yesterday - and soon got Blynk up and running and successfully did a test project and all working as expected.
What I’d like to do and can’t seem to find the answer is this (please let me know if it’s not what Blynk is intended to do!)
I have Energenie plugs, that can be switched on and off by the PI. I have crafted Python scripts based upon their demos to turn the plugs off and on. These scripts work well as expected and I can trigger them via Bash scripts.
Is there a way to trigger a script on the machine via my interaction via Blynk? I’d like to basicaly be able to turn them off and on by my Android phone.
Or, has anyone encountered a way for a Blynk sript to directly operate Energenie?
I did extensive searching but came up empty on both.
I took a quick look at the hardware and they are RF devices. Couldn’t see if they are the standard 433Mhz but presumably they are.
We do a lot of work with RF devices and ESP’s running “Arduino” code. Basically with a $1 RF transmitter you can remotely control most RF devices via the internet.
Some devices are easier to hack than others but ESP’s are our preferred route.
For the Pi, the controller board and your scripts you will basically call a child process in your node.js script.
Thanks for the responses. It sounds like I’m trying to use Blynk in a way not really intended… and I just don’t know javascript. So I’ll look for some alternatives.