I have begun work on a home (or rather room) automation system using a Raspberrry Pi as its hub. I am aiming for 3 primary functions:
1. accept commands for interface device (ex: recieve instructions to turn lights on and off and do so using GPIO and servo)
2. accept requests for sensor data (ex: recieve a request for temp. sensor data(GPIO) and respond by relaying data)
3. collect and transmit large collections of data to be interpreted by interface device (ex: sleep datalogging)
On top of those three functions, I would like to make the interface possible through some sort of application (hopefully python). The primary focus is how to make make the functions accesable through (hopefully) python. Any help will be appreciated. Thank you in advance.