Skip to content

Instantly share code, notes, and snippets.

View denpamusic's full-sized avatar

Denis Paavilainen denpamusic

View GitHub Profile
@denpamusic
denpamusic / diagnostics.py
Last active April 25, 2025 11:35
Collects ecoMAX device data and dumps it to the json file for diagnostics.
"""Collects device data and dumps it to the JSON file.
pyplumio version: >=0.5.43
"""
import asyncio
from dataclasses import replace
import json
import sys
from typing import Any, Final, Optional, Union