Skip to content

Commit 13b715a

Browse files
fix(gs601): codec value data type
1 parent 6618b90 commit 13b715a

File tree

2 files changed

+22
-22
lines changed

2 files changed

+22
-22
lines changed

vendors/milesight-iot/gs-series/gs601/gs601-codec.json

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@
583583
{
584584
"id": "led_status",
585585
"name": "LED Indicator",
586-
"value": 1,
586+
"value": "1",
587587
"unit": "",
588588
"access_mode": "RW",
589589
"data_type": "BOOL",
@@ -599,7 +599,7 @@
599599
{
600600
"id": "buzzer_enable",
601601
"name": "Buzzer Enable",
602-
"value": 0,
602+
"value": "0",
603603
"unit": "",
604604
"access_mode": "RW",
605605
"data_type": "BOOL",
@@ -615,7 +615,7 @@
615615
{
616616
"id": "buzzer_sleep.item_1.enable",
617617
"name": "Hibernate Period 1 (Enable)",
618-
"value": 0,
618+
"value": "0",
619619
"unit": "",
620620
"access_mode": "RW",
621621
"data_type": "BOOL",
@@ -660,7 +660,7 @@
660660
{
661661
"id": "buzzer_sleep.item_2.enable",
662662
"name": "Hibernate Period 2",
663-
"value": 0,
663+
"value": "0",
664664
"unit": "",
665665
"access_mode": "RW",
666666
"data_type": "BOOL",
@@ -705,7 +705,7 @@
705705
{
706706
"id": "buzzer_button_stop_enable",
707707
"name": "Stop Buzzer",
708-
"value": 0,
708+
"value": "0",
709709
"unit": "",
710710
"access_mode": "RW",
711711
"data_type": "BOOL",
@@ -734,7 +734,7 @@
734734
{
735735
"id": "tamper_alarm_enable",
736736
"name": "Tampering Alarm Enable",
737-
"value": 1,
737+
"value": "1",
738738
"unit": "",
739739
"access_mode": "RW",
740740
"data_type": "BOOL",
@@ -815,7 +815,7 @@
815815
{
816816
"id": "pm1_0_alarm_settings.enable",
817817
"name": "PM1.0 Alarm Settings (Enable)",
818-
"value": 0,
818+
"value": "0",
819819
"unit": "",
820820
"access_mode": "RW",
821821
"data_type": "BOOL",
@@ -846,7 +846,7 @@
846846
{
847847
"id": "pm2_5_alarm_settings.enable",
848848
"name": "PM2.5 Threshold Alarm",
849-
"value": 0,
849+
"value": "0",
850850
"unit": "",
851851
"access_mode": "RW",
852852
"data_type": "BOOL",
@@ -877,7 +877,7 @@
877877
{
878878
"id": "pm10_alarm_settings.enable",
879879
"name": "PM10 Threshold Alarm",
880-
"value": 0,
880+
"value": "0",
881881
"unit": "",
882882
"access_mode": "RW",
883883
"data_type": "BOOL",
@@ -908,7 +908,7 @@
908908
{
909909
"id": "tvoc_alarm_settings.enable",
910910
"name": "TVOC Threshold Alarm",
911-
"value": 0,
911+
"value": "0",
912912
"unit": "",
913913
"access_mode": "RW",
914914
"data_type": "BOOL",
@@ -939,7 +939,7 @@
939939
{
940940
"id": "vaping_index_alarm_settings.enable",
941941
"name": "Vaping Index Alarm Settings (Enable)",
942-
"value": 1,
942+
"value": "1",
943943
"unit": "",
944944
"access_mode": "RW",
945945
"data_type": "BOOL",
@@ -983,7 +983,7 @@
983983
{
984984
"id": "alarm_deactivation_enable",
985985
"name": "Threshold Alarm Release",
986-
"value": 1,
986+
"value": "1",
987987
"unit": "",
988988
"access_mode": "RW",
989989
"data_type": "BOOL",
@@ -999,7 +999,7 @@
999999
{
10001000
"id": "temperature_calibration_settings.enable",
10011001
"name": "Temperature Calibration Settings (Enable)",
1002-
"value": 0,
1002+
"value": "0",
10031003
"unit": "",
10041004
"access_mode": "RW",
10051005
"data_type": "BOOL",
@@ -1030,7 +1030,7 @@
10301030
{
10311031
"id": "humidity_calibration_settings.enable",
10321032
"name": "Humidity Calibration Settings (Enable)",
1033-
"value": 0,
1033+
"value": "0",
10341034
"unit": "",
10351035
"access_mode": "RW",
10361036
"data_type": "BOOL",
@@ -1061,7 +1061,7 @@
10611061
{
10621062
"id": "pm1_0_calibration_settings.enable",
10631063
"name": "PM1.0 Calibration Settings (Enable)",
1064-
"value": 0,
1064+
"value": "0",
10651065
"unit": "",
10661066
"access_mode": "RW",
10671067
"data_type": "BOOL",
@@ -1092,7 +1092,7 @@
10921092
{
10931093
"id": "pm2_5_calibration_settings.enable",
10941094
"name": "PM2.5 Calibration",
1095-
"value": 0,
1095+
"value": "0",
10961096
"unit": "",
10971097
"access_mode": "RW",
10981098
"data_type": "BOOL",
@@ -1123,7 +1123,7 @@
11231123
{
11241124
"id": "pm10_calibration_settings.enable",
11251125
"name": "PM10 Calibration Settings (Enable)",
1126-
"value": 0,
1126+
"value": "0",
11271127
"unit": "",
11281128
"access_mode": "RW",
11291129
"data_type": "BOOL",
@@ -1154,7 +1154,7 @@
11541154
{
11551155
"id": "tvoc_calibration_settings.enable",
11561156
"name": "TVOC Calibration",
1157-
"value": 0,
1157+
"value": "0",
11581158
"unit": "",
11591159
"access_mode": "RW",
11601160
"data_type": "BOOL",
@@ -1185,7 +1185,7 @@
11851185
{
11861186
"id": "vaping_index_calibration_settings.enable",
11871187
"name": "Vaping Index Calibration Settings (Enable)",
1188-
"value": 0,
1188+
"value": "0",
11891189
"unit": "",
11901190
"access_mode": "RW",
11911191
"data_type": "BOOL",
@@ -1267,7 +1267,7 @@
12671267
{
12681268
"id": "daylight_saving_time.daylight_saving_time_enable",
12691269
"name": "Daylight Saving Time",
1270-
"value": 0,
1270+
"value": "0",
12711271
"unit": "",
12721272
"access_mode": "RW",
12731273
"data_type": "BOOL",

version.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"date": "2025-09-02",
3-
"version": "1.5.7",
2+
"date": "2025-09-03",
3+
"version": "1.5.8",
44
"vendors": "vendors.json",
55
"link": "https://github.com/Milesight-IoT/codec/archive/refs/heads/release.zip"
66
}

0 commit comments

Comments
 (0)