Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env python3
"""Energieoverzicht v6.3"""
import socket,json,threading,time,ssl,urllib.request,tempfile,base64,shutil
from http.server import HTTPServer,BaseHTTPRequestHandler
from datetime import datetime,date
from pathlib import Path
MARSTEK_IP='192.168.1.16';MARSTEK_PORT=30000
ENEVER_TOKEN='3e32aebaf7ccd2afe943a0b3622ac9e6'
ENPHASE_IP='192.168.1.88'