Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display ip address at startup with led matrix #42

Open
LePtitNicolas opened this issue Mar 14, 2024 · 3 comments
Open

Display ip address at startup with led matrix #42

LePtitNicolas opened this issue Mar 14, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@LePtitNicolas
Copy link

LePtitNicolas commented Mar 14, 2024

Hi,

I am in the process of making a clock. I took your version with the "paint" functionality and the mqtt options because I think it opens up interesting perspectives!

I was thinking about a function to display scrolling text using the LEDs as a matrix.
It would thus be possible to display the IP address of the clock at startup, for example. It would be really very practical to know if it is in AP mode or if it is connected to the local network and in the latter case, to have the IP address to connect to it without having to plug in a USB cable to know it with the serial monitor or having to look for it on the box.
The function could also be used to display a scrolling message sent via an mqtt request. We could imagine programming messages on Home Assistant for events (happy birthday, merry Christmas, etc.)

But I admit that I am not comfortable enough with programming to implement this development...

@DaveDavenport
Copy link
Contributor

Not sure if we can easily display every ip address on each faceplate.

In AP mode your browser should automatically redirect to the wordclock webpage.

Once connected to your wifi, I think the clock should be reachable via the wordclock.local hostname (with default settings).

@t0mg
Copy link
Owner

t0mg commented Mar 17, 2024

Local domain doesn't work with all routers, but it's definitely worth trying :) On the other hand, routers/boxes all provide a way to list connected devices so you should not need to use serial to discover the IP anyway.

A generic scrolling text / ticker feature over mqtt is a logical next step after paint mode. I just lack the time to work on that 😅

After that, showing the IP after connection would be doable. Generally speaking having some info during boot could be cool. It is rather niche though, as normally you'd only need that once. A generic text ticker however could be nice for home automation purposes.

@t0mg t0mg added the enhancement New feature or request label Mar 17, 2024
@LePtitNicolas
Copy link
Author

Thanks for taking the time to respond !

Indeed, the display of the IP address should only be used at startup, which should be rare, however, the generic scrolling text / ticker feature over mqtt will be a real plus :-p

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants