Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
S
Scinage
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 11
    • Issues 11
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
  • Science Computing
  • Scinage
  • Issues
  • #17

Closed
Open
Opened Nov 30, 2016 by Steve Weber@s8weberMaintainer

Track last access time of a tv on slideshow. So a tv outage can be detected.

Would be nice to know when a TV stops loading a slideshow.. then we would know if a chromecast needs a restart.

Idea.. track last access time of a slideshows by a screenid. https://scinage.uwaterloo.ca/slideshows/view/21/[screenid]/

each tv could use a custom screenid.

have an api call to get info on the screenid

GET https://scinage.uwaterloo.ca/screen/[screenid]/
{
  'state': 'alive',
  'lastaccess': '2016-11-30T11:51-05:00',
  'lastaccess-slideshows': 'slideshows/view/21',
}

Then we could create a scinage widget that that is an icon of a tv. The widget could take in a {screenid} and run a ajax call to get /screen/{id}. If state is alive then tv icon green else red if dead (lastaccess > 20min)... yellow on not found.

Then create a slideshow for admins with the background images of building maps. Place the screen icon widgets around. :) success/ 💯

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: science-computing/Scinage#17