Stuart, I was interested to see if this would fit on an ESP8285 which is what is the Sonoff devices are based on.
The compile fails and I’m assuming it is because the user_interface.h file isn’t present. Any chance you could upload that to Github?
Cheers
Simon