@@ -175,6 +175,8 @@ libs:
175
175
# Not enough space on 2.5
176
176
# - location: https://github.com/mongoose-os-libs/rpc-mqtt
177
177
# - location: https://github.com/mongoose-os-libs/rpc-service-ota
178
+ # For testing GPIOs:
179
+ # - location: https://github.com/mongoose-os-libs/rpc-service-gpio
178
180
179
181
conds :
180
182
- when : mos.platform == "esp32c3"
@@ -642,9 +644,9 @@ conds:
642
644
STOCK_FW_MODEL : PlusPlugS
643
645
MAX_NUM_HAP_SESSIONS : 16
644
646
config_schema :
645
- - ["device.id", "shellyplusplug-s-??????"]
646
- - ["shelly.name", "shellyplusplug-s-??????"]
647
- - ["wifi.ap.ssid", "shellyplusplug-s-??????"]
647
+ - ["device.id", "shellyplusplug-s-?????? ??????"]
648
+ - ["shelly.name", "shellyplusplug-s-?????? ??????"]
649
+ - ["wifi.ap.ssid", "shellyplusplug-s-???????????? "]
648
650
- ["sw1", "sw", {title : " Plug settings" }]
649
651
- ["sw1.name", "Shelly Plus Plug S"]
650
652
- ["sw1.in_mode", -1]
@@ -687,9 +689,9 @@ conds:
687
689
STOCK_FW_MODEL : PlusRGBWPM
688
690
MAX_NUM_HAP_SESSIONS : 16
689
691
config_schema :
690
- - ["device.id", "ShellyPlusRGBWPM-??????"]
691
- - ["shelly.name", "ShellyPlusRGBWPM-??????"]
692
- - ["wifi.ap.ssid", "ShellyPlusRGBWPM-??????"]
692
+ - ["device.id", "ShellyPlusRGBWPM-?????? ??????"]
693
+ - ["shelly.name", "ShellyPlusRGBWPM-?????? ??????"]
694
+ - ["wifi.ap.ssid", "ShellyPlusRGBWPM-???????????? "]
693
695
694
696
- ["lb1", "lb", {title : " Light 1 settings" }]
695
697
- ["lb2", "lb", {title : " Light 2 settings" }]
@@ -748,9 +750,9 @@ conds:
748
750
MGOS_CONFIG_DEV_6 : " shelly"
749
751
MGOS_CONFIG_DEV_7 : " shelly,4096"
750
752
config_schema :
751
- - ["device.id", "ShellyPlus1PMMini-??????"]
752
- - ["shelly.name", "ShellyPlus1PMMini-??????"]
753
- - ["wifi.ap.ssid", "ShellyPlus1PMMini-??????"]
753
+ - ["device.id", "ShellyPlus1PMMini-???????????? "]
754
+ - ["shelly.name", "ShellyPlus1PMMini-???????????? "]
755
+ - ["wifi.ap.ssid", "ShellyPlus1PMMini-???????????? "]
754
756
- ["sw1", "sw", {title : " SW1 settings" }]
755
757
- ["sw1.name", "Shelly SW"]
756
758
- ["in1", "in", {title : " Input 1 settings" }]
@@ -806,13 +808,13 @@ conds:
806
808
RELAY1_GPIO : 5
807
809
SWITCH1_GPIO : 10
808
810
ADC_GPIO : 3
809
- ADDON_OUT_GPIO : -1 # most likely: 8
810
- ADDON_IN_GPIO : -1 # most likely: 21
811
- ADDON_DIG_GPIO : -1 # most likely: 9
811
+ ADDON_OUT_GPIO : 9
812
+ ADDON_IN_GPIO : 21
813
+ ADDON_DIG_GPIO : 6
812
814
config_schema :
813
- - ["device.id", "Shelly1Gen3- ??????"]
814
- - ["shelly.name", "Shelly1Gen3- ??????"]
815
- - ["wifi.ap.ssid", "Shelly1Gen3- ??????"]
815
+ - ["device.id", "Shelly1G3-?????? ??????"]
816
+ - ["shelly.name", "Shelly1G3-?????? ??????"]
817
+ - ["wifi.ap.ssid", "Shelly1G3-?????? ??????"]
816
818
- ["sw1", "sw", {title : " SW1 settings" }]
817
819
- ["sw1.name", "Shelly SW"]
818
820
- ["in1", "in", {title : " Input 1 settings" }]
@@ -824,11 +826,7 @@ conds:
824
826
- ["gdo1", "gdo", {title : " GDO1 settings" }]
825
827
- ["gdo1.name", "Garage Door"]
826
828
- ["gdo1.open_sensor_mode", -1]
827
- # Calibration values from stock
828
- - ["bl0937_0", "o", {title : " BL0937 calibration" }]
829
- - ["bl0937_0.apower_scale", "f", 2.028531, {title : " BL0937 apower scale" }]
830
- - ["bl0937_0.voltage_scale", "f", 0.15510, {title : " BL0937 voltage scale" }]
831
- - ["bl0937_0.current_scale", "f", 0.01287, {title : " BL0937 current scale" }]
829
+
832
830
- ["ts1", "ts", {title : " TS1 settings" }]
833
831
- ["ts1.name", "Shelly TS1"]
834
832
- ["ts2", "ts", {title : " TS2 settings" }]
@@ -880,12 +878,12 @@ conds:
880
878
SWITCH3_GPIO : 6
881
879
SWITCH4_GPIO : 5
882
880
ADC_GPIO : 3
883
- ADDON_OUT_GPIO : -1
884
- ADDON_IN_GPIO : -1
881
+ ADDON_OUT_GPIO : 9
882
+ ADDON_IN_GPIO : 21
885
883
ADDON_DIG_GPIO : -1
886
884
config_schema :
887
- - ["device.id", "ShellyI4G3-??????"]
888
- - ["shelly.name", "ShellyI4G3-??????"]
885
+ - ["device.id", "ShellyI4G3-?????? ??????"]
886
+ - ["shelly.name", "ShellyI4G3-?????? ??????"]
889
887
- ["wifi.ap.ssid", "ShellyI4G3-????????????"]
890
888
- ["in1", "in", {title : " Input 1 settings" }]
891
889
- ["in1.ssw.name", "Shelly SSW1"]
@@ -951,9 +949,9 @@ conds:
951
949
MGOS_CONFIG_DEV_6 : " shelly"
952
950
MGOS_CONFIG_DEV_7 : " shelly,4096"
953
951
config_schema :
954
- - ["device.id", "ShellyPlugSG3-??????"]
955
- - ["shelly.name", "ShellyPlugSG3-??????"]
956
- - ["wifi.ap.ssid", "ShellyPlugSG3-??????"]
952
+ - ["device.id", "ShellyPlugSG3-?????? ??????"]
953
+ - ["shelly.name", "ShellyPlugSG3-?????? ??????"]
954
+ - ["wifi.ap.ssid", "ShellyPlugSG3-???????????? "]
957
955
- ["sw1", "sw", {title : " Plug settings" }]
958
956
- ["sw1.name", "Shelly Plus Plug S"]
959
957
- ["sw1.in_mode", -1]
@@ -1009,17 +1007,17 @@ conds:
1009
1007
RELAY1_GPIO : 4
1010
1008
SWITCH1_GPIO : 10
1011
1009
ADC_GPIO : 3
1012
- ADDON_OUT_GPIO : -1
1013
- ADDON_IN_GPIO : -1
1010
+ ADDON_OUT_GPIO : 9
1011
+ ADDON_IN_GPIO : 21
1014
1012
ADDON_DIG_GPIO : -1
1015
1013
UART_TX_GPIO : 6
1016
1014
UART_RX_GPIO : 7
1017
1015
MGOS_CONFIG_DEV_6 : " shelly"
1018
1016
MGOS_CONFIG_DEV_7 : " shelly,4096"
1019
1017
config_schema :
1020
- - ["device.id", "Shelly1PMGen3- ??????"]
1021
- - ["shelly.name", "Shelly1PMGen3- ??????"]
1022
- - ["wifi.ap.ssid", "Shelly1PMGen3- ??????"]
1018
+ - ["device.id", "Shelly1PMG3-?????? ??????"]
1019
+ - ["shelly.name", "Shelly1PMG3-?????? ??????"]
1020
+ - ["wifi.ap.ssid", "Shelly1PMG3-?????? ??????"]
1023
1021
- ["sw1", "sw", {title : " SW1 settings" }]
1024
1022
- ["sw1.name", "Shelly SW"]
1025
1023
- ["in1", "in", {title : " Input 1 settings" }]
@@ -1098,18 +1096,18 @@ conds:
1098
1096
SWITCH2_GPIO : 10
1099
1097
ADC_GPIO : 4
1100
1098
SDA_GPIO : 6
1101
- ADDON_OUT_GPIO : -1
1102
- ADDON_IN_GPIO : -1
1099
+ ADDON_OUT_GPIO : 9
1100
+ ADDON_IN_GPIO : 21
1103
1101
ADDON_DIG_GPIO : -1
1104
1102
I2C_RST_GPIO : 0
1105
1103
PM_CH0 : 0
1106
1104
PM_CH1 : 1
1107
1105
MGOS_CONFIG_DEV_6 : " shelly"
1108
1106
MGOS_CONFIG_DEV_7 : " shelly,4096"
1109
1107
config_schema :
1110
- - ["device.id", "Shelly2PMG3-??????"]
1111
- - ["shelly.name", "Shelly2PMG3-??????"]
1112
- - ["wifi.ap.ssid", "Shelly2PMG3-??????"]
1108
+ - ["device.id", "Shelly2PMG3-???????????? "]
1109
+ - ["shelly.name", "Shelly2PMG3-???????????? "]
1110
+ - ["wifi.ap.ssid", "Shelly2PMG3-???????????? "]
1113
1111
- ["i2c.enable", true]
1114
1112
- ["i2c.sda_gpio", 6]
1115
1113
- ["i2c.scl_gpio", 7]
@@ -1184,8 +1182,8 @@ conds:
1184
1182
MGOS_CONFIG_DEV_6 : " shelly"
1185
1183
MGOS_CONFIG_DEV_7 : " shelly,4096"
1186
1184
config_schema :
1187
- - ["device.id", "Shelly1PMMiniG3-????????????"]
1188
- - ["shelly.name", "Shelly1PMMiniG3-????????????"]
1185
+ - ["device.id", "Shelly1PMMiniG3-????????????"]
1186
+ - ["shelly.name", "Shelly1PMMiniG3-????????????"]
1189
1187
- ["wifi.ap.ssid", "Shelly1PMMiniG3-????????????"]
1190
1188
- ["sw1", "sw", {title : " SW1 settings" }]
1191
1189
- ["sw1.name", "Shelly SW"]
@@ -1234,9 +1232,9 @@ conds:
1234
1232
STOCK_FW_MODEL : Mini1G3
1235
1233
MAX_NUM_HAP_SESSIONS : 16
1236
1234
config_schema :
1237
- - ["device.id", "ShellyMini1G3-??????"]
1238
- - ["shelly.name", "ShellyMini1G3-??????"]
1239
- - ["wifi.ap.ssid", "ShellyMini1G3-??????"]
1235
+ - ["device.id", "ShellyMini1G3-?????? ??????"]
1236
+ - ["shelly.name", "ShellyMini1G3-?????? ??????"]
1237
+ - ["wifi.ap.ssid", "ShellyMini1G3-???????????? "]
1240
1238
- ["sw1", "sw", {title : " SW1 settings" }]
1241
1239
- ["sw1.name", "Shelly SW"]
1242
1240
- ["in1", "in", {title : " Input 1 settings" }]
@@ -1274,9 +1272,9 @@ conds:
1274
1272
STOCK_FW_MODEL : Plus1Mini
1275
1273
MAX_NUM_HAP_SESSIONS : 16
1276
1274
config_schema :
1277
- - ["device.id", "ShellyPlus1Mini-??????"]
1278
- - ["shelly.name", "ShellyPlus1Mini-??????"]
1279
- - ["wifi.ap.ssid", "ShellyPlus1Mini-??????"]
1275
+ - ["device.id", "ShellyPlus1Mini-?????? ??????"]
1276
+ - ["shelly.name", "ShellyPlus1Mini-?????? ??????"]
1277
+ - ["wifi.ap.ssid", "ShellyPlus1Mini-???????????? "]
1280
1278
- ["sw1", "sw", {title : " SW1 settings" }]
1281
1279
- ["sw1.name", "Shelly SW"]
1282
1280
- ["in1", "in", {title : " Input 1 settings" }]
@@ -1321,9 +1319,9 @@ conds:
1321
1319
ADDON_IN_GPIO : 1
1322
1320
ADDON_DIG_GPIO : 19
1323
1321
config_schema :
1324
- - ["device.id", "ShellyPlus1- ??????"]
1325
- - ["shelly.name", "ShellyPlus1-??????"]
1326
- - ["wifi.ap.ssid", "ShellyPlus1-??????"]
1322
+ - ["device.id", "shellyplus1-?????? ??????"]
1323
+ - ["shelly.name", "ShellyPlus1-?????? ??????"]
1324
+ - ["wifi.ap.ssid", "ShellyPlus1-???????????? "]
1327
1325
- ["sw1", "sw", {title : " SW1 settings" }]
1328
1326
- ["sw1.name", "Shelly SW"]
1329
1327
- ["in1", "in", {title : " Input 1 settings" }]
@@ -1382,9 +1380,9 @@ conds:
1382
1380
ADDON_IN_GPIO : 1
1383
1381
ADDON_DIG_GPIO : 19
1384
1382
config_schema :
1385
- - ["device.id", "ShellyPlus1PM-??????"]
1386
- - ["shelly.name", "ShellyPlus1PM-??????"]
1387
- - ["wifi.ap.ssid", "ShellyPlus1PM-??????"]
1383
+ - ["device.id", "ShellyPlus1PM-?????? ??????"]
1384
+ - ["shelly.name", "ShellyPlus1PM-?????? ??????"]
1385
+ - ["wifi.ap.ssid", "ShellyPlus1PM-???????????? "]
1388
1386
- ["sw1", "sw", {title : " SW1 settings" }]
1389
1387
- ["sw1.name", "Shelly SW"]
1390
1388
- ["in1", "in", {title : " Input 1 settings" }]
@@ -1460,9 +1458,9 @@ conds:
1460
1458
PM_CH0 : 1
1461
1459
PM_CH1 : 0
1462
1460
config_schema :
1463
- - ["device.id", "ShellyPlus2PM-??????"]
1464
- - ["shelly.name", "ShellyPlus2PM-??????"]
1465
- - ["wifi.ap.ssid", "ShellyPlus2PM-??????"]
1461
+ - ["device.id", "ShellyPlus2PM-?????? ??????"]
1462
+ - ["shelly.name", "ShellyPlus2PM-?????? ??????"]
1463
+ - ["wifi.ap.ssid", "ShellyPlus2PM-???????????? "]
1466
1464
- ["i2c.enable", true]
1467
1465
- ["i2c.sda_gpio", 33]
1468
1466
- ["i2c.scl_gpio", 25]
@@ -1540,8 +1538,8 @@ conds:
1540
1538
ADDON_IN_GPIO : 1
1541
1539
ADDON_DIG_GPIO : 19
1542
1540
config_schema :
1543
- - ["device.id", "ShellyPlusI4-??????"]
1544
- - ["shelly.name", "ShellyPlusI4-??????"]
1541
+ - ["device.id", "ShellyPlusI4-?????? ??????"]
1542
+ - ["shelly.name", "ShellyPlusI4-?????? ??????"]
1545
1543
- ["wifi.ap.ssid", "ShellyPlusI4-????????????"]
1546
1544
- ["in1", "in", {title : " Input 1 settings" }]
1547
1545
- ["in1.ssw.name", "Shelly SSW1"]
@@ -1694,9 +1692,9 @@ conds:
1694
1692
STOCK_FW_MODEL : PlusUni
1695
1693
MAX_NUM_HAP_SESSIONS : 16
1696
1694
config_schema :
1697
- - ["device.id", "ShellyPlusUni-????????????"]
1698
- - ["shelly.name", "ShellyPlusUni- -????????????"]
1699
- - ["wifi.ap.ssid", "ShellyPlusUni-- ????????????"]
1695
+ - ["device.id", "ShellyPlusUni-????????????"]
1696
+ - ["shelly.name", "ShellyPlusUni-????????????"]
1697
+ - ["wifi.ap.ssid", "ShellyPlusUni-????????????"]
1700
1698
1701
1699
- ["sw1", "sw", {title : " SW1 settings" }]
1702
1700
- ["sw1.name", "Shelly SW1"]
0 commit comments