Hello,
I got scooter hub motor with 6 wires (6 thick phase wires: yellow, green, blue, yellow, green, blue) coming out of motor. Also there two sets of hall wires (each set has 5 wires).
Originally hub was running with the controller which also has 6 phase wires (yellow, green, blue, yellow...