Code for sms2slack device that forwards... SMS messages to Slack. Full build instructions on https://sms2slack.com/assemble. You can also buy a pre-soldered and pre-flashed device on https://sms2slack.com/buy.
- Create Slack Incoming Webhook URL and save it for later use, using Incoming WebHooks app.
- Click on Use this template and choose your Private repository name.
- Go to Settings/Secrets/Actions/New in your repo. For name enter SECRETS_FILE
- For value enter the following replacing with correct values:
who: "+1 111 111 111"
slack_webhook: https://hooks.slack.com/services/replace-me
admin_password: changeme_no_really_change_me
wifi: "my wifi name"
wifi_password: "my wifi password"
- Generate the firmware file by clicking the Run workflow button on Actions/Compile and then refresh the page, so that you see a new workflow running.
- Wait for the workflow to finish, and then download firmware.bin under the Summary/Artifacts tab.
- Go to the https://web.esphome.io/
- Attach your device and click on *Connect and select "USB to UART Bridge" in the web browser prompt
- Click on Install and select your previously downloaded file and click Install
- After 2-3 minutes your device should connect to WiFi you specified in config, if nothing happens check the Logs.
- Generate the firmware file by clicking the Run workflow button on Actions/Compile and then refresh the page, so that you see a new workflow running.
- Wait for the workflow to finish, and then download firmware.bin under the Summary/Artifacts tab.
- Login as admin to the sms2slack dashboard and upload the firmware.bin as an OTA update.