andrewjw / glowprom Goto Github PK
View Code? Open in Web Editor NEWReceives gas and electric meter data from https://glowmarkt.com/ and exposes it to Prometheus.
License: GNU General Public License v3.0
Receives gas and electric meter data from https://glowmarkt.com/ and exposes it to Prometheus.
License: GNU General Public License v3.0
https://github.com/coveralls-clients/coveralls-python. It's maintained and supports coverage v5.
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
This repository currently has no open or pending branches.
Dockerfile
python 3.12
.github/workflows/build.yaml
actions/checkout v4
actions/setup-python v5
actions/checkout v4
actions/setup-python v5
requirements.txt
paho-mqtt ==1.6.1
pycodestyle ==2.11.1
coveralls ==3.3.1
python-semantic-release ==8.7.0
packaging ==23.2
wheel ==0.42.0
twine ==4.0.2
Traceback (most recent call last):
File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/usr/local/lib/python3.8/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python3.8/site-packages/glowprom/mqtt.py", line 36, in connect
client.loop_forever()
File "/usr/local/lib/python3.8/site-packages/paho/mqtt/client.py", line 1779, in loop_forever
rc = self.loop(timeout, max_packets)
File "/usr/local/lib/python3.8/site-packages/paho/mqtt/client.py", line 1181, in loop
rc = self.loop_read(max_packets)
File "/usr/local/lib/python3.8/site-packages/paho/mqtt/client.py", line 1572, in loop_read
rc = self._packet_read()
File "/usr/local/lib/python3.8/site-packages/paho/mqtt/client.py", line 2310, in _packet_read
rc = self._packet_handle()
File "/usr/local/lib/python3.8/site-packages/paho/mqtt/client.py", line 2936, in _packet_handle
return self._handle_publish()
File "/usr/local/lib/python3.8/site-packages/paho/mqtt/client.py", line 3216, in _handle_publish
self._handle_on_message(message)
File "/usr/local/lib/python3.8/site-packages/paho/mqtt/client.py", line 3444, in _handle_on_message
self.on_message(self, self._userdata, message)
File "/usr/local/lib/python3.8/site-packages/glowprom/server.py", line 67, in update_stats
STATS = prometheus(msg)
File "/usr/local/lib/python3.8/site-packages/glowprom/prometheus.py", line 79, in prometheus
elec_consumption = int(elecMtr["04"]["00"], 16)
KeyError: '04'```
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.