This blog is to help more developer to make use of Sintron Smart device and help developer's business to grow up

Monday, 24 June 2019

Sintron IOT - How to embed Smart Plug & Smart Device into website pages


Below is one example to show you how to embed the Sintron Smart Device to your webpage. you can click and see how it reacts. this would require you to have some basic HTML skills, and put the javascript in. the html and javascript as below:

Sintron Smart Plug / Outlet Website embeded Click the button to trigger the light from Sintron Smart Plug.

below is a video to show how it works:

Download HTML Sample

please remember to change the turn on and turn off command to be yours:

  function officelighton(){
        var url = ""


  function officelightoff(){
        var url = ""

then copy & paste the code to your website ( in between <body> of html ). then it should work.


1 comment:


Search This Blog

Powered by Blogger.

Blog Archive

Sintron ST-031 Open Source Smart Controller Instruction - how to DIY your smart plug / device

this is the instruction for Sintron ST-031 Smart controller. with this instruction. you will know how to use ST-031 to remote control with y...