belzetrigger / domoticz-FritzBox

Plugin that adds your Fritz!Box router as a device to domoticz
MIT License
2 stars 1 forks source link

Try several 32bit and 64bit sent and received totals #5

Open joro75 opened 4 years ago

joro75 commented 4 years ago

See issue #4. Retrieval of the total sent and received byte counters is now first using the previously used 32 bit counters. Those values are then used as a default value to retrieve more accurate 64bit counters.

Also initialised 'last_bytes_received' and 'last_bytes_sent' to have them correctly initialised during the first retrieval.