# Using node-red-contrib-toyota-myt

**URL:** <https://discourse.nodered.org/t/using-node-red-contrib-toyota-myt/96110>\
**Category:** General\
**Created:** [19 March 2025 16:21 UTC](https://discourse.nodered.org/t/using-node-red-contrib-toyota-myt/96110 "2025-03-19T16:21:12Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![manjha](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/manjha/32/29301_2.png) [@manjha](https://discourse.nodered.org/u/manjha)\
**Post date:** [19 March 2025 16:21 UTC](https://discourse.nodered.org/t/using-node-red-contrib-toyota-myt/96110/1 "2025-03-19T16:21:12Z")

</div>

I am trying to access my new Toyota via Connected Services, using Node-Red. Found a node that looks promising.  
Downloaded it, imported into a flow, filled all required fields and attached debug nodes to the four outputs.  
But it is unclear how this node gets triggered: there is an input connector, but what should it connect to?

I tried to contact the author, but no response yet. Node was last updated 3 yrs, 2 mnths ago, so perhaps the author has lost interest and is no longer active.

Does anyone have experience using this node?  
Alternatively, is there another way to pull information from the car?

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [19 March 2025 16:38 UTC](https://discourse.nodered.org/t/using-node-red-contrib-toyota-myt/96110/2 "2025-03-19T16:38:10Z")

</div>

> [@manjha](#):
>
> But it is unclear how this node gets triggered: there is an input connector, but what should it connect to?

Looking at the nodes [source](https://github.com/zoernert/node-red-contrib-toyota-myt/blob/f171e7e5ce2ab93fa0573d3700ff2eba0747f236/MyT.js#L14), it does not expect anything - but since the author put the active code in the `oninput` handler, it means you do need to fire _something_ into it for it to "do its thing". So just wire an inject node into it. It doesnt really matter what is inside the injected msg (since the node doesnt consume the msg in any way!)

TBF, all that node does is 4 HTTP requests - all easily replicated using the built in `http-request` node (i.e. you dont _really_ need this contrib node)

---

<div class="post-metadata">

**Author:** ![manjha](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/manjha/32/29301_2.png) [@manjha](https://discourse.nodered.org/u/manjha)\
**Post date:** [19 March 2025 19:25 UTC](https://discourse.nodered.org/t/using-node-red-contrib-toyota-myt/96110/3 "2025-03-19T19:25:15Z")

</div>

Thanks for looking into this, Steve.

I have already tried to inject a timestamp, nothing happens. Also tried to find the source, but cannot find it....

Hans

Stephen McLaughlin via Node-RED Forum schreef op 19-03-2025 17:48:

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [19 March 2025 19:31 UTC](https://discourse.nodered.org/t/using-node-red-contrib-toyota-myt/96110/4 "2025-03-19T19:31:45Z")

</div>

> [@manjha](#):
>
> Also tried to find the source, but cannot find it

I linked the source ↓

> [@Steve-Mcl](#):
>
> [source](https://github.com/zoernert/node-red-contrib-toyota-myt/blob/f171e7e5ce2ab93fa0573d3700ff2eba0747f236/MyT.js#L14),

If you mean on your installation, it will be under `node_modules` in your `.node-red` directory

> [@manjha](#):
>
> I have already tried to inject a timestamp, nothing happens

Did you connect a wire from the inject to the input of the `node-red-contrib-toyota-myt` node??  
Did you wire a debug to the output(s) of the `node-red-contrib-toyota-myt` node?

Did you see any errors in the node-red console? (the source shows a `catch` that feeds any error to `console.log` (link to source: [node-red-contrib-toyota-myt/MyT.js at f171e7e5ce2ab93fa0573d3700ff2eba0747f236 · zoernert/node-red-contrib-toyota-myt · GitHub](https://github.com/zoernert/node-red-contrib-toyota-myt/blob/f171e7e5ce2ab93fa0573d3700ff2eba0747f236/MyT.js#L69))

---

<div class="post-metadata">

**Author:** ![manjha](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/manjha/32/29301_2.png) [@manjha](https://discourse.nodered.org/u/manjha)\
**Post date:** [19 March 2025 20:28 UTC](https://discourse.nodered.org/t/using-node-red-contrib-toyota-myt/96110/5 "2025-03-19T20:28:40Z")

</div>

Steve,

I connected the inject node to the input, and four debug nodes to the output connectors, and deployed.  
When I click the inject node, nothing happens.  
No debug messages, nor any errors in the debug window at the right.  
I assume that is what you mean by "node-red console"?

thanks for your patience, I am struggling....

Hans

Stephen McLaughlin via Node-RED Forum schreef op 19-03-2025 20:41:

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [19 March 2025 21:02 UTC](https://discourse.nodered.org/t/using-node-red-contrib-toyota-myt/96110/6 "2025-03-19T21:02:29Z")

</div>

> [@manjha](#):
>
> I assume that is what you mean by "node-red console

No. Node-red outputs to std out. How do you launch node-red?

If you are running it on a pi/Debian based system and installed using the official script, you can run `node-red-log` in a terminal and watch the std out output.

---

<div class="post-metadata">

**Author:** ![manjha](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/manjha/32/29301_2.png) [@manjha](https://discourse.nodered.org/u/manjha)\
**Post date:** [19 March 2025 21:10 UTC](https://discourse.nodered.org/t/using-node-red-contrib-toyota-myt/96110/7 "2025-03-19T21:10:37Z")

</div>

OK, now I see some info.

```auto
node-red-log

      host: 'myt-agg.toyota-europe.com',
      protocol: 'https:',
      _redirectable: [Writable],
      [Symbol(shapeMode)]: false,
      [Symbol(kCapture)]: false,
      [Symbol(kBytesWritten)]: 0,
      [Symbol(kNeedDrain)]: false,
      [Symbol(corked)]: 0,
      [Symbol(kOutHeaders)]: [Object: null prototype],
      [Symbol(errored)]: null,
      [Symbol(kHighWaterMark)]: 16384,
      [Symbol(kRejectNonStandardBodyWrites)]: false,
      [Symbol(kUniqueHeaders)]: null
    },
    data: {
      timestamp: 1742418180160,
      status: 403,
      error: 'Forbidden',
      message: 'Verification is missing.',
      errorCode: 'CMA403'
    }
  },
  isAxiosError: true,
  toJSON: [Function: toJSON]
}

```

I assume 403 means "not authorized". But I am 100% sure that I use the same mail address and password that I use to log into the Android app!

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [19 March 2025 21:15 UTC](https://discourse.nodered.org/t/using-node-red-contrib-toyota-myt/96110/8 "2025-03-19T21:15:12Z")

</div>

> [@manjha](#):
>
> I assume 403 means "not authorized"

403 means forbidden

> **[403 Forbidden - HTTP | MDN](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/403)**
>
> The HTTP 403 Forbidden client error response status code indicates that the server understood the request but refused to process it.
> This status is similar to 401, except that for 403 Forbidden responses, authenticating or re-authenticating makes no...

The source code seems to expect a `username` (though email and username is often interchangeable). Perhaps it is a clue?

---

<div class="post-metadata">

**Author:** ![manjha](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/manjha/32/29301_2.png) [@manjha](https://discourse.nodered.org/u/manjha)\
**Post date:** [19 March 2025 21:22 UTC](https://discourse.nodered.org/t/using-node-red-contrib-toyota-myt/96110/9 "2025-03-19T21:22:16Z")

</div>

Not really, I think it should be the same info as what I use for the app, which is my mail address and a password. I don't have a username.  
Also, when I look at the fields when editing the node, it says "Email"...

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [18 May 2025 21:22 UTC](https://discourse.nodered.org/t/using-node-red-contrib-toyota-myt/96110/10 "2025-05-18T21:22:18Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
