Honda Accord CR2 2013-2019 battey sensor operation and testing

alyways annoyed that you cant find the info on how to test this stuff people never post in plain english

so heres what i know

P154A (battery sensor internal failure) stored. In this case, the battery sensor has an internal failure and must be replaced. 
here is the test steps

pin 1 blue = lin bus square wave
pin 2 red = battery voltage
pin 3 green = faint ground signal
yellow at alternator same as blue wire

SENSOR NOW WORKS WHEN THE HEAD LIGHTS ARE TURNED ON ONLY

THE BATTERY VOLTAGE IS NOW AT 14.3V
ELD VALUE IS 213.5 AMPS

BATTERY CURRENT SENSOR IS 15.7AMPS

WHEN HEAD LIGHTS ARE TURNED OFF THE BATTERY VOLTAGE GOES DOWN TO 12.3VOLTS NO OTHER WAY TO GET VOLTAGE UP

TST DRIVE VEHICLE TO CHECK ALTERNATOR VOLTAGE OUTPUT

WIRING DIAGRAM

both square waves will be the same
if not the same wiring issue
if the same alternator is not charging then the alternator is no good.
if the alternator is charging and the signals the same the sensor is no good.

Wiring on the sensor its self

Honda battery sensor – resistance testing with sensor out of car – this was not correct for my vehicle unless the plug is up side down (we are in Australia)

i have 2.75M ohms on both pin 1 and pin2 ??????????????????????

this is the 2 wire unit cant find a wiring diagram on my end

After all that here is what I have measured when I bit the bullet and bought a new one