-
Notifications
You must be signed in to change notification settings - Fork 49
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
Energy, Power, Current, Voltage value are always 0 #36
Comments
I found this patch will display values after charging started. Please correct me if I am doing wrong. diff --git a/src/evse.cpp b/src/evse.cpp void Evse::loop() {
diff --git a/src/evse.h b/src/evse.h
|
Remove this check to get the simulator to emit simulated data when "plugged in". See matth-x#36
@scottaric - any reason to not make your commit a PR? Thanks. |
@huntc I'm not a collaborator (yet). I'm not entirely sure if this will have any side-effects or is bypassing any other kind of simulated functionality, but it has indeed allowed me to proceed with what I needed to do. I'll work towards lining up a PR. |
After more experience on this package, I am sure what cause this problem. Bundled web has 3 button EvReady, EvseReady, EvPlugged to get charger prepared and EvsePlugged is always false if we check evse api in bundled web. So '&& trackEvsePluggedBool->getBool() ' will cause problem, my probelm solved after remvoe this code in evse.cpp. Any other modification is not necessary. |
Hi,
I am evaluating this simulator. Simulator and web are built smoothly but energy, power, current, voltage
in web are always 0, before charge and after charge. I searched around but can not find a solution. Do I
have to modify any file to get those values displayed? I modify evse.h and evse.cpp and those values
can display constantly but setchargingprofile will not limit power value.
any hint?
Thanks,
The text was updated successfully, but these errors were encountered: