The accelerometer orientation for the RhinoEdge Cube is as follows:
The magnetic switch is located here: