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

[FEATURE REQUEST] Send an MQTT message from the device when a text string has finished scrolling. #583

Open
gaussey opened this issue Jul 29, 2024 · 4 comments
Labels
feature request New feature or request

Comments

@gaussey
Copy link

gaussey commented Jul 29, 2024

Feature Request

Is your feature request related to a problem?

If so, then add a clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution / feature you'd like

A clear and concise description of what you want to happen.

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

I'm using the clock (or will be) as much nicer replacement for my MAX7219 matrix that shows the content of RSS feeds and data scraped from webpages using HomeAssistant as the backend and MQTT broker. Currently with my dumb MAX7219 I calculate when a feed will have finished based on its character length and then send a new MQTT message - Awtrix doesn't allow you to stop a message midscroll that I can tell so I have to set duration to the correct length programatically instead.. It'd be nice if the Awtrix flashed device could send an MQTT message when it had finished scrolling so I could use that as a trigger to send the next stream of text data. If something like this is already available or there's a better way of going about this I'd love to know about it.

@gaussey gaussey added the feature request New feature or request label Jul 29, 2024
@Blueforcer
Copy link
Owner

Blueforcer commented Jul 29, 2024

Just use “repeat” and set it to 1 instead of using “duration” and awtrix automatically scrolls the whole text the complete length, and then switches to the next app. so you can also just listen to currentApp and when this switches from your app to the other one you send new data.

@gaussey
Copy link
Author

gaussey commented Jul 29, 2024

But I'm not switching apps - I disabled all the built in apps, I'm just sending multiple MQTT messages one after another with text strings.

@Blueforcer
Copy link
Owner

I do not assume that such a special feast reuquest will be implemented for this case in the near future.
You could create another feed app and have it alternate and always update the app that is not shown.

@gaussey
Copy link
Author

gaussey commented Jul 29, 2024

Yeah, that's an idea. I was kind of hoping I was missing something obvious but thank you for responding.

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

No branches or pull requests

2 participants