Contralert
My Workflow
Contralert is a utility device which produces different sound tones for every issue created, pull request opened, and pull request closed using Github Actions
Submission Category:
Interesting IoT
Yaml File or Link to Code
Contralert is a utility device which produces different sound tones for every issue created, pull request opened, and pull request closed using Github Actions
Setup and Installation
-
Go to repo Settings/Secrets and add a new repository secret with name as MTQT_BROKER_PASSWORD and value as key.
-
Now edit the .yaml files in .github/workflows with your details of mqqt broker for each topic i.e Issue Open , Pull Requet Open and Pull Request Closed.
protocol: mqtt host: hostname port: 1883 topic: "mqtt-action/test" message: true username: 'your-username' password: ${{ secrets.MQTT_BROKER_PASSWORD }}
-
Now connect a buzzer to NodeMCU gpio pin and enter the mqtt broker details in the .ino file.
-
Upload the code to NodeMCU using Arduino IDE to the board and that's it.
-
The device will connect to the MQTT Server and will generate a tone for respective Github Action.
Usage
- Justβ¦
Top comments (1)
Project Collaborators :
dev.to/himanshushah05
dev.to/shubhampalriwala