Skip to content
New issue

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

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

Already on GitHub? # to your account

Missing Lock Status data #393

Open
emilleszczak2 opened this issue Feb 5, 2025 · 0 comments
Open

Missing Lock Status data #393

emilleszczak2 opened this issue Feb 5, 2025 · 0 comments

Comments

@emilleszczak2
Copy link

Describe the bug
Not available actual Lock status data

To Reproduce

  1. Configure simple_client with credentials
  2. Invoke simple_client
  3. Scroll down to Lock Status
  4. See error
'Lock Status: last_updated=None doors=None windows=None hood=None'

API response:

  {
    "status": {
      "messages": [
        {
          "responseCode": "ONE-GLOBAL-RS-10000",
          "description": "Request Completed Successfully",
          "detailedDescription": "Request Completed Successfully"
        }
      ]
    },
    "payload": {
      "vehicleStatus": [
        {
          "category": "carstatus_category_driver",
          "displayOrder": 1,
          "sections": [
            {
              "section": "carstatus_item_driver_door",
              "values": [
                {
                  "value": "carstatus_closed",
                  "status": 0
                },
                {
                  "value": "carstatus_locked",
                  "status": 0
                }
              ]
            },
            {
              "section": "carstatus_item_driver_rear_door",
              "values": [
                {
                  "value": "carstatus_closed",
                  "status": 0
                },
                {
                  "value": "carstatus_locked",
                  "status": 0
                }
              ]
            },
            {
              "section": "carstatus_item_driver_rear_window",
              "values": [
                {
                  "value": "carstatus_closed",
                  "status": 0
                }
              ]
            },
            {
              "section": "carstatus_item_driver_window",
              "values": [
                {
                  "value": "carstatus_closed",
                  "status": 0
                }
              ]
            }
          ]
        },
        {
          "category": "carstatus_category_passenger",
          "displayOrder": 2,
          "sections": [
            {
              "section": "carstatus_item_passenger_door",
              "values": [
                {
                  "value": "carstatus_closed",
                  "status": 0
                },
                {
                  "value": "carstatus_locked",
                  "status": 0
                }
              ]
            },
            {
              "section": "carstatus_item_passenger_rear_door",
              "values": [
                {
                  "value": "carstatus_closed",
                  "status": 0
                },
                {
                  "value": "carstatus_locked",
                  "status": 0
                }
              ]
            },
            {
              "section": "carstatus_item_passenger_rear_window",
              "values": [
                {
                  "value": "carstatus_closed",
                  "status": 0
                }
              ]
            },
            {
              "section": "carstatus_item_passenger_window",
              "values": [
                {
                  "value": "carstatus_closed",
                  "status": 0
                }
              ]
            }
          ]
        },
        {
          "category": "carstatus_category_other",
          "displayOrder": 3,
          "sections": [
            {
              "section": "carstatus_item_rear_hatch",
              "values": [
                {
                  "value": "carstatus_closed",
                  "status": 0
                },
                {
                  "value": "carstatus_locked",
                  "status": 0
                }
              ]
            },
            {
              "section": "carstatus_item_hood",
              "values": [
                {
                  "value": "carstatus_closed",
                  "status": 0
                }
              ]
            }
          ]
        }
      ],
      "telemetry": {
        "fugage": {
          "value": 100.0,
          "unit": "%"
        },
        "rage": {
          "value": 708.0,
          "unit": "Km"
        },
        "odo": {
          "value": 4908.0,
          "unit": "Km"
        }
      },
      "occurrenceDate": "2025-02-04T07:10:44Z",
      "cautionOverallCount": 0,
      "latitude": 999.0,
      "longitude": 999.0,
      "locationAcquisitionDatetime": "0000-00-00T00:00:00Z"
    }
  }

Expected behavior
Adjust to actual API or use remote status endpoint.

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

No branches or pull requests

1 participant