steve2982

Untitled

Feb 19th, 2022
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.76 KB | None | 0 0
  1. INFO Reading configuration /config/esphome/kitchen-basecabinet.yaml...
  2. INFO Generating C++ source...
  3. INFO Compiling app...
  4. Processing kitchen-basecabinet (board: d1_mini; framework: arduino; platform: platformio/espressif8266 @ 3.2.0)
  5. --------------------------------------------------------------------------------
  6. HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash
  7. LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
  8. Dependency Graph
  9. |-- <ESPAsyncTCP-esphome> 1.2.3
  10. |-- <ESPAsyncWebServer-esphome> 2.1.0
  11. | |-- <ESPAsyncTCP-esphome> 1.2.3
  12. | |-- <Hash> 1.0
  13. | |-- <ESP8266WiFi> 1.0
  14. |-- <DNSServer> 1.1.1
  15. |-- <ESP8266WiFi> 1.0
  16. |-- <ESP8266mDNS> 1.2
  17. |-- <AsyncMqttClient-esphome> 0.8.6
  18. | |-- <ESPAsyncTCP-esphome> 1.2.3
  19. |-- <ArduinoJson> 6.18.5
  20. Compiling /data/kitchen-basecabinet/.pioenvs/kitchen-basecabinet/src/main.cpp.o
  21. src/main.cpp: In function 'void setup()':
  22. src/main.cpp:484:72: error: expected ')' before ';' token
  23. 484 | globals_globalvarsetaction->set_value((id(pulses_counted).state) + 50;);
  24. | ~ ^
  25. | )
  26. src/main.cpp:484:73: error: expected primary-expression before ')' token
  27. 484 | globals_globalvarsetaction->set_value((id(pulses_counted).state) + 50;);
  28. | ^
  29. In file included from src/esphome/components/sensor/sensor.h:3,
  30. from src/esphome/core/application.h:16,
  31. from src/esphome/components/api/api_connection.h:4,
  32. from src/esphome.h:3,
  33. from src/main.cpp:3:
  34. /config/esphome/kitchen-basecabinet.yaml: In lambda function:
  35. /config/esphome/kitchen-basecabinet.yaml:109:78: error: request for member 'state' in 'end_pulse_count->esphome::globals::GlobalsComponent<float>::value()', which is of non-class type 'float'
  36. 109 | ESP_LOGD("main", "Stopping pulses equals %d", id(end_pulse_count).state);
  37. | ^~~~~
  38. src/esphome/core/log.h:92:89: note: in definition of macro 'esph_log_d'
  39. 92 | esp_log_printf_(ESPHOME_LOG_LEVEL_DEBUG, tag, __LINE__, ESPHOME_LOG_FORMAT(format), ##__VA_ARGS__)
  40. | ^~~~~~~~~~~
  41. /config/esphome/kitchen-basecabinet.yaml:109:7: note: in expansion of macro 'ESP_LOGD'
  42. 109 | ESP_LOGD("main", "Stopping pulses equals %d", id(end_pulse_count).state);
  43. | ^ ~~
  44. *** [/data/kitchen-basecabinet/.pioenvs/kitchen-basecabinet/src/main.cpp.o] Error 1
  45. ========================= [FAILED] Took 12.43 seconds =========================
  46.  
Add Comment
Please, Sign In to add comment