|
@ -1087,6 +1087,15 @@ void migrate() { |
|
|
setSetting("chLogic", 2, 0); |
|
|
setSetting("chLogic", 2, 0); |
|
|
setSetting("relays", 1); |
|
|
setSetting("relays", 1); |
|
|
|
|
|
|
|
|
|
|
|
#elif defined(ALLTERCO_SHELLY1)
|
|
|
|
|
|
|
|
|
|
|
|
setSetting("board", 83); |
|
|
|
|
|
setSetting("btnGPIO", 0, 5); |
|
|
|
|
|
setSetting("btnRelay", 0, 0); |
|
|
|
|
|
setSetting("relayGPIO", 0, 4); |
|
|
|
|
|
setSetting("relayType", 0, RELAY_TYPE_NORMAL); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#else
|
|
|
#else
|
|
|
|
|
|
|
|
|
// Allow users to define new settings without migration config
|
|
|
// Allow users to define new settings without migration config
|
|
|