You seem to have developed diabetic neuropathy
Diabetic neuropathy affects all peripheral nerves including pain fibers, motor neurons and the autonomic nervous system.
Your symptoms suggest that you have combination of both ,sensorimotor neuropathy along with autonomc neuropathy.
These symptoms evolve over a period of many years of neglect and uncontrolled diabetes
Although there has been considerable advances in the understanding behind the development of neuropathy but their treatment has been limited.
Along with a meticulous and tight control of blood sugar levels,treatment is aimed at reducing pain and other associated symptoms.
This is achieved by use of antidepressants like DULOXETIN ,use of anticonvulsant like PREGABALIN
and a long acting opioid
You must discuss with your doctor to use these drugs singly or in different combinations.