@SOUK Home Assistant has an active Integration for pfSense via HACS.
https://github.com/travisghansen/hass-pfsense
It gives CPU, Memory, Leases, Disk etc.
HA_pfsense.png
What it doesn't give is in/out on an interface. I get this via snmp:
in OiD
1.3.6.1.2.1.2.2.1.10.6 where .6 is the interface number
out OiD
1.3.6.1.2.1.2.2.1.16.6 where .6 is the interface number
And for the totals (day/month):
utility_meter: # asa5512x1 wan usage asa5512x1_wan6_in_gib_monthly: source: sensor.asa5512x1_wan6_in_gib cycle: monthly name: Internet in monthly asa5512x1_wan6_in_gib_daily: source: sensor.asa5512x1_wan6_in_gib cycle: daily name: Internet in daily asa5512x1_wan6_out_gib_monthly: source: sensor.asa5512x1_wan6_out_gib cycle: monthly name: Internet out monthly asa5512x1_wan6_out_gib_daily: source: sensor.asa5512x1_wan6_out_gib cycle: daily name: Internet out daily