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

Add more info #27

Open
Hellowlol opened this issue Oct 17, 2020 · 2 comments
Open

Add more info #27

Hellowlol opened this issue Oct 17, 2020 · 2 comments

Comments

@Hellowlol
Copy link
Collaborator

Hellowlol commented Oct 17, 2020

I was digging in a js source code at easee cloud and I found some reason for reason for no current and other things.

          , g = {
            0: "CHARGER_CONFIG_PROPERTIES.PGT_NOT_YET_DETECTED",
            1: "CHARGER_CONFIG_PROPERTIES.PGT_TN_3_PHASE",
            2: "CHARGER_CONFIG_PROPERTIES.PGT_TN_2_PHASE_PIN_2_3_4",
            3: "CHARGER_CONFIG_PROPERTIES.PGT_TN_1_PHASE",
            4: "CHARGER_CONFIG_PROPERTIES.PGT_IT_3_PHASE",
            5: "CHARGER_CONFIG_PROPERTIES.PGT_IT_1_PHASE",
            30: "CHARGER_CONFIG_PROPERTIES.PGT_WARNING_TN_2_PHASE_PIN_2_3_5",
            31: "CHARGER_CONFIG_PROPERTIES.PGT_WARNING_TN_1_PHASE_NEUTRAL_ON_PIN_3",
            50: "CHARGER_CONFIG_PROPERTIES.PGT_ERROR_NO_VALID_POWER_GRID_FOUND",
            51: "CHARGER_CONFIG_PROPERTIES.PGT_ERROR_TN_400_V_NEUTRAL_ON_WRONG_PIN",
            52: "CHARGER_CONFIG_PROPERTIES.PGT_ERROR_IT_GND_CONNECTED_TO_PIN_2_OR_3"
        }
          , f = {
            0: "REASON_FOR_NO_CURRENT_SHORT.OK",
            1: "REASON_FOR_NO_CURRENT_SHORT.PAUSED",
            2: "REASON_FOR_NO_CURRENT_SHORT.PAUSED",
            3: "REASON_FOR_NO_CURRENT_SHORT.PAUSED",
            4: "REASON_FOR_NO_CURRENT_SHORT.PAUSED",
            5: "REASON_FOR_NO_CURRENT_SHORT.PAUSED",
            6: "REASON_FOR_NO_CURRENT_SHORT.PAUSED",
            7: "",
            8: "",
            9: "REASON_FOR_NO_CURRENT_SHORT.ERROR_NO_CURRENT",
            50: "",
            51: "REASON_FOR_NO_CURRENT_SHORT.PAUSED",
            52: "REASON_FOR_NO_CURRENT_SHORT.PAUSED",
            53: "REASON_FOR_NO_CURRENT_SHORT.CHARGER_DISABLED",
            54: "REASON_FOR_NO_CURRENT_SHORT.WAITING_AUTH",
            55: "Pending authorization",
            56: "REASON_FOR_NO_CURRENT_SHORT.ERROR_NO_CURRENT",
            100: ""
            

             I think this is status codes.:
            Offline: 0,
            Disconnected: 1,
            AwaitingStart: 2,
            Charging: 3,
            Completed: 4,
            Error: 5,
            ReadyToCharge: 6
@Hellowlol
Copy link
Collaborator Author

I can send a pr for this. I just wanted to document it.

@tmjo
Copy link
Collaborator

tmjo commented Oct 17, 2020

Sounds great! We were informed by Easee that they will improve docs with regards to all statuses/reasons/whatever, and they also provided a link showing this information for main status:

OpModeType { // <summary> /// No car connected. /// </summary> Disconnected = 1, // <summary> /// Car connected, charger is waiting for load balancer or remote authorization. SuspendedEVSE. /// </summary> AwaitingStart = 2, /// <summary> /// Charging. /// </summary> Charging = 3, /// <summary> /// Car has paused/stopped charging. /// </summary> Completed = 4, /// <summary> /// Error in charger. /// </summary> Error = 5, /// <summary> /// Charger is waiting for car to take energy. SuspendedEV. /// </summary> ReadyToCharge = 6 }
It matches well what you describe, except 0 is not confirmed. I've seen completed in app or web, but it may very well mean that car paused the charging (for instance with car scheduling) as it is explained in the text above.

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