Skip to content

Instantly share code, notes, and snippets.

@r0ckarong
Last active March 19, 2024 14:41
Show Gist options
  • Save r0ckarong/90207da9760635a079de01de5ef1bffe to your computer and use it in GitHub Desktop.
Save r0ckarong/90207da9760635a079de01de5ef1bffe to your computer and use it in GitHub Desktop.
fritz_exporter_notes.adoc

General polling

  • How often does the polling run?

  • By default does it really check and poll all discovered capabilities? Why? Can we configure this somehow?

  • Is there a way only poll the capabilities you want to see and skip the rest?

  • How can we improve timouts and/or performance to allow polling everything in a reasonable interval?

Home Automation devices

Test env: FB7530, FB6490, FWR1750e, 7 HAN-FUN sensors, 8 Fritz DECT 301, 2 Fritz DECT 201 (1 inactive)

  • Does the exporter store a list of "known" devices somewhere? Does this get refreshed and repolled on every run?

  • Can we retrieve the list of devices from TR064 + HTTP, compare them to a Set and store somewhere so we don’t need to poll this each time?

  • Only periodically try and update the overall device list (not that many changes probably)

  • Can we somehow bundle multiple AIN requests for AHA getdeviceinfos into one call or at least avoid calling fritzconnection so many times to speed it up? This is a whole renegotiation and handshake each time I think *

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment