Skip to content

Commit

Permalink
Merge pull request #4 from shiv3/fix/use-jotai
Browse files Browse the repository at this point in the history
change to use jotai for state
  • Loading branch information
shiv3 authored Aug 20, 2024
2 parents a620d3c + 0ad7419 commit d3fffc4
Show file tree
Hide file tree
Showing 11 changed files with 4,174 additions and 71 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

OCPP charger simulator written in react that works stand-alone

https://shiv3.github.io/ocpp-cp-simulator/?connectors=2&wsurl=wss://localhost:8080/&cpid=test-cp&tag=test-tag
https://shiv3.github.io/ocpp-cp-simulator/#config=%7B"wsURL"%3A"wss%3A%2F%2Flocalhost%3A8080%2F"%2C"connectorNumber"%3A2%2C"ChargePointID"%3A"test-cp"%2C"tagID"%3A"test-tag"%2C"ocppVersion"%3A"OCPP-1.6J"%2C"Experimental"%3Anull%7D

<img width="1532" alt="image" src="https://github.com/user-attachments/assets/480f6e76-a426-4f0c-b133-a62a03f0847e">

Expand All @@ -11,6 +11,6 @@ https://shiv3.github.io/ocpp-cp-simulator/?connectors=2&wsurl=wss://localhost:80

experimental feature support e.g. simultaneous use of multiple chargers

[like this](https://shiv3.github.io/ocpp-cp-simulator/?wsurl=wss://cs.dev-dmm-ev-charge.com/chargepoint/&tag=SzwezE4p1xQreLnVcpjt&experimental=eyJDaGFyZ2VQb2ludElEcyI6W3siQ2hhcmdlUG9pbnRJRCI6InRlc3QtY3AiLCJDb25uZWN0b3JOdW1iZXIiOjF9LHsiQ2hhcmdlUG9pbnRJRCI6InRlc3QtY3AyIiwiQ29ubmVjdG9yTnVtYmVyIjoyfSx7IkNoYXJnZVBvaW50SUQiOiJ0ZXN0LWNwMyIsIkNvbm5lY3Rvck51bWJlciI6M30seyJDaGFyZ2VQb2ludElEIjoidGVzdC1jcDQiLCJDb25uZWN0b3JOdW1iZXIiOjR9LHsiQ2hhcmdlUG9pbnRJRCI6InRlc3QtY3A1IiwiQ29ubmVjdG9yTnVtYmVyIjo1fSx7IkNoYXJnZVBvaW50SUQiOiJ0ZXN0LWNwNiIsIkNvbm5lY3Rvck51bWJlciI6Nn0seyJDaGFyZ2VQb2ludElEIjoidGVzdC1jcDciLCJDb25uZWN0b3JOdW1iZXIiOjd9XX0)
[like this](https://shiv3.github.io/ocpp-cp-simulator/#config=%7B"wsURL"%3A"wss%3A%2F%2Flocalhost%3A8080%2F"%2C"connectorNumber"%3A2%2C"ChargePointID"%3A"test-cp"%2C"tagID"%3A"test-tag"%2C"ocppVersion"%3A"OCPP-1.6J"%2C"Experimental"%3A%7B"ChargePointIDs"%3A%5B%7B"ChargePointID"%3A"test-cp"%2C"ConnectorNumber"%3A2%7D%2C%7B"ChargePointID"%3A"test-cp2"%2C"ConnectorNumber"%3A2%7D%2C%7B"ChargePointID"%3A"test-cp3"%2C"ConnectorNumber"%3A2%7D%2C%7B"ChargePointID"%3A"test-cp4"%2C"ConnectorNumber"%3A2%7D%2C%7B"ChargePointID"%3A"test-cp5"%2C"ConnectorNumber"%3A1%7D%2C%7B"ChargePointID"%3A"test-cp6"%2C"ConnectorNumber"%3A1%7D%2C%7B"ChargePointID"%3A"test-cp7"%2C"ConnectorNumber"%3A7%7D%5D%7D%7D)

<img width="1534" alt="image" src="https://github.com/user-attachments/assets/5904d690-0178-4ddc-be90-fe580259d998">
Loading

0 comments on commit d3fffc4

Please sign in to comment.