Added relay command code, updated ids.h.