question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

model.json file not found

See original GitHub issue

error started with v0.25.0 and then still present in v0.25.2

powercalc starts and creates sensors as it should, but I still found this in the log:

2022-08-24 23:20:16.323 ERROR (MainThread) [custom_components.powercalc.power_profile.library] model.json file not found in directory /config/custom_components/powercalc/power_profile/../data/yeelight
2022-08-24 23:20:16.342 ERROR (MainThread) [custom_components.powercalc.power_profile.library] model.json file not found in directory /config/custom_components/powercalc/power_profile/../data/paulmann licht
2022-08-24 23:20:16.345 ERROR (MainThread) [custom_components.powercalc.power_profile.library] model.json file not found in directory /config/custom_components/powercalc/power_profile/../data/anko
2022-08-24 23:20:16.348 ERROR (MainThread) [custom_components.powercalc.power_profile.library] model.json file not found in directory /config/custom_components/powercalc/power_profile/../data/belkin
2022-08-24 23:20:16.350 ERROR (MainThread) [custom_components.powercalc.power_profile.library] model.json file not found in directory /config/custom_components/powercalc/power_profile/../data/aqara
2022-08-24 23:20:16.353 ERROR (MainThread) [custom_components.powercalc.power_profile.library] model.json file not found in directory /config/custom_components/powercalc/power_profile/../data/wiz
2022-08-24 23:20:16.355 ERROR (MainThread) [custom_components.powercalc.power_profile.library] model.json file not found in directory /config/custom_components/powercalc/power_profile/../data/lidl
2022-08-24 23:20:16.357 ERROR (MainThread) [custom_components.powercalc.power_profile.library] model.json file not found in directory /config/custom_components/powercalc/power_profile/../data/lexman
2022-08-24 23:20:16.360 ERROR (MainThread) [custom_components.powercalc.power_profile.library] model.json file not found in directory /config/custom_components/powercalc/power_profile/../data/tuya
2022-08-24 23:20:16.364 ERROR (MainThread) [custom_components.powercalc.power_profile.library] model.json file not found in directory /config/custom_components/powercalc/power_profile/../data/mueller-licht
2022-08-24 23:20:16.367 ERROR (MainThread) [custom_components.powercalc.power_profile.library] model.json file not found in directory /config/custom_components/powercalc/power_profile/../data/arlec
2022-08-24 23:20:16.370 ERROR (MainThread) [custom_components.powercalc.power_profile.library] model.json file not found in directory /config/custom_components/powercalc/power_profile/../data/ikea
2022-08-24 23:20:16.372 ERROR (MainThread) [custom_components.powercalc.power_profile.library] model.json file not found in directory /config/custom_components/powercalc/power_profile/../data/malmbergs
2022-08-24 23:20:16.376 ERROR (MainThread) [custom_components.powercalc.power_profile.library] model.json file not found in directory /config/custom_components/powercalc/power_profile/../data/signify
2022-08-24 23:20:16.380 ERROR (MainThread) [custom_components.powercalc.power_profile.library] model.json file not found in directory /config/custom_components/powercalc/power_profile/../data/ledvance
2022-08-24 23:20:16.385 ERROR (MainThread) [custom_components.powercalc.power_profile.library] model.json file not found in directory /config/custom_components/powercalc/power_profile/../data/innr
2022-08-24 23:20:16.390 ERROR (MainThread) [custom_components.powercalc.power_profile.library] model.json file not found in directory /config/custom_components/powercalc/power_profile/../data/melitec
2022-08-24 23:20:16.393 ERROR (MainThread) [custom_components.powercalc.power_profile.library] model.json file not found in directory /config/custom_components/powercalc/power_profile/../data/lifx
2022-08-24 23:20:16.396 ERROR (MainThread) [custom_components.powercalc.power_profile.library] model.json file not found in directory /config/custom_components/powercalc/power_profile/../data/elgato
2022-08-24 23:20:16.401 ERROR (MainThread) [custom_components.powercalc.power_profile.library] model.json file not found in directory /config/custom_components/powercalc/power_profile/../data/sonoff
2022-08-24 23:20:16.403 ERROR (MainThread) [custom_components.powercalc.power_profile.library] model.json file not found in directory /config/custom_components/powercalc/power_profile/../data/gledopto
2022-08-24 23:20:16.405 ERROR (MainThread) [custom_components.powercalc.power_profile.library] model.json file not found in directory /config/custom_components/powercalc/power_profile/../data/genio
2022-08-24 23:20:16.407 ERROR (MainThread) [custom_components.powercalc.power_profile.library] model.json file not found in directory /config/custom_components/powercalc/power_profile/../data/osram

_Originally posted by @pejotigrek in https://github.com/bramstroker/homeassistant-powercalc/issues/1018#issuecomment-1226408067_

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
bramstrokercommented, Aug 27, 2022

Fixed by #1045. Will be in next release.

1reaction
pejotigrekcommented, Aug 27, 2022

I can now resolve this. Thanks.

no, thank YOU! I’m happy I could help! 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error Unable to find JSON file in folder, Javascript
This depends where you're calling it from. Currently, the path is relative, and where it's relative to can get quite confusing quite quickly....
Read more >
item model .json file not found - Modder Support - Forge Forums
I have been trying for ages to get a texture loaded on an item. I have looked over what feels like the entire...
Read more >
json file is not found - SAP Community
I am trying to access my json file which is in model folders through my xml view but its showing me the following...
Read more >
OSError: Error no file named model_index.json found ... - GitHub
I found that having even more space than the minimum available required for the files is solving the problem. After having a trained...
Read more >
Error no file named model_index.json found in directory
Evidently A file is missing when I look stablediffusion_weights person folder(empty), on you Drive, when it's supossed the files to be ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found