Page 1 of 5
MyToyota Dashboard
Posted: Sunday 03 August 2025 14:04
by mxpwr
I tried to use the pytoyoda package to feed data to domoticz which sort of works, but it's not pretty, so I wrote an independent frontend for it
https://github.com/stone17/mytoyota-dashboard
I plan on adding domoticz integration next using mqtt, but maybe someone wants to try this one and give input
Edit Waltervl: split off the Toyota python plugin topic
Re: Python Plugin: Toyota
Posted: Monday 04 August 2025 9:14
by manjh
mxpwr wrote: ↑Sunday 03 August 2025 14:04
I tried to use the pytoyoda package to feed data to domoticz which sort of works, but it's not pretty, so I wrote an independent frontend for it
https://github.com/stone17/mytoyota-dashboard
I plan on adding domoticz integration next using mqtt, but maybe someone wants to try this one and give input
Installation instruction contains an error:
Re: Python Plugin: Toyota
Posted: Monday 04 August 2025 18:09
by mxpwr
Thanks, I can fix that. Do you get any other error?
Re: Python Plugin: Toyota
Posted: Tuesday 05 August 2025 13:25
by manjh
mxpwr wrote: ↑Monday 04 August 2025 18:09
Thanks, I can fix that. Do you get any other error?
Yes.
should be
Re: Python Plugin: Toyota
Posted: Tuesday 05 August 2025 13:33
by manjh
No other errors found! Aside from these two typo's in the installation instruction, the setup went very smoothly.
I am impressed with this plugin!
Will be playing with it some more.
Already see one change request: in "historical data" the options are 7, 30 or 90 days. Could you add "all"?
Re: Python Plugin: Toyota
Posted: Tuesday 05 August 2025 14:07
by mxpwr
manjh wrote: ↑Tuesday 05 August 2025 13:33
No other errors found! Aside from these two typo's in the installation instruction, the setup went very smoothly.
I am impressed with this plugin!
Will be playing with it some more.
Already see one change request: in "historical data" the options are 7, 30 or 90 days. Could you add "all"?
Thanks for trying. I vibe coded this in less than 10h with Gemini 2.5pro. I'll add the "view all" this weekend.
Re: Python Plugin: Toyota
Posted: Tuesday 05 August 2025 14:09
by manjh
Great work!
Re: Python Plugin: Toyota
Posted: Thursday 07 August 2025 18:34
by manjh
Missing on the dashboard panel: battery level (%), and EV consumption (kWh/100).
Perhaps because the author has a hybrid, not a PHEV?
If you want, I can do the testing!
Re: Python Plugin: Toyota
Posted: Thursday 07 August 2025 18:56
by mxpwr
manjh wrote: ↑Thursday 07 August 2025 18:34
Missing on the dashboard panel: battery level (%), and EV consumption (kWh/100).
Perhaps because the author has a hybrid, not a PHEV?
If you want, I can do the testing!
Yes, I have a hybrid. I was wondering if this will work with other types of cars. If you get me your logs, I can probably fix this.
Re: Python Plugin: Toyota
Posted: Friday 08 August 2025 21:33
by mxpwr
manjh wrote: ↑Tuesday 05 August 2025 13:33
No other errors found! Aside from these two typo's in the installation instruction, the setup went very smoothly.
I am impressed with this plugin!
Will be playing with it some more.
Already see one change request: in "historical data" the options are 7, 30 or 90 days. Could you add "all"?
i added "all" option and some other things (heatmap and histogram plot).
Re: Python Plugin: Toyota
Posted: Saturday 09 August 2025 0:22
by mxpwr
MQTT for domoticz is integrated. current sensors are:
Odomoter
Fuel Consumption
Fuel Level
Lock Status
Re: Python Plugin: Toyota
Posted: Saturday 09 August 2025 9:28
by manjh
mxpwr wrote: ↑Friday 08 August 2025 21:33
manjh wrote: ↑Tuesday 05 August 2025 13:33
No other errors found! Aside from these two typo's in the installation instruction, the setup went very smoothly.
I am impressed with this plugin!
Will be playing with it some more.
Already see one change request: in "historical data" the options are 7, 30 or 90 days. Could you add "all"?
i added "all" option and some other things (heatmap and histogram plot).
I did the docker compose update. But don't see the difference on the screens. Do I need to manually restart something?
Re: Python Plugin: Toyota
Posted: Saturday 09 August 2025 9:31
by manjh
Mentioned this before: "docker-compose" does not work, "docker compose" does. Same thing for the update instructions.
Re: Python Plugin: Toyota
Posted: Saturday 09 August 2025 9:33
by manjh
mxpwr wrote: ↑Thursday 07 August 2025 18:56
manjh wrote: ↑Thursday 07 August 2025 18:34
Missing on the dashboard panel: battery level (%), and EV consumption (kWh/100).
Perhaps because the author has a hybrid, not a PHEV?
If you want, I can do the testing!
Yes, I have a hybrid. I was wondering if this will work with other types of cars. If you get me your logs, I can probably fix this.
Can you describe location and name of the log you need?
Re: Python Plugin: Toyota
Posted: Saturday 09 August 2025 9:39
by mxpwr
I sent you a pm with the instructions.
After the update, you should have mqtt settings on the settings page.

