Here is a smart wearable device with an open source design that integrates with your smart home and helps you experience lucid dreaming. Neuroon Open can be used to wake you up refreshed. It measures your sleep based on brain activity. You also get to enjoy guided meditation sessions.
The companion app allows you to get more out of your sleep device. Since this is an open source device, you can develop your own custom solutions for it.