I already made a search for a similar problem, but didn't find a answer.
I'm making a dimmer with nodeMCU-ESP8266 but the zeros cross interrupts are not working very well.
With LUA script it misses around 30-40% of the zero crossing.
Then I changed to arduino IDE, which is faster, but it still misses around 10% of the zero crossing.
During the tests I also changed the nodeMCU for a Arduino. It worked 100%.
In my opinion, it could be:
1) Considering the lower voltage (3.3V) the zero cross system is not sensible enough to catch 100% of the signals.
2) The ESP8266 is not faster enough.
I would like to hear your opinion/sugetions.
My circuit is pretty much like the attachment.