Creating a power meter by counting pulses with LM393 and Tasmota

Ah - OK - so I understand problem 1 - I've started from the standard Tasmota code when I compiled my custom firmware - this is missing code used by the HE Tasmota setup here: [RELEASE] Tasmota for HE - Auto-detecting Tasmota drivers + Tasmota firmware 7.x/8.x for HE (for use with Tuya, Sonoff and other ESP devices)

I'll post there for guidance on that.....

James