Skip to content

Commit

Permalink
flash tool: add supported new models
Browse files Browse the repository at this point in the history
  • Loading branch information
markirb committed Oct 7, 2024
1 parent 1dfb448 commit 06ecddb
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion tools/flash-shelly.py
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,15 @@ def shelly_model(stock_fw_model):
'SHIX3-1': ['ShellyI3', 'ix3'],
'SNSW-001X16EU': ['ShellyPlus1', 'Plus1'],
'SNSW-001P16EU': ['ShellyPlus1PM', 'Plus1PM'],
'SNSN-0024X': ['ShellyPlusI4', 'PlusI4']
'SNSW-102P16EU': ['ShellyPlus2PM', 'Plus2PM'],
'SNSW-001P16EU': ['ShellyPlus2PM', 'Plus2PM'],
'SNPL-00112EU': ['ShellyPlusPlugS', 'PlusPlugS'],
'SNPL-10112EU': ['ShellyPlusPlugS', 'PlusPlugS'],
'SNDC-0D4P10WW': ['ShellyPlusRGBWPM', 'PlusRGBWPM'],
'SNSN-0024X': ['ShellyPlusI4', 'PlusI4'],
'SNSW-001X8EU': ['ShellyPlus1Mini', 'Plus1Mini'],
'S3SW-001P8EU': ['ShellyMini1PMG3', 'Mini1PMG3'],
'S3SW-001X8EU': ['ShellyMini1G3', 'Mini1G3']
}
return options.get(stock_fw_model, [stock_fw_model, stock_fw_model])

Expand Down

0 comments on commit 06ecddb

Please sign in to comment.