background image

15

Coding Console enables professional devel-
opers to program BKC services by JavaScript 
syntax for Blocklychain-enabled devices 
including Thermometer Hygrometer.

2. Coding Console

Logic

IA Devices

Messages

Utils

Loops

Functions

Math

Text

if

do

Smart Button

Button 1

if

do

Pressed

Smart Plug

Plug 1

On

is

Push Notification by Message: 

Power is turning off

Smart Plug

Plug 1

Off

is

Push Notification by Message: 

Power is turning on

Smart Plug

Plug 1

On

is

else if

else

Smart Button

Button 1

Double Pressed

Push Notification by Message: 

Power is turning off anyway

Smart Plug

Plug 1

Off

is

Speaker

Speaker

Play

Emergency 

Alarm 1.mp3

Device Volume : 100%

Home

Devices

Service Gallery

Installed Services

SEM

Activity

Service Creator

My Home

**/

 *Describe this function...

*/

function cron() {

Power1.SEND_COMMAND('TURN_OFF');}

if ((Shortcut1.PAYLOAD.state === 'pressed')) {

if ((Power1.PAYLOAD.state === 'ON' )) {

IAMessage.pushNotification({"message":"Power is turning off"});

Power1.SEND_COMMAND('TURN_OFF');} else {

IAMessage.pushNotification({"message":"Power is turning on"});

Power1.SEND_COMMAND('TURN_ON');}

} else if ((Shortcut1.PAYLOAD.state === 'double')) {

IAMessage.pushNotification({"message":"Power is turning off anyway"});

Power1.SEND_COMMAND('TURN_OFF');for (var count = 0; count < 2; count++) {

Speaker1.SEND_COMMAND('PLAY', {"file-name":"service:/Power Click","file-url":

"https://file/url/name.mp3","file-extension":"mp3","file-save":"SAVE"})};

}

//when service invoked at schedule time method "cron()" is called

Home

Devices

Service Gallery

Installed Services

SEM

Activity

Service Creator

My Home

Содержание TH-101

Страница 1: ...Thermometer Hygrometer TH 101 ...

Страница 2: ...ote Access Thermometer Hygrometer provides Wi Fi to connect directly to the Internet Usingalast longingrechargablebattery Thermometer Hygrometer works for a long time Using Blockly you can automate and expand the functionalities of your Ther mometer Hygrometer Wi Fi Connectivity Rechargable Battery Blockly Programming Turn home devices on and off through your voice Voice Control ...

Страница 3: ...3 How to Install Thermometer Hygrometer 1 ConnectThermometer Hygrometer to a Micro USB charger 2 Go to www blocklychain com www blocklychain com ...

Страница 4: ...er 2021 Devices Services 0 4 12 28 Europe London Home Devices Service Service Gallery SEM Activity Service Creator My Home 5 Click on Add New Device Home Devices Service Market Installed Services SEM Activity Service Creator My Home 3 Log into your account in BKC Control Panel or signup if you don t have an account www blocklychain com Login ...

Страница 5: ...Device Turn on the device Make sure that your device is on Next Cancel Make sure your device is connected to a charger Home Devices Service Market Installed Services SEM Activity Service Creator My Home 6 Select Thermometer Hygrometer from the list Add New Device Choose your device type Choose the type of your new device you want to install Motion Detector Thermometer Hygrometer Door Sensor Smart Bu...

Страница 6: ...xt button Home Devices Service Market Installed Services SEM Activity Service Creator My Home Add New Device Set your home Wi Fi Choose your home Wi Fi from the list below Next Cancel Available Wi Fi list Wi Fi Password Connect My Wi Fi Wi Fi X James SD۱TJQ Manual Setting 192 168 100 100 Home Devices Service Market Installed Services SEM Activity Service Creator My Home 9 Go to the Wi Fi setting on yo...

