(OBSOLETE) ESP MQTT JSON Multisensor for Home Assistant. Supported sensors include the TEMT6000 light, AM312 PIR, DHT22 temperature/humidity sensors. RGB led supports flash, fade, and transition. Over-The-Air (OTA) uploading, too!
C:\Users\User\Desktop\ESP-MQTT-JSON-Multisensor-master\ESP-MQTT-JSON-Multisensor-master\bruh_mqtt_multisensor_github\bruh_mqtt_multisensor_github.ino: In function 'void setup()':
bruh_mqtt_multisensor_github:164: error: 'setup_wifi' was not declared in this scope
setup_wifi();
^
bruh_mqtt_multisensor_github:167: error: 'callback' was not declared in this scope
client.setCallback(callback);
^
C:\Users\User\Desktop\ESP-MQTT-JSON-Multisensor-master\ESP-MQTT-JSON-Multisensor-master\bruh_mqtt_multisensor_github\bruh_mqtt_multisensor_github.ino: In function 'void callback(char, byte, unsigned int)':
bruh_mqtt_multisensor_github:234: error: 'processJson' was not declared in this scope
if (!processJson(message)) {
^
bruh_mqtt_multisensor_github:253: error: 'sendState' was not declared in this scope
sendState();
^
C:\Users\User\Desktop\ESP-MQTT-JSON-Multisensor-master\ESP-MQTT-JSON-Multisensor-master\bruh_mqtt_multisensor_github\bruh_mqtt_multisensor_github.ino: In function 'void loop()':
bruh_mqtt_multisensor_github:497: error: 'calculateStep' was not declared in this scope
stepR = calculateStep(redVal, realRed);
^
bruh_mqtt_multisensor_github:512: error: 'calculateVal' was not declared in this scope
I get the following error saying: exit status 1 'setup_wifi' was not declared in this scope
Arduino: 1.6.7 (Windows 7), Board:"NodeMCU 1.0 (ESP-12E Module), 80 MHz, 115200, 4M (3M SPIFFS)"
C:\Users\User\Desktop\ESP-MQTT-JSON-Multisensor-master\ESP-MQTT-JSON-Multisensor-master\bruh_mqtt_multisensor_github\bruh_mqtt_multisensor_github.ino: In function 'void setup()':
bruh_mqtt_multisensor_github:164: error: 'setup_wifi' was not declared in this scope
setup_wifi();
bruh_mqtt_multisensor_github:167: error: 'callback' was not declared in this scope
client.setCallback(callback);
C:\Users\User\Desktop\ESP-MQTT-JSON-Multisensor-master\ESP-MQTT-JSON-Multisensor-master\bruh_mqtt_multisensor_github\bruh_mqtt_multisensor_github.ino: In function 'void callback(char, byte, unsigned int)':
bruh_mqtt_multisensor_github:234: error: 'processJson' was not declared in this scope
if (!processJson(message)) {
bruh_mqtt_multisensor_github:253: error: 'sendState' was not declared in this scope
sendState();
C:\Users\User\Desktop\ESP-MQTT-JSON-Multisensor-master\ESP-MQTT-JSON-Multisensor-master\bruh_mqtt_multisensor_github\bruh_mqtt_multisensor_github.ino: In function 'void loop()':
bruh_mqtt_multisensor_github:497: error: 'calculateStep' was not declared in this scope
bruh_mqtt_multisensor_github:512: error: 'calculateVal' was not declared in this scope
exit status 1 'setup_wifi' was not declared in this scope