- Screenshot_20250809-095840.png (184.17 KiB) Viewed 973 times
Re: Python Plugin: Toyota
Posted: Saturday 09 August 2025 10:58
by manjh
Got it, update done.
Now going into MQTT work.
I did the settings as described, added a source node to Node-Red. Nothing comes in.
Re: Python Plugin: Toyota
Posted: Saturday 09 August 2025 12:22
by manjh
Checked the log:
Code: Select all
2025-08-09 10:19:01,331 - app.mqtt - INFO - Preparing to publish MQTT data for VIN: (removed VIN)
2025-08-09 10:19:01,331 - app.mqtt - DEBUG - Using MQTT base topic: mytoyota
2025-08-09 10:19:01,332 - app.mqtt - INFO - Finished publishing data for (removed VIN)
So it looks like it is sending data, but my MQTT does not receive. Tried this with both my test and prod MQTT/NodeRed setup.
It seems the app skips sending info to the broker when nothing has changed. This makes it a bit difficult to test...
I tried to unlock the car and then refresh the data, it show the status OK on the dashboard. But no change to MQTT.
I remember you mentioned there are only a few items at this point sent to MQ, perhaps I shoould wait for that?
Re: Python Plugin: Toyota
Posted: Saturday 09 August 2025 12:26
by manjh
Just to make sure the settings are OK, I changed the IP address of the MQTT server to a non-existing server.
This throws some error messages. Basically it is OK, since there is no server. But perhaps it is more user friendly to catch this error and display a simple error message, including the IP address that was used.
For instance: "Non existing path to MQTT server, using IP 10.0.0.123"
These are the errors I see now:
Code: Select all
[/code2025-08-09 10:22:54,996 - app.mqtt - ERROR - Failed to connect to MQTT broker: [Errno 113] No route to host
Traceback (most recent call last):
File "/app/app/mqtt.py", line 29, in get_client
client.connect(host, port)
File "/usr/local/lib/python3.11/site-packages/paho/mqtt/client.py", line 1435, in connect
return self.reconnect()
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/paho/mqtt/client.py", line 1598, in reconnect
self._sock = self._create_socket()
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/paho/mqtt/client.py", line 4609, in _create_socket
sock = self._create_socket_connection()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/paho/mqtt/client.py", line 4640, in _create_socket_connection
return socket.create_connection(addr, timeout=self._connect_timeout, source_address=source)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/socket.py", line 863, in create_connection
raise exceptions[0]
File "/usr/local/lib/python3.11/socket.py", line 848, in create_connection
sock.connect(sa)
OSError: [Errno 113] No route to host]
Re: Python Plugin: Toyota
Posted: Saturday 09 August 2025 12:30
by mxpwr
You need to have the mqtt server set up. See instructions here.
https://wiki.domoticz.com/MQTT
I updated the readme with mqtt instructions, but this part is still missing.
Re: Python Plugin: Toyota
Posted: Saturday 09 August 2025 12:54
by manjh
mxpwr wrote: ↑Saturday 09 August 2025 12:30
You need to have the mqtt server set up. See instructions here.
https://wiki.domoticz.com/MQTT
I updated the readme with mqtt instructions, but this part is still missing.
I have a working MQ setup, it interfaces to Domoticz...
I use the Aedes broker in Node-Red. When I attach a debug node to the output, I can see the connection with the Toyota app.
Code: Select all
9-8-2025, 12:50:51node: debug 31
client : msg : Object
{ topic: "client", payload: object, _msgid: "44843fdb118ce35a" }
9-8-2025, 12:50:51node: debug 31
clientReady : msg : Object
{ topic: "clientReady", payload: object, _msgid: "a08a65a7ec844676" }
9-8-2025, 12:50:54node: debug 31
clientDisconnect : msg : Object
{ topic: "clientDisconnect", payload: object, _msgid: "b21b327f330f
But no actual data messages, probably because they are skipped.
Would it be possible to (temporarily) remove that check on changed data, so it will always send data to MQTT after a refresh?