Documentation / Connection /

HTTP

To use HTTP requests to the platform you can use GET requests

Format description for transmission / reception settings for different types of Things

Data type

String value

Comment

SWITCH

/server/income/
?did=86ee73ae45d2f
&action=ack
&value=1

obtain the current status of the device

 

/server/income/
?did=86ee73ae45d2f
&action=switch

Switching status «ON/OFF»

DATA

/server/income/
?did=86ee73ae45d2f
&action=ack
&value=34

receive the current value of the device that is equal to 34

 

/server/income/
?did=86ee73ae45d2f
&action=put
&value=34

set the current value of the device that is equal to 34

GEO

/server/income/
?did=86ee73ae45d2f
&action=put
&value=59.4140/24.7373

obtain received current position for «LAT/LON» format

ALERT

/server/income/
?did=86ee73ae45d2f
&action=event

receiving information that an event has occurred

LEVEL

/server/income/
?did=86ee73ae45d2f
&action=ack
&value=13

receive the current value of the device that is equal to 13

 

/server/income/
?did=86ee73ae45d2f
&action=inc
&value=2

increasing the current value by 2%

 

/server/income/
?did=86ee73ae45d2f
&action=dec
&value=32

decrease the current value by 32%

 

/server/income/
?did=86ee73ae45d2f
&action=dec

decrease in the current value of the specified value in the device settings

BUTTON

/server/income/
?did=86ee73ae45d2f
&action=inc

an increase in the current value of the specified value in the device settings

 

/server/income/
?did=86ee73ae45d2f
&action=dec

decrease in the current value of the specified value in the device settings

MESSAGE

/server/income/
?did=86ee73ae45d2f
&action=put
&value=HelloWorld!

a text message (maximum of 140 characters, UTF-8)

Start now