I've looked at MySensors and it was my front-runner when I was working on Arduino-based projects, but the ESP8266 makes at least one of the MySensors concepts, the gateway, unnecessary. The project seems to be moving to make modifications, but progress is slow.
Thinger.io is interesting. It is a young project and small, but has quickly made a lot of progress and seems to have made the right decisions on a number of points (open source, hardware agnostic). I haven't delved too deeply, but it looks like it could be the ticket. It also looks like one can implement the service locally, rather than depend on something cloud-based.
There must be several other frameworks that are somewhat suitable. If you have some experience with any, feel free to share your findings.