Browse Source
			
			
			Merge pull request #558 from PaeserBastelstube/RPI-fix-DC-current-calculation
			
				change AC_CURRENT divider to 100
			
			
				pull/563/head
			
			
		 
		
			
				
					
						 Lukas Pusch
					
					3 years ago
						Lukas Pusch
					
					3 years ago
					
						
							committed by
							
								 GitHub
								GitHub
							
						 
					
				 
				
			 
		 
		
			
				
					
					No known key found for this signature in database
					
						
							GPG Key ID: 4AEE18F83AFDEB23
						
					
				
			
		
		
		
	
		
			
				 1 changed files with 
1 additions and 
1 deletions
			 
			
		 
		
			
				- 
					
					
					 
					tools/rpi/hoymiles/decoders/__init__.py
				
				
				
					
						
							
								
									
	
		
		
			
				
					|  | @ -511,7 +511,7 @@ class Hm600Decode0B(StatusResponse): | 
			
		
	
		
		
			
				
					|  |  |     @property |  |  |     @property | 
			
		
	
		
		
			
				
					|  |  |     def ac_current_0(self): |  |  |     def ac_current_0(self): | 
			
		
	
		
		
			
				
					|  |  |         """ Phase 1 ampere """ |  |  |         """ Phase 1 ampere """ | 
			
		
	
		
		
			
				
					
					|  |  |         return self.unpack('>H', 34)[0]/10 |  |  |         return self.unpack('>H', 34)[0]/100 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |     @property |  |  |     @property | 
			
		
	
		
		
			
				
					|  |  |     def ac_power_0(self): |  |  |     def ac_power_0(self): | 
			
		
	
		
		
			
				
					|  |  |         """ Phase 1 watts """ |  |  |         """ Phase 1 watts """ | 
			
		
	
	
		
		
			
				
					|  | 
 |