Added TM1637 support and more MQTT features#346
Open
giddyhup wants to merge 5 commits intoEdzelf:masterfrom
Open
Added TM1637 support and more MQTT features#346giddyhup wants to merge 5 commits intoEdzelf:masterfrom
giddyhup wants to merge 5 commits intoEdzelf:masterfrom
Conversation
Author
|
The idea is to have an internet radio alarm clock which can be remotely controlled (e.g. via a cron job). Of course, integrating the whole alarm function could be another approach. Not yet included:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added support for TM1637 seven-segment clock (e.g. to serve as a radio alarm clock).
Pins are defined in TM1637.h.
The colon between the second and third digit can be controlled via commands ("dotson" / "dotsoff"; e.g. to show that the alarm is active). Brightness can be controlled via command ("brightness=[0-7]"). These new commands report back via MQTT so that the clock's state can be stored (e.g. in Node RED) and restored via MQTT.
Added commands "realstop" and "realresume" to give finite commands and not just toggle the playback.
Added status message which is published when setup is complete ("ESP32 Radio is up.")