| 
																	
																	
																		
																			
																		
																	
																	
																 | 
																@ -29,7 +29,7 @@ dwm_solar_panel () { | 
															
														
														
													
														
															
																 | 
																 | 
																		fi | 
																 | 
																 | 
																		fi | 
															
														
														
													
														
															
																 | 
																 | 
																		#checks if it got a session token | 
																 | 
																 | 
																		#checks if it got a session token | 
															
														
														
													
														
															
																 | 
																 | 
																
 | 
																 | 
																 | 
																
 | 
															
														
														
													
														
															
																 | 
																 | 
																		if [ "$SID" != "" ] || [ "$SID" != "null" ]; | 
																 | 
																 | 
																 | 
															
														
														
													
														
															
																 | 
																 | 
																 | 
																 | 
																 | 
																		if [ "$SID" != "" ] && [ "$SID" != "null" ]; | 
															
														
														
													
														
															
																 | 
																 | 
																		then | 
																 | 
																 | 
																		then | 
															
														
														
													
														
															
																 | 
																 | 
																			echo $SID > ~/.cache/solar_panel.cache | 
																 | 
																 | 
																			echo $SID > ~/.cache/solar_panel.cache | 
															
														
														
													
														
															
																 | 
																 | 
																			WATTS=$(curl -s --location --request POST "http://$INVERTER_IP/dyn/getValues.json?sid=$SID" \ | 
																 | 
																 | 
																			WATTS=$(curl -s --location --request POST "http://$INVERTER_IP/dyn/getValues.json?sid=$SID" \ | 
															
														
														
													
												
													
														
															
																| 
																	
																		
																			
																		
																	
																	
																	
																 | 
																
  |