Security News
The Push to Ban Ransom Payments Is Gaining Momentum
Ransomware costs victims an estimated $30 billion per year and has gotten so out of control that global support for banning payments is gaining momentum.
node-red-contrib-tesla
Advanced tools
Readme
Node red nodes for controlling and communicating with Tesla devices, like the Model 3 and Model S electric cars. Based on the TeslaJS library.
Run npm add node-red-contrib-tesla --save
or just install it from the Node-red dashboard (manage palette).
This package only has one node (and one configuration node). You don't have to worry about auth tokens, it will be handled automatically.
When you add the tesla api node to your flow, you must create a new configuration with your tesla account email and password.
The vehicle ID is optional, but you can only use the list vehicles command if you leave it blank. Use that command to determine your vehicle id.
It is the id_s
property on the vehicle info response. Enter it in the configuration. Now you can execute all commands.
This is the node that allows you to send commands to the Tesla api. You can select a command from the list, or set the msg.command
property to override it.
Some commands require extra arguments. Set the msg.commandArgs
property with an object of the required arguments.
For example, when you use the navigationRequest
command, you need 3 arguments: subject
, text
, and locale
.
msg.commandArgs = {subject: "my subject value", text: "My text value", locale: "en"}
Any output returned by the command will be set on the msg.payload
property.
See example flow in ./src/examples for more details.
This node should be fairly stable, but i haven't tested any devices other than the Model 3. In the future, i hope to be able to support all Tesla devices, including the Powerwall and solar installations.
You have probably used the wrong vehicle Id. Use the vehicles command and use the id_s
property from the response.
This means that your vehicle didn't respond quickly enough. It happens when your vehicle was just woken up. Just wait 3 seconds and try it again.
FAQs
Node red module to control Tesla vehicles and devices
We found that node-red-contrib-tesla demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Ransomware costs victims an estimated $30 billion per year and has gotten so out of control that global support for banning payments is gaining momentum.
Application Security
New SEC disclosure rules aim to enforce timely cyber incident reporting, but fear of job loss and inadequate resources lead to significant underreporting.
Security News
The Python Software Foundation has secured a 5-year sponsorship from Fastly that supports PSF's activities and events, most notably the security and reliability of the Python Package Index (PyPI).