You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current Crontab Setup: * * * * * /home/jason/sensors/raspberry_pi/pms5003/pms5003_check.sh
So it should have been running, however the pi_pms5003_log.csv wasn't being updated.
Running the PMS5003_logger.py by itself threw the following exception:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 490, in read
'device reports readiness to read but returned no data '
serial.serialutil.SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "PMS5003_logger.py", line 99, in <module>
main()
File "PMS5003_logger.py", line 64, in main
s = ser.read(FRAME_LENGTH)
File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 497, in read
raise SerialException('read failed: {}'.format(e))
serial.serialutil.SerialException: read failed: device reports readiness to read but returned no data (device disconnected or multiple access on port?)
For some reason, this could be because I tried to run one instance of the program manually while the crontab was trying to run (maybe this relates to the msg: multiple access on port?. Oddly, the program is now running and updating the csv so I'm not sure what was going on..
The text was updated successfully, but these errors were encountered:
This is @ryantanaka talking from @my computer. From August 28th until Sept 7, there was no data for some reason even though the crontab was running the program. We killed the process started by the crontab and waited for the program to run. Now there is data from Sept 7..
Looks like there may be an issue with the sensor.
Current Crontab Setup:
* * * * * /home/jason/sensors/raspberry_pi/pms5003/pms5003_check.sh
So it should have been running, however the
pi_pms5003_log.csv
wasn't being updated.Running the
PMS5003_logger.py
by itself threw the following exception:For some reason, this could be because I tried to run one instance of the program manually while the crontab was trying to run (maybe this relates to the msg:
multiple access on port?
. Oddly, the program is now running and updating the csv so I'm not sure what was going on..The text was updated successfully, but these errors were encountered: