OCEAN 담당자 입니다
설정상에는 이상이 없는것 같아보입니다
Mobius Yellow Turtle version 2.3.8
&Cube Thyme version 1.7.7 이 맞는지 최종 확인 바랍니다
그리고 해당 버전이 맞다면 POSTMAN 으로 led 명령을 수행했을때
led tas 프로그램의 로그에 어떻게 나오는지 확인하시기 바랍니다.
=================================================
thyme 설정파일 코드입니다
매번 감사드립니다
{
"useprotocol": "http",
"usesecure": "disable",
"cse": {
"host": "192.168.0.12",
"port": "7579",
"name": "mobius-yt",
"id": "/mobius-yt",
"mqttport": "7580"
},
"ae": {
"id": "ae-edu0",
"parent": "/mobius-yt",
"name": "ae-edu0",
"appid": "0.2.481.1.1",
"port": "9727",
"bodytype": "json",
"tasport": "3105"
},
"cnt": [
{
"parent": "/mobius-yt/ae-edu0",
"name": "cnt-co2"
},
{
"parent": "/mobius-yt/ae-edu0",
"name": "cnt-led"
},
{
"parent": "/mobius-yt/ae-edu0",
"name": "cnt-timer"
}
],
"sub": [
{
"parent": "/mobius-yt/ae-edu0/cnt-led",
"name": "sub-ctrl",
}
],
"acp": {
"parent": "/mobius-yt/ae-edu0",
"name": "acp-ae-edu0",
"id": "ae-edu0"
}
}
=====================================================
var conf = {};
var cse = {};
var ae = {};
var cnt_arr = [];
var sub_arr = [];
var acp = {};
conf.useprotocol = 'http';
// build cse
cse.host = '192.168.0.12';
cse.port = '7579';
cse.mqttport = '7580';
// build ae
ae.appid = '0.2.481.1.1';
ae.port = '9727';
ae.bodytype = 'json';
ae.tasport = '3105';
// build cnt
var count = 0;
cnt_arr[count] = {};
cnt_arr[count++].name = 'cnt-co2';
cnt_arr[count] = {};
cnt_arr[count++].name = 'cnt-led';
cnt_arr[count] = {};
cnt_arr[count++].name = 'cnt-timer';
// build sub
count = 0;
sub_arr[count] = {};
sub_arr[count].parent = '/' +
cse.name + '/' +
ae.name + '/' + cnt_arr[1].name;
sub_arr[count].name = 'sub-ctrl';
sub_arr[count++].nu = 'mqtt://' + cse.host + '/' +
ae.id;
// build acp: not complete
conf.usesecure = 'disable';
conf.cse = cse;
conf.cnt = cnt_arr;
conf.sub = sub_arr;
conf.acp = acp;