Describe the problem you have/What new integration you would like
With the canbus component can messages can be read. In the doc there is no information, how to handles several signals within a message.
Usually the messages and signals (incl types and scaling) are defined in a dbc file
Using https://pypi.org/project/cantools/ these files could be opened and used to get the message id and the correct scaling for code generation.
Please describe your use case for this integration and alternatives you've tried:
The usecase would be to have a esphome directly connected via the vehicle OBD interface. As soon the vehicle connects to the wifi at home the vehicle states and precense are published to the homeassistant.
Another use case is when Home Assistant is used in a camper/ mobile home (battery state, water level, vehicle speed, position,...).
Describe the problem you have/What new integration you would like
With the canbus component can messages can be read. In the doc there is no information, how to handles several signals within a message. Usually the messages and signals (incl types and scaling) are defined in a dbc file Using https://pypi.org/project/cantools/ these files could be opened and used to get the message id and the correct scaling for code generation.
proposal for yaml for e.g Tesla dbc
for different vehicles dbcs are already available - see https://github.com/commaai/opendbc
The idea is to provide the dbc and use directly the signal name in the esphome yaml config (no problems with ids and scaling)
For code generation https://github.com/howerj/dbcc could be considered.
Please describe your use case for this integration and alternatives you've tried:
The usecase would be to have a esphome directly connected via the vehicle OBD interface. As soon the vehicle connects to the wifi at home the vehicle states and precense are published to the homeassistant.
Another use case is when Home Assistant is used in a camper/ mobile home (battery state, water level, vehicle speed, position,...).
Additional context
related projects online: