This sample code was developed for Particle but could be easily ported to your platform(ESP8266):
I am sure there are plentiful resources online for connecting ESP8266 devices to Home Assistant but that is not something we generally do here. We work mainly with Industrial IoT.
Thanks Travis, it has been a long time since I have used CE / NDC module, but I have over $1000 invested in them. Currently I am working to identify what I have and how I can use them.
Strange that the code that you sent me is some that I modified for Anil Bhaskar a long time ago (5 years).
Chuck