[enh] Auto assign resource id
[enh] Trigger fall should be triggered by many LOW states