I was just reading about LiFi and I was wondering why not just create window attachments that produce the same effect? Then you can use the sunlight instead and the window can modulate the light to achieve the same effect as the LiFi. Then both the lifi bulbs and the windows could work together to achieve optimal coverage.
So, this method only makes sunlight a medium for information to be encoded onto. Therefore, device to device communication still requires an LED. The main interest for using sunlight is to allow for regular internet access.
On a grander scale could we modulate earth’s atmosphere to essentially just be a bigger window so that we give internet to everyone on earth through sunlight? That sounds like an XKCD comic haha :).