Страница 7: ...Activity Service Creator My Home 13 Wait for 30 seconds for initialization Add New Device Initialization Device is initializing Your device is installed and it is initializing now Please wait Make sure your device is on Make sure your mobile laptop is connected to the Internet If after 30 seconds your device is not shown in the Device page turn off and on the device Then check the Device page again ...

Страница 8: ...n BKC Control Panel Then go to the Devices page Your Thermometer Hygrometer card will be like below 2 3 6 5 1 4 Name of the device Temperature and humidity data Last activity time Battery indicator Device dashboard Device connection indicator 1 2 3 4 5 6 ...

Страница 9: ... the button on your device 3 Go to BKC Control Panel 4 Go to Devices page 5 On the device card click on the device dashboard button 6 Go to the Config tab 7 Click on Update Now Click and release the button then press and hold it for 10 seconds 5 On your Thermometer Hygrometer ...

Страница 10: ... operating range Hygrometer operating range 0 to 100 RH For the best result install Thermometer Hygrometer horizontally with the char ging port facing up When device is charging the data won t be accurate 10 to 85 C ...

Страница 11: ...11 In BKC Control Panel you can register monitor and control your BKC devices www blocklychain com BKC Control Panel ...

Страница 12: ...hromebrowser 2 Go to www blocklychain com 3 Click on Login 4 Log into your account 5 On the pop up page click on Add to Home Screen 1 Open the Google Chrome browser 2 Go to www blocklychain com 3 Click on Login 4 Log into your account 5 Onthepop uppage clickon AddtoDesktop ...

Страница 13: ...hermometer Hygrometer Service Market is an app store with hundreds of BKC Services created by amature and professional programmes from all around the world You can install any services related to Thermometer Hygrometer for your device Blocklychain Services Service Market How to install a BKC Service from Service Market 1 Go to Service Market on left menu 2 Click on a BKC Service 3 Click on Install...

Страница 14: ...C Services in a simple way Coding Console Coding Console lets you create BKC Services in a professional environment Create New Service Create New Service Blockly Console enables rapid programming of your new ideas for smart devices With a library of pre defined programming blocks you can access what you need for writing a logic to program service By interlocking blocks newservicescanbedesignedfory...

Страница 15: ...evice Volume 100 Home Devices Service Gallery Installed Services SEM Activity Service Creator My Home Describe this function function cron Power1 SEND_COMMAND TURN_OFF if Shortcut1 PAYLOAD state pressed if Power1 PAYLOAD state ON IAMessage pushNotification message Power is turning off Power1 SEND_COMMAND TURN_OFF else IAMessage pushNotification message Power is turning on Power1 SEND_COMMAND TURN_ON e...

Страница 16: ...ange blinking Solid orange and red simult aneously for 2 seconds Battery Reset Factory Connection Very low battery Low battery Charging Full charge Device is doing the reset factory operation The reset factory in done Status Indicator Description Connecting to Blocklychain server on the Internet Connecting to Wi Fi ...

Страница 17: ...t may beachokinghazardtochildren Keepthedevice out of the reach of small children 5 Radio frequency emissions and magnetic fieldsfromelectronicequipmentcannegatively affect the operation of other electronic equipment causing them to malfunction The wireless transmitters and electrical circuits in thedevicemaycauseunintentionalinterference in other electronic equipment Persons with pacemakers shoul...

Страница 18: ...perating range Temperature Sensor Accuracy Hygrometer operating range Relative Humidity Sensor Precision Thermometer Hygrometer TH 101 7x2x2 cm 22 g ABS Wi Fi 802 11 b g n 2 4GHz 3 7V 600mA Lithium ion rechargeable battery micro USB 500mA 40 to 125 C 0 4 C max 10 to 85 C 0 to 100 RH 3 RH Device Sensor ...

Страница 19: ...t 1x Thermometer Hygrometer For further help or inquiries 1 Email support blocklychain iot com or 2 Login to your account on BKC Control Panel click on and submit a ticket All right reserved Copyright 2022 Blocklychain ...

Отзывы: