Open Maikeleg opened 1 month ago
Hi @Maikeleg - I'm afraid I haven't got very far at all with this project! I haven't yet got it even communicating with my Elcon charger, and other projects have overtaken me. I should update the Readme to say this is no longer active.
Hi @Maikeleg - I'm afraid I haven't got very far at all with this project! I haven't yet got it even communicating with my Elcon charger, and other projects have overtaken me. I should update the Readme to say this is no longer active.
Thanks for your reply. I got it working with some other code and changes. I can share if you're interested Cheers, Maikel
Hi Maikel - yeah, if you want to make up a PR I'd be happy to pull it in! Better to have working code than non-working :-)
Hi Maikel - yeah, if you want to make up a PR I'd be happy to pull it in! Better to have working code than non-working :-)
Hopefully the pull request is correct this way (first time)
Hi, I'm trying to use your scripts to put my charger, which supposedly is an Elcon charger, into charging mode and I'm trying to understand everything you programmed but need some help. I have some basic python knowledge (successfully reprogrammed some other rs485 communication scripts). My question is; how can I first read-out the broadcast message and with which script. I think to understand that the main script uses all other scripts to set battery values, driver values and then start the driver. After that should it start the simulator? In the driver package i see the hex values for the charger but only the last byte, is that correct?
I don't get any message back from the main.py package I do get the broadcast message from the charger with the candump can0 command on the command line, so it looks like my can bus is working. I included the documentation from the charger supplier and use these settings which seems to be the same as in your package I get this back from candump after setting the bus to 500k:
pi@raspberrypi:~/pyelcon-main $ candump can0 can0 18FF50E5 [8] 02 OF 00 00 10 00 00 00
where 10 00 00 00 turns back the voltage of the battery successfully according to the suppliers document 18FF50E5 has last byte E5 that seems to be the elcon_charger_id
If you could push me in the right direction a bit I would massively appreciate it charger-CAN.pdf