evcc icon indicating copy to clipboard operation
evcc copied to clipboard

Config UI : custom devices uses mqtt input

Open scheiby opened this issue 5 months ago • 6 comments

Describe the bug

while creating new custom devices using mqtt as source needs several minutes to "check & save" until running in timeout. After timeout "save anyway" is available.

mqtt data of created devices (checked or not) can be readed sucessfully every time mqtt publishes new values.

Only "Check" function is not reliable.

Steps to reproduce

--

Configuration details

power: # current power
  source: mqtt
  topic: influxdb/P_Heizung
  timeout: 75s

Log details

-

What type of operating system or environment does evcc run on?

Linux

External automation

  • [x] I have made sure that no external automation like HomeAssistant or Node-RED is active or accessing any of the mentioned devices when this issue occurs.

Nightly build

  • [x] I have verified that the issue is reproducible with the latest nightly build

Version

0.309.2

scheiby avatar Jun 21 '26 11:06 scheiby

Unfortunately your report is missing a detailed log file. Without log, we don‘t have the information for diagnosing the issue described. See https://docs.evcc.io/docs/faq#wie-kann-ich-ein-logfile-zur-fehleranalyse-erstellen.

andig avatar Jun 21 '26 11:06 andig

Most likely, the device was waiting for data and doing so one timeout at a time.

andig avatar Jun 21 '26 11:06 andig

Unfortunately your report is missing a detailed log file. Without log, we don‘t have the information for diagnosing the issue described. See https://docs.evcc.io/docs/faq#wie-kann-ich-ein-logfile-zur-fehleranalyse-erstellen.

No information about mqtt read / recv Activities stored in LOGFILE

nor in section DEBUG or section TRACE

scheiby avatar Jun 21 '26 12:06 scheiby

Most likely, the device was waiting for data and doing so one timeout at a time.

sure .. but timeout is with several minutes much to long! skipping check option is not provided.

Feature request to provide Save w/o check created https://github.com/evcc-io/evcc/issues/31094

scheiby avatar Jun 21 '26 12:06 scheiby

No information about mqtt read / recv Activities stored in LOGFILE

Which is exactly the reason- nothing received. I agree this should not take longer than the check timeout.

@naltatis

andig avatar Jun 21 '26 12:06 andig

https://github.com/evcc-io/evcc/issues/28923#issuecomment-4203941758

SofieF2005 avatar Jun 22 '26 16:06 SofieF2005