Let's find out more about this device:
Scimagic-RC SMG-8116 (eon0r4)
a 6-channel Tuya Relais, mentioned here: Link
This is what Tuya Developer Platform gives us:
"export_code" on the Tuya Developers Page delivers us:
Pretty few, compared to the 8-channel model in the above link.
But obviously the Pin Assignment for the simple usage that I plan (switching the relais) is 1->1, 2->2, 3->3 and so on.
Scimagic-RC SMG-8116 (eon0r4)
a 6-channel Tuya Relais, mentioned here: Link
This is what Tuya Developer Platform gives us:
{
"modelId": "eon0r4",
"services": [
{
"actions": [],
"code": "",
"description": "",
"events": [],
"name": "默认服务",
"properties": [
{
"abilityId": 1,
"accessMode": "rw",
"code": "switch_1",
"description": "",
"extensions": {"iconName": "icon-dp_power2", "attribute": "144"},
"name": "开关1",
"typeSpec": {"type": "bool"}
},
{
"abilityId": 2,
"accessMode": "rw",
"code": "switch_2",
"description": "",
"extensions": {"iconName": "icon-dp_power2", "attribute": "144"},
"name": "开关2",
"typeSpec": {"type": "bool"}
},
{
"abilityId": 3,
"accessMode": "rw",
"code": "switch_3",
"description": "",
"extensions": {"iconName": "icon-dp_power2", "attribute": "144"},
"name": "开关3",
"typeSpec": {"type": "bool"}
},
{
"abilityId": 4,
"accessMode": "rw",
"code": "switch_4",
"description": "",
"extensions": {"iconName": "icon-dp_power2", "attribute": "144"},
"name": "开关4",
"typeSpec": {"type": "bool"}
},
{
"abilityId": 5,
"accessMode": "rw",
"code": "switch_5",
"description": "",
"extensions": {"iconName": "icon-dp_power2", "attribute": "144"},
"name": "开关5",
"typeSpec": {"type": "bool"}
},
{
"abilityId": 6,
"accessMode": "rw",
"code": "switch_6",
"description": "",
"extensions": {"iconName": "icon-dp_power2", "attribute": "144"},
"name": "开关6",
"typeSpec": {"type": "bool"}
},
{
"abilityId": 9,
"accessMode": "rw",
"code": "countdown_1",
"description": "",
"extensions": {"iconName": "icon-dp_time2", "attribute": "128"},
"name": "开关1倒计时",
"typeSpec": {
"type": "value",
"max": 86400,
"min": 0,
"scale": 0,
"step": 1,
"unit": "s"
}
},
{
"abilityId": 10,
"accessMode": "rw",
"code": "countdown_2",
"description": "",
"extensions": {"iconName": "icon-dp_time2", "attribute": "128"},
"name": "开关2倒计时",
"typeSpec": {
"type": "value",
"max": 86400,
"min": 0,
"scale": 0,
"step": 1,
"unit": "s"
}
},
{
"abilityId": 11,
"accessMode": "rw",
"code": "countdown_3",
"description": "",
"extensions": {"iconName": "icon-dp_time2", "attribute": "128"},
"name": "开关3倒计时",
"typeSpec": {
"type": "value",
"max": 86400,
"min": 0,
"scale": 0,
"step": 1,
"unit": "s"
}
},
{
"abilityId": 12,
"accessMode": "rw",
"code": "countdown_4",
"description": "",
"extensions": {"iconName": "icon-dp_time3", "attribute": "128"},
"name": "开关4倒计时",
"typeSpec": {
"type": "value",
"max": 86400,
"min": 0,
"scale": 0,
"step": 1,
"unit": "s"
}
},
{
"abilityId": 13,
"accessMode": "rw",
"code": "countdown_5",
"description": "",
"extensions": {"iconName": "icon-dp_time2", "attribute": "128"},
"name": "开关5倒计时",
"typeSpec": {
"type": "value",
"max": 86400,
"min": 0,
"scale": 0,
"step": 1,
"unit": "s"
}
},
{
"abilityId": 14,
"accessMode": "rw",
"code": "countdown_6",
"description": "",
"extensions": {"iconName": "icon-dp_time2", "attribute": "128"},
"name": "开关6倒计时",
"typeSpec": {
"type": "value",
"max": 86400,
"min": 0,
"scale": 0,
"step": 1,
"unit": "s"
}
},
{
"abilityId": 38,
"accessMode": "rw",
"code": "relay_status",
"description": "",
"extensions": {"iconName": "icon-zhuangtai", "attribute": "640"},
"name": "设备重启状态设置",
"typeSpec": { "type": "enum", "range": ["off", "on", "memory"] }
},
{
"abilityId": 40,
"accessMode": "rw",
"code": "light_mode",
"description": "",
"extensions": {"iconName": "tcl_function_light", "attribute": "128"},
"name": "指示灯模式",
"typeSpec": { "type": "enum", "range": ["relay", "pos", "none"] }
},
{
"abilityId": 42,
"accessMode": "rw",
"code": "cycle_time",
"description": "",
"extensions": {"iconName": "icon-dp_time3", "attribute": "128"},
"name": "循环定时",
"typeSpec": {"type": "string", "maxlen": 255}
},
{
"abilityId": 43,
"accessMode": "rw",
"code": "random_time",
"description": "",
"extensions": {"iconName": "icon-dp_time2", "attribute": "128"},
"name": "随机定时",
"typeSpec": {"type": "string", "maxlen": 255}
},
{
"abilityId": 44,
"accessMode": "rw",
"code": "switch_inching",
"description": "",
"extensions": {"iconName": "icon-dp_power2", "attribute": "144"},
"name": "点动开关",
"typeSpec": {"type": "string", "maxlen": 255}
}
]
}
]
}
"export_code" on the Tuya Developers Page delivers us:
{"1":"Switch 1","2":"Switch 2","3":"Switch 3","4":"Switch 4","5":"Switch 5","6":"Switch 6","9":"Countdown 1","10":"Countdown 2","11":"Countdown 3","12":"Countdown 4","13":"Countdown 5","14":"Countdown 6","38":"Restart status","40":"Light Mode","42":"cycle time","43":"random","44":"Switch inching"}
Pretty few, compared to the 8-channel model in the above link.
But obviously the Pin Assignment for the simple usage that I plan (switching the relais) is 1->1, 2->2, 3->3 and so on.