Skip to content

Commit 3de2169

Browse files
committed
Version 2.7.2
1 parent f2ead0d commit 3de2169

File tree

1 file changed

+41
-42
lines changed

1 file changed

+41
-42
lines changed

mos.yml

Lines changed: 41 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
author: 'Deomid "rojer" Ryabkov'
22
description: A HomeKit firmware for Shelly switches
3-
version: 2.7.1
3+
version: 2.7.2
44
platform: esp8266
55

66
libs_version: latest
@@ -312,6 +312,46 @@ conds:
312312
- ["ssw2", "ssw", {title: "SSW2 settings"}]
313313
- ["ssw2.name", "Input 2"]
314314

315+
- when: build_vars.MODEL == "ShellyI3"
316+
apply:
317+
name: ix3
318+
libs:
319+
- origin: https://github.com/mongoose-os-libs/mongoose
320+
variant: esp8266-nossl
321+
build_vars:
322+
FLASH_SIZE: 2097152
323+
FS_SIZE: 262144
324+
BOOT_CONFIG_ADDR: 0x1000
325+
MGOS_ROOT_FS_TYPE: SPIFFS
326+
cdefs:
327+
PRODUCT_HW_REV: '"1.0"'
328+
STOCK_FW_MODEL: '"SHIX3-1"'
329+
MG_ENABLE_SSL: 0
330+
# HAP_LOG_LEVEL: 0
331+
LED_GPIO: 5
332+
LED_ON: 0
333+
BTN_GPIO: 4
334+
BTN_DOWN: 0
335+
config_schema:
336+
- ["device.id", "shellyix3-????????????"]
337+
- ["wifi.ap.ssid", "shellyix3-????????????"]
338+
- ["in1", "in", {title: "Input 1 settings"}]
339+
- ["in1.ssw.name", "Input 1"]
340+
- ["in1.sensor.name", "Shelly S1"]
341+
- ["in2", "in", {title: "Input 2 settings"}]
342+
- ["in2.ssw.name", "Input 2"]
343+
- ["in2.sensor.name", "Shelly S2"]
344+
- ["in3", "in", {title: "Input 3 settings"}]
345+
- ["in3.ssw.name", "Input 3"]
346+
- ["in3.sensor.name", "Shelly S3"]
347+
# Only for backward compatibility (config <= v3).
348+
- ["ssw1", "ssw", {title: "SSW1 settings"}]
349+
- ["ssw1.name", "Input 1"]
350+
- ["ssw2", "ssw", {title: "SSW2 settings"}]
351+
- ["ssw2.name", "Input 2"]
352+
- ["ssw3", "ssw", {title: "SSW3 settings"}]
353+
- ["ssw3.name", "Input 3"]
354+
315355
# Note this is also known as "ShellyPlug 2", as opposed to the original Plug
316356
# which was based on CC3200. However, that one is long gone and we can ignore it.
317357
- when: build_vars.MODEL == "ShellyPlug"
@@ -390,47 +430,6 @@ conds:
390430
- origin: https://github.com/mongoose-os-libs/adc
391431
- origin: https://github.com/mongoose-os-libs/wifi
392432

393-
- when: build_vars.MODEL == "ShellyI3"
394-
apply:
395-
name: ix3
396-
libs:
397-
- origin: https://github.com/mongoose-os-libs/mongoose
398-
variant: esp8266-nossl
399-
build_vars:
400-
FLASH_SIZE: 2097152
401-
FS_SIZE: 262144
402-
BOOT_CONFIG_ADDR: 0x1000
403-
MGOS_ROOT_FS_TYPE: SPIFFS
404-
cdefs:
405-
PRODUCT_HW_REV: '"1.0"'
406-
STOCK_FW_MODEL: '"SHIX3-1"'
407-
MG_ENABLE_SSL: 0
408-
# HAP_LOG_LEVEL: 0
409-
LED_GPIO: 5
410-
LED_ON: 0
411-
BTN_GPIO: 4
412-
BTN_DOWN: 0
413-
config_schema:
414-
- ["device.id", "shellyix3-????????????"]
415-
- ["wifi.ap.ssid", "shellyix3-????????????"]
416-
- ["in1", "in", {title: "Input 1 settings"}]
417-
- ["in1.ssw.name", "Input 1"]
418-
- ["in1.sensor.name", "Shelly S1"]
419-
- ["in2", "in", {title: "Input 2 settings"}]
420-
- ["in2.ssw.name", "Input 2"]
421-
- ["in2.sensor.name", "Shelly S2"]
422-
- ["in3", "in", {title: "Input 3 settings"}]
423-
- ["in3.ssw.name", "Input 3"]
424-
- ["in3.sensor.name", "Shelly S3"]
425-
# Only for backward compatibility (config <= v3).
426-
- ["ssw1", "ssw", {title: "SSW1 settings"}]
427-
- ["ssw1.name", "Input 1"]
428-
- ["ssw2", "ssw", {title: "SSW2 settings"}]
429-
- ["ssw2.name", "Input 2"]
430-
- ["ssw3", "ssw", {title: "SSW3 settings"}]
431-
- ["ssw3.name", "Input 3"]
432-
433-
434433
- when: mos.platform == "ubuntu"
435434
apply:
436435
cdefs:

0 commit comments

Comments
 (0)