Checklist:
- [x ] I updated to the latest version available
- [x ] I checked that my MQTT broker is otherwise working
Release with the issue:
latest (V1.8.5)
Python errors shown in the logs (if applicable):
Dec 01 12:40:43 raspberrypi python3[6314]: /opt/RPi-Reporter-MQTT2HA-Daemon/ISP-RPi-mqtt-daemon.py:801: SyntaxWarning: invalid escape sequence '\:'
Dec 01 12:40:43 raspberrypi python3[6314]: out = subprocess.Popen('/sbin/ifconfig | /bin/egrep "Link|flags|inet |ether " | /bin/egrep -v -i "lo:|loopback|inet6|\:\:1|127\.0\.0\.1"',
Additional information:
There is a syntax error in line 801 of the ISP-RPi-mqtt-daemon.py file.
It currently reads as:
out = subprocess.Popen('/sbin/ifconfig | /bin/egrep "Link|flags|inet |ether " | /bin/egrep -v -i "lo:|loopback|inet6|\:\:1|127\.0\.0\.1"',
IT should be
out = subprocess.Popen('/sbin/ifconfig | /bin/egrep "Link|flags|inet |ether " | /bin/egrep -v -i "lo:|loopback|inet6|::1|127\.0\.0\.1"',
Backquoting of the : character is not necessary
This generates an unnecessary warning messag when starting the service.
The service runs fine otherwise
Checklist:
Release with the issue:
latest (V1.8.5)
Python errors shown in the logs (if applicable):
Additional information:
There is a syntax error in line 801 of the ISP-RPi-mqtt-daemon.py file.
It currently reads as:
out = subprocess.Popen('/sbin/ifconfig | /bin/egrep "Link|flags|inet |ether " | /bin/egrep -v -i "lo:|loopback|inet6|\:\:1|127\.0\.0\.1"',IT should be
out = subprocess.Popen('/sbin/ifconfig | /bin/egrep "Link|flags|inet |ether " | /bin/egrep -v -i "lo:|loopback|inet6|::1|127\.0\.0\.1"',Backquoting of the : character is not necessary
This generates an unnecessary warning messag when starting the service.
The service runs fine otherwise