I am running HASS.IO on a RPi3, and trying to setup the “System Monitor”. platform. I have most of the Sensors working, with the exception of the Network Sensors. As an example, I tried;
sensor:
platform: systemmonitor
resources:
type: network_in
arg: ‘Local Area Connection’
which did not work, gave me bootup errors. Then I replaced the argument line with;
arg: eth0
and again, I still got the bootup errors. Finally, I removed the argument line, which allowed HASS.IO to bootup without any errors. But, on the display, I see;
So, my question is, Is anyone using the “System Monitoring Platform” on the RPi3, and if so, what is the argument that you are using for the Network Sensors???
The name of the interface is something longer than that, that incorporates the NIC’s MAC address, on Raspberry Pi. It likely starts witheth0 though. You would normally run ifconfig in the terminal to find it. I’ll confess that, since I am not a Hass.io user, I am not sure whether you even have terminal access…
@ netopiax Thanks, using Putty, I entered the following command line;
$ ifconfig -a | sed ‘s/[ \t].*//;/^$/d’
and it returned
eth0
lo
not sure what the “lo” is, but I set the argument to “arg: eth0”. And further relized, that doing so, changed the entitie name from “sensor.received” to “sensor.received_eth0”.
When I added ''sensor.received_eth0", to the configuration,I started to see numbers, that made more sense.