@@ -181,16 +181,21 @@ Used for Hosting, not in repo:
...
@@ -181,16 +181,21 @@ Used for Hosting, not in repo:
- Purpose: For hosting the Postgres database with constant uptime.
- Purpose: For hosting the Postgres database with constant uptime.
- Documentation: [Neon](https://neon.tech/)
- Documentation: [Neon](https://neon.tech/)
***See `requirements.txt` in Pi folder for more details on onboard libraries - some aren't covered here***
# Code Documentation #
# Code Documentation #
View separate README for more info on site.
View separate README for more info on site.
View `pi/requirements.txt` for more details on onboard libraries.
Code is primarily documented via inline annotations.
Code is primarily documented via inline annotations.
The Node-Red flow features two 'comment' nodes that act as pointers for developers, such as an explaination of the Lock and Unlock nodes.
The Node-Red flow features two 'comment' nodes that act as pointers for developers, such as an explaination of the Lock and Unlock nodes.
# Troubleshooting #
# Troubleshooting #
## Pi ##
### Pi ###
#### Swapped Arduino Functions ####
#### Swapped Arduino Functions ####
It's important that the two Arduinos are correctly configured with the right components, sketch, and serial port. If, on monitoring in Node-Red, the Arduinos have swapped functions, it's most likely the serial ports are incorrect. It should be Arduino 0 = ACM0 and Arduino 1 = ACM1. The easiest way to correct this is by unplugging both Arduinos and replugging them, with Arduino 0 being plugged in first.
It's important that the two Arduinos are correctly configured with the right components, sketch, and serial port. If, on monitoring in Node-Red, the Arduinos have swapped functions, it's most likely the serial ports are incorrect. It should be Arduino 0 = ACM0 and Arduino 1 = ACM1. The easiest way to correct this is by unplugging both Arduinos and replugging them, with Arduino 0 being plugged in first.