Closed drmrd closed 7 months ago
@drmrd are you sure that this works as checked in? I tried testing it and I wasn't able to launch the node-red server or the UI
$ git checkout --track origin/add-15118-dash-2-logs-to-dc-demo
$ docker compose -f docker-compose.iso15118-dc.yml up
[+] Building 0.0s (0/0) docker:desktop-linux
[+] Running 3/0
✔ Container everest-demo-mqtt-server-1 Created 0.0s
✔ Container everest-demo-node-red-1 Created 0.0s
✔ Container everest-demo-manager-1 Created 0.0s
Attaching to everest-demo-manager-1, everest-demo-mqtt-server-1, everest-demo-node-red-1
everest-demo-manager-1 | 2023-11-21 05:49:34.890996 [INFO] manager :: 🚙🚙🚙 All modules are initialized. EVerest up and running [2087ms] 🚙🚙🚙
everest-demo-manager-1 | 2023-11-21 05:49:37.582542 [INFO] evse_manager:Ev :: 🌀🌀🌀 Ready to start charging 🌀🌀🌀
everest-demo-mqtt-server-1 | 1700545789: New connection from 192.168.65.1:38789 on port 1883.
everest-demo-mqtt-server-1 | 1700545789: Client <unknown> disconnected due to protocol error.
everest-demo-mqtt-server-1 | 1700545789: New connection from 192.168.65.1:38790 on port 1883.
everest-demo-mqtt-server-1 | 1700545789: Client <unknown> disconnected due to protocol error.
everest-demo-mqtt-server-1 | 1700545789: New connection from 192.168.65.1:38791 on port 1883.
everest-demo-mqtt-server-1 | 1700545789: Client <unknown> disconnected due to protocol error.
@shankari I think you have a typo in the browser. You will want to access localhost:1880/ui
to access the node-red
ui.
Ooops! This is why I shouldn't test at 10pm.
This does launch now, but it doesn't include the new logging functionality, since the image has not been updated.
Since this is a common theme, and @drmrd is out, I have created a new branch (build_pkg_task_1_features
) - you can push all these changes to that branch as well to build an image that includes them, and then update all these PRs to use the image tag.
@shankari if I am reading this correctly the creation of images looks to be postponed until the PR is merged. This is so that there is not functionality within the running container that relies on the code in the PR. To test a PR's changes locally you can build that image yourself when pulling down the code. I am leaning toward adding a latest
tag to the workflow that would pin the latest PR that is merged. Then in all of the docker-compose.yml
we can just reference :latest
for now. Then we do not need to go through an extra branch.
@couryrr-afs as you can see from the action and the issue, the current flow is:
'build_pkg_**'
(either through PR or direct push) currently in the US-JOET orgYes, this is clunky. We should fix it even in the short term
Closing this PR in favor of US-JOET/everest-demo#3 to accommodate existing Docker build process.
Re-opening for the time being, with the intent being to finish a review after we update the CI in #10.
@drmrd if you can resolve the merge conflict and bump up the version, this one has been approved and is good to go.
@shankari: I believe this PR is updated and ready to go.
This PR aligns the demo with what we've been showing during industry outreach events. Changes to the ISO 15118-2 DC demo's Node-Red flows result in all ISO 15118-2-related messages being displayed in a table. The actual request and response messages remain EXI-encoded. A V2G decoder (such as this one based on RISE-V2G) can then be used to decode these messages.
Future improvements could include incorporating a Node-based V2G decoder into the dashboard or to log un-encoded V2G messages more directly. The message types that are published during the demo's 15118-2 request-response message sequence(s) are displayed above the table in real-time, as well.