Browse Source

Added gizwits-witty-cloud board to migrate module

rfm69
Xose Pérez 6 years ago
parent
commit
5ce3b20727
1 changed files with 16 additions and 0 deletions
  1. +16
    -0
      code/espurna/migrate.ino

+ 16
- 0
code/espurna/migrate.ino View File

@ -711,6 +711,22 @@ void migrate() {
setSetting("cf1GPIO", 5); setSetting("cf1GPIO", 5);
setSetting("cfGPIO", 4); setSetting("cfGPIO", 4);
#elif defined(GIZWITS_WITTY_CLOUD)
setSetting("board", 54);
setSetting("ledGPIO", 0, 2);
setSetting("ledLogic", 0, 1);
setSetting("btnGPIO", 0, 4);
setSetting("relayProvider", RELAY_PROVIDER_LIGHT);
setSetting("lightProvider", LIGHT_PROVIDER_DIMMER);
setSetting("chGPIO", 0, 15);
setSetting("chGPIO", 1, 12);
setSetting("chGPIO", 2, 13);
setSetting("chLogic", 0, 0);
setSetting("chLogic", 1, 0);
setSetting("chLogic", 2, 0);
setSetting("relays", 1);
#else #else
// Allow users to define new settings without migration config // Allow users to define new settings without migration config


Loading…
Cancel
Save