Quantcast
Jump to content


Recommended Posts

Posted

stCoreSDK_banner9.png

The new SmartThings Core SDK for JavaScript is now available as a developer preview. With the new Core SDK, you can easily integrate the core SmartThings REST APIs into your JavaScript applications. We’ve built the SmartThings Core SDK with professional developers and hobbyists alike in mind - so that you can freely control and automate thousands of Works with SmartThings devices from your web server, Express app, and more.

Let’s say you wanted to build a dashboard and display all of your SmartThings devices. Here is a sample Node app to get you started - you can use the below code with an OAuth or PAT token to get a list of devices:




Getting Started

If you want to jump right in, we recommend using npm to install the Core SDK for JavaScript.

npm install @smartthings/core-sdk

You can use the Core SDK for JavaScript Wiki to learn more about all of the endpoints available. If you are not sure where to start, visit the SmartThings Community for video tutorials and ideas.

The SmartThings development team has put a lot of effort into building this SDK - we are excited to share it with you. Now, we invite you to start building, ask questions on the SmartThings Community, and provide open feedback.

Thank You!

View the full blog at its source



  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Similar Topics

    • By Samsung Newsroom
      Earlier this year, SmartThings announced a new program called Certification by Similarity (CbS) within our Works with Samsung SmartThings (WWST) partner program. This program is designed for Smart Home OEM’s to be able to certify portfolios of products, rather than certifying each product one by one.

      Additionally, we released a new developer feature called Product Cloning, which allows partners to input the details of one product and copy for all the similar products.

      Many of our device manufacturing partners have a portfolio of devices that have the same smart technology on the inside but come in many different shapes, colors, and other variations. We are making it easier and more cost efficient than ever to certify the entire portfolio.

      After releasing this new certification option, we have heard excellent reviews from our partners. Read on to discover how to take advantage of this new offering.



      Product Cloning
      SmartThings Product Cloning allows you to enter information for one product and clone it to generate multiple entries for all similar products. The similar products include all the critical information — all you need to do is update the unique identifiers, like the Matter Product ID and Model Number.

      Easily copy product details and enter whole product lines
      Save time and get certified faster

      Get Started
      How to clone a product:

      Visit the SmartThings Certification Console. Navigate to the Products page (second icon from the top on the left). Enter your product details for one product and save it. Navigate back to the Products page. Under the Actions menu on the product, you have an option to create multiple products at once with Product Cloning.


      You can add up to 10 clones with the option to enter the unique identifiers. Once created, the clones appear in your Products list; you can open them up and modify any of the details before submitting for WWST Certification.




      WWST Certification by Similarity
      Certification by Similarity (CbS) allows you to reduce your WWST certification time and cost by identifying related products with similar core functionality but with different model numbers and minor differences like colors, shapes, or regional variations.

      Example Certification by Similarity use case with a portfolio of RGBW, RGB, and white balance light bulbs:

      Start by submitting a primary product for certification that is a superset of all the portfolio features — such as one of the RGBW light bulbs. Once the primary product testing is complete, the similar devices — such as the RGB and white balance light bulbs — can get fast-tracked through certification, for free. Additional devices can be either submitted at the same time as the primary product or at a later date. All you need to do is submit the product information and link it with the primary product. We then verify that the features are the same as your primary product and grant you certification.

      Devices that Can Be Considered for CbS
      The following criteria must be met for the devices to be considered for CbS:



      Note: Cloud Connected Devices may have different Device Profiles and still be considered for Certification by Similarity. This is possible only if the Capabilities for similar products are a subset of the primary product. If a similar device has additional Capabilities, partial testing is required.

      Learn more about CbS in the Developer Documentation and Certification Console.


      Get Started
      How to submit similar products for WWST:


      Visit the SmartThings Certification Console. Navigate to the Certifications page. Submit your primary product for certification. Navigate back to the Certifications page and select the target similar product to certify. You now have the option to link this submission with the primary product. Select the associated primary product and submit your product for certification.



      Certification by Similarity FAQs
      How is the primary product determined?
      → The primary product has all the Capabilities of other devices in the group. In this example, Product 4 or Product 5 could be the primary.


      How can we guarantee CbS will be approved before submitting for WWST certification?
      → We recommend following the guidelines in the Developer Documentation. The WWST team makes the final decision after reviewing your submission.

      Should I submit the primary product and wait for it to be fully certified before submitting secondary devices to be considered for CbS, or can all of the products be submitted together?
      → When submitting products, you do not need to wait. You can submit the primary product and similar products at the same time.

      I have multiple brands, including some that have the same hardware and firmware. Can CbS be extended to these multiple brands?
      → In order to be considered for CbS, products must contain the same brand. View our documentation to review the CbS program requirements.

      How does the publication / timing work for CbS devices compared to the primary product?
      → See our Publish Your Device guide on publication/timing.


      Want to integrate your device(s) with SmartThings? Visit our Developer Center to get started and access Product Cloning and Certification by Similarity tools.
      View the full blog at its source
    • By Samsung Newsroom
      Engagement Data to Guide Product Development
      What is SmartThings Analytics?
      With our recent update, once you become Works with SmartThings certified, you can use SmartThings Analytics to gather useful data about how your products are being used in the field with PII-safe engagement data. The best part: you can see information like the number of registered and active devices, where your customers are located, and the SmartThings Capabilities that are most commonly used — which helps inform how customers interact with your products.

      Leverage these insights to optimize your products and product roadmap.







      Why Should Developers and Product Teams Use SmartThings Analytics?
      We are always looking for ways to better connect partners with our millions of users.

      We know that it can be difficult to collect user engagement data — especially for partners who manufacture Hub Connected devices.

      Last year, we announced our first version of Analytics, which included Registered and Active devices. After obtaining Works with SmartThings certification, partners can easily access SmartThings Analytics from the Console.

      Since receiving positive feedback on the first version of Analytics, we’ve continued to improve performance and expand the type of data partners can access. New this year, we are providing both country-level data and Capability level use. With Capability data, you can answer questions about the most commonly used features of your product, like “Are users actually changing the color of their lights?”

      Leverage these insights to drive better outcomes for your products and users, and optimize your products based on real user interactions.


      Key Features of SmartThings Analytics
      Real-world Usage Data: SmartThings Analytics makes it easy to know if your users are engaged with your products by providing real-world usage data, which we’ve built in a way that gives you actionable data while still protecting the privacy of users’ data.
      User-friendly Interface: With an intuitive and user-friendly interface, the Analytics tool ensures a seamless experience for product owners and developers of all levels.
      Multiple Ways to Gain Insights: Easily search by an individual product or your entire catalog, within one country or within a region. Or choose to go back as far as 7, 30, 90 days, or with a custom date range. Lastly, see which SmartThings "Capabilities" are being used — there are plenty of ways to get actionable engagement data to drive product decisions.

      Product Questions that SmartThings Analytics Answers

      Where am I getting most of my product sales? In which countries do I have the most active user base? What features / SmartThings Capabilities do my customers use the most? Which are used the least? How many active devices do I have compared to registered devices? How are the active devices and registered devices trending over time? Did device registrations go up after our recent marketing campaign? Or after the event where we showcased our brand?

      How to Get Started with SmartThings Analytics?
      Ready to view Analytics for your device(s)? Here's a quick resource guide to help you get started and show you the features:


      1. Begin by Accessing Analytics
      Analytics is only available to partners who have Works with SmartThings (WWST) certified products.
      Visit the SmartThings Developer Console and navigate to the Analytics section, accessible at SmartThings Developer Console.


      Keep reading for a screen-by-screen walkthrough, or check out this video.


      If you have a WWST certified product(s) , but do not have access to the Console, email us at [email protected].









      2. Set Up Your Search Parameters

      With Analytics you can search by:

      Product(s): Search by one product or all to see a portfolio view of how your products are being used.



      Date: See the last 7, 30, or 90 days of data, or choose a custom data range.



      Location: View data by county or region.





      3. View Data for Insights
      Registered Devices: View devices that are registered with SmartThings.



      Active Devices: View devices with an event or an online status in the last 24 hours. Devices may go from the inactive state to the active state and vice versa.



      Capabilities: See SmartThings Capabilities that are being used for your product or products. Get a glimpse of which capabilities are the most used.



      Geo Location: View by country or region.


      See where your products are being used by country or by region.

      Any of these fields can be made full screen or zoomed in on. The data can be also exported as a CSV.



      Our latest update with Analytics represents another avenue for providing more value for WWST Certified partners. Access to this variety of usage data is critical to understanding how your products are being used.
      Ready to gain more product insights? Navigate to Analytics in the Certification Console to see these insights and apply them to your product strategy.
      Want to integrate your device with SmartThings? Visit https://developer.smartthings.com to access tools like Edge Builder and Test Suite, and then leverage our Certification Console to get your device(s) certified.
      View the full blog at its source
    • By Samsung Newsroom
      Engagement Data to Guide Product Development
      What is SmartThings Analytics?
      With our recent update, once you become Works with SmartThings certified, you can use SmartThings Analytics to gather useful data about how your products are being used in the field with PII-safe engagement data. The best part: you can see information like the number of registered and active devices, where your customers are located, and the SmartThings Capabilities that are most commonly used — which helps inform how customers interact with your products.

      Leverage these insights to optimize your products and product roadmap.







      Why Should Developers and Product Teams Use SmartThings Analytics?
      We are always looking for ways to better connect partners with our millions of users.

      We know that it can be difficult to collect user engagement data — especially for partners who manufacture Hub Connected devices.

      Last year, we announced our first version of Analytics, which included Registered and Active devices. After obtaining Works with SmartThings certification, partners can easily access SmartThings Analytics from the Console.

      Since receiving positive feedback on the first version of Analytics, we’ve continued to improve performance and expand the type of data partners can access. New this year, we are providing both country-level data and Capability level use. With Capability data, you can answer questions about the most commonly used features of your product, like “Are users actually changing the color of their lights?”

      Leverage these insights to drive better outcomes for your products and users, and optimize your products based on real user interactions.


      Key Features of SmartThings Analytics
      Real-world Usage Data: SmartThings Analytics makes it easy to know if your users are engaged with your products by providing real-world usage data, which we’ve built in a way that gives you actionable data while still protecting the privacy of users’ data.
      User-friendly Interface: With an intuitive and user-friendly interface, the Analytics tool ensures a seamless experience for product owners and developers of all levels.
      Multiple Ways to Gain Insights: Easily search by an individual product or your entire catalog, within one country or within a region. Or choose to go back as far as 7, 30, 90 days, or with a custom date range. Lastly, see which SmartThings "Capabilities" are being used — there are plenty of ways to get actionable engagement data to drive product decisions.

      Product Questions that SmartThings Analytics Answers

      Where am I getting most of my product sales? In which countries do I have the most active user base? What features / SmartThings Capabilities do my customers use the most? Which are used the least? How many active devices do I have compared to registered devices? How are the active devices and registered devices trending over time? Did device registrations go up after our recent marketing campaign? Or after the event where we showcased our brand?

      How to Get Started with SmartThings Analytics?
      Ready to view Analytics for your device(s)? Here's a quick resource guide to help you get started and show you the features:


      1. Begin by Accessing Analytics
      Analytics is only available to partners who have Works with SmartThings (WWST) certified products.
      Visit the SmartThings Developer Console and navigate to the Analytics section, accessible at SmartThings Developer Console.


      Keep reading for a screen-by-screen walkthrough, or check out this video.


      If you have a WWST certified product(s) , but do not have access to the Console, email us at [email protected].









      2. Set Up Your Search Parameters

      With Analytics you can search by:

      Product(s): Search by one product or all to see a portfolio view of how your products are being used.



      Date: See the last 7, 30, or 90 days of data, or choose a custom data range.



      Location: View data by county or region.





      3. View Data for Insights
      Registered Devices: View devices that are registered with SmartThings.



      Active Devices: View devices with an event or an online status in the last 24 hours. Devices may go from the inactive state to the active state and vice versa.



      Capabilities: See SmartThings Capabilities that are being used for your product or products. Get a glimpse of which capabilities are the most used.



      Geo Location: View by country or region.


      See where your products are being used by country or by region.

      Any of these fields can be made full screen or zoomed in on. The data can be also exported as a CSV.



      Our latest update with Analytics represents another avenue for providing more value for WWST Certified partners. Access to this variety of usage data is critical to understanding how your products are being used.
      Ready to gain more product insights? Navigate to Analytics in the Certification Console to see these insights and apply them to your product strategy.
      Want to integrate your device with SmartThings? Visit https://developer.smartthings.com to access tools like Edge Builder and Test Suite, and then leverage our Certification Console to get your device(s) certified.
      View the full blog at its source





×
×
  • Create New...