Borja Godoy
Jon Rojí
Borja Godoy
Front-end Dev
OSW & GDG Organizer
Jon Rojí
Front-end Dev
Angular teacher & mentor
#googleUnCafe
@gody11
@jnroji
a little bit of history...
#t3chfest2018
#t3chfest2018
#t3chfest2018
A new beggining
#t3chfest2018
#t3chfest2018
Developer & Coffee addict
#t3chfest2018
Serious & Sarcastic
#t3chfest2018
Barman & father
#t3chfest2018
#t3chfest2018
#t3chfest2018
#t3chfest2018
Intent
user
action
response
#t3chfest2018
#t3chfest2018
#t3chfest2018
#t3chfest2018
#t3chfest2018
#include <ESP8266WiFi.h>
#include <FirebaseArduino.h>
const char* ssid = "MOVISTAR_9564";
const char* password = "zs4yqXyJPy4PQqDMns5S";
const char* FIREBASE_HOST "iwantmycoffes.firebaseio.com"
const char* FIREBASE_AUTH "CzHTEf8BbC70v3y2nbKulDf6zPOOm..."
WiFi.begin(ssid, password);
Firebase.begin(FIREBASE_HOST, FIREBASE_AUTH);
#t3chfest2018
int number = 0;
number = Firebase.getInt("number");
Serial.print(number);
int value = digitalRead(ledPin);
//Rele on
if(number == 1) {
digitalWrite(ledPin, HIGH);
value = HIGH;
}
//RELE Off
if(number == 0){
digitalWrite(ledPin, LOW);
value = LOW;
}
delay(1);
#t3chfest2018
Anything else?
#t3chfest2018
#t3chfest2018
#t3chfest2018
#t3chfest2018
@jnroji
@gody11