2011-04-13 19:23:53 +00:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								<?php
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								poll_sensor($device,'current','A');
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								poll_sensor($device,'frequency', 'Hz');
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								poll_sensor($device,'fanspeed', 'rpm');
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								poll_sensor($device,'humidity', '%');
							 | 
						
					
						
							
								
									
										
										
										
											2011-04-21 12:56:25 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								poll_sensor($device,'power', 'W');
							 | 
						
					
						
							
								
									
										
										
										
											2011-05-16 20:33:51 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								poll_sensor($device,'voltage', 'V');
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								poll_sensor($device,'temperature', 'C');
							 | 
						
					
						
							
								
									
										
										
										
											2011-04-19 16:47:49 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								# FIXME voltages have other filenames
							 | 
						
					
						
							
								
									
										
										
										
											2011-05-16 20:33:51 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								#include('includes/polling/voltages.inc.php');
							 | 
						
					
						
							
								
									
										
										
										
											2011-04-13 19:23:53 +00:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								# FIXME also convert temperature, but there's some special code in there?
							 | 
						
					
						
							
								
									
										
										
										
											2011-05-16 20:33:51 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								#include('includes/polling/temperatures.inc.php');
							 | 
						
					
						
							
								
									
										
										
										
											2011-04-13 19:23:53 +00:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2011-05-16 20:33:51 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								?>
							 |