Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/redakker/rotaryphone
Rotary phone to mqtt (ESP32)
https://github.com/redakker/rotaryphone
Last synced: 26 days ago
JSON representation
Rotary phone to mqtt (ESP32)
- Host: GitHub
- URL: https://github.com/redakker/rotaryphone
- Owner: redakker
- License: mit
- Created: 2023-04-05T09:27:25.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-26T11:21:45.000Z (3 months ago)
- Last Synced: 2024-10-15T03:27:18.008Z (2 months ago)
- Language: C++
- Size: 67.4 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Rotary phone to MQTT
In this project I made the old rotary phone smart. It sends the rotated numbers to an MQTT server. Later this information can be used to automate anything.
https://user-images.githubusercontent.com/15798619/230387954-5b1b0422-ebbc-4f4e-9e12-549ca0c81e21.mp4
The project based on this library
https://github.com/markfickett/Rotary-DialIt counts the pulses of the phone then retuns with the result.
## How to use
- After wiring the right wires to the ESP32 microcontorller, you need to upload the compiled code to the board.
- At the first start you can connect to the offered WiFi AP of the board (name: rotaryphone).
- You can reach the Web interface on the IP of the board: 192.168.4.1
- set the WiFi and the MQTT connection on the web interface
- after save it will reboot and connects to the Wifi and MQTT
- Rotated numbers will be sent over MQTTAfter a dial there is a 2 secs timeout before sending out the number. It makes possible to dial longer than 1 digit numbers.
TODOs:
- make available to have some sound in the handset (for ex. mp3)
- read the onhook/offhook events
- trigger to ring the phone over MQTT