Skip to content

Instantly share code, notes, and snippets.

@volviq
volviq / smart.py
Created March 4, 2025 20:13 — forked from atarp/smart.py
Python script to read data from PPC Smart Meter Gateway Customer Interface (SMGW) via the HAN interface
#!/usr/bin/env python3
import requests, base64
from requests.auth import HTTPDigestAuth
from bs4 import BeautifulSoup
import urllib3
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
user= '12345678'
password = 'secret'