Hello All, I am using Deco M5 as my mesh router. I am collecting couple of stats from it using UPNP.
There is counter for upload / Download data which itself resets after 4GB. I read on internet about it suggests that as my PI is 32bit hence it cannot retain data more than that.
I was wondering if there is any solution for that. One way I am thinking is to record this counter is permanent variable and then flush upload / download counters to 0 or something like this.
I was wondering how do I implement this.
- platform: template
sensors:
bytes_received:
friendly_name: "M5 MB Received"
unit_of_measurement: 'MB/s'
value_template: "{{ (states('sensor.m5_kib_s_received') | int / 1024) | round(1) }}"
bytes_sent:
friendly_name: "M5 MB Sent"
unit_of_measurement: 'MB/s'
value_template: "{{ (states('sensor.m5_kib_s_sent') | int / 1024) | round(1) }}"
m5_gb_download:
friendly_name: "M5 Data Download"
unit_of_measurement: 'GB'
value_template: "{{ (states('sensor.m5_b_received') | int / (1024*1024*1024)) | round(1) }}"
m5_gb_upload:
friendly_name: "M5 Data Upload"
unit_of_measurement: 'GB'
value_template: "{{ (states('sensor.m5_b_sent') | int / (1024*1024*1024)) | round(1) }}"
Kind Regards