Path to status.json in config
This commit is contained in:
		@@ -107,7 +107,7 @@ if(!$status["sensors"]["door_locked"][0]["value"] || !$status["sensors"]["door_l
 | 
			
		||||
$json = json_encode($status);
 | 
			
		||||
 | 
			
		||||
// Write this shit
 | 
			
		||||
file_put_contents("../status.json", $json);
 | 
			
		||||
file_put_contents($statusJSONFile, $json);
 | 
			
		||||
 | 
			
		||||
// Show what we've done!
 | 
			
		||||
echo($json);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user