Quarterly report pursuant to Section 13 or 15(d)

Related party transactions (Details)

v3.10.0.1
Related party transactions (Details) - USD ($)
1 Months Ended 6 Months Ended 12 Months Ended
May 04, 2018
Mar. 27, 2018
Jan. 31, 2017
Jun. 30, 2018
Jun. 30, 2017
Dec. 31, 2017
May 19, 2016
Schedule of Equity Method Investments [Line Items]              
Repayment of loan       $ 850,000 $ 0    
Purchase of the remaining assets of Ultratek       149,453 $ 209,265    
TTcogen, LLC              
Schedule of Equity Method Investments [Line Items]              
Equity interest in joint venture (percent)             50.00%
Tedom a.s.              
Schedule of Equity Method Investments [Line Items]              
Equity interest in joint venture (percent)             50.00%
Tedom USA              
Schedule of Equity Method Investments [Line Items]              
Equity interest in joint venture (percent)             50.00%
Initial payment to acquire Tedom USA's membership interest in TTcogen   $ 1          
Payment to acquire Tedom USA'a initial investment in TTcogen, minus certain adjustments   72,597          
Payment for acquisition of assets   $ 72,598          
American DG Energy              
Schedule of Equity Method Investments [Line Items]              
Equipment purchase     $ 985,000        
Co-Chief Executive Officer              
Schedule of Equity Method Investments [Line Items]              
Loan from related party       $ 850,000      
Repayment of loan $ 919,590            
Notes Payable | Co-Chief Executive Officer              
Schedule of Equity Method Investments [Line Items]              
Stated interest rate (percent)       6.00%      
Ultratek | American DG Energy              
Schedule of Equity Method Investments [Line Items]              
Return of investment in Ultratek           $ 2,000,000  
Purchase of the remaining assets of Ultratek           $ 400,000