We’ve developed the Sensly Hat for the Raspberry Pi.
This is the section for all you graph lovers out there.
To make the experience fit your profile, pick a username and tell us what interests you.
We found and based on your interests.
Next we need to create a plotly account. Head over to plot.ly to do this.
Once you’re done you need to head over to the settings to get your username, API key and streaming tokens. You’ll need 11 streaming tokens.
To set up Sensly to log directly to plotly we need to first of all download the required files. These can be found at https://github.com/Altitude-Tech/Sensly_Plotly, to download these files on your pi, open the terminal and type the command
Once you get your API Keys and Streaming Tokens we need to put these into your config.json file which is found in the Sensly Plotly file you downloaded at the start of this instructable.
Add your username, API_Key and streaming tokens to the file
Next, we need to ensure that you have put the R0 values you obtained during calibration into the Sensly_Plotly.py script you put them in the area shown in the first picture.
Make sure you are connected to the internet then press f5 to run the script, if successful your pi should open a web browser and start logging Sensly data to the web. The graph on the left hand side is the gases being detected and the graph on the right hand side is the particulate matter being detected.
Create an account to leave a comment. Already have an account? Log In.
Become a member to follow this project and never miss any updates