devices and gates for pigs and sheeps app started