Skip to content

Commit

Permalink
add support for Shelly Duo and HT
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Dornbach committed Sep 24, 2020
1 parent ea52ead commit 610915e
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
needs: release
strategy:
matrix:
hwModel: [Shelly1, Shelly1PM, ShellyPlugS, Shelly2, Shelly25, ShellyRGBW2, ShellyDimmer1, ShellyDimmer2, ShellyEM, ShellyBulb, ShellyVintage, ShellyPlugUS]
hwModel: [Shelly1, Shelly1PM, ShellyPlugS, Shelly2, Shelly25, ShellyRGBW2, ShellyDimmer1, ShellyDimmer2, ShellyEM, ShellyBulb, ShellyVintage, ShellyPlugUS, ShellyHT, ShellyBulbDuo]
hwPlatform: [esp8266]
targetFw: [tasmota, haa, espurna]
runs-on: ubuntu-latest
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ Shelly EM | `http://shellyip/ota?url=http://dl.dasker.eu/firmware/mg2tasmo
Shelly Bulb | `http://shellyip/ota?url=http://dl.dasker.eu/firmware/mg2tasmota-ShellyBulb.zip` | **not yet available, only flash if you a perfectly certain about what you are doing**
Shelly Vintage | `http://shellyip/ota?url=http://dl.dasker.eu/firmware/mg2tasmota-ShellyVintage.zip` | **not yet available, only flash if you a perfectly certain about what you are doing**
Shelly Plug US | `http://shellyip/ota?url=http://dl.dasker.eu/firmware/mg2tasmota-ShellyPlugUS.zip` | `{"NAME":"ShellyPlugUS","GPIO":[52,255,57,255,21,134,0,0,131,17,132,157,0],"FLAG":0,"BASE":45}`
Shelly Duo | `http://shellyip/ota?url=http://dl.dasker.eu/firmware/mg2tasmota-ShellyBulbDuo.zip` | **not yet available, only flash if you a perfectly certain about what you are doing**
Shelly H&T | `http://shellyip/ota?url=http://dl.dasker.eu/firmware/mg2tasmota-ShellyHT.zip` | **not yet available, only flash if you a perfectly certain about what you are doing**

For your convenience, the table above also lists the matching Tasmota device
templates from templates.blakadder.com which you can use to configure Tasmota
Expand Down
16 changes: 16 additions & 0 deletions mos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,3 +141,19 @@ conds:
FLASH_SIZE: 2097152
BOOT_CONFIG_ADDR: 0x7000
MGOS_ROOT_FS_TYPE: SPIFFS
- when: build_vars.MODEL == "ShellyHT"
apply:
name: ht-sensor
build_vars:
FS_SIZE: 262144
FLASH_SIZE: 2097152
BOOT_CONFIG_ADDR: 0x7000
MGOS_ROOT_FS_TYPE: SPIFFS
- when: build_vars.MODEL == "ShellyBulbDuo"
apply:
name: bulbduo
build_vars:
FS_SIZE: 262144
FLASH_SIZE: 2097152
BOOT_CONFIG_ADDR: 0x7000
MGOS_ROOT_FS_TYPE: SPIFFS

0 comments on commit 610915e

Please sign in to comment.