Logs on RPI available via command
journalctl -fu lst_can_hub.service
Commands for configuring CAN and starting data transfer are in data_hub_startup.sh
.
For telemetry to work:
- Turn on hotspot with Internet connection:
Name: Eagle Password: 12345678
- Turn on RPi and connect CAN to shield.
Telemetry should be sent after 5 seconds.
Data will be available in:
- Clean data: https://lst-api-v1.azurewebsites.net/api/car/recent
- Frontend: https://white-sky-0251a6303.azurestaticapps.net
If done correctly, you will see 'clean data' with current timestamp. Data from CAN is sent every 3 seconds to the cloud's backend.
via Ethernet connection you can use raspberrypi.local as IP otherwise please scan network
If necessary, you can login to RPi. Use:
Username: pi
Password: raspberry
Project directory
$HOME/lst_canhub_py/new
Project should start automatically after rabbitmq
For that, there should be a script:
/lib/systemd/system/lst_can_hub.service
Available commands
sudo systemctl enablie lst_can_hub.service
sudo systemctl disable lst_can_hub.service
sudo systemctl restart lst_can_hub.service
sudo systemctl status lst_can_hub.service