Set initial alarm state when two nodes see each other for the first time.
Fix null pointer problem.
Authored by: dannybackx 2022-12-22
Parent: [r475]
Child: [r477]