Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Temperature always is -1º #44

Closed
2 tasks done
jvcsw opened this issue Jan 20, 2022 · 3 comments
Closed
2 tasks done

Temperature always is -1º #44

jvcsw opened this issue Jan 20, 2022 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@jvcsw
Copy link

jvcsw commented Jan 20, 2022

Checklist:

  • I updated to the latest version available
  • I checked that my MQTT broker is otherwise working

Release with the issue:
v1.6.0

Last working release (if known):

Hardware, Operating System, Python version:
Rpi 4
Ubuntu
Python 3.8.10

Description of problem:

Hi,
I installed RPi Reporter MQTT2HA and Lovelace RPi Monitor Card.
Boths works fine and HA shows the rpi information.

All works fine less the temperature, always is -1ºC.

If I execute: groups daemon
The result is: daemon : daemon video

Thanks

Run our report script 'genBugInfo' on your failing device and include the output here:

SCRIPT genBugInfo v1.1 run 22/01/20-15:48:17

----------------------------------------------------------------------

/bin/cat /etc/apt/sources.list | /bin/egrep -v '#'

deb http://ports.ubuntu.com/ubuntu-ports focal main restricted

deb http://ports.ubuntu.com/ubuntu-ports focal-updates main restricted

deb http://ports.ubuntu.com/ubuntu-ports focal universe
deb http://ports.ubuntu.com/ubuntu-ports focal-updates universe

deb http://ports.ubuntu.com/ubuntu-ports focal multiverse
deb http://ports.ubuntu.com/ubuntu-ports focal-updates multiverse

deb http://ports.ubuntu.com/ubuntu-ports focal-backports main restricted universe multiverse

deb http://ports.ubuntu.com/ubuntu-ports focal-security main restricted
deb http://ports.ubuntu.com/ubuntu-ports focal-security universe
deb http://ports.ubuntu.com/ubuntu-ports focal-security multiverse


/bin/cat /etc/apt/sources.list | /bin/egrep -v '#' | /usr/bin/awk '{ print $3 }' | /bin/grep . | /usr/bin/sort -u | head -1

focal


/bin/uname -r

5.4.0-1050-raspi


/bin/hostname -f

Home


/usr/bin/uptime

15:48:17 up 18 min, 1 user, load average: 0.17, 0.26, 0.26


/sbin/ifconfig

./genBugInfo: line 276: /sbin/ifconfig: No such file or directory


/sbin/ifconfig | /bin/egrep 'Link|flags|inet|ether' | /bin/egrep -v -i 'lo:|loopback|inet6|::1|127.0.0.1'


/sbin/route

./genBugInfo: line 296: /sbin/route: No such file or directory


/bin/ls -l /var/log/dpkg.log /var/log/dpkg.log.1 2>/dev/null

-rw-r--r-- 1 root root 42426 Jan 20 07:02 /var/log/dpkg.log
-rw-r--r-- 1 root root 49444 Dec 20 14:14 /var/log/dpkg.log.1


/bin/grep 'status installed' /var/log/dpkg.log /var/log/dpkg.log.1 2>/dev/null | sort | tail -1

/var/log/dpkg.log:2022-01-20 07:02:42 status installed flash-kernel:arm64 3.103ubuntu1~20.04.3


/bin/df -m

Filesystem 1M-blocks Used Available Use% Mounted on
/dev/mmcblk0p2 59662 12702 44417 23% /

/bin/df -m | /usr/bin/tail -n +2 | /bin/egrep -v 'tmpfs|boot'

udev 1849 0 1849 0% /dev
/dev/mmcblk0p2 59662 12702 44417 23% /

ls -l /opt/vc/bin/vcgencmd /usr/bin/vcgencmd

ls: cannot access '/opt/vc/bin/vcgencmd': No such file or directory
ls: cannot access '/usr/bin/vcgencmd': No such file or directory


Python errors shown in the logs (if applicable):

Additional information:

After execute installation command: sudo pip3 install -r requirements.txt
Appears this error:

ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 /usr/local/lib/python3.8/dist-packages/pip/_vendor/ pep517/in_process/_in_process.py build_wheel /tmp/tmpfzo3av4x
cwd: /tmp/pip-install-5d5uqo79/backports-zoneinfo_acfef4580a214f208ccc071 702b77ee9
Complete output (30 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-aarch64-3.8
creating build/lib.linux-aarch64-3.8/backports
copying src/backports/init.py -> build/lib.linux-aarch64-3.8/backports
creating build/lib.linux-aarch64-3.8/backports/zoneinfo
copying src/backports/zoneinfo/init.py -> build/lib.linux-aarch64-3.8/back ports/zoneinfo
copying src/backports/zoneinfo/_zoneinfo.py -> build/lib.linux-aarch64-3.8/bac kports/zoneinfo
copying src/backports/zoneinfo/_version.py -> build/lib.linux-aarch64-3.8/back ports/zoneinfo
copying src/backports/zoneinfo/_common.py -> build/lib.linux-aarch64-3.8/backp orts/zoneinfo
copying src/backports/zoneinfo/_tzpath.py -> build/lib.linux-aarch64-3.8/backp orts/zoneinfo
running egg_info
warning: no files found matching '.png' under directory 'docs'
warning: no files found matching '
.svg' under directory 'docs'
no previously-included directories found matching 'docs/_build'
no previously-included directories found matching 'docs/_output'
writing manifest file 'src/backports.zoneinfo.egg-info/SOURCES.txt'
copying src/backports/zoneinfo/init.pyi -> build/lib.linux-aarch64-3.8/bac kports/zoneinfo
copying src/backports/zoneinfo/py.typed -> build/lib.linux-aarch64-3.8/backpor ts/zoneinfo
running build_ext
creating build/temp.linux-aarch64-3.8
creating build/temp.linux-aarch64-3.8/lib
aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g - fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I/usr/include/python3.8 -c lib/zoneinfo_module.c -o build/te mp.linux-aarch64-3.8/lib/zoneinfo_module.o -std=c99
lib/zoneinfo_module.c:1:10: fatal error: Python.h: No such file or directory
1 | #include "Python.h"
| ^~~~~~~~~~
compilation terminated.
error: command '/usr/bin/aarch64-linux-gnu-gcc' failed with exit code 1

ERROR: Failed building wheel for backports.zoneinfo
Failed to build backports.zoneinfo
ERROR: Could not build wheels for backports.zoneinfo, which is required to insta ll pyproject.toml-based projects

@jvcsw jvcsw added the bug Something isn't working label Jan 20, 2022
@ironsheep ironsheep self-assigned this Jan 23, 2022
@ironsheep
Copy link
Owner

ironsheep commented Jan 23, 2022

@jvcsw did you see this note in the install instructions:
vgen-install

Please let me know if this helps...

@jvcsw
Copy link
Author

jvcsw commented Jan 24, 2022

ok ok, mea culpa.

Thank you very much!

@jvcsw jvcsw closed this as completed Jan 24, 2022
@ironsheep
Copy link
Owner

@jvcsw You are very welcome! Thanks for using caring enough to ask! I'm always glad to help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants