JouleIO - Energy & Solar Calculators for VS Code
Calculate electricity costs, estimate solar panel savings, and access energy conversion snippets — all inside VS Code.
Features
Commands
- JouleIO: Calculate Electricity Cost — Enter your monthly kWh usage and rate to see daily, monthly, and annual costs plus CO2 emissions
- JouleIO: Estimate Solar Savings — Get a quick solar panel estimate based on your electricity bill and location
- JouleIO: Open Energy Calculator — Open the full calculator suite at jouleio.com
Code Snippets
Includes ready-to-use energy calculation snippets for JavaScript/TypeScript and Python:
joule-kwh-cost — Calculate electricity cost from kWh
joule-solar-output — Estimate solar panel daily output
joule-carbon — Calculate CO2 emissions from electricity usage
joule-btu-convert — BTU to kWh conversion
Usage
- Open the Command Palette (
Ctrl+Shift+P / Cmd+Shift+P)
- Type "JouleIO" to see available commands
- Follow the prompts to calculate
Results can be copied directly into your active editor as comments.
Snippets
Type any snippet prefix in a JavaScript, TypeScript, or Python file and press Tab:
| Prefix |
Description |
joule-kwh-cost |
Electricity cost calculator |
joule-solar-output |
Solar panel output estimator |
joule-carbon |
CO2 emissions calculator |
joule-btu-convert |
BTU to kWh converter |
About
Powered by JouleIO.com — Free Energy & Solar Calculators.
License
MIT
| |