Connect the Raspberry Pi B + to the Nikon D5300 (wifi)

I want to control my D5300 via WiFi with the help of a Raspberry Pi. The idea is to use the camera for Octolapse in Octoprint when printing from 3D objects.

Thank you so much!