Maybe this can help you out:
He made a light switch that works with blynk and when the blynk server is down or no connection, it is still working with the actual button.