TMC is an independent, primarily volunteer organization that relies on ad revenue to cover its operating costs. Please consider whitelisting TMC on your ad blocker and becoming a Supporting Member. For more info: Support TMC

Firmware 1.21.0

Discussion in 'Tesla Energy' started by Icepicknz, Jul 26, 2018.

  1. Icepicknz

    Icepicknz Member

    Joined:
    May 19, 2018
    Messages:
    29
    Location:
    Auckland new zealand
    Seems i was updated yesterday and all my scripts have stopped working to charge / consume...

    {"code":500,"error":"RealMode must be either self_consumption or backup","message":"Unable to set operational mode"}Barrys-MacBook-Pro:~ barrymurphy$ curl -sk --header "Authorization: Bearer TjrnGcgW9qE4NUE69l6ed6GOz01N7nbAoB_CEZbLbyglSpqUr2VxcTd-iqlaby2YzwJw7TZ4EDkCTRZpzfh9zA==" -X POST -d '{"mode":"self_consumption","backup_reserve_percent":15}' http://192.168.33.9:81/api/operation

    {"code":500,"error":"RealMode must be either self_consumption or backup","message":"Unable to set operational mode"}Barrys-MacBook-Pro:~ barrymurphy$
     
  2. Endoplasmic

    Endoplasmic Member

    Joined:
    Feb 19, 2016
    Messages:
    23
    Location:
    SJ, CA
    You may want to edit your post to remove your oauth key :D
     
    • Funny x 1
  3. Icepicknz

    Icepicknz Member

    Joined:
    May 19, 2018
    Messages:
    29
    Location:
    Auckland new zealand
    nah its ok, changes each time i re-auth plus have to be local to my lan to use it
     
  4. Sylvia Else

    Sylvia Else Member

    Joined:
    May 28, 2018
    Messages:
    85
    Location:
    Sydney
    At a guess, they've introduced a new field, which is probably called "real_mode". You could try including that and setting it to "self_consumption".
     
    • Helpful x 1
  5. Sylvia Else

    Sylvia Else Member

    Joined:
    May 28, 2018
    Messages:
    85
    Location:
    Sydney
    Rather than add a field, the've changed the existing field name from "mode" to "real_mode",
     
    • Like x 1

Share This Page

  • About Us

    Formed in 2006, Tesla Motors Club (TMC) was the first independent online Tesla community. Today it remains the largest and most dynamic community of Tesla enthusiasts. Learn more.
  • Do you value your experience at TMC? Consider becoming a Supporting Member of Tesla Motors Club. As a thank you for your contribution, you'll get nearly no ads in the Community and Groups sections. Additional perks are available depending on the level of contribution. Please visit the Account Upgrades page for more details.


    SUPPORT TMC