add log
This commit is contained in:
		
							parent
							
								
									177280010c
								
							
						
					
					
						commit
						6f5bfc25d9
					
				@ -125,6 +125,9 @@ def monitor(topics):
 | 
				
			|||||||
    
 | 
					    
 | 
				
			||||||
        for key in topic_info:
 | 
					        for key in topic_info:
 | 
				
			||||||
            print(key + ':', topic_info[key])
 | 
					            print(key + ':', topic_info[key])
 | 
				
			||||||
 | 
					            print(topic_info["line"])
 | 
				
			||||||
 | 
					            print(topic_info["value"])
 | 
				
			||||||
 | 
					            
 | 
				
			||||||
            drawblack.text((160, int(topic_info["line"])), topic_info["value"], font = font16, fill = 0)
 | 
					            drawblack.text((160, int(topic_info["line"])), topic_info["value"], font = font16, fill = 0)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    #drawblack.text((160, 16), str(house_power), font = font16, fill = 0)
 | 
					    #drawblack.text((160, 16), str(house_power), font = font16, fill = 0)
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user