add curl calls to switch the subscribed LED