Tesla hardware module
Moderator: leecollings
-
- Posts: 10
- Joined: Sunday 22 February 2015 19:09
- Target OS: OS X
- Domoticz version:
- Contact:
Re: New: Tesla hardware module
okay so, eh maybe stupid question, I should see devices right? When I add them, no devices show up...
Domoticz 2020.1 (build 11835) on ubuntu 18.04
Domoticz 2020.1 (build 11835) on ubuntu 18.04
-
- Posts: 115
- Joined: Sunday 19 January 2020 22:29
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest B
- Location: Netherlands
- Contact:
Re: New: Tesla hardware module
I assume you filled in your email and password in the configuration? And VIN number? Check the log to see if you get Tesla errors
Last edited by MrHobbes74 on Monday 23 March 2020 13:47, edited 1 time in total.
-
- Posts: 10
- Joined: Sunday 22 February 2015 19:09
- Target OS: OS X
- Domoticz version:
- Contact:
Re: New: Tesla hardware module
yes I did, and the VIN number, no errors, all seems to work, but I do not see devices show up...
-
- Posts: 115
- Joined: Sunday 19 January 2020 22:29
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest B
- Location: Netherlands
- Contact:
Re: New: Tesla hardware module
Can you show me the logging filtered for Tesla (and remove private info)?
-
- Posts: 115
- Joined: Sunday 19 January 2020 22:29
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest B
- Location: Netherlands
- Contact:
Re: New: Tesla hardware module
Devices will show up in your device list. You have to enable them yourself.
-
- Posts: 115
- Joined: Sunday 19 January 2020 22:29
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest B
- Location: Netherlands
- Contact:
Re: New: Tesla hardware module
I just removed and re-added my tesla. Devices show up normally in the device list. But to add them to domoticz switches/temperature and utilities tab, you need add them first, because by default they are set to unused in the device list.
-
- Posts: 10
- Joined: Sunday 22 February 2015 19:09
- Target OS: OS X
- Domoticz version:
- Contact:
Re: New: Tesla hardware module
2020-03-23 14:34:26.740 Status: Tesla: Worker started...
2020-03-23 14:34:26.739 Error: : Warning: default interval of 10 minutes will prevent the car to sleep.
2020-03-23 14:34:27.740 TeslaApi: Attempting login.
2020-03-23 14:34:29.810 TeslaApi: Car found in account: VIN NUMBER NAME XYZ
2020-03-23 14:34:29.810 TeslaApi: Login successful.
2020-03-23 14:34:30.811 Status: Tesla: Executing command: Get Awake state
2020-03-23 14:34:31.664 Tesla: Car is awake
2020-03-23 14:34:32.665 Status: Tesla: Executing command: Get Awake state
2020-03-23 14:34:33.482 Tesla: Car is awake
2020-03-23 14:34:33.482 Status: Tesla: Executing command: Get All states
2020-03-23 14:34:34.591 Tesla: Location: XY Speed: 0 Home: false
No devices show up...
2020-03-23 14:34:26.739 Error: : Warning: default interval of 10 minutes will prevent the car to sleep.
2020-03-23 14:34:27.740 TeslaApi: Attempting login.
2020-03-23 14:34:29.810 TeslaApi: Car found in account: VIN NUMBER NAME XYZ
2020-03-23 14:34:29.810 TeslaApi: Login successful.
2020-03-23 14:34:30.811 Status: Tesla: Executing command: Get Awake state
2020-03-23 14:34:31.664 Tesla: Car is awake
2020-03-23 14:34:32.665 Status: Tesla: Executing command: Get Awake state
2020-03-23 14:34:33.482 Tesla: Car is awake
2020-03-23 14:34:33.482 Status: Tesla: Executing command: Get All states
2020-03-23 14:34:34.591 Tesla: Location: XY Speed: 0 Home: false
No devices show up...
-
- Posts: 10
- Joined: Sunday 22 February 2015 19:09
- Target OS: OS X
- Domoticz version:
- Contact:
Re: New: Tesla hardware module
works! allow new sensors did the trick...
-
- Posts: 115
- Joined: Sunday 19 January 2020 22:29
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest B
- Location: Netherlands
- Contact:
Re: New: Tesla hardware module
ah Great to hear!
-
- Posts: 115
- Joined: Sunday 19 January 2020 22:29
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest B
- Location: Netherlands
- Contact:
Re: New: Tesla hardware module
By the way i suggest to change the interval from 10 to 20 minutes
-
- Posts: 10
- Joined: Sunday 22 February 2015 19:09
- Target OS: OS X
- Domoticz version:
- Contact:
Re: New: Tesla hardware module
yes will do, 30mins is enough, thanks
-
- Posts: 347
- Joined: Friday 03 April 2015 17:09
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: New: Tesla hardware module
I just successfully added the "Tesla Model S/3/X" device in my Domoticz, vin/loginname/password entered into the configuration and everything seems to work.
How can I use this new module in Domoticz? What can I do with this feature? How can I control my Tesla? Where can I find more info?2020-03-23 22:09:49.140 Status: Tesla: Worker started...
2020-03-23 22:09:49.140 Error: : Warning: default interval of 10 minutes will prevent the car to sleep.
2020-03-23 22:09:53.810 Status: Tesla: Executing command: Get Awake state
2020-03-23 22:10:52.902 Status: Tesla: Executing command: Get Awake state
2020-03-23 22:11:54.027 Status: Tesla: Executing command: Get Awake state
2020-03-23 22:12:55.096 Status: Tesla: Executing command: Get Awake state
2020-03-23 22:13:56.138 Status: Tesla: Executing command: Get Awake state
2020-03-23 22:14:57.232 Status: Tesla: Executing command: Get Awake state
2020-03-23 22:15:58.499 Status: Tesla: Executing command: Get Awake state
2020-03-23 22:16:59.577 Status: Tesla: Executing command: Get Awake state
-
- Posts: 115
- Joined: Sunday 19 January 2020 22:29
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest B
- Location: Netherlands
- Contact:
Re: New: Tesla hardware module
You can program domoticz to start charging after 9 (cheaper electricity) or to warm up the car in the morning before you leave for work. Or you can charge the car when it’s sunny and you have solar panels. There are many ways. You can keep graphs of the battery usage during the days weeks years. Track its sleeping behavior. Send you a warning if the battery is at certain level. Be creative! The module creates 7 devices, 4 for monitoring, 3 for controlling.
Last edited by MrHobbes74 on Monday 23 March 2020 23:13, edited 1 time in total.
-
- Posts: 347
- Joined: Friday 03 April 2015 17:09
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: New: Tesla hardware module
Thanks for the quick response. When I checked the Device page again I indeed now see the extra devices you are referring to. It makes more sense now. Thanks.MrHobbes74 wrote: ↑Monday 23 March 2020 23:06 You can program domoticz to start charging after 9 (cheaper electricity) or to warm up the car in the morning before you leave for work. Or you can charge the car when it’s sunny and you have solar panels. There are many ways. You can keep graphs of the battery usage during the days weeks years. The module creates 7 devices, 4 for monitoring, 3 for controlling.
Do you have example scripts available on how to program (in Lua I assume) the Tesla? For example to enable charging after 21.00 or when at 7.00 AM the temperature is below a certain level the heating is automatically enabled?
-
- Posts: 347
- Joined: Friday 03 April 2015 17:09
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: New: Tesla hardware module
Another question, based on what is determined when the car is "At home"?
Now I get the error message that the Car is not at home, fur sure the car is parked in front of my house. Is this a config setting somewhere?2020-03-23 23:14:38.631 Error: Tesla: Car not home. No commands allowed.
-
- Posts: 115
- Joined: Sunday 19 January 2020 22:29
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest B
- Location: Netherlands
- Contact:
Re: New: Tesla hardware module
No, I don’t have those yet. I’ve been working on the module, and now it’s rolled out, so I can start thinking of scripts. I’m planning to write a wiki with examples, but didn’t get the time yet to do it. I’m actually using dzVents for my scripting. If I may give one advise: put the default timeout to 20 minutes. That will enable the car to fall asleep. And to be able to control the charging, the car must be home, so you need to set it’s parked location (found in the logging) in the domoticz location.
-
- Posts: 115
- Joined: Sunday 19 January 2020 22:29
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest B
- Location: Netherlands
- Contact:
Re: New: Tesla hardware module
Location can be set in domoticz: setup - settings - system
-
- Posts: 347
- Joined: Friday 03 April 2015 17:09
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: New: Tesla hardware module
Excellent, thanks for your feedback. Your tips are working perfectly. The home issue has been resolved, indeed the location in the Domotics settings was not aligned with the Tesla home (in the car) configuration).
-
- Posts: 115
- Joined: Sunday 19 January 2020 22:29
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest B
- Location: Netherlands
- Contact:
Re: Tesla hardware module
I have created a WIKI for the standard questions:
https://www.domoticz.com/wiki/EVehicles
https://www.domoticz.com/wiki/EVehicles
-
- Posts: 73
- Joined: Wednesday 16 September 2015 22:10
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Stable
- Location: Paris area, France
- Contact:
Re: Tesla hardware module
Wonderful !
Thanks to all those who worked on this !
Just two suggestions for future enhancements:
- Allow to set the desired charge limit
- Allow to set the desired internal temperature
Thanks to all those who worked on this !
Just two suggestions for future enhancements:
- Allow to set the desired charge limit
- Allow to set the desired internal temperature
Paris area
Raspberry Pi 4 - RFXComm 433 - IrTrans - Zwave
Raspberry Pi 4 - RFXComm 433 - IrTrans - Zwave
Who is online
Users browsing this forum: No registered users and 0 guests