thor0215 / hassio-xfinity-usage

Fetch Xfinity Internet Service Usage Data and publish it to Home Assistant sensor
Apache License 2.0
11 stars 3 forks source link

Add Option to Publish Raw Usage Data to Custom MQTT Topic #41

Closed thor0215 closed 1 month ago

thor0215 commented 2 months ago

Discussed in https://github.com/thor0215/hassio-xfinity-usage/discussions/40

Originally posted by **zachowj** September 22, 2024 I would like to propose a feature that allows users to define a custom MQTT topic for publishing raw usage data from Xfinity. This can be achieved by using an environment variable, such as MQTT_RAW_USAGE_TOPIC. The desired functionality would enable the raw usage data to be published to the specified MQTT topic without any modifications. Currently, I have implemented a workaround in a cloned repository, but it is not clean. I utilize historical data in Home Assistant, which I then process through Node-RED to create sensors that output daily usage and remaining time for the month. Thank you for considering this enhancement!