Repository navigation
Error on install #25
Unanswered
defaultuser8
asked this question in
Q&A
Replies: 1 comment
|
this is a compatibility issue in the external stream server component rather than your uart yaml the upstream startup log still calls the removed address helper a small temporary local fix is to copy that component into your esphome config and replace the address logging conditional in
that removes only the incompatible diagnostic call and leaves the streaming code alone use a local external component for the edited copy rather than editing generated files or putting raw c++ into yaml i have not built your full firmware |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
getting this error on install because of the stream server.
StreamServerComponent::dump_config()':
../src/esphome/components/stream_server/stream_server.cpp:52:62: error: 'get_use_address' is not a member of 'esphome::network'; did you mean 'get_use_address_to'?
52 | ESP_LOGCONFIG(TAG, " Address: %s:%u", esphome::network::get_use_address(), this->port_);
| ^~~~~~~~~~~~~~~
../src/esphome/core/log.h:108:101: note: in definition of macro 'esph_log_config'
108 | ::esphome::esp_log_printf_(ESPHOME_LOG_LEVEL_CONFIG, tag, LINE, ESPHOME_LOG_FORMAT(format), ##VA_ARGS)
any idea on how to repair this? I'm guessing I could skip the pull from github and add the corrected lines to the yaml code?
All reactions