Hi, how can i get door sensor status and motion sensor status through local network and use it for script.
what i want to do is, when the door sensor is open, turn shelly 2pm relay on. when door sensor is close, shelly 2 pm add a script to check if there is motion from motion sensor. if there is a motion, keep the relay on. else, turn the relay off. i want to do it all locally without internet connection.
thanks