Sets relay state from udin on startup