Performs alerts in telegram and raspberry pi Buzzer if there is stock of certain articles
Inside raspberry pi
cargo build --release
You will need
- A telegram bot with a telegram token
- A chatId with that bot
- A raspberry-pi with a buzzer connected to line
23
- file where each line is a url to the pc-componentes item
stock-aleter --web-pages-list-file <web-pages-list-file>
--telegram-token <telegram-token>
--chat-id <chat-id>
--min-duration <min-duration>
--max-added-duration <max-added-duration>