1
0
Fork 0
mirror of https://github.com/sensebox/blockly-app synced 2025-07-01 00:00:25 +02:00

updated ingress

This commit is contained in:
Thiemann96 2020-02-12 15:31:28 +01:00
parent 8c4211d46f
commit e93cde8675
2 changed files with 7 additions and 3 deletions

View file

@ -46,6 +46,10 @@
<ion-label>Humidity</ion-label>
<ion-input [(ngModel)]="humi" placeholder="5c4f75e83580950019240779"></ion-input>
</ion-item>
<ion-item>
<ion-label>Pressure</ion-label>
<ion-input [(ngModel)]="pressure" placeholder="5c4f75e83580950019240779"></ion-input>
</ion-item>
<ion-item>
<ion-label>Lux</ion-label>
<ion-input [(ngModel)]="lux" placeholder="5c4f75e83580950019240779"></ion-input>

View file

@ -54,7 +54,7 @@ export class ConfigurationPage {
var values = {
SSID: this.ssid,
PASSWORD:this.pw,
INGRESS_DOMAIN:"opensensemap.org",
INGRESS_DOMAIN:"ingress.opensensemap.org",
SENSEBOX_ID:this.senseboxid,
NUM_SENSORS:6,
TEMPERSENSOR_ID:this.temp,
@ -67,13 +67,13 @@ export class ConfigurationPage {
PM25SENSOR_ID:this.pm25
};
sketchy = this.applyTemplate(sketchy,values);
console.log(sketchy);
})
/**
* Start OTA Wizard here but with the pre defined sketch here and not with the blockly sketch
*
* */
**
*/
const sketch = 'void setup(){Serial.begin(9600);} void loop(){Serial.println("Working");}'
this.navCtrl.push(OtaWizardPage, { sketchy })
}