jaredo
if (blink==true){ doFlash(); }
Hi All,
I've been working on a project on and off for the past year or so. It's primary focus is allowing/enabling voting on sequences in my display and secondary as a Christmas light finder for my local community.
I'm intending to let viewers use this functionality in 2017
The aim was to make the site very mobile friendly by making it a Single Page Application (SPA) web app, It's my first time approaching web applications in this manner and has been quite a fun challenge, back-end coding is my forte (very much coding random web stuff regularly), front end GUI not so much.
Website (still doing tweaks & bugfix)
https://christmaslightsnear.me (HTTPS is forced here, google maps requirement)
FPP Plugin
The FPP plugin has been written, seems to work well in my bench testing.
I've built it with every option I needed for my display this year,
https://github.com/jaredb7/FPP-VotingAPI-Integration
If you wish to play with it, you'll need to change the API Server under Advanced Settings to "Development"
Then use the Dev site below.
I just wanted to show everyone what I've been working on and get a feel of what others think?
If you find any issues / bugs let me know.
Site may randomly break!!
Basic features:
Playlist voting (for displays that have this turned on)
'Now Playing' shown on website
Geolocation - Maps all use the users location, if they open the website outside your display, they will have your display show up in front of them.
Radius Search for displays around you (reliant on displays being added)
Address Search to find displays at a location
Favourites & "To Visit" list (very basic)
Google Maps Directions to a display or through list of displays (via to visit)
Adding / Editing displays
Creation of "devices" & API key (this gets placed into the plugin configuration)
Tech Features, which you may or may not care about:
Stateless authentication through the use of Tokens
Almost all requests checked for authentication where required.
API Rate limiting on voting API's (to prevent abuse)
Checks on Voting API so votes aren't accepted outside the Displays show times.
Device API creates in a basic way so it can be used for systems other the FPP.
Security checks for display/device modification (preventing abuse)
Client Side Image resizing (saves uploading 4-10MB images to the back-end for processing)
Stuff that doesn't work:
Favourites or "Displays to visit" aren't saved to the server, it's currently being stored in your browsers 'Local Storage' area which is similar to cookies. So favourites added through your PC, won't show when/if you the site on your phone
I didn't have time to develop this further. Works good enough for now
More Screenshots / https://imgur.com/a/rGik2

View post on imgur.com
I've been working on a project on and off for the past year or so. It's primary focus is allowing/enabling voting on sequences in my display and secondary as a Christmas light finder for my local community.
I'm intending to let viewers use this functionality in 2017
The aim was to make the site very mobile friendly by making it a Single Page Application (SPA) web app, It's my first time approaching web applications in this manner and has been quite a fun challenge, back-end coding is my forte (very much coding random web stuff regularly), front end GUI not so much.
Website (still doing tweaks & bugfix)
https://christmaslightsnear.me (HTTPS is forced here, google maps requirement)
FPP Plugin
The FPP plugin has been written, seems to work well in my bench testing.
I've built it with every option I needed for my display this year,
https://github.com/jaredb7/FPP-VotingAPI-Integration
If you wish to play with it, you'll need to change the API Server under Advanced Settings to "Development"
Then use the Dev site below.
I just wanted to show everyone what I've been working on and get a feel of what others think?
Spoiler content hidden. Log in to see this content.
Site may randomly break!!
Basic features:
Playlist voting (for displays that have this turned on)
'Now Playing' shown on website
Geolocation - Maps all use the users location, if they open the website outside your display, they will have your display show up in front of them.
Radius Search for displays around you (reliant on displays being added)
Address Search to find displays at a location
Favourites & "To Visit" list (very basic)
Google Maps Directions to a display or through list of displays (via to visit)
Adding / Editing displays
Creation of "devices" & API key (this gets placed into the plugin configuration)
Tech Features, which you may or may not care about:
Stateless authentication through the use of Tokens
Almost all requests checked for authentication where required.
API Rate limiting on voting API's (to prevent abuse)
Checks on Voting API so votes aren't accepted outside the Displays show times.
Device API creates in a basic way so it can be used for systems other the FPP.
Security checks for display/device modification (preventing abuse)
Client Side Image resizing (saves uploading 4-10MB images to the back-end for processing)
Stuff that doesn't work:
Favourites or "Displays to visit" aren't saved to the server, it's currently being stored in your browsers 'Local Storage' area which is similar to cookies. So favourites added through your PC, won't show when/if you the site on your phone
I didn't have time to develop this further. Works good enough for now
More Screenshots / https://imgur.com/a/rGik2



View post on imgur.com
Last edited: