Company
Date Published
Author
Ryan Kauffman
Word count
2355
Language
English
Hacker News points
None

Summary

The author of this article created a Python script using Twilio SMS and ComEd's Hourly Pricing API to receive text alerts when the electricity price rises above a certain threshold. The script fetches real-time data from the API, calculates the average hourly price, and sends an SMS alert if the price exceeds the threshold. The script is triggered by a Windows Task Scheduler task that runs every 5 minutes, allowing the author to monitor their electricity prices in real-time and adjust their usage accordingly.