Got caught out in the mother of all rainfalls today. I usually head for cover in these instances, but I wasn't near any and the bike got a drenching. Heading home, the power was intermittently cutting out, then it finally cut out totally. The display was still on, but the battery symbol was flashing.
Thinking it could be water ingress in either the Bafang or the battery, I switched everything off and pedalled back.
Phew, with me wet through and no power, it was friggin hard work
Anyway, dried the bike off at home with the wife's hairdryer. Got little hair myself, so big thanks to her
Battery checked and all fine.The problem still existed, with the error code 04 on the display and battery symbol flashing. After Googling code 04, it showed 'throttle no homing'. Strange, as I have never had a throttle connected.
After some head scratching, I found the problem. As I haven't connected a throttle, I just leave the connector wrapped around the handlebars with the end dangling. A sneaky little drop of water had got into the connector head and was shorting the pins. This was confusing the Bafang and causing the error code.

A lesson learnt the hard way
Thinking it could be water ingress in either the Bafang or the battery, I switched everything off and pedalled back.
Phew, with me wet through and no power, it was friggin hard work
Anyway, dried the bike off at home with the wife's hairdryer. Got little hair myself, so big thanks to her
Battery checked and all fine.The problem still existed, with the error code 04 on the display and battery symbol flashing. After Googling code 04, it showed 'throttle no homing'. Strange, as I have never had a throttle connected.
After some head scratching, I found the problem. As I haven't connected a throttle, I just leave the connector wrapped around the handlebars with the end dangling. A sneaky little drop of water had got into the connector head and was shorting the pins. This was confusing the Bafang and causing the error code.

A lesson learnt the hard way