I have to use two pimatic systems because of a wall that blocks all radiosignals.
one pi (say pi2) is only used as a reciever/sender for the signals the wall blocks.
these signals are “send” via lan to the other pimatic-system. (say pi1).
Pi1 decides what has to happen next.
The problem is i do not know the states my sensors on the pi2 if i restart pi1.
The pi2 hat contact-sensors (KaKu AMST-606) and pir-sensors (KaKU APIR-2150)

the question is:
Is there a way to “read” the state of these sensors after i restart or is there a way to read the value of variables on the another pi?

Thanks Hans