On line 15, you will see a line that starts with streamer = Streamer(bucket_. Let’s take a look at the example script that was created. ![]() After that the installation will be complete. If you’ve recently created an account, select option 2, enter your user name and password. Finally, you’ll be asked which Initial State app you are using. You can either type a custom local path or hit enter to accept the default location. The next prompt will ask where you want to save the example file. This will create a test script that we can run to ensure that we can stream data to Initial State. When prompted to automatically get an example script, type y. Please select which Initial State app you're using:Įnter user name: ![]() Requirement already up-to-date: ISStreamer in /Library/Python/2.7/site-packagesĭo you want automagically get an example script? This may take a couple minutes to install, grab some coffee :)īut don't forget to come back, I'll have questions later!įound pip: pip 1.5.6 from /Library/Python/2.7/site-packages/pip-1.5.6- py2.7.egg (python 2.7) At a command prompt (don’t forget to SSH into your Pi first), run the following command: $ cd /home/pi/Īfter you enter the curl command in the command prompt you will see something similar to the following output to the screen: ~īeginning ISStreamer Python Easy Installation! Next, we need to install the Initial State Python module onto your Pi. *You may need to install pip if your version of Python does not have it preinstalled. Go to and create a new account or log into your existing account. You’ll need somewhere to send your data to keep a historical log and view the real-time data stream so we will use Initial State. There are other single board computer that can work as well, but that’s for another time and another article. Whatever Pi you choose, make sure to purchase a charger since that is how you’ll power the Pi and an SD card with Raspbian to make installation of the operating system as easy as possible. ![]() You can only buy one Zero W/WH at a time due to limitations by the Raspberry Pi Foundation. The Zero W/WH is the cheapest but if you need more functionality you can choose between the 3 and 4. Between those you can choose based on pricing and features. You’ll want a Raspberry Pi that has WiFi built in, which are any model 3, 4, and zero W/WH. The ease of use and ability to code with Python, the fastest growing programming language, has made them a go to solution. Raspberry Pi’s started out as a learning tool and have evolved to an industrial workplace tool. A Raspberry Pi is an inexpensive single board computer that will allow you to connect to a temperature sensor and stream the data to a data visualization software.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |