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.



Post a Comment


Search This Blog

Powered by Blogger.

Blog Archive

Sintron Smart Plug / Outlet with OTA ( over the air )

Have you ever wanted to upload your own software to Smart plug or Wall switch etc...?  because you might have better idea for your own Sm...