Help with big numbers in sensor

Hello, have a problem I can’t find solution after months trying.
Have SNMP sensor receiving send and received bytes from router.
The data are big and when sensor arrives to 2145900000 falls to -2145900000.
Playing with data type float, int, uint32 could handle double value 4… but not bigger.

How can I solve the problem?
Will appreciate your help.

Thanks

Look at the edit of my first post: Notifications with gif or picture not working SNMP bandwidth monitor using statistics and a utility meter - Configuration - Home Assistant Community (home-assistant.io).

EDIT: Corrected link.

Sorry, don´t understand.

Greetings

Follow the link and read the first post. Look for the section about an update. It explains the problem of integer overflow.

Think you may have linked to the wrong topic.

The forum’s software is converting your link:

https://community.home-assistant.io/t/snmp-bandwidth-monitor-using-statistics-and-a-utility-meter/17697

into this link:

https://community.home-assistant.io/t/notifications-with-gif-or-picture-not-working/17697

Thanks @tom_l and @123 this was utterly confusing.

My apologies @Karumbe. This was the link I intended to post: SNMP bandwidth monitor using statistics and a utility meter - Configuration - Home Assistant Community (home-assistant.io).

Look for the section that says “UPDATE (2022-02-20)”. I hope it helps.