Comments (7)
I will close this issue, as I think I have implemented what I could and I have just released 2.3.0, which includes the new feature.
Thanks for the report!
from fritz_exporter.
I just checked and there are indeed some nmetrics from the HomeAutomation function in the TR-064 services. I personally don't use the Fritz! HomeAutomation on my box, so I cannot say for sure, how useful these metrics are, but it should be possible to implement them.
No promises, I have a lot going on at the moment, but I will have a look.
kind regards,
Patrick
from fritz_exporter.
I also found this exporter which I use currently in parallel to your exporter. So it's not that urgent really.
Philip
from fritz_exporter.
And through the magic of GitHub CoPilot, I whipped up a quick and dirty implementation 😀
This completely untested aside from me making sure it does not break anything else at first glance. It is currently unreleased, but you may simply run the develop image from docker.io/pdreker/fritz_exporter:develop
to try it out. Metrics shpould appear under fritz_ha_*
and should simply show everything the box considers to be "enabled and valid".
The code relies on the assumption, that the HA devices are using indices in sequence (so "0, 1, 2, 3, 4, ..." and not "1, 3, 6, 10, ..." to enumerate the devices.
Give it a whirl and provide feedback 😄
kind regards,
Patrick
from fritz_exporter.
What is missing as difference to the other mentioned exporter, is the "Window open" state of the thermostats. Also I can't find the battery charge level in the metrics. The rest seems to be fine on first sight.
from fritz_exporter.
I have implemented everything that is available or documented by AVM according to this: https://avm.de/fileadmin/user_upload/Global/Service/Schnittstellen/x_homeauto.pdf
Battery state and window sensors are not mentioned in documented TR-064 API, so I presume, that this information is just not there in TR-064. It seems the other exporter uses an HTTP API, which my exporter does not use, so the amount of information available may differ.
from fritz_exporter.
Ah. Good to know. Thanks then for your quick implementation.
from fritz_exporter.
Related Issues (20)
- a lot duplicate metrics when FRITZ_HOST_INFO is enabled HOT 5
- develop @748beb8 does not honor log_level from config file.
- Yet another dashboard for Grafana HOT 6
- No cable data for FritzBox 6660 Cable HOT 15
- Exporter does not handle devices which disappear
- Set default wifi HOT 2
- Docker image can't be build out of the box HOT 2
- Fritzbox 7270 UPnPError: 402 Invalid Args HOT 2
- Counter for fritz_wan_data_bytes_total sometimes going backwards (not due to counter reset) HOT 8
- Is there a way to get window/door sensor readings? HOT 16
- AttributeError: 'NoneType' object has no attribute 'strip'
- 2.3.0 packaged, tests fine, doesn't start HOT 6
- Additional Fritz!Box Fiber metrics HOT 4
- Feature idea - Export DSL syncronisations HOT 2
- Invalid GMT offset HOT 3
- Reading AHA/Homeautomation stats seems to be really slow HOT 2
- Wifi Load
- v2.1.0 HostInfo Capability enabled HOT 1
- Capability merging may be redundant
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 fritz_exporter.