Merge branch 'master' of http://diskstation:30000/robert/raspberrypi-temp-sensors
This commit is contained in:
		
						commit
						31ebe981be
					
				@ -67,9 +67,4 @@ while True:
 | 
				
			|||||||
        client.publish(humidity_topic, humidity)
 | 
					        client.publish(humidity_topic, humidity)
 | 
				
			||||||
        client.publish(time_topic, dt_string)
 | 
					        client.publish(time_topic, dt_string)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        #Output data to screen
 | 
					 | 
				
			||||||
        print(dt_string)
 | 
					 | 
				
			||||||
        print(temperature)
 | 
					 | 
				
			||||||
        print(humidity)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        time.sleep(30)
 | 
					        time.sleep(30)
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user