General:
This is version 2. The code for version one was lost during the great data apocalypse (see my blog for that disaster). This contains 2 pieces.
Some python code and some arduino code. The python code queries my router on a regular basis via snmp and gets my up/down bandwidth usage.
It the passes the current bandwidth usage to mqtt nodes /bandwidth/up and /bandwidth/down.
The second piece (the arduino code) connects via the network and subscribes to those same nodes. Updating the analog meters every time new data is received.
docker run --name bandwidth-meter --env snmphost=your_snmp_host --env snmpcommunity=your_snmp_community --env mqtthost=your_mqtt_host crankycoder5/bandwidth-meter
Content type
Image
Digest
Size
165.3 MB
Last updated
over 6 years ago
docker pull crankycoder5/bandwidth-meter