Comments (4)
Hmm, looks ok so far. Is your prometheus running on the same host (and not in a container)? Did you try accessing the metrics endpoint from a browser?
from homematic_exporter.
Thanks for pointing me to the right direction. I realized that none the metric pages of my exporters where actually still accessible (even though they kept on collecting data)
Seems like my prometheus installation was partly broken somehow. After fixing this, the homematic_exporter worked like charm.
there's only one little thing which doesn't work yet - the config file.
if I run:
python3 /home/user01/homematic_exporter/exporter.py --ccu_host 192.168.10.170 --ccu_port 2010 --interval 15 --port 9411
both devices, weatherstation and power plug are detected.
if I run:
python3 /home/user01/homematic_exporter/exporter.py --ccu_host 192.168.10.170 --ccu_port 2010 --interval 15 --port 9411 --config_file /home/user01/homematic_exporter/homematic_exporter.json
with config file like this:
{
"supported_device_types": [
"HmIP-SWO-PL",
"HmIP-PSM"
],
"device_mapping": {
"00xxx": "Wetterstation",
"00xxx": "Waschmaschine"
}
}
only "Wetterstation" is being detected - not the power plug "Waschmaschine"
EDIT:
same happens if I use the sample_config.json
from homematic_exporter.
You can leave out supported_device_types if you do not want to add additional ones. PSM is supported by default.
The problem most likely is that HMIP-PSM has different case than the others (most have HmIP).
I suggest removing the definition from the config. Even if the mapped names do not match, they just don't get a name mapping, so the mapped_name label is not set.
from homematic_exporter.
that did the trick. thx
from homematic_exporter.
Related Issues (18)
- Make supported device list configurable
- Support for non ip devices HOT 4
- HM-WDS40-TH-I-2 HOT 1
- Build fails for arm64 because of pip3 HOT 5
- Support name mapping based on device address prefix
- Add github action for non-pushing docker build for PR HOT 1
- Support authentication HOT 4
- Homematic Prometheus
- HM-WDS10-TH-O HOT 1
- Timed out port confusion HOT 2
- Delete old devices HOT 3
- config file issue HOT 7
- config parameters as enviroment variables HOT 1
- Wish: Provide filter possibility
- HmIP-SWDO state not available HOT 6
- Export user defined variables HOT 3
- HMIP-SWDO OPEN/CLOSED not shown
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homematic_exporter.