Giter Club home page Giter Club logo

Comments (7)

pdreker avatar pdreker commented on September 13, 2024 1

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.

pdreker avatar pdreker commented on September 13, 2024

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.

thedatabaseme avatar thedatabaseme commented on September 13, 2024

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.

pdreker avatar pdreker commented on September 13, 2024

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.

thedatabaseme avatar thedatabaseme commented on September 13, 2024

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.

pdreker avatar pdreker commented on September 13, 2024

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.

thedatabaseme avatar thedatabaseme commented on September 13, 2024

Ah. Good to know. Thanks then for your quick implementation.

from fritz_exporter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.