Announcement

Collapse

Contacting HomeSeer This Week

HomeSeer is open and operational this week. All orders are being processed and shipped as usual. However, some staff are working from home. If you need to contact HomeSeer for support or customer service, please use our Email or Chat options. https://homeseer.com/contact-us/
See more
See less

Exception linking Tesla account

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

  • shill
    replied
    Originally posted by integlikewhoa View Post
    Bsobel, thanks for the troubleshooting, testing and great ideas/input to the community.

    Shill nice work on the update the plugin is coming along nicely, looks very professional and documentation is great. You can add me to the purchase group for this plugin.
    Thanks, glad you're enjoying it!

    Leave a comment:


  • integlikewhoa
    replied
    Bsobel, thanks for the troubleshooting, testing and great ideas/input to the community.

    Shill nice work on the update the plugin is coming along nicely, looks very professional and documentation is great. You can add me to the purchase group for this plugin.

    Leave a comment:


  • shill
    replied
    Ok, both the improved startup time (after the first run of the new version) and the ability to define a location are included in 1.0.2, which has been submitted for publishing. No Google Maps API key required, as I'm expecting the total usage of API calls to define locations to be manageable. If I start to provide more descriptive locations for times when you're not within a defined geofence, I'll revisit that.

    Leave a comment:


  • shill
    replied
    Good advice - I think I did something similar with one of my others, and in this case, the likely number of "devices" is pretty small since - if you've got more than 2 Teslas, you're doing pretty well

    Leave a comment:


  • bsobel
    replied
    On the device enumeration. Yes I have a few thousand devices so enumeration isn’t quick. Typically I store the root in an ini file and only search if it doesn’t match (eg I store the device ref then verify it’s still correct, search if not).

    On the maps, make users provide their own google maps key. That’s what many other apps do. On the user to pay if their usage passes the free range.

    Thabks!

    Leave a comment:


  • shill
    replied
    Originally posted by bsobel View Post
    What I meant is, at least here, when the plugin is first ran you get the plugin in the list, but its not configurable. It appears you need to add an instance to configure it, but looks like you do have a default instance but its not configurable for awhile after the plugin starts. Once the config link registered, everything else has worked great. Blue Harvest (my X) is happy and I love I can set the charge capacity.
    Very strange. I wonder if that had anything to do with your partial configuration from the first time? I will keep an eye out for similar reports, but the command to register the config link is part of the InitIO process at startup so it's not really waiting on anything else. The one potential issue is that the step immediately before that is to iterate through all your devices looking for a vehicle root type. Do you have a huge number by any chance?

    Originally posted by bsobel View Post
    Does the Tesla API expose the charge rate? E.g. amperage control, I would love to charge at lower amperage during the day then higher at night.
    Unfortunately not. I did find a very interesting discussion on this over on TMC from folks with solar who want to make sure they aren't buying electricity to power the car because it's sucking it down faster than their array can produce it (i.e. when it's early morning and not as bright yet).

    Originally posted by bsobel View Post
    Also, any chance you could support a virtual location devices? E.g. define a radius around the lat/lon and have a device be 'on' if the car is in the circle? My goal is to be able to say :

    If Car is parked
    and AtHome (based on lat/long)
    and Not Charging
    and parked for longer than 20
    Pushover (you forgot to charge dummy!)
    Yes, this is on my to-do list. The logic is easy, the UI to build it out is the tough part. I looked into using Google's Maps API to provide an address (like Life 360 does), but that's just too expensive without a subscription model where I could pass those costs along.

    Leave a comment:


  • bsobel
    replied
    Originally posted by shill View Post

    I couldn't agree with you more... unfortunately that is part of the framework HS provides, not something I can control.
    What I meant is, at least here, when the plugin is first ran you get the plugin in the list, but its not configurable. It appears you need to add an instance to configure it, but looks like you do have a default instance but its not configurable for awhile after the plugin starts. Once the config link registered, everything else has worked great. Blue Harvest (my X) is happy and I love I can set the charge capacity.

    Does the Tesla API expose the charge rate? E.g. amperage control, I would love to charge at lower amperage during the day then higher at night.

    Also, any chance you could support a virtual location devices? E.g. define a radius around the lat/lon and have a device be 'on' if the car is in the circle? My goal is to be able to say :

    If Car is parked
    and AtHome (based on lat/long)
    and Not Charging
    and parked for longer than 20
    Pushover (you forgot to charge dummy!)

    Leave a comment:


  • shill
    replied
    Originally posted by bsobel View Post
    The multi-instance support seems to be a bit of a mess
    I couldn't agree with you more... unfortunately that is part of the framework HS provides, not something I can control.

    Leave a comment:


  • bsobel
    replied
    Ok, weird. After posting and going back, config link is there. Maybe there is some delay for some reason before it gets registered. Took about 7-8 minutes after install for it to be available... Configuring now...

    Leave a comment:


  • bsobel
    replied
    Originally posted by shill View Post

    What do you mean by "is not available"? I only have one instance on both my production HS instance and in the VM I use for testing with no issues.
    The config link is not enabled, can not get to the options page to configure the plugin.

    Leave a comment:


  • bsobel
    replied
    Ok I was wrong, the plugin is not working. The multi-instance support seems to be a bit of a mess (sorry). When installed there is no config link, no way to access the default instance you create. So I added an instance but then ran with two instances running. Some logic seems to prevent you from enabling the config link on the account until at least 2 instances exist, is that intentional? Ive uninstalled and reinstalled but the instances were remembered. Deleted the second, but cant configure the primary one at all.

    Leave a comment:


  • shill
    replied
    Originally posted by bsobel View Post
    Second issue, when installed the default instance is not available, I am forced to create a new instance to then add an account. No issues, but doesn't seem to match the docs so thought I would mention it.
    What do you mean by "is not available"? I only have one instance on both my production HS instance and in the VM I use for testing with no issues.

    Leave a comment:


  • bsobel
    replied
    Second issue, when installed the default instance is not available, I am forced to create a new instance to then add an account. No issues, but doesn't seem to match the docs so thought I would mention it.

    Leave a comment:


  • bsobel
    replied
    Thanks, in transit but will be back at the house tonight and will install. Much appreciated

    Leave a comment:


  • shill
    replied
    Found the problem - was an easy fix! It might take a few days to get promoted in the updater due to the holidays, so here's the updated files you'll need to replace in your HS3 directory to get to 1.0.1.1 early. (Note: this also fixes the issue some had with Newtonsoft DLLs if they didn't also have my Lyric plugin.)
    Attached Files

    Leave a comment:

Working...
X