Hi,
I am trying to use the WIFI provisioning libraries with a simple DS18B20 project on an Adafruit Huzzah. Here is the project:
#define BLYNK_PRINT Serial
#include <BlynkSimpleEsp8266.h>
#include "BlynkProvisioning.h"
#include <OneWire.h>
#include <DallasTemperature.h>
#define ONE_WIRE_BUS 14 // DS18B20 pin
OneWire oneWire(ONE_WIRE_BUS);
DallasTemperature DS18B20(&oneWire);
void setup() {
// This setups WiFi configuration, and cloud connection
BlynkProvisioning.begin();
}
void loop() {
Blynk.run();
float temp;
DS18B20.requestTemperatures();
temp = DS18B20.getTempCByIndex(0);
if(temp != 85 && temp != -127){
Serial.print("Temperature: ");
Serial.println(temp);
Blynk.virtualWrite(V2,temp);
}
else{
Serial.println("No Sensor Detected");
}
delay(500);
}
The project runs and allows me to connect via AP mode and enter my WIFI information (triple checked that this was correct) and host and port. It restarts, and the debug information gets stuck here:
WiFi SSID: [my SSID] Pass: [my Pass]
Cloud Auth: [my token] Host: blynk-cloud.com Port: 8442
[810] Connecting to [my SSID]
However, it never gets past this, and is not available from my project.
Any ideas? Is the host entered correctly?
Thank you,
Tom