| Revenue - Disaggregation of Revenue (Details) - USD ($) | 3 Months Ended | |
|---|---|---|
| Mar. 31, 2018 | Mar. 31, 2017 | |
| Disaggregation of Revenue [Line Items] | ||
| Products | $ 3,673,506 | $ 2,807,347 | 
| Installation services | 2,405,655 | |
| Maintenance services | 2,313,731 | |
| Energy production | 1,782,535 | 0 | 
| Total revenues | 10,175,427 | $ 6,846,767 | 
| Products and Services | ||
| Disaggregation of Revenue [Line Items] | ||
| Products | 3,673,506 | |
| Installation services | 2,405,655 | |
| Maintenance services | 2,313,731 | |
| Energy production | 0 | |
| Total revenues | 8,392,892 | |
| Energy Production | ||
| Disaggregation of Revenue [Line Items] | ||
| Products | 0 | |
| Installation services | 0 | |
| Maintenance services | 0 | |
| Energy production | 1,782,535 | |
| Total revenues | $ 1,782,535 | |
| X | ||||||||||
| 
- Definition [Line Items] for Disclosure of information about disaggregation of revenue into categories depicting how nature, amount, timing, and uncertainty of revenue and cash flows are affected by economic factor. No definition available. 
 | 
| X | ||||||||||
| 
- Definition Installation Services Revenue No definition available. 
 | 
| X | ||||||||||
| 
- Definition Revenue derived from maintenance services provided under contracts or arrangements with clients. For example, it may include the maintenance of software, plant and equipment, and facilities. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
 | 
| X | ||||||||||
| 
- Definition Revenue derived from energy-related services such as supplying various forms of energy from the operation of on-site facilities or cogeneration plants and procurement services provided to energy purchasers. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
 | 
| X | ||||||||||
| 
- Definition Aggregate revenue during the period from the sale of goods in the normal course of business, after deducting returns, allowances and discounts. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
 | 
| X | ||||||||||
| 
- Definition Total revenue from sale of goods and services rendered during the reporting period, in the normal course of business, reduced by sales returns and allowances, and sales discounts. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
 | 
| X | ||||||||||
| 
- Details 
 | 
| X | ||||||||||
| 
- Details 
 |