{"id":22727,"date":"2025-10-22T09:53:02","date_gmt":"2025-10-22T07:53:02","guid":{"rendered":"https:\/\/www.smartrace.de\/?page_id=22727"},"modified":"2025-10-22T09:55:50","modified_gmt":"2025-10-22T07:55:50","slug":"websocket-client-demo","status":"publish","type":"page","link":"https:\/\/www.smartrace.de\/en\/the-smartrace-manual\/websocket-client-demo\/","title":{"rendered":"Websocket Client Demo"},"content":{"rendered":"\n<h1 class=\"wp-block-heading\">Websocket Client Demo<\/h1>\n\n\n\n<h3 class=\"gb-headline gb-headline-dc9b447d gb-headline-text\">About this tool<\/h3>\n\n\n\n<p>SmartRace uses web sockets to establish the connection between SmartRace Connect and SmartRace. Once the connection has been established, SmartRace also receives commands via this connection, for example from the Race Control Center. If you want to write your own tool to control SmartRace, you can use the Websocket Client Demo as a basis. There you will also find all commands currently supported by SmartRace.<\/p>\n\n\n\n<h3 class=\"gb-headline gb-headline-5a05f9ce gb-headline-text\">How to use the Websocket Client Demo<\/h3>\n\n\n\n<p>First, start the <a href=\"https:\/\/www.smartrace.de\/en\/the-smartrace-manual\/smartrace-connect-start-server\/\">SmartRace Connect Server<\/a> in SmartRace. In order for the Websocket Client Demo to connect to the SmartRace Connect Server, the <a href=\"https:\/\/www.smartrace.de\/en\/the-smartrace-manual\/trouble-shooting\/no-connection-to-the-smartrace-connect-server-possible-an-error-has-occurred-in-the-communication-with-the-server\/\">same conditions apply as for the SmartRace Connect app<\/a>. Now open the tool using the button below.<\/p>\n\n\n\n<a class=\"gb-text sr-button-small gb-text-5fe90591\" href=\"https:\/\/tools.smartrace.de\/websocket-client\" target=\"_blank\" rel=\"noopener\">Open Websocket Client Demo<\/a>\n\n\n\n<p>Now enter the IP address and port of your SmartRace Connect server in the corresponding input field. You can then establish a connection using the Connect button. Any errors can be viewed in your browser&#8217;s developer console.<\/p>\n\n\n\n<p>You can then use the buttons to trigger various actions in SmartRace.<\/p>\n\n\n\n<p>If something is not working as desired, please <a href=\"https:\/\/www.smartrace.de\/en\/contact\/\">contact support<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Websocket Client Demo About this tool SmartRace uses web sockets to establish the connection between SmartRace Connect and SmartRace. Once the connection has been established, SmartRace also receives commands via this connection, for example from the Race Control Center. If you want to write your own tool to control SmartRace, you can use the Websocket &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"Websocket Client Demo\" class=\"read-more button\" href=\"https:\/\/www.smartrace.de\/en\/the-smartrace-manual\/websocket-client-demo\/#more-22727\" aria-label=\"Read more about Websocket Client Demo\">Read full article<\/a><\/p>\n","protected":false},"author":1,"featured_media":22737,"parent":407,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"manual.php","meta":{"_acf_changed":false,"_uag_custom_page_level_css":"","footnotes":""},"class_list":{"0":"post-22727","1":"page","2":"type-page","3":"status-publish","4":"has-post-thumbnail","6":"infinite-scroll-item"},"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Websocket Client Demo - SmartRace for Carrera Digital<\/title>\n<meta name=\"description\" content=\"Websocket Client Demo About this tool SmartRace uses web sockets to establish the connection between SmartRace Connect and SmartRace. Once the connection\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.smartrace.de\/en\/the-smartrace-manual\/websocket-client-demo\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Websocket Client Demo - SmartRace for Carrera Digital\" \/>\n<meta property=\"og:description\" content=\"Websocket Client Demo About this tool SmartRace uses web sockets to establish the connection between SmartRace Connect and SmartRace. Once the connection\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.smartrace.de\/en\/the-smartrace-manual\/websocket-client-demo\/\" \/>\n<meta property=\"og:site_name\" content=\"SmartRace for Carrera Digital\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/facebook.com\/smartraceapp\" \/>\n<meta property=\"article:modified_time\" content=\"2025-10-22T07:55:50+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.smartrace.de\/wp-content\/uploads\/2025\/10\/Bildschirmfoto-2025-10-22-um-09.54.59.png\" \/>\n\t<meta property=\"og:image:width\" content=\"2522\" \/>\n\t<meta property=\"og:image:height\" content=\"1828\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@smartrace\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.smartrace.de\\\/en\\\/the-smartrace-manual\\\/websocket-client-demo\\\/\",\"url\":\"https:\\\/\\\/www.smartrace.de\\\/en\\\/the-smartrace-manual\\\/websocket-client-demo\\\/\",\"name\":\"Websocket Client Demo - SmartRace for Carrera Digital\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.smartrace.de\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.smartrace.de\\\/en\\\/the-smartrace-manual\\\/websocket-client-demo\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.smartrace.de\\\/en\\\/the-smartrace-manual\\\/websocket-client-demo\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.smartrace.de\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/Bildschirmfoto-2025-10-22-um-09.54.59.png\",\"datePublished\":\"2025-10-22T07:53:02+00:00\",\"dateModified\":\"2025-10-22T07:55:50+00:00\",\"description\":\"Websocket Client Demo About this tool SmartRace uses web sockets to establish the connection between SmartRace Connect and SmartRace. Once the connection\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.smartrace.de\\\/en\\\/the-smartrace-manual\\\/websocket-client-demo\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.smartrace.de\\\/en\\\/the-smartrace-manual\\\/websocket-client-demo\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.smartrace.de\\\/en\\\/the-smartrace-manual\\\/websocket-client-demo\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.smartrace.de\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/Bildschirmfoto-2025-10-22-um-09.54.59.png\",\"contentUrl\":\"https:\\\/\\\/www.smartrace.de\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/Bildschirmfoto-2025-10-22-um-09.54.59.png\",\"width\":2522,\"height\":1828},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.smartrace.de\\\/en\\\/the-smartrace-manual\\\/websocket-client-demo\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.smartrace.de\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"User Manual\",\"item\":\"https:\\\/\\\/www.smartrace.de\\\/en\\\/the-smartrace-manual\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Websocket Client Demo\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.smartrace.de\\\/#website\",\"url\":\"https:\\\/\\\/www.smartrace.de\\\/\",\"name\":\"SmartRace for Carrera Digital\",\"description\":\"The Nr. 1-App for carrera digital slot racing\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.smartrace.de\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.smartrace.de\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.smartrace.de\\\/#organization\",\"name\":\"SmartRace f\u00fcr Carrera Digital\",\"url\":\"https:\\\/\\\/www.smartrace.de\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.smartrace.de\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.smartrace.de\\\/wp-content\\\/uploads\\\/2018\\\/01\\\/Heller-Hintergrund-1.png\",\"contentUrl\":\"https:\\\/\\\/www.smartrace.de\\\/wp-content\\\/uploads\\\/2018\\\/01\\\/Heller-Hintergrund-1.png\",\"width\":1233,\"height\":1266,\"caption\":\"SmartRace f\u00fcr Carrera Digital\"},\"image\":{\"@id\":\"https:\\\/\\\/www.smartrace.de\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"http:\\\/\\\/facebook.com\\\/smartraceapp\",\"https:\\\/\\\/x.com\\\/smartrace\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UChWBm_cFDXFe8Id2966bdMA\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Websocket Client Demo - SmartRace for Carrera Digital","description":"Websocket Client Demo About this tool SmartRace uses web sockets to establish the connection between SmartRace Connect and SmartRace. Once the connection","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.smartrace.de\/en\/the-smartrace-manual\/websocket-client-demo\/","og_locale":"en_US","og_type":"article","og_title":"Websocket Client Demo - SmartRace for Carrera Digital","og_description":"Websocket Client Demo About this tool SmartRace uses web sockets to establish the connection between SmartRace Connect and SmartRace. Once the connection","og_url":"https:\/\/www.smartrace.de\/en\/the-smartrace-manual\/websocket-client-demo\/","og_site_name":"SmartRace for Carrera Digital","article_publisher":"http:\/\/facebook.com\/smartraceapp","article_modified_time":"2025-10-22T07:55:50+00:00","og_image":[{"width":2522,"height":1828,"url":"https:\/\/www.smartrace.de\/wp-content\/uploads\/2025\/10\/Bildschirmfoto-2025-10-22-um-09.54.59.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_site":"@smartrace","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.smartrace.de\/en\/the-smartrace-manual\/websocket-client-demo\/","url":"https:\/\/www.smartrace.de\/en\/the-smartrace-manual\/websocket-client-demo\/","name":"Websocket Client Demo - SmartRace for Carrera Digital","isPartOf":{"@id":"https:\/\/www.smartrace.de\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.smartrace.de\/en\/the-smartrace-manual\/websocket-client-demo\/#primaryimage"},"image":{"@id":"https:\/\/www.smartrace.de\/en\/the-smartrace-manual\/websocket-client-demo\/#primaryimage"},"thumbnailUrl":"https:\/\/www.smartrace.de\/wp-content\/uploads\/2025\/10\/Bildschirmfoto-2025-10-22-um-09.54.59.png","datePublished":"2025-10-22T07:53:02+00:00","dateModified":"2025-10-22T07:55:50+00:00","description":"Websocket Client Demo About this tool SmartRace uses web sockets to establish the connection between SmartRace Connect and SmartRace. Once the connection","breadcrumb":{"@id":"https:\/\/www.smartrace.de\/en\/the-smartrace-manual\/websocket-client-demo\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.smartrace.de\/en\/the-smartrace-manual\/websocket-client-demo\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.smartrace.de\/en\/the-smartrace-manual\/websocket-client-demo\/#primaryimage","url":"https:\/\/www.smartrace.de\/wp-content\/uploads\/2025\/10\/Bildschirmfoto-2025-10-22-um-09.54.59.png","contentUrl":"https:\/\/www.smartrace.de\/wp-content\/uploads\/2025\/10\/Bildschirmfoto-2025-10-22-um-09.54.59.png","width":2522,"height":1828},{"@type":"BreadcrumbList","@id":"https:\/\/www.smartrace.de\/en\/the-smartrace-manual\/websocket-client-demo\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.smartrace.de\/en\/"},{"@type":"ListItem","position":2,"name":"User Manual","item":"https:\/\/www.smartrace.de\/en\/the-smartrace-manual\/"},{"@type":"ListItem","position":3,"name":"Websocket Client Demo"}]},{"@type":"WebSite","@id":"https:\/\/www.smartrace.de\/#website","url":"https:\/\/www.smartrace.de\/","name":"SmartRace for Carrera Digital","description":"The Nr. 1-App for carrera digital slot racing","publisher":{"@id":"https:\/\/www.smartrace.de\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.smartrace.de\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.smartrace.de\/#organization","name":"SmartRace f\u00fcr Carrera Digital","url":"https:\/\/www.smartrace.de\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.smartrace.de\/#\/schema\/logo\/image\/","url":"https:\/\/www.smartrace.de\/wp-content\/uploads\/2018\/01\/Heller-Hintergrund-1.png","contentUrl":"https:\/\/www.smartrace.de\/wp-content\/uploads\/2018\/01\/Heller-Hintergrund-1.png","width":1233,"height":1266,"caption":"SmartRace f\u00fcr Carrera Digital"},"image":{"@id":"https:\/\/www.smartrace.de\/#\/schema\/logo\/image\/"},"sameAs":["http:\/\/facebook.com\/smartraceapp","https:\/\/x.com\/smartrace","https:\/\/www.youtube.com\/channel\/UChWBm_cFDXFe8Id2966bdMA"]}]}},"uagb_featured_image_src":{"full":["https:\/\/www.smartrace.de\/wp-content\/uploads\/2025\/10\/Bildschirmfoto-2025-10-22-um-09.54.59.png",2522,1828,false],"thumbnail":["https:\/\/www.smartrace.de\/wp-content\/uploads\/2025\/10\/Bildschirmfoto-2025-10-22-um-09.54.59-150x150.png",150,150,true],"medium":["https:\/\/www.smartrace.de\/wp-content\/uploads\/2025\/10\/Bildschirmfoto-2025-10-22-um-09.54.59-300x217.png",300,217,true],"medium_large":["https:\/\/www.smartrace.de\/wp-content\/uploads\/2025\/10\/Bildschirmfoto-2025-10-22-um-09.54.59-768x557.png",768,557,true],"large":["https:\/\/www.smartrace.de\/wp-content\/uploads\/2025\/10\/Bildschirmfoto-2025-10-22-um-09.54.59-1024x742.png",1024,742,true],"1536x1536":["https:\/\/www.smartrace.de\/wp-content\/uploads\/2025\/10\/Bildschirmfoto-2025-10-22-um-09.54.59-1536x1113.png",1536,1113,true],"2048x2048":["https:\/\/www.smartrace.de\/wp-content\/uploads\/2025\/10\/Bildschirmfoto-2025-10-22-um-09.54.59-2048x1484.png",2048,1484,true],"gform-image-choice-sm":["https:\/\/www.smartrace.de\/wp-content\/uploads\/2025\/10\/Bildschirmfoto-2025-10-22-um-09.54.59.png",300,217,false],"gform-image-choice-md":["https:\/\/www.smartrace.de\/wp-content\/uploads\/2025\/10\/Bildschirmfoto-2025-10-22-um-09.54.59.png",400,290,false],"gform-image-choice-lg":["https:\/\/www.smartrace.de\/wp-content\/uploads\/2025\/10\/Bildschirmfoto-2025-10-22-um-09.54.59.png",600,435,false]},"uagb_author_info":{"display_name":"SmartRace","author_link":"https:\/\/www.smartrace.de\/en\/author\/trademarc_design\/"},"uagb_comment_info":0,"uagb_excerpt":"Websocket Client Demo About this tool SmartRace uses web sockets to establish the connection between SmartRace Connect and SmartRace. Once the connection has been established, SmartRace also receives commands via this connection, for example from the Race Control Center. If you want to write your own tool to control SmartRace, you can use the Websocket&hellip;","_links":{"self":[{"href":"https:\/\/www.smartrace.de\/en\/wp-json\/wp\/v2\/pages\/22727","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.smartrace.de\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.smartrace.de\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.smartrace.de\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.smartrace.de\/en\/wp-json\/wp\/v2\/comments?post=22727"}],"version-history":[{"count":2,"href":"https:\/\/www.smartrace.de\/en\/wp-json\/wp\/v2\/pages\/22727\/revisions"}],"predecessor-version":[{"id":22733,"href":"https:\/\/www.smartrace.de\/en\/wp-json\/wp\/v2\/pages\/22727\/revisions\/22733"}],"up":[{"embeddable":true,"href":"https:\/\/www.smartrace.de\/en\/wp-json\/wp\/v2\/pages\/407"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.smartrace.de\/en\/wp-json\/wp\/v2\/media\/22737"}],"wp:attachment":[{"href":"https:\/\/www.smartrace.de\/en\/wp-json\/wp\/v2\/media?parent=22727"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}