Skip to content

Commit

Permalink
New device - tongou TO-Q-SY1-JWT DIN Rail Switch with Energy Meter
Browse files Browse the repository at this point in the history
  • Loading branch information
Cossid committed Oct 18, 2023
1 parent 31c77b9 commit 3b15780
Show file tree
Hide file tree
Showing 3 changed files with 263 additions and 0 deletions.
245 changes: 245 additions & 0 deletions devices/tongou-to-q-sy1-jwt-din-rail-switch-with-energy-meter.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,245 @@
{
"manufacturer": "tongou",
"name": "TO-Q-SY1-JWT DIN Rail Switch with Energy Meter",
"key": "keyuh3jxk9wu8ruj",
"ap_ssid": "SmartLife",
"github_issues": [
505
],
"image_urls": [
"tongou-to-q-sy1-jwt-din-rail-switch-with-energy-meter.jpg"
],
"profiles": [
"oem-bk7231n-cutout-self-switch-1.0.2-sdk-2.3.1-40.00"
],
"schemas": {
"0000047qny": [
{
"type": "obj",
"mode": "rw",
"property": {
"type": "bool"
},
"id": 1
},
{
"type": "obj",
"mode": "rw",
"property": {
"min": 0,
"max": 86400,
"scale": 0,
"step": 1,
"type": "value"
},
"id": 9
},
{
"type": "obj",
"mode": "ro",
"property": {
"min": 0,
"max": 9999999,
"scale": 3,
"step": 100,
"type": "value"
},
"id": 17
},
{
"mode": "ro",
"property": {
"min": 0,
"max": 100000,
"scale": 0,
"step": 1,
"type": "value"
},
"id": 18,
"type": "obj"
},
{
"type": "obj",
"mode": "ro",
"property": {
"min": 0,
"max": 999999,
"scale": 1,
"step": 1,
"type": "value"
},
"id": 19
},
{
"mode": "ro",
"property": {
"min": 0,
"max": 5000,
"scale": 1,
"step": 1,
"type": "value"
},
"id": 20,
"type": "obj"
},
{
"mode": "ro",
"property": {
"min": 0,
"max": 5,
"scale": 0,
"step": 1,
"type": "value"
},
"id": 21,
"type": "obj"
},
{
"mode": "ro",
"property": {
"min": 0,
"max": 1000000,
"scale": 0,
"step": 1,
"type": "value"
},
"id": 22,
"type": "obj"
},
{
"mode": "ro",
"property": {
"min": 0,
"max": 1000000,
"scale": 0,
"step": 1,
"type": "value"
},
"id": 23,
"type": "obj"
},
{
"mode": "ro",
"property": {
"min": 0,
"max": 1000000,
"scale": 0,
"step": 1,
"type": "value"
},
"id": 24,
"type": "obj"
},
{
"mode": "ro",
"property": {
"min": 0,
"max": 1000000,
"scale": 0,
"step": 1,
"type": "value"
},
"id": 25,
"type": "obj"
},
{
"mode": "ro",
"property": {
"type": "bitmap",
"maxlen": 6
},
"id": 26,
"type": "obj"
},
{
"type": "obj",
"mode": "rw",
"property": {
"range": [
"off",
"on",
"memory"
],
"type": "enum"
},
"id": 38
},
{
"type": "obj",
"mode": "rw",
"property": {
"range": [
"relay",
"pos",
"none",
"on"
],
"type": "enum"
},
"id": 40
},
{
"type": "obj",
"mode": "rw",
"property": {
"type": "bool"
},
"id": 41
},
{
"type": "obj",
"mode": "rw",
"property": {
"type": "string",
"maxlen": 255
},
"id": 42
},
{
"mode": "rw",
"property": {
"range": [
"online",
"offline"
],
"type": "enum"
},
"id": 66,
"type": "obj"
}
]
},
"device_configuration": {
"bt1_lv": 0,
"bt1_pin": 17,
"bt1_type": 0,
"ch1_stat": 2,
"ch_cddpid1": 9,
"ch_dpid1": 1,
"ch_num": 1,
"chip_type": 3,
"crc": 88,
"ele_fun_en": 1,
"jv": "1.0..1",
"led1_lv": 0,
"led1_pin": 9,
"lose_vol": 0,
"module": "CBU",
"net_trig": 2,
"netled1_lv": 0,
"netled1_pin": 15,
"netled_reuse": 0,
"netn_led": 0,
"nety_led": 1,
"over_cur": 64000,
"over_vol": 0,
"reset_t": 5,
"rl1_drvtime": 60,
"rl1_type": 1,
"rl_off1_lv": 1,
"rl_off1_pin": 26,
"rl_on1_lv": 1,
"rl_on1_pin": 24,
"vol_def": 0
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions profiles/oem-bk7231n-cutout-self-switch-1.0.2-sdk-2.3.1-40.00.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "1.0.2 - BK7231N",
"sub_name": "oem_bk7231n_cutout_self_switch",
"type": "CLASSIC",
"icon": "toggle-switch-outline",
"firmware": {
"chip": "BK7231N",
"name": "oem_bk7231n_cutout_self_switch",
"version": "1.0.2",
"sdk": "2.3.1-40.00",
"key": "keyuh3jxk9wu8ruj"
},
"data": {
"address_finish": "0x1B5AF",
"address_ssid": "0xCC6E1",
"address_ssid_padding": 4
}
}

0 comments on commit 3b15780

Please sign in to comment.