Replies: 5 comments 10 replies
-
Can you give me an example of the raw data you want?
…On Sun, Sep 22, 2024, 8:59 PM Jason ***@***.***> wrote:
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!
—
Reply to this email directly, view it on GitHub
<#40>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AL7JXGPHACM2I2TTTJIS7BTZX5YYTAVCNFSM6AAAAABOVDJNGKVHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZXGIZDEMBQGM>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
You would like this entire JSON to be in the attributes?
|
Beta Was this translation helpful? Give feedback.
-
What if I include a new attribute for the sensor called raw_usage and put the entire raw usage json received from Xfinity underneath that? |
Beta Was this translation helpful? Give feedback.
-
I've got a dev branch, 0.0.12.8.1 that includes this. It will just post the full usage data to the xfinity topic at the root instead of under homeassistant. I'm going to let this run for a few days in my lab and see how it goes. |
Beta Was this translation helpful? Give feedback.
-
Do you need the MQTT raw data topic to be retained in the MQTT server or just published? I'm working on a dashboard template that would show past month and usage in a table, but I can only get the mqtt trigger sensor to work if I do not retain the topic. |
Beta Was this translation helpful? Give feedback.
-
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!
Beta Was this translation helpful? Give feedback.
All reactions