iot_input(iot_Id_name) (slot) process (process_Id)
Connect Raspberry GPIO Input to ID routines
support Button and PIR sensor.
iot_input(iot_Id_name) (slot) process (process_Id)
connect Raspberry GPIO input to process ID.
iot_Id_name is name of iot device. Example "TEMP_1 , DOOR_2 , etc."
process_Id is definied with "makesub" command
make_sub ALARM
sub ALARM ds_mp3_load siren.mp3
close_sub ALARM
iot_input DOOR_2 1 process ALARM
All Mode