Announcement

Collapse
No announcement yet.

Tesla Plugin Not Initializing

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Tesla Plugin Not Initializing

    Plugin installs fine. I enter my tesla credentials, but nothing happens. If I go back to config menu, I get errors. Primary log entry (Vehicle ID Masked out)

    9/28/2020 18:58:56.388 Error PluginConfigPage.GetPagePlugin - Failed to create page: JSON integer XXXXXXXXXXXX is too large or small for an Int32. Path 'response[0].vehicle_id', line 1, position 57.
    Newtonsoft.Json.JsonReaderException: JSON integer XXXXXXXXXXXX is too large or small for an Int32. Path 'response[0].vehicle_id', line 1, position 57.
    • HS Version 4.1.6
    • Plugin version 1.5.2
    • Description of the problem: Plugin won't initialize
    • HS3 Server OS :Linux Ubuntu 18.04.5 (Mono version 6.12.0)
    • Vehicle Model Y
    • Log file: Sent via email
    • Data dump: Not applicable (no devices created yet).

    #2
    Looks like they've increased the size of the vehicle ID (good problem to have if they've sold so many they've added some digits! Unfortunately that's an invasive field so it'll take me some time to work through any changes and test it all out.

    Comment


      #3
      Thanks!

      Comment


        #4
        Thanks for investigating shill. Latest version, 1.5.3.2, initializes correctly now but won't update vehicle status for me. It appears they have also increased the range for user IDs.

        10/23/2020 09:11:30.625 Error TeslaData..ctor - Failed to parse vehicle data - please contact plugin developer with TRACE log file.
        Newtonsoft.Json.JsonReaderException: JSON integer XXXXXXXXXXXX is too large or small for an Int32. Path 'response.user_id', line 1, position 53.

        Same fix?

        Comment


          #5
          Yep, and I don't even use or care about that field... My user Id is only 6 digits, so I'm really surprised about this. Give me a couple hours!

          Comment


            #6
            Ok, that was way an easy one. Uploaded the new version - keep an eye out for it in the updater once HST processes it.

            Comment


              #7
              It's fixed - thanks for your quick response.

              Comment


                #8
                Glad to hear it!

                Comment

                Working...
                X