#hardware
Got the BME set up on ESP8266 with this error messsage
Error downloading https://raw.githubusercontent.com/espressif/arduino-esp32/gh�pages/package_esp32_index.json
#node-red
Added the components as per tutorial.
#problem
I see gauges and chart widgets on UI but no data.
I can see the temp/humid/pres in the BME in the arduino serial console.
#ESP8266
Connecting to Wi-Fi…
Publishing on topic esp/bme280/temperature at QoS 1, packetId: 0Message: 20.60
Publishing on topic esp/bme280/humidity at QoS 1, packetId 0: Message: 51.62
Publishing on topic esp/bme280/pressure at QoS 1, packetId: 0Message: 1008.915
#debug
On the pi i run this: mosquitto_sub -t /# -u raspberrypi -P blah
and get no results.
# Looking at the ESP code – it looks ok.
#define MQTT_HOST IPAddress(192, 168, 4, 227) //MQTT BROKER IP ADDRESS
#define MQTT_PORT 1883
#define BROKER_USER “raspberrypi”
#define BROKER_PASS “None1234”
#define MQTT_PUB_TEMP “esp/bme280/temperature”
#define MQTT_PUB_HUM “esp/bme280/humidity”
#define MQTT_PUB_PRES “esp/bme280/pressure”
I am not seeing this message:
Serial.println(“Connected to MQTT.”);
Hi.
Make sure you use the same password for the code, the MQTT broker, and the debugging command you’re using on the Pi.
It seems you’re using different passwords??
It seems the ESP is not connecting to the broker. It’s probably an issue with username and password.
Regards,
Sara
ok. i tried so many different things. this was the problem:
https://raw.githubusercontent.com/espressif/arduino-esp32/gh�pages/package_esp32_index.json
and arduino offered to update some boards and libraries and it got worse!
i finally reinstalled all from zip files and it seems to be resolved.
ok. i tried so many different things. this was the problem:
https://raw.githubusercontent.com/espressif/arduino-esp32/gh�pages/package_esp32_index.json
and arduino offered to update some boards and libraries and it got worse!
i finally reinstalled all from zip files and it seems to be resolved.