$ sudo /etc/init.d/webiopi start$ sudo /etc/init.d/webiopi stopAuto start at bootTo setup your system to start webiopi at boot: $ sudo update-rc.d webiopi defaultsTo remove webiopi start from boot: $ sudo update-rc.d webiopi removeUsageIf your are directly using your Raspberry Pi with keyboard/mouse/display plugged, open a browser toIf your Raspberry Pi is connected to your network, you can open a browser to with any device of your network. $ tar xvzf WebIOPi-x.y.z.tar.gz$ cd$ cd WebIOPi-x.y.z$ sudo$ sudo./setup.shSetup may take a moment.Running WebIOPiFinally, use webiopi command: $ sudo webiopi -h -c config -l log -s script -d port Options:-h, -help Display this help-c, -config file Load config from file-l, -log file Log to file-s, -script file Load script from file-d, -debug Enable DEBUG Arguments:port Port to bind the HTTP ServerFor instance, to start with verbose output and the default config file: $ sudo webiopi -d -c /etc/webiopi/configYou're done, and ready to enjoy WebIOPi! But the server and GPIO state will be lost when you'll stop the script (CTRL-C) or close the terminal.Running WebIOPi (Daemon)You can also start/stop the background service, the configuration will be loaded from /etc/webiopi/config. Your configuration will be kept but others files will be override.See to get latest package, and adapt x.y.z with the version you download. You may have to manually install GCC and Python development headers if you are not using Raspbian.Update note: Stop your existing WebIOPi service, then process with the setup.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |