Hello,
I try to get a hping3 workjng in the notify command_line.
- name: iphone_nico_udp
platform: command_line
command: hping3 10.0.0.201 -2 -c 10 -p 5353 -i u1 -q
In the HA-log it says:
ERROR (Thread-9) [homeassistant.components.notify.command_line] Command failed: hping3 10.0.0.201 -2 -c 10 -p 5353 -i u1 -q
in the syslog of my raspberry it says:
Nov 17 08:55:31 raspberrypi hass[403]: [open_sockraw] socket(): Operation not permitted
Nov 17 08:55:31 raspberrypi hass[403]: [main] can’t open raw socket
It has something to do with root privileges i guess.
I installed hass in an virtual environment on a raspberry pi3.
It is running with user homeassistant.
How can i give this user de right privileges to get the hping3 working without making it a root-user?
thanks in advance.