Skip to content

Instantly share code, notes, and snippets.

View glynhudson's full-sized avatar

Glyn Hudson glynhudson

View GitHub Profile
@glynhudson
glynhudson / gist:7079b23563a286c2e28969da3e6cc31d
Created March 30, 2022 16:07
OpenWeather Current Temperature to emoncms.org
# /usr/bin/python3
import requests
import json
# Setup OpenWeather Map
openweather_api_key = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
lat = "xx.xxx"
lon = "-x.xxxx"
openweather_url = "https://api.openweathermap.org/data/2.5/onecall?lat=%s&lon=%s&appid=%s&units=metric&exclude=minutely,hourly,daily,alerts" % (lat, lon, openweather_api_key)
@glynhudson
glynhudson / README.md
Created June 11, 2023 23:55 — forked from mathieucarbou/README.md
Home Assistant OpenEVSE Integration backed by MQTT

Home Assistant OpenEVSE Integration backed by MQTT

Screenshot 2023-05-22 at 01 43 25 Screenshot 2023-05-22 at 01 43 38 Screenshot 2023-05-22 at 01 44 22

HA Config

In global config: