diff --git a/app/scripts/controllers/register.js b/app/scripts/controllers/register.js index cc3e65c1..95ff8440 100644 --- a/app/scripts/controllers/register.js +++ b/app/scripts/controllers/register.js @@ -854,6 +854,35 @@ vm.sensorSetup = ''; vm.extensions.feinstaub.id = ''; vm.newModel.connection = null; + vm.newModel.sensors = { + temp: false, + pressure: false, + light: false, + pollution: false, + bme680: false, + co2: false, + }; + vm.modelSelected.name = 'Custom'; + + vm.invalidHardware = false; + + return; + } + + if (newValue === 'edu') { + vm.sensorSetup = ''; + vm.sensors = []; + vm.extensions.feinstaub.id = ''; + vm.newModel.connection = null; + vm.newModel.sensors = { + temp: false, + pressure: false, + light: false, + pollution: false, + bme680: false, + co2: false, + }; + vm.modelSelected.name = 'senseBox Edu'; vm.invalidHardware = false; diff --git a/app/views/account.box.register.html b/app/views/account.box.register.html index 8600c2b8..4d60cf10 100644 --- a/app/views/account.box.register.html +++ b/app/views/account.box.register.html @@ -1410,7 +1410,7 @@
{{register.newModel.connection}} | ||
senseBox {{'EDIT_EXTENSIONS'|translate}} | +{{'EDIT_EXTENSIONS'|translate}} | {{'EXTENSIONS_FINE_PARTICULATE_MATTER'|translate}} |
senseBox Name | +Name | {{register.newSenseBox.name}} |