Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not find configuration for path BatteryATemperature #663

Open
sass00 opened this issue Jul 11, 2023 · 2 comments
Open

Could not find configuration for path BatteryATemperature #663

sass00 opened this issue Jul 11, 2023 · 2 comments

Comments

@sass00
Copy link

sass00 commented Jul 11, 2023

Hey guys,

Im trying to add 1wire DS1820B sensors to SignalK via ESP32. I have my board put together, new sensor is registered (i also have INA219 voltage sensors) and i used some examples to put together my code since im not really experienced with SignalK or SensESP.

auto* battery_A_temperature =
new OneWireTemperature(dts, 1000, "/batteryATemperature/oneWire");
battery_A_temperature->connect_to(new Linear(1.0, 0.0, "Battery A Temp/linear"))
->connect_to(new SKOutputFloat("electrical.batteries.a.temperature", "/A Battery Temp/skPath", battery_A_temperature_metadata));

This is part of my code; and my serial throws this when turned on;

(load_configuration)(C1) Not loading configuration: no config_path specified:
(load_configuration)(C1) Could not find configuration for path /System/WiFi Settings
(load_configuration)(C1) Could not find configuration for path /System/Signal K Settings
(load_configuration)(C1) Not loading configuration: no config_path specified:
(DallasTemperatureSensors)(C1) Found OneWire sensor 28:ff:64:1e:30:75:ca:48
(load_configuration)(C1) Could not find configuration for path /batteryATemperature/oneWire
(OneWireTemperature)(C1) Registered a new OneWire sensor
[ 977][E][vfs_api.cpp:29] open(): Battery A Temp/linear does not start with /
(load_configuration)(C1) Could not find configuration for path Battery A Temp/linear
(load_configuration)(C1) Could not find configuration for path /A Battery Temp/skPath

I'm really trying to make sense out of this but cant figure out entirely what is going on. Is configuration stored with SPIFFS? Or am i doing it wrong regarding the conf path?

Since my ESP is not showing a request with SignalK in OpenPlotter i have to check that also but as far as i know mDNS is enabled, all the new requests are enabled so i'm not really sure that the sensesp_app->start actually happens?

I will now start to dig through the SensESP documentation but...

@sass00
Copy link
Author

sass00 commented Jul 12, 2023

Solved.

Moved some code around and got it working. Then i got some errors on I2C bus regarding INA219, removed "Wire.begin" and went with "INA219.begin"

@FDY-fr
Copy link

FDY-fr commented Aug 31, 2024

hello
I am getting the same type of error messages

(load_configuration)(C1) Could not find configuration for path /System/WiFi Settings
(load_configuration)(C1) Could not find configuration for path /System/Signal K Settings

but I don't know how to fix it .....

could you clarify your comment "moved some code around" ? What exactly have you done?

Thanks

Francis

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants