Skip to content

Commit

Permalink
Cleaning this up to no longer use request.... operation broken :(
Browse files Browse the repository at this point in the history
  • Loading branch information
terafin committed Feb 26, 2021
1 parent 6b2bd05 commit a655c9f
Show file tree
Hide file tree
Showing 4 changed files with 363 additions and 449 deletions.
12 changes: 6 additions & 6 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,9 @@ tesla.on('load-updated', (result) => {

tesla.startPolling()

// setTimeout(function(){
// // tesla.setReservePercent(50)
// tesla.setMode('self_consumption')
// // tesla.setMode('backup')
// // tesla.setMode('reserve')
// }, 14000)
// setTimeout(function() {
// tesla.setReservePercent(50)
// // tesla.setMode('self_consumption')
// // // tesla.setMode('backup')
// // // tesla.setMode('reserve')
// }, 10 * 1000)
Loading

0 comments on commit a655c9f

Please sign in to comment.