-
1Flash Konnected Firmware
Follow instructions on this page to flash the firmware
-
2Install ESP8266 into breadboard
The mini breadboard doesn't have the room to fit the ESP8266 and the beeper so offset the board and have the unused pins not connected to anything.
-
3Connect the Piezo Buzzer
The + pin on the buzzer connects to D7 and the G pin next to D5. This corresponds to "zone 5" in the konnected firmware.
-
4Connect Switch (optional)
The wires on the switch are a little too big to fit into the breadboard. You need to cut out about half the strands. Then you can insert the remaining strands into the the RX ping and the other ground next to the TX. This corresponds to "zone 6" in the konnected firmware.
-
5Glue (optional)
After testing I recommend adding a little hot glue to keep it all together.
-
6Configure
Here is an example configuration for Home Assistant. In this setup Zone 5 creates three switches in home assistant as follows.
- Double Beep
- Quad Beep
- Repetitive Beep
This config also creates a binary switch that reads the status of the the switch.
konnected: access_token: insert-a-random-string-here devices: - id: konnected-device-mac-address binary_sensors: - zone: 6 type: light name: 'Override Switch' switches: - zone: 5 name: 'Beep Beep' momentary: 65 pause: 55 repeat: 2 - zone: 5 name: 'Beep Beep Long' momentary: 65 pause: 55 repeat: 4 - zone: 5 name: Warning momentary: 65 pause: 55 repeat: -1
-
7Setup Automations
Now that you have inputs and output it's time to create an automation. In this example when the front door opens the automation kicks off. The automation then proceeds to check the state of the override switch before deciding if it's going to trigger the action of turning on beep beep.
- id: '111111' alias: BeepBeep (Front Door) trigger: - entity_id: binary_sensor.front_door from: 'off' platform: state to: 'on' condition: - condition: state entity_id: binary_sensor.override_switch state: 'on' action: - data: entity_id: switch.beep_beep service: switch.turn_on
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.