Annual report [Section 13 and 15(d), not S-K Item 405]

Summary of Significant Accounting Policies (Narrative) (Details)

v3.25.1
Summary of Significant Accounting Policies (Narrative) (Details)
3 Months Ended 12 Months Ended
Dec. 31, 2023
USD ($)
shares
Dec. 31, 2024
USD ($)
item
segment
$ / shares
shares
Dec. 31, 2023
USD ($)
item
shares
Summary of Significant Accounting Policies [Line Items]      
Value of the investment in short-term money market funds sought to be preserved (in dollars per share) | $ / shares   $ 1.00  
Depreciation   $ 316,332 $ 397,943
Maximum matching percentage by employer   6.00%  
Advertising expense   $ 746,805 $ 946,379
Number of operating segments | segment   2  
Dilutive effect   $ 0  
Shares not included in the computation of diluted earnings per share | shares   297 1,047
Inventory reserves $ 126,990 $ 226,439 $ 126,990
Number of top suppliers | item   5 5
Write off of uncollectible amounts   $ 6,356 $ 1,083,747
Impairment loss   750,000  
Deemed dividend on Convertible Preferred Stock and PIPE Warrants   11,587,121  
Goodwill impairment loss   $ 3,101,981  
Minimum [Member]      
Summary of Significant Accounting Policies [Line Items]      
Commercial contract completion period   3 months  
Large project construction completion period   18 months  
Maximum [Member]      
Summary of Significant Accounting Policies [Line Items]      
Commercial contract completion period   12 months  
Large project construction completion period   24 months  
Solar Panels [Member]      
Summary of Significant Accounting Policies [Line Items]      
Warranty period   25 years  
Inverters [Member]      
Summary of Significant Accounting Policies [Line Items]      
Warranty period   10 years  
Workmanship [Member]      
Summary of Significant Accounting Policies [Line Items]      
Warranty period   25 years  
Employee Savings Plan [Member]      
Summary of Significant Accounting Policies [Line Items]      
Employer contributions   $ 303,878 140,652
SUNation 401(k) Plan [Member]      
Summary of Significant Accounting Policies [Line Items]      
Employer contributions     $ 176,334
CSI [Member]      
Summary of Significant Accounting Policies [Line Items]      
Restricted cash and cash equivalents   $ 312,080  
Share-Based Payment Arrangement, Option [Member]      
Summary of Significant Accounting Policies [Line Items]      
Shares not included in the computation of diluted earnings per share | shares   0 0
Number of options outstanding | shares 0 0 0
Deferred Stock Award [Member]      
Summary of Significant Accounting Policies [Line Items]      
Number of options outstanding | shares   0  
Restricted Stock Units (RSUs) [Member]      
Summary of Significant Accounting Policies [Line Items]      
Shares not included in the computation of diluted earnings per share | shares   0 6,902
Supplier Concentration Risk [Member] | Accounts Payable [Member] | Top 5 Suppliers [Member]      
Summary of Significant Accounting Policies [Line Items]      
Concentration risk percentage   41.00% 53.00%
JDL Technologies, Inc. and Ecessa Corporation [Member]      
Summary of Significant Accounting Policies [Line Items]      
Write off of uncollectible amounts $ 949,000    
HEC [Member]      
Summary of Significant Accounting Policies [Line Items]      
Goodwill impairment loss   $ 3,101,981