Fix bug and allow server to write to rest server once it is back online after failure
Fix bug and allow server to write to rest server once it is back online after failure

metzenw/pi-dome,metzenw/pi-dome,metzenw/pi-dome,metzenw/pi-dome