Now that we’ve successfully installed cast-web api on Windows 10, and added the two required device handlers and smartApp, it’s time to add the SmartApp! You should now see the cast-web service manager published. input "apiHostAddress", "text", title: "API host address", required: trueĪnd then save your changes. This change is needed in order for it to work in the new SmartThings app. SMARTTHINGS COMPUTER APP FOR MAC CODESmartApp 1: Cast-web service managerĬlick My SmartApps > New SmartApp > From Code tab.Ĭopy & paste the smartapp code from here.ĭo not save and publish just yet. Copy & paste the code from here.Ĭlick Publish > For Me. Open the Samsung SmartThings IDE: Device Handler 1: cast-web-deviceĬlick My Device Handlers > Create New Device Handler > From Code tab. Step 4: Add 2 Device Handlers & 1 SmartApp Stop/Start and/or relaunch cast-web-api-desktop. Hostname has been changed from 172.0.0.1 to your computer’s IP addressģ. If you receive an error on this step, verify that:Ģ. Next, add your IP address to the settings of Cast Web API and save. Once it launches, click the gear to access the settings. Search your computer for cast-web-api-desktop. Step 4: Add IP Address to Cast Web API Settings You will need that IP address for Step 4. Open Command Prompt and type this to find your computer’s IP address. Step 3: Add IP Address to Cast Web API Settings Step 2: Download Node.JSĭownload the Node.js Windows installer from here: Once it’s finished, it will launch the cast-web api window but state that it is offline. It will take a few minutes for the program to finish installing. This is expected behavior as the app is not code-signed. On the blue Windows SmartScreen popup, click More Info > Run Anyway. SMARTTHINGS COMPUTER APP FOR MAC .EXEexe to install it like you would any other program. Step 1: Download & Install Cast-Web-Api for WindowsĬlick the cast-web-api-desktop-setup-1.2.1.exeĪfter downloading, double-click the. If I were to do this setup again, I’d probably configure it on a raspberry pi, since my desktop PC gets rebooted much more frequently. Ideally, the device you choose should be on the same subnet as your SmartThings hub and stay on 24/7. There are also Windows, Linux, Mac, or Docker images available here: The setup is basically the same no matter which option you choose.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |