Update README.md
This commit is contained in:
		
							parent
							
								
									646947df31
								
							
						
					
					
						commit
						788b8d51a5
					
				
							
								
								
									
										18
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										18
									
								
								README.md
									
									
									
									
									
								
							@ -1,3 +1,19 @@
 | 
				
			|||||||
# raspberrypi-temp-sensors
 | 
					# raspberrypi-temp-sensors
 | 
				
			||||||
 | 
					
 | 
				
			||||||
run the script with "/usr/bin/python /home/pi/mqtt/mqtt_publish_temp.py <roomName> <mqtt.username> <mqtt.password>
 | 
					to execute the scripts to read the data from the temp sensors add the following lines to the crontab
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					crontab -e
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					*/1 * * * * /usr/bin/python /home/pi/raspberrypi-temp-sensors/mqtt_publish_temp.py familyroom >> ~/tempFamilyroom.log 2>&1
 | 
				
			||||||
 | 
					*/1 * * * * sudo /usr/bin/python2 /home/pi/raspberrypi-temp-sensors/readBresserTempSensor.py >> ~/readBresserTempSensor.log 2>&1
 | 
				
			||||||
 | 
					*/2 * * * * /usr/bin/python3 /home/pi/raspberrypi-temp-sensors/readHomematicIP.py >> ~/readHomematicIP.log 2>&1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# build the inkbird docker container
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					to build the inkbird docker container you need to clone the repo and execute the following command:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					git clone https://github.com/hertzg/rtl_433_docker.git
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					cd rtl_433_docker/images/alpine/build-context/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					sudo docker build --build-arg rtl433GitRevision=feat-inkbird-ith20r -t rtl_433:inkbird .
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user