Skip to content

Instantly share code, notes, and snippets.

@nalditopr
nalditopr / poll-v1r.py
Created March 2, 2026 16:29
poll-v1r.py — Test v1r RSA key registration on Powerwall 3 leader + followers
#!/usr/bin/env python3
"""
poll-v1r.py - Test v1r RSA key registration on Powerwall leader and followers
Polls each device directly to verify whether the RSA key pairing succeeded after
toggling each Powerwall's breaker during fleet_register.py enrollment.
Usage:
python3 poll-v1r.py --leader 10.42.1.X \\
--follower 10.42.1.Y --follower-pwd JIHGFEDCBA \\
@nalditopr
nalditopr / v1r-follower-routing.md
Last active March 6, 2026 03:54
v1r Follower Routing — Technical Deep Dive

v1r Follower Routing — Technical Deep Dive

Problem

In v1r (wired LAN RSA) mode, per-device queries to follower Powerwalls return the leader's data. The gateway ignores the follower DIN in the inner protobuf recipient.din and processes the query against its own components. This causes get_pw3_vitals() to produce duplicate PVAC/PVS/TEPINV/TEPOD entries — 3 copies of the leader's data instead of distinct per-device data.

@nalditopr
nalditopr / flow.json
Last active April 12, 2025 04:42
Eco Flow Delta 3 + Node-Red + Homeassistant
[
{
"id": "5c3a7efbb734c312",
"type": "tab",
"label": "Ecoflow MQTT",
"disabled": false,
"info": "",
"env": []
},
{