I recently extensively modified an existing Device Type to provide better Android support for the AEON Home Energy Monitor (HEM) v2. It seems to work fine with the exception that every so often it stops reporting data back to ST - it freezes - as if it received data it cannot handle and therefore just drops communication or something… maybe crashes, not sure. It appears that the total kWh counter jumps forward when I reset it by power cycling it so it may still be running internally however ST is not getting any of the data.
Can someone kindly help me figure out what is wrong? I am not a professional developer so I am struggling to even debug this.