Smoothieboard Z axis wont home

My Octopi/Smoothieboard has been working well until last night.
Now when I try to home the Z axis the bed moves up about 10 mm.
If the bed is already hitting the Z limit switch then the bed tries to go further down past the limit switch. Pronterface with a USB cable to my computer works fine.
I hadn't changed any settings or messed with any wiring before this started.

I am on Octoprint Version: OctoPrint 1.3.11 running on OctoPi 0.16.0

Sorry for the wasted post. Its a bad Z limit switch.
Thanks