Quantcast
Jump to content


Introducing the New SmartThings Core SDK for JavaScript.


Recommended Posts

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

Link to comment
Share on other sites



  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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
      Samsung Electronics is helping consumers fully rest and recharge by pairing its advanced display technology with Samsung SmartThings, the company’s integrated and expansive multi-device ecosystem. From streaming content with new levels of immersion to creating the perfect ambiance at home, the platform offers a wide range of innovative capabilities within its ultra-connected device network. Football star Son Heung-min shares some of the ways users can amplify at-home entertainment through SmartThings.
       
       
      Immersive Entertainment With Phillips Hue Sync
      Adjusting the lighting of a room can deliver more immersive experiences — especially when playing games or watching TV shows and movies. With the Phillips Hue Sync TV app, users can seamlessly pair their Phillips Hue lighting to their Samsung Smart TVs and sync lighting to the colors of the content on screen.
       
      Son demonstrates how Phillips Hue Sync changes the color, brightness and intensity of the lighting as he plays a video game on his Samsung Smart TV, putting him right in the center of the action.
       
      ※ Compatible lighting must be purchased separately; paid subscription of the Hue Sync app is required through Samsung TV app.
       

       
       
      Smarter Workouts With SmartThings
      For fitness enthusiasts who want to take their workouts to the next level, SmartThings is helping users exercise more effectively from home. By connecting Galaxy wearables to compatible Samsung Smart TVs, users can view their workout progress and health status in real time or participate in guided fitness or mindfulness programs. Son watches a football match on his Samsung Smart TV while exercising as he views his progress on screen — recorded with his Galaxy wearable.
       
      ※ Available from 2024; availability and the timing of support may vary by country and region.
       
       
      ConnecTime & Chat Together: TV alone can make interaction more convenient and efficient
      Abruptly asked to join a meeting with coaches, Son Heung-min turned on TV. ConnecTime, no matter where you are, enables users to take video calls from the Galaxy to a large TV screen. Chat Together allows Son to enjoy a soccer match together with their friends without meeting in person.
       

       
       
      3D Map View: Smarter management for all connected devices
      Samsung SmartThings helps Son maintain his lifestyle as a homebody. Based on home structure, 3D Map View lets him conveniently see the status and location of the devices registered in SmartThings as well as check and monitor temperature, air quality, and energy usage. This is the perfect feature for people like Son who are busy even at home during holidays.
       
      Check out the video below to view how Samsung’s Smart TVs and SmartThings help Son enhance entertainment at home.
       
       View the full article
    • By Samsung Newsroom
      Released on August 28, Samsung Electronics’ “Everyday SmartThings with Son” campaign video has garnered attention from Galaxy and football fans alike for showcasing the innovative SmartThings home system. To hear more about his filming experience, Samsung Newsroom sat down with world-renowned football star Son Heung-min and learned more about his favorite SmartThings features.
       

       
       
      Q. What motivated you to participate in the Samsung SmartThings campaign?
       
      When the Galaxy Z Flip was first released, I remember being impressed by its design — which led me to buy a Galaxy smartphone right away and switch both my tablet and watch to Galaxy devices. As a Galaxy fan, I love how my Galaxy products are all connected, allowing me to do things like check workout progress or calories burned on my phone or tablet while I’m exercising. Naturally, I was excited when Samsung approached me to participate in this campaign.
       
       
      Q. What is the best thing about using SmartThings?
       
      SmartThings has become a feature I really need. Once set up, the platform manages everything and gives me time and energy to focus on other stuff. The ability to find compatible products nearby and automatically pair them is so easy to do. It allows me to be much more efficient and productive.
       
       
      Q. Have you been using SmartThings since the shoot?
       
      Absolutely! I actually recently switched my TV and vacuum cleaner to Samsung’s latest appliances. Since my family is quite serious when it comes to cleaning, I can easily keep track of the areas I last cleaned with SmartThings — helping me keep my place tidy on my days off.
       

       
       
      Q. What was your favorite scene in this shoot?
       
      If I had to choose just one feature, my favorite would be the gaming scene since I love playing video games. In the video, once I place my phone on the wireless charger and SmartThings automatically creates the perfect gaming environment. And there’s even lighting synced to the gaming screen via Hue Sync, so I really like to play games.
       
      That’s when you will discover SmartThings takes gaming to another level. If you like playing video games, I strongly recommend using Gaming Mode on SmartThings for an all-new gaming experience.
       
       
      Q. What are some specific SmartThings features you would like to highlight?
       
      SmartThings helps me reduce energy consumption and control energy usage across all my products in real time. I’m able to view energy usage and maximize energy efficiency with AI Energy Mode to be more conscious about energy saving.
       
      In addition, I like how SmartThings allows me to expand the ways I use my TV. Before the shoot, I only played video games and watched football on my TV. Now, after learning about SmartThings and its functions, I use my TV to control home appliances, chat with friends while watching football and keep track of my workout progress while exercising. I hope more people are able to make use of these innovative features.
       
       
      Q. Is there anything you want to share about your experience on this campaign?
       
      Through this campaign, I was able to experience how SmartThings can program my home appliances based on my daily routine. SmartThings goes beyond convenience — it delivers a whole new experience.
       
      For those who haven’t experienced SmartThings yet, I encourage you to try it out! I look forward to getting involved with other Samsung campaigns and seeing the future of SmartThings!
       

       
      Find out more about Son’s smart life by watching the full video below.
       
      View the full article
    • By Samsung Newsroom
      Samsung Electronics today showcased its latest innovations for the connected home. During its IFA 2023 press conference, the company highlighted its vision for SmartThings is to enable consumers across Europe to prioritise the topics they care about — from saving energy, increasing security and access to great entertainment to making their everyday lives more efficient. The ever-growing SmartThings ecosystem allows its 285 million users to adapt and personalise their homes to suit their needs, seamlessly connecting and controlling multiple appliances and devices via one app.
       
      Samsung’s presence at IFA 2023 comes as the company shares new consumer research, conducted across Europe to understand evolving needs for technology in the home.1
       
      “Samsung is passionate about connecting our users to the people, places and pastimes that matter most to them,” said Benjamin Braun, Chief Marketing Officer, Samsung Europe. “We will continue to take advantage of the possibilities offered by the latest innovations in technology to make sure the SmartThings ecosystem grows and develops in a way that allows people to make even more of the connections that matter.”
       
       
      Enhancing the At-Home Experience
      The SmartThings app allows users to control their homes from anywhere, helping them to enjoy seamless entertainment as well as keeping them safe. Across Europe, our homes continue to be more important than ever as they play multiple roles each day — from offices to places for relaxation and entertainment. Seven in ten consumers (71%) agree that technology has a positive impact on their everyday living, including how they interact with their friends and family, how they conduct their chores and how they enjoy their hobbies.¹
       
      Now, those with a passion for food can fully connect themselves to the joy of cooking and eating with Samsung Food, the new all-in-one app for recipe searching, saving and sharing, meal planning, cooking and grocery shopping. Announced at the press conference, Samsung Food is available in 104 countries and eight languages and puts the world’s food knowledge at users’ fingertips, empowering them to make the food, health and cooking decisions that are right for them. It also connects to users’ kitchens, instantly sending the right time and temperature to their compatible Samsung oven. With more than 160,000 recipes, there will always be something new to cook.
       
      By the end of the year, using Food AI, Samsung Food will provide personalised recipes reflecting users’ dietary requirements, such as converting recipes into a vegan version in just a few taps. In a further enhancement due later this year, it will link with Samsung Health so tailored meal plans can be adapted to suit preferences and dietary requirements, as well as support users in reaching their health goals. In 2024, using Vision AI technology, Samsung Food will use photos taken of meals to check nutritional information, recognise ingredients and recommend the best recipes to use them in.
       
      As the number one TV brand for 17 years in a row,2 Samsung has an unrivalled commitment to entertainment. It has completed its super screen line up with the launch of the 98” Neo QLED 8K and 4K Q80C and plans to bring its full range of Micro LED screens to Europe by the end of the year, offering incredible contrast and jaw-dropping detail that places viewers in the middle of the action whether gaming or watching films.
       
      To celebrate Disney’s 100th anniversary, Samsung has announced the launch of The Frame — Disney100 Edition. Featuring an exclusive bezel in the Disney 100 signature platinum silver metal and a unique Mickey Mouse inspired Disney remote. It also comes with 100 pieces of iconic art from Walt Disney Animation Studios, Pixar Animation Studios, Marvel, Lucasfilm and National Geographic, as well as classic images of Mickey, Minnie, Woody, Cinderella and many others. Users can also display their family photos for a magical home environment.
       
      Also announced at the press conference was the global launch of The Freestyle 2nd Gen. This versatile, portable projector delivers a big screen experience wherever the user chooses — even on the ceiling. The Smart Edge Blending feature offers landscape and portrait screen experiences, meaning two Freestyle 2nd Gen projectors can be paired to give a 160” panoramic and 120” vertical viewing experience. What is more, with complete access to the Samsung Gaming Hub, users of the Freestyle 2nd Gen can enjoy the biggest games from Samsung’s streaming partners.
       
      In partnership with Xbox and Bethesda Softworks, this now includes Starfield, the stunning, next-generation role-playing game set amongst the stars. Playable through the Samsung Gaming Hub with an Xbox Game Pass Ultimate membership, without the need for a console.
       
       
      Taking Small Steps for Our Planet
      Samsung is committed to developing products and services that help people save money and take steps towards a better planet. These topics are high on the agenda for consumers too, over three quarters (77%) say they seek out tech products that save energy — not only to save money, but for the benefit of the environment too.4 Two-thirds (67%) also consider it important that their next appliance can connect to an app that allows them to monitor and reduce their energy consumption.4
       
      With energy prices increasing across Europe,3 72% of those asked are concerned about the cost of running appliances in their home.4 To help combat this, SmartThings Energy can help users optimise the energy used across their appliances to suit their needs and lower usage. For example, AI Energy Mode in SmartThings Energy allows you to monitor and reduce your washing machine’s energy use by up to 70%5 by using Ecobubble to wash with cool water instead of warm.
       
      Samsung has also partnered with global ocean conservation organisation Ocean Wise and apparel maker Patagonia to find solutions to the issue of microfiber shedding. The Less Microfiber Filter is an external washing machine filter that cuts up to 98% of microplastic emissions from laundry cycles.6 Speaking at IFA, Charlie Cox, Manager of Microplastic Solutions at Ocean Wise said, “Through our collaboration with Samsung and Patagonia, Ocean Wise is proud to have shown a way for industry to play its part in stemming the flow of microfibers into the ocean. Through innovations like the Less Microfiber Filter, we can empower individuals to reduce their microfiber footprint at home. It is a simple, everyday solution that our oceans will thank us for.”
       
      Heating technologies like heat pumps represent a rapidly growing market, and Samsung is at the forefront of this growth. Its innovative smart air source heat pumps have seen an unprecedented 97% growth in sales since 2022.7 These work with domestic hot water tanks or with Samsung’s ClimateHub, to make your home comfortable all year round, whatever the weather. They can also connect to the SmartThings ecosystem, so their energy use can be monitored and tailored to the user’s preferred environment.8 The latest addition to its range of high temperature monobloc heat pump solutions, the EHS Mono R290, launches in September.
       
      Samsung’s journey is constantly evolving as it aims to design technology that helps people make the most of their day while taking small steps to reduce our environmental impact. The Galaxy Z Flip59 and Z Fold510 and the Galaxy Tab S9 series11 feature a variety of recycled materials, including recycled aluminium, glass and plastics sourced from ocean-bound discarded fishing nets, water barrels and PET bottles. Even the Galaxy Watch6 series incorporate post-consumer recycled plastics. All of these Galaxy innovations come in packaging boxes made using recycled paper material.12
       
       
      Keeping Your Home Secure
      Samsung understands the reassurance that smart technology can provide across the generations. Security was an emerging theme from the research conducted. Watching their home while they aren’t there (54%), feeling safer when home alone (39%) and keeping their family safe when they are out of the house (39%) are seen as the key safety benefits of smart technology.13
       
      The SmartThings ecosystem includes a range of partners who are committed to helping people keep their homes and loved ones safe. This now includes Yale, a leading brand in home security. The Yale Linus® Smart Lock and the new Smart Opener for Gate & Garage enable doors and gates to be locked remotely via the app to ensure peace of mind for all family members.
       
       
      Unlocking the Future Through Smart Technology
      Samsung is invested in a future built around the possibilities that technology can unlock. One area it aims to make a difference is in making the technology for smart homes more easily available. The research shows a quarter of Europeans consider the inclusion of smart technology to be a key factor in the desirability of their next home and over three quarters of respondents said fully functional smart homes are appealing (77%).12
       
      Understanding this, Samsung is working to make these possibilities a reality and it believes in the power of collaboration when it comes to driving this vision forward. By partnering with ABB Smart Buildings and SMA, one of the world’s leading providers of photovoltaic and storage system technology, it hopes to connect people more closely to their homes by embedding the possibilities of smart technology into houses before they are bought. By integrating ABB and SMA products into SmartThings Energy, homes can become even safer, smarter and more sustainable. For example, the ability to run appliances at the optimum time, tracking energy use to adjust consumption based on energy prices and usage patterns and optimising energy use based on solar production.
       
       
      1 Conducted in conjunction with Opinium amongst 2,500 adults from the U.K., France, Germany, Spain and Italy. Polled between the 28th of July and the 1st of August 2023.
      2 Samsung TV has been ranked No.1 selling TV Brand for 17 consecutive years by Omdia.
      3 GreenMatch. https://www.greenmatch.co.uk/blog/energy-prices-europe.
      4 Conducted in conjunction with Opinium amongst 2,500 adults from the U.K., France, Germany, Spain and Italy. Polled between the 28th of July and the 1st of August 2023.
      5 Based on internal testing on the WW11BB944AGB model on a Cotton 40 degrees wash with the AI Energy Mode turned on (reducing the temperature) compared to not using AI Energy Mode. AI Energy Mode can only be operated at 40 degrees or lower.
      6 Captures approximately 89-98%; laboratory tested using 2kg synthetic fabric load in the WW90T734DWH, WF24A9500KW, washing machine.
      7 Compared to 2022 Jan – Aug sales.
      8 SmartThings is available on Android and iOS devices. A Wi-Fi connection and a Samsung account are required. Some models require a separate Wi-Fi kit to connect SmartThings.
      9 Galaxy Z Flip5: 15 device components that feature a minimum of 10% post-consumer recycled material plastic, a minimum of 28% pre-consumer recycled aluminium, or Corning® Gorilla® Glass Victus® 2 with an average of 22% pre-consumer recycled content. These components include Volume Key Bracket, Speaker Module (Upper & Lower), Rear Top, Display Connector Cap, FPCB RF Cable Bracket, Rear Mid, Case Front (Main), Case Front (Sub), Volume Key, Finger Key Bracket, Receiver Deco, Connector to Connector Holder, SIM Tray, Sub Window, Back Glass.
      10 Galaxy Z Fold5: 15 device components that feature a minimum of 10% post-consumer recycled material plastic, a minimum of 28% pre-consumer recycled aluminium, or Corning® Gorilla® Glass Victus® 2 with an average of 22% pre-consumer recycled glass. These components include Volume Key FPCB Bracket, Top Speaker Module (Upper & Lower), Bottom Speaker Module (Upper & Lower), Cover Display Connector, Case Front (Main), Case Front (Sub), Antenna (Sub), Antenna (Main), Volume Key, Finger Key Bracket, SIM Tray, Connector to Connector Holder, Camera Deco (Top & Bottom), Sub Window, Back Glass.
      11 Galaxy Tab S9 Ultra: 17 device components that feature a minimum of 10% post-consumer recycled material plastic, a minimum of 30% pre-consumer recycled aluminium, or pre-consumer recycled aluminium and Corning® Gorilla® Glass 5 with a minimum of 10% pre-consumer recycled content. These components include Cable Holder Mid, Deco Pen Charger, Top-left Speaker Module, Top-right Speaker Module, Bottom-left Speaker Module, Bottom-right Speaker Module, Case Rear, Case Bracket, Key Bracket, PCB Support Top, PCB Support Mid, Cable Holder Bottom, SIM Tray, Volume Key, Side Key, Camera Deco, Main Window.
      12 100% recycled paper is used in the following packaging components: the Product Packaging Unit Box, Cover Protector, Manual Box, Manual Pad and DLC Band.
      13 Conducted in conjunction with Opinium amongst 2,500 adults from the U.K., France, Germany, Spain and Italy. Polled between the 28th of July and the 1st of August 2023.
      View the full article





×
×
  • Create New...