[{"data":1,"prerenderedAt":567},["ShallowReactive",2],{"navigation_docs":3,"-interface-courts-integrations-shelly":224,"-interface-courts-integrations-shelly-surround":562},[4,157,184],{"title":5,"path":6,"stem":7,"children":8,"page":156},"Interface","\u002Finterface","1.interface",[9,53,61,68,75,82,90,97,104,111,132,139,145],{"title":10,"path":11,"stem":12,"children":13,"icon":15},"Courts","\u002Finterface\u002Fcourts","1.interface\u002F01.courts\u002F1.index",[14,16],{"title":10,"path":11,"stem":12,"icon":15},"sporty-court-sport",{"title":17,"path":18,"stem":19,"children":20,"icon":22},"Access control and lights","\u002Finterface\u002Fcourts\u002Fintegrations","1.interface\u002F01.courts\u002F5.integrations\u002F1.index",[21,23,28,33],{"title":17,"path":18,"stem":19,"icon":22},"sporty-toggle-large-on",{"title":24,"path":25,"stem":26,"icon":27},"Weblock","\u002Finterface\u002Fcourts\u002Fintegrations\u002Fweblock","1.interface\u002F01.courts\u002F5.integrations\u002F2.weblock","sporty-door-open",{"title":29,"path":30,"stem":31,"icon":32},"Shelly","\u002Finterface\u002Fcourts\u002Fintegrations\u002Fshelly","1.interface\u002F01.courts\u002F5.integrations\u002F3.shelly","sporty-bolt",{"title":34,"path":35,"stem":36,"children":37,"icon":27},"UniFi Access","\u002Finterface\u002Fcourts\u002Fintegrations\u002Funifi-access","1.interface\u002F01.courts\u002F5.integrations\u002F4.unifi-access\u002F1.index",[38,40,44,49],{"title":39,"path":35,"stem":36,"icon":27},"Overview",{"title":41,"path":42,"stem":43,"icon":22},"Connect the VPN","\u002Finterface\u002Fcourts\u002Fintegrations\u002Funifi-access\u002Fvpn","1.interface\u002F01.courts\u002F5.integrations\u002F4.unifi-access\u002F2.vpn",{"title":45,"path":46,"stem":47,"icon":48},"Create an API token","\u002Finterface\u002Fcourts\u002Fintegrations\u002Funifi-access\u002Fapi-token","1.interface\u002F01.courts\u002F5.integrations\u002F4.unifi-access\u002F3.api-token","sporty-gear",{"title":50,"path":51,"stem":52,"icon":15},"Set it up in Club Admin","\u002Finterface\u002Fcourts\u002Fintegrations\u002Funifi-access\u002Fclub-admin","1.interface\u002F01.courts\u002F5.integrations\u002F4.unifi-access\u002F4.club-admin",{"title":54,"path":55,"stem":56,"children":57,"icon":60},"Members","\u002Finterface\u002Fmembers","1.interface\u002F02.members\u002F1.index",[58],{"title":59,"path":55,"stem":56,"icon":60},"Member management","sporty-user-group",{"title":62,"path":63,"stem":64,"children":65,"icon":67},"Memberships","\u002Finterface\u002Fmemberships","1.interface\u002F03.memberships\u002F1.index",[66],{"title":62,"path":63,"stem":64,"icon":67},"sporty-id-card",{"title":69,"path":70,"stem":71,"children":72,"icon":74},"Leagues","\u002Finterface\u002Fleagues","1.interface\u002F04.leagues\u002F1.index",[73],{"title":69,"path":70,"stem":71,"icon":74},"sporty-ranking-star",{"title":76,"path":77,"stem":78,"children":79,"icon":81},"Tournaments","\u002Finterface\u002Ftournaments","1.interface\u002F05.tournaments\u002F1.index",[80],{"title":76,"path":77,"stem":78,"icon":81},"sporty-trophy",{"title":83,"path":84,"stem":85,"children":86,"icon":89},"Payments and subscriptions","\u002Finterface\u002Fpayments","1.interface\u002F06.payments\u002F1.index",[87],{"title":88,"path":84,"stem":85,"icon":89},"Payments","sporty-credit-card",{"title":91,"path":92,"stem":93,"children":94,"icon":96},"Shop","\u002Finterface\u002Fshop","1.interface\u002F07.shop\u002F1.index",[95],{"title":91,"path":92,"stem":93,"icon":96},"sporty-bag-shopping",{"title":98,"path":99,"stem":100,"children":101,"icon":103},"Schools and coaches","\u002Finterface\u002Fschools","1.interface\u002F08.schools\u002F1.index",[102],{"title":98,"path":99,"stem":100,"icon":103},"sporty-graduation-cap",{"title":105,"path":106,"stem":107,"children":108,"icon":110},"Emails","\u002Finterface\u002Femails","1.interface\u002F09.emails\u002F1.index",[109],{"title":105,"path":106,"stem":107,"icon":110},"sporty-envelope",{"title":112,"path":113,"stem":114,"children":115,"icon":117},"Video and cameras","\u002Finterface\u002Fvideo","1.interface\u002F10.video\u002F1.index",[116,118,122,127],{"title":112,"path":113,"stem":114,"icon":117},"sporty-camera-cctv",{"title":119,"path":120,"stem":121,"icon":117},"Dahua cameras","\u002Finterface\u002Fvideo\u002Fdahua","1.interface\u002F10.video\u002F2.dahua",{"title":123,"path":124,"stem":125,"icon":126},"Other RTMP cameras","\u002Finterface\u002Fvideo\u002Frtmp","1.interface\u002F10.video\u002F3.rtmp","sporty-video",{"title":128,"path":129,"stem":130,"icon":131},"Match analytics","\u002Finterface\u002Fvideo\u002Fanalytics","1.interface\u002F10.video\u002F4.analytics","sporty-chart-simple",{"title":133,"path":134,"stem":135,"children":136,"icon":138},"Reports","\u002Finterface\u002Freports","1.interface\u002F11.reports\u002F1.index",[137],{"title":133,"path":134,"stem":135,"icon":138},"sporty-chart-mixed",{"title":140,"path":141,"stem":142,"children":143,"icon":48},"Settings","\u002Finterface\u002Fsettings","1.interface\u002F12.settings\u002F1.index",[144],{"title":140,"path":141,"stem":142,"icon":48},{"title":146,"path":147,"stem":148,"children":149,"icon":151},"Social publishing","\u002Finterface\u002Fsocial","1.interface\u002F13.social\u002F1.index",[150,152],{"title":146,"path":147,"stem":148,"icon":151},"sporty-newspaper",{"title":153,"path":154,"stem":155,"icon":22},"Connecting channels","\u002Finterface\u002Fsocial\u002Fchannels","1.interface\u002F13.social\u002F2.channels",false,{"title":158,"path":159,"stem":160,"children":161,"icon":164},"Website","\u002Fwebsite","2.website\u002F1.index",[162,165,170,174,179],{"title":163,"path":159,"stem":160,"icon":164},"Website builder","sporty-browser",{"title":166,"path":167,"stem":168,"icon":169},"Pages, hero and footer","\u002Fwebsite\u002Fpages","2.website\u002F2.pages","sporty-file-lines",{"title":171,"path":172,"stem":173,"icon":151},"News and events","\u002Fwebsite\u002Fnews-and-events","2.website\u002F3.news-and-events",{"title":175,"path":176,"stem":177,"icon":178},"Coaches and gallery","\u002Fwebsite\u002Fcoaches-and-gallery","2.website\u002F4.coaches-and-gallery","sporty-images",{"title":180,"path":181,"stem":182,"icon":183},"FAQ and sponsors","\u002Fwebsite\u002Ffaq-and-sponsors","2.website\u002F5.faq-and-sponsors","sporty-circle-question",{"title":185,"path":186,"stem":187,"children":188,"icon":190},"OAuth & Sign in with Sporty","\u002Foauth","4.oauth\u002F1.index",[189,191,195,199,203,207,211,215,219],{"title":185,"path":186,"stem":187,"icon":190},"sporty-brackets-curly",{"title":192,"path":193,"stem":194,"icon":190},"Registering an application","\u002Foauth\u002Fclients","4.oauth\u002F2.clients",{"title":196,"path":197,"stem":198,"icon":190},"The authorization code flow","\u002Foauth\u002Fauthorization-code","4.oauth\u002F3.authorization-code",{"title":200,"path":201,"stem":202,"icon":190},"Scopes","\u002Foauth\u002Fscopes","4.oauth\u002F4.scopes",{"title":204,"path":205,"stem":206,"icon":190},"Sign in with Sporty","\u002Foauth\u002Fsign-in-with-sporty","4.oauth\u002F5.sign-in-with-sporty",{"title":208,"path":209,"stem":210,"icon":190},"The partner API","\u002Foauth\u002Fpartner-api","4.oauth\u002F6.partner-api",{"title":212,"path":213,"stem":214,"icon":190},"Syncing bookings","\u002Foauth\u002Fbooking-sync","4.oauth\u002F7.booking-sync",{"title":216,"path":217,"stem":218,"icon":190},"MCP and AI clients","\u002Foauth\u002Fmcp-and-ai-clients","4.oauth\u002F8.mcp-and-ai-clients",{"title":220,"path":221,"stem":222,"icon":223},"Agent checkout","\u002Foauth\u002Fagent-checkout","4.oauth\u002F9.agent-checkout","sporty-cart-shopping",{"id":225,"title":29,"body":226,"description":555,"extension":556,"links":557,"meta":558,"navigation":559,"path":30,"seo":560,"stem":31,"__hash__":561},"docs\u002F1.interface\u002F01.courts\u002F5.integrations\u002F3.shelly.md",{"type":227,"value":228,"toc":541},"minimark",[229,241,244,249,257,273,276,289,296,301,370,374,387,391,410,419,423,445,449,472,475,479,482,489,495,498,504,507,513,517,523,529,532,535],[230,231,232,233,240],"p",{},"SportyPlus is a registered integrator for ",[234,235,239],"a",{"href":236,"rel":237},"https:\u002F\u002Fwww.shelly.com\u002F",[238],"nofollow","Shelly Cloud",". Please use the Shelly app to connect your devices to Shelly Cloud.",[230,242,243],{},"After your devices are working with Shelly Cloud, use these instructions to connect them to SportyPlus.",[245,246,248],"h2",{"id":247},"wiring-shelly-1-mini-gen4-door-opening","Wiring — Shelly 1 Mini Gen4 (door opening)",[230,250,251,252,256],{},"To open doors via SportyPlus, wire a ",[253,254,255],"strong",{},"Shelly 1 Mini Gen4"," to the dry contact input of your door controller.",[258,259,260,261,264,265,268,269,272],"warning",{},"Turn off the power before wiring. The Shelly relay is used as a ",[253,262,263],{},"dry contact"," — never apply 230 V to the ",[253,266,267],{},"I"," or ",[253,270,271],{},"O"," terminals.",[230,274,275],{},"Requirements:",[277,278,279,283,286],"ul",{},[280,281,282],"li",{},"permanent 230 V AC power supply",[280,284,285],{},"a dry contact input on the door controller",[280,287,288],{},"Wi-Fi network with internet access",[230,290,291],{},[292,293],"img",{"alt":294,"src":295},"Shelly 1 Mini Gen4 wiring diagram","\u002Fimages\u002Fshelly-wiring.webp",[297,298,300],"h3",{"id":299},"terminals","Terminals",[302,303,304,317],"table",{},[305,306,307],"thead",{},[308,309,310,314],"tr",{},[311,312,313],"th",{},"Terminal",[311,315,316],{},"Purpose",[318,319,320,332,342,351,360],"tbody",{},[308,321,322,329],{},[323,324,325],"td",{},[326,327,328],"code",{},"L",[323,330,331],{},"phase (230 V AC)",[308,333,334,339],{},[323,335,336],{},[326,337,338],{},"N",[323,340,341],{},"neutral (230 V AC)",[308,343,344,348],{},[323,345,346],{},[326,347,267],{},[323,349,350],{},"relay common contact (Common)",[308,352,353,357],{},[323,354,355],{},[326,356,271],{},[323,358,359],{},"relay output (Normally Open)",[308,361,362,367],{},[323,363,364],{},[326,365,366],{},"SW",[323,368,369],{},"not used",[297,371,373],{"id":372},"step-1-power-the-shelly-device","Step 1 — Power the Shelly device",[277,375,376,382],{},[280,377,378,379,381],{},"Shelly ",[326,380,328],{}," → phase (230 V AC)",[280,383,378,384,386],{},[326,385,338],{}," → neutral (230 V AC)",[297,388,390],{"id":389},"step-2-connect-to-the-door-controller","Step 2 — Connect to the door controller",[277,392,393,402],{},[280,394,378,395,397,398,401],{},[326,396,267],{}," → ",[326,399,400],{},"COM"," (Common) input of the door controller",[280,403,378,404,397,406,409],{},[326,405,271],{},[326,407,408],{},"PUSH \u002F OPEN \u002F EXIT"," (NO) input of the door controller",[230,411,412,413,415,416,418],{},"The Shelly briefly closes the contact between ",[326,414,267],{}," and ",[326,417,271],{},", simulating a button press that tells the door controller to release the lock.",[297,420,422],{"id":421},"step-3-configure-the-shelly-device","Step 3 — Configure the Shelly device",[424,425,426,433,439,442],"ol",{},[280,427,428,429,432],{},"Install the ",[253,430,431],{},"Shelly Smart Control"," app.",[280,434,435,436,438],{},"Add (pair) the ",[253,437,255],{}," in the app.",[280,440,441],{},"Connect the device to the venue's Wi-Fi network.",[280,443,444],{},"Verify the device is online in the Shelly app.",[297,446,448],{"id":447},"how-it-works","How it works",[424,450,451,458,461,469],{},[280,452,453,454,457],{},"A user presses ",[253,455,456],{},"Open Door"," in the SportyPlus app.",[280,459,460],{},"SportyPlus sends the command to the Shelly device.",[280,462,463,464,415,466,468],{},"The Shelly briefly closes the ",[326,465,267],{},[326,467,271],{}," contacts.",[280,470,471],{},"The door controller registers it as a button press and the lock releases.",[230,473,474],{},"Once the device is online in Shelly Cloud, continue with the steps below to connect it to SportyPlus.",[245,476,478],{"id":477},"authorization","Authorization",[230,480,481],{},"In order for us to be able to connect to Shelly Cloud, an admin needs to authorize access.",[230,483,484,485,488],{},"Please visit: ",[326,486,487],{},"\u002Fadmin\u002Fapp\u002Fbusiness\u002Fintegrations\u002Fshelly"," as a club admin. Click on the Authorize devices button.",[230,490,491],{},[292,492],{"alt":493,"src":494},"Shelly 1","\u002Fimages\u002Fshelly-1.png",[230,496,497],{},"You will be redirected to Shelly website where you will need to log in with Shelly Cloud credentials.",[230,499,500],{},[292,501],{"alt":502,"src":503},"Shelly login form","\u002Fimages\u002Fshelly-2.png",[230,505,506],{},"After successful login, all of your devices will be listed. Click on each one and enable both checkboxes and Save:",[230,508,509],{},[292,510],{"alt":511,"src":512},"Shelly device auth","\u002Fimages\u002Fshelly-3.png",[245,514,516],{"id":515},"pair-devices","Pair devices",[230,518,519,520,522],{},"After you authorize all the required devices, please return to ",[326,521,487],{},". You will now have a list of authorized devices.",[230,524,525],{},[292,526],{"alt":527,"src":528},"Shelly devices","\u002Fimages\u002Fshelly-4.png",[230,530,531],{},"You may test the integration with the toggle button. The button will send the toggle request to the device.",[230,533,534],{},"Please use this screen to pair up all the devices to courts in your club. That will enable the Lights switch in the app. Make sure to also check Active switch to enable integration.",[230,536,537],{},[292,538],{"alt":539,"src":540},"Shelly lights switch","\u002Fimages\u002Fshelly-5.png",{"title":542,"searchDepth":543,"depth":543,"links":544},"",2,[545,553,554],{"id":247,"depth":543,"text":248,"children":546},[547,549,550,551,552],{"id":299,"depth":548,"text":300},3,{"id":372,"depth":548,"text":373},{"id":389,"depth":548,"text":390},{"id":421,"depth":548,"text":422},{"id":447,"depth":548,"text":448},{"id":477,"depth":543,"text":478},{"id":515,"depth":543,"text":516},"Integrate Shelly devices in SportyPlus","md",null,{},{"icon":32},{"title":29,"description":555},"lFj6Lkaqrw16ZoUhWMrJ0mzkZowQsBqNkyfvmztf2I8",[563,565],{"title":24,"path":25,"stem":26,"description":564,"icon":27,"children":-1},"Integrate Weblock devices with SportyPlus",{"title":39,"path":35,"stem":36,"description":566,"icon":27,"children":-1},"Connect a UniFi Access door system to SportyPlus, so booked players get in with their own PIN",1790691909306]