Just registered to show my gratitude and post a more recent update on this. I had no end of problems "decoding" the wiring on my DS-2CD2383G0 which stopped functioning after relocation. I assume during the removal and installation the pigtail became damaged.
One thing all the various threads on...