planktoscope/docs/software/debugging.md

57 lines
1.4 KiB
Markdown
Raw Normal View History

2023-04-27 15:10:13 +02:00
/home/pi/PlanktoScope/scripts/raspimjpeg/bin/ra
## Error
If you see this, there probably is an error either with your camera or with the python service. Please restart your machine.
## Services
```sh
sudo systemctl status dnsmasq.service
sudo systemctl status gpsd.service
sudo systemctl status nodered.service
sudo systemctl status mosquitto.service
```
## Processes
```sh
/usr/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf
/usr/sbin/gpsd -n -r /dev/serial0 /dev/pps0
node-red
python -uc import os import json import sys c
python3 -u /home/pi/PlanktoScope/scripts/main.py
python3 -u /home/pi/.node-red/node_modules/node-red-node-pi-gpio/nrgpio.py out 5 1
python3 -u /home/pi/.node-red/node_modules/node-red-node-pi-gpio/nrgpio.py pwm 13 25000
```
## Sockets
```
tcp 0 0 0.0.0.0:80 0.0.0.0:_ LISTEN 0 19373 766/nginx: master p
tcp 0 0 0.0.0.0:1880 0.0.0.0:_ LISTEN 1000 21978 543/node-red
tcp 0 0 0.0.0.0:1883 0.0.0.0:_ LISTEN 0 18618 533/mosquitto
tcp 0 0 0.0.0.0:8000 0.0.0.0:_ LISTEN 1000 22945 1257/python3
tcp 0 0 0.0.0.0:8001 0.0.0.0:\* LISTEN 1000 21494 1258/python3
```
## Services
http://10.50.1.24:8000/stream.mjpg
## Q&A
- frist tests scripts
- frist tests gui
- gpsd config
- glue for preparing the glas tubing
# Error
> If you see this, there probably is an error either with your camera or with the python service. Please restart your machine.
##
- 5-Minuten-Epoxy
- 3mm