Remove Amazon filament price tracking
Deploy HickLab3D Dashboard / Deploy to production (push) Successful in 2m41s
Deploy HickLab3D Dashboard / Deploy to production (push) Successful in 2m41s
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# HickLab3D dashboard
|
||||
|
||||
Laravel 13, Tailwind CSS 4, and MySQL dashboard for the HickLab3D workshop. It includes user accounts, Bambu printer telemetry, Amazon filament price tracking, Parcel2Go orders, and ESP32 filament dryer control.
|
||||
Laravel 13, Tailwind CSS 4, and MySQL dashboard for the HickLab3D workshop. It includes user accounts, Etsy shop data, BamBuddy printer status, Parcel2Go orders, and filament dryer control.
|
||||
|
||||
## Setup
|
||||
|
||||
@@ -28,20 +28,12 @@ The admin command prompts for a password. Never pass it on the command line. For
|
||||
|
||||
The migrations use the legacy table and column names. If you point the app at the existing TechOdyssey database, back it up first. The migrations skip tables already present and create Laravel's session, cache, and job tables. Existing schema variations have not been verified against a database dump. Do not run `migrate:fresh` on a database with production data.
|
||||
|
||||
## Integrations and scheduled work
|
||||
## Integrations
|
||||
|
||||
- Parcel2Go: set `P2G_CLIENT_ID`, `P2G_CLIENT_SECRET`, and `P2G_API_AUTH_URL`.
|
||||
- Dryer: set `DRYER_URL` to the ESP32 gateway base URL. The browser talks to authenticated Laravel routes; Laravel forwards status and control requests.
|
||||
- Printers: set `MQTT_PORT`, `MQTT_USERNAME`, and `MQTT_VERIFY_TLS`. Each printer's access code is entered when adding it. `printers:collect` samples telemetry from each printer.
|
||||
- Filament: `filaments:refresh` reads tracked Amazon listings and sends price drop mail to enabled recipients. Configure Laravel's `MAIL_*` settings for delivery. Amazon may change or block its public product HTML, in which case a listing is skipped.
|
||||
|
||||
Run Laravel's scheduler every minute on the server:
|
||||
|
||||
```sh
|
||||
php artisan schedule:run
|
||||
```
|
||||
|
||||
The schedule collects printer telemetry every five minutes and refreshes filament prices hourly. You can run either command manually for diagnosis.
|
||||
- Etsy: add the app keystring and shared secret on the Settings page, then connect the shop with OAuth.
|
||||
- Printers: set `BAMBUDDY_URL` and `BAMBUDDY_API_KEY` for live print farm status.
|
||||
- Dryer: set `DRYER_URL` and `DRYER_API_KEY`. The browser talks to authenticated Laravel routes; Laravel forwards status and control requests.
|
||||
|
||||
## Verification
|
||||
|
||||
|
||||
Reference in New Issue
Block a user