Skip to content

all-in-one.py always hangs after ltr559.get_proximity() returns 6291552 #30

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

Closed
cipy opened this issue Aug 18, 2019 · 6 comments
Closed

Comments

@cipy
Copy link
Contributor

cipy commented Aug 18, 2019

and this 6291552 value is constant every single time

the python process hangs at random times too

2019-08-07 04:07:04.255 INFO temp: 16.9 C
2019-08-08 06:27:57.758 INFO temp: 17.6 C
2019-08-10 15:33:00.070 INFO temp: 26.6 C
2019-08-11 22:16:45.719 INFO temp: 21.5 C
2019-08-12 06:08:43.521 INFO temp: 20.7 C
2019-08-13 03:26:02.298 INFO temp: 19.0 C
2019-08-14 16:07:36.694 INFO temp: 25.9 C
2019-08-15 04:02:06.605 INFO temp: 17.3 C
2019-08-16 03:15:17.037 INFO temp: 22.4 C
2019-08-17 17:53:19.751 INFO temp: 26.6 C

anybody seen anything like it?

it must be an issue coming from ltr559, as the whole python process is hosed after that

@cipy
Copy link
Contributor Author

cipy commented Aug 18, 2019

@takkaria do you have an advice / explanation for this? thanks,

@takkaria
Copy link

I have not seen this myself

@cipy
Copy link
Contributor Author

cipy commented Aug 19, 2019

interesting, when:

running python /usr/local/lib/python2.7/dist-packages/ltr559-0.0.4-py2.7.egg/ltr559/init.py
in parallel with python enviroplus-python/examples/all-in-one.py

2019-08-19 06:20:12.051 INFO Lux: 346.93, Proximity: 0000
2019-08-19 06:20:12.212 INFO Lux: 346.93, Proximity: 0013
2019-08-19 06:20:12.372 INFO Lux: 346.93, Proximity: 0002
2019-08-19 06:20:12.531 INFO Lux: 346.93, Proximity: 0000
2019-08-19 06:20:12.690 INFO Lux: 346.93, Proximity: 0000
2019-08-19 06:20:12.852 INFO Lux: 346.93, Proximity: 0000

2019-08-19 06:20:12.125 INFO temp: 22.3 C
('proxy now at', 6291552)
('mode now at', 24576)

only all*py hangs again. the ltr559 module still runs w/o apparent issues

@cipy
Copy link
Contributor Author

cipy commented Aug 28, 2019

updating to the latest raspbian (buster) kernel doesn't seem to improve/change anything

@cipy
Copy link
Contributor Author

cipy commented Sep 20, 2019

hmm, I used the proposed change from #31 to read the cpu temperature without spawning a process, but it continues to hang in the same place and with the same value 6291552

@brettmlawson
Copy link

I am having this issue now. Did you ever find a resolution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants