I made my first Jupyter Notebook.  I had installed Jupyter awhile back after listening to Adafruit’s Python Playgrounds LIVE! Youtube video.  The video got me totally inspired by the Python community and the usefulness of Jupyter Notebooks.  The blog post documents my first experience creating a Jupyter Notebook.

Thanks To Those Before

  • A HUGE shout out to Tisham Dhar.  Tisham is the creator of the ATM90E26 Single-Phase Energy Monitor Dev Kits.  I just found out about Tisham and his work.  I have been impressed with the intelligence and care Tisham has taken to Open Source his work.  Tisham also kindly answered all the questions I peppered him with.  His work looks super sharp to me.  I have already learned a lot from what he has Open Sourced.
  • Adafruit for their Python Playgrounds Youtube video.  I learn quite a bit from Adafruit’s learning sections and videos.  This inspirational video got me yearning to play with Python and Jupyter Notebooks.

On To The Show

A few days back, I found out about Tisham’s fantastic work. In particular, the ATM90E26 Single-Phase Energy Monitor Dev Kits.   YIPPEE!!!…but..bummer…I won’t receive them until December 5th.

So I emailed Tisham if there was a way for me to get my hands on some of the data output (power readings over time) so that I can start working on the end user side of the Neighborhood Energy Monitoring Project I decided to start up.  Tisham kindly gave me access to his Jupyter Notebook that pulls data from his feed. 

Not letting the fact that I have an advanced beginner knowledge of Python and no knowledge of how Jupyter Notebooks work, I am happy to say after a few hours, I was able to create a Jupyter Notebook that fetched energy data from Tisham’s ThingSpeak feed, plotted the data, and wrote the data to a CSV file.


ChallengesBringOpportunites Talk about exhilarating.  I can see why I am hearing more about Jupyter Notebooks.  What a fun environment.  It reminds me of the times I used Swift Playgrounds when I was programming on the iOS.  A great thing about Jupyter Notebooks are the incredible amount of extremely powerful libraries available – for AI, machine learning, image recognition, plotting…tons of stuff I don’t understand….


Now that I have sample energy data to simulate what would be coming from DAH cloud to the web browser and/or smart phones, I can prototype this software as I wait for Tisham’s dev kits to arrive.