![]() ![]() ![]() When you don’t want to use ssh, than just skip this step.ġ nohup node server.js > /tmp/rcswitch-rest.log &Ģnohup. Make sure that you activated ssh in the raspberry-config and it’s up and running. It’s easier to access the Pi over password-less ssh to setup the software environment. PIN 1 GND -> PIN 6 (GND) PIN 2 Data in -> PIN 11 (GPIO17) PIN 3 Vcc -> PIN 2 (5V) PIN 4 -> Antenna Install the Raspberry Pi Software Install the Raspberry Pi Hardwareīefore we can start hacking we need to connect the 433 MHz Sender to the GPIO pins of the Raspberry Pi like in the following picture: When you just want to play around with AngularJS and you have no Raspberry Pi, then you can skip the first steps and just use the mock implementation of the REST server at apiary.io. For an incomplete list of supported devices refer to this link This will most likely work with all popular low cost power outlet switches which you can find in the DIY markets (e.g. SD Card with an installed Raspian “wheezy” operating system.You need the following Hardware to do it: The complete code is also available at Github. The tutorials that you can find in the internet are very good and I don’t want to repeat all of the basic fundamentals in this post. Please note, that this is not a tutorial for the usage of the frameworks. There is no line of old-fashioned Java code here, but maybe some really technical C++-code -). This project should primarily help me to get more in touch with these kinds of freaky scripting and this is maybe helpful for other Java Developers or people who want to play around with the Raspberry Pi. In this blog post I show how you can quickly setup and implement a control software for your switches at home with some modern JavaScript stuff. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |