Is that plug something you make or do they come from Yamaha?
What is the voltage output from the motor connection? So what voltage lighting to look for?
And if you plug in there does the switch on the bar-controller turn it on and off?
Has anyone done something for a usb charge port for smartphone? If you're going to use the app and google maps you probly want a connection.
Maybe a small lipo brick would fit in the battery case - use it for a phone power source. I have a few of those around.
Nice shop BTW.
In my Giant Fathom E+ 2 pro which comes with no lights pre assembled the motor came with the female connection already in place, so you can just buy either a premade cable, or just buy the male connection and do it yourself, I did it myself, so I bought these (10 units in this case but you only need 2)
https://www.tme.eu/gb/details/swpt-001t-p0.25/raster-signal-connectors-2-00mm/jst/# along with 1 of these
https://www.tme.eu/gb/details/02t-jwpf-vsle-s/raster-signal-connectors-2-00mm/jst/, and joined that to this
https://www.amazon.de/dp/B07QGJY9KQ/ref=pe_3044161_189395811_TE_SCE_dp_1 where one of those goes to the front light and the other to the back light, which are
https://www.amazon.es/dp/B00G49RGJE/ref=pe_3310721_189395781_TE_SCE_dp_1 https://www.amazon.de/dp/B00GHN0VQW/ref=pe_3044161_189395811_TE_SCE_dp_2 measured them in my electronic power supply and at 6v they consume about 1.2w average, with an initial peak of a bit over 2w which I assume is because it is charging the capacitor that keeps the lights on even after the power supply has been cut.
The voltage output for the lights is 6v, you should check if the light works because most bike lights are for dynamos, in the case of the back light I bought it works fine despite being for a dynamo because they kind of "cheaped out" and aren't converting from AC to DC, they seem to merely be ignoring half of the AC wave likely with the capacitor itself, have no doubt there will be more lights that will do this too.
Be however careful that apparently the power limit on the PW-X motor from yamaha for the lights is 9w, so when added together all the lights that you buy should be below that.
After you wire the lights to the right plug the bar button for the lights works just fine to turn them on and off.
Haven't done it to charge a smartphone, but the light output could work, you would need to step down from 6v to 5v, either by using a switching voltage regulator or a linear regulator (preferably a switching regulator), but given the yamaha power limits you wouldn't be getting that powerful of a charger, not to mention it would only charge if you activated the lights.
The way to do it properly would likely be to make a T connection out of the main battery power delivery cable, for which the connection at least in my bike looks like this
pass it through a fuse, then to a switching voltage regulator down to 5v, which would then charge what ever device connects to it at 5v, you would ofc need space to put these things, but bikes with the semi integrated side/top mounted battery seem to have a good bit of space, and for the bottom fully integrated batteries like my fathom e+2 pro there is space for the fuse and switching regulator after the battery lock.