Skip to content

Instantly share code, notes, and snippets.

View ryanteck's full-sized avatar
😁

Ryan Walmsley ryanteck

😁
View GitHub Profile
@ryanteck
ryanteck / gist:255f4890cc141ff372821662895d6c25
Created July 8, 2025 16:48
EO Mini Pro 2 Python Control
# Solar Charger Code
# (C) Ryan Walmsley 2023
# This code will monitor and calculate the average solar export from the house, then charge from it.
# It then instructs my charger (an EO Mini Pro) to then charge at the set rate.
from requests import get, post, exceptions
import requests
from pprint import pprint
import json
@ryanteck
ryanteck / moonlight-playbook.yaml
Created July 9, 2024 21:20
Basic ansible playbook for configuring a PC to stream Moonlight
- name: Moonstream
hosts: myhosts
pre_tasks:
- name: Check Hosts Online
ansible.builtin.ping:
- name: Update APT
become: true
apt:
name: "*"
state: latest
@ryanteck
ryanteck / main.py
Created March 22, 2020 21:01
Pi Supply Papirus FAH Tracker
from papirus import PapirusTextPos
from time import sleep
import urllib2
import json
#INPUT YOUR TEAM ID HERE
FAHTEAMID="236472"
url = "https://apps.foldingathome.org/stats.py?callback=&user=&team="+str(FAHTEAMID)
@ryanteck
ryanteck / main.py
Created March 22, 2020 21:01
Pi Supply Papirus FAH Tracker
from papirus import PapirusTextPos
from time import sleep
import urllib2
import json
#INPUT YOUR TEAM ID HERE
FAHTEAMID="236472"
url = "https://apps.foldingathome.org/stats.py?callback=&user=&team="+str(FAHTEAMID)