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

WallberryTheme: allow background change on socket notification #43

Open
delightedCrow opened this issue Nov 8, 2021 Discussed in #42 · 2 comments
Open

WallberryTheme: allow background change on socket notification #43

delightedCrow opened this issue Nov 8, 2021 Discussed in #42 · 2 comments
Labels
enhancement New feature or request

Comments

@delightedCrow
Copy link
Owner

Add functionality for the WallberryTheme background image to be able to change in response to socket notifications from other modules.

Discussed in #42

Originally posted by jdlucke November 5, 2021
Would it be possible to configure WallberryTheme to be different picture selections for different pages? I am thinking that it would be interesting if I could place a sports-related image behind my sports modules pages, or a news theme behind the information pages...

@delightedCrow delightedCrow added the enhancement New feature or request label Nov 8, 2021
@Andoramb
Copy link

Andoramb commented Sep 30, 2023

Would it be possible to add a notification check function after this?
It could look like zis:

	notificationReceived(notification) {
		switch(notification){
			case "FETCH_PHOTO":
				this.fetchPhoto();  
				break;
		}
	},

Then just send FETCH_PHOTO:
http://192.168.1.XX:8080/remote?action=NOTIFICATION&notification=FETCH_PHOTO

@Andoramb
Copy link

Andoramb commented Sep 30, 2023

Also...personally I think it's best to disable refresh picture on resume function, here
It requests new photo every time when it resumes.
This may be a good intention, but I want to keep the same picture when waking up the screen.
Just an idea :)
Now I see this was touched at Issue30

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

2 participants