![Namecheap Takes Down Polyfill.io Service Following Supply Chain Attack](https://cdn.sanity.io/images/cgdhsj6q/production/6af25114feaaac7179b18127c83327568ff592d1-1024x1024.webp?w=800&fit=max&auto=format)
Security News
Namecheap Takes Down Polyfill.io Service Following Supply Chain Attack
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
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 install 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.
This library only partially supports the new (v3) Tesla authentication flow. It works if you don't use MFA, but otherwise you are out of luck for now. I am planning to add support for MFA tokens soon.
FAQs
Node red module to control Tesla vehicles and devices
The npm package node-red-contrib-tesla receives a total of 13 weekly downloads. As such, node-red-contrib-tesla popularity was classified as not popular.
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
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.
Security News
A JavaScript library maintainer is under fire after merging a controversial PR to support legacy versions of Node.js.