Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/can bus #12651

Merged
merged 15 commits into from
Jul 17, 2021
Merged

Feature/can bus #12651

merged 15 commits into from
Jul 17, 2021

Conversation

mbezuidenhout
Copy link
Contributor

Description:

Added support for MCP2515 CAN controller.
Reading and reporting of Freedom Won Lite battery (RJ45 pins 7 & 8) State of Charge on CAN bus.

Checklist:

  • The pull request is done against the latest development branch
  • Only relevant files were touched
  • Only one feature/fix was added per PR and the code change compiles without warnings
  • The code change is tested and works with Tasmota core ESP8266 V.2.7.4.9
  • The code change is tested and works with Tasmota core ESP32 V.1.0.7.1
  • I accept the CLA.

NOTE: The code change must pass CI tests. Your PR cannot be merged unless tests pass

tasmota/tasmota_template.h Outdated Show resolved Hide resolved
tasmota/tasmota_template.h Outdated Show resolved Hide resolved
@mbezuidenhout mbezuidenhout requested a review from arendst July 14, 2021 12:52
#define MCP2515_BMS_FREEDWON
#endif // MCP2515_BMS_FREEDWON
#endif // MCP2515_BMS_CLIENT

Copy link
Owner

@arendst arendst Jul 16, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice set of defines.

If the user does not define the BMS client it is defined anyway. On the other hand I understand that without any client the current implementation is of no use either.

@arendst arendst merged commit de2e86f into arendst:development Jul 17, 2021
arendst added a commit that referenced this pull request Jul 17, 2021
@pkkrusty
Copy link
Contributor

@mbezuidenhout Seems like this driver is pretty specific to the Freedom Won BMS? What would it take to expand it to a general purpose MCP2515 Canbus bridge/driver? Just diving into Canbus, specifically the VW e-Golf battery implementation, where @Tom-evnut has done some good work already.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants