Hukseflux Pyranometers

Purpose

The purpose of this plugin is to collect data from Hukseflux pyranometers via Modbus.

Usage

This plugin collects from the Hukseflux pyranometer sensors. It uses the Modbus TCP Specification, and collects from Serial or IP connected sensors. The following models are supported:

SR30-M2-D1

This plugin relies on the Modbus Ardexa plugin. The following data points are collected:

Variable Name					Units
======================================================
Device Address								      		
Com Settings	        					      		
Solar Radiation Temp Comp	    		W/m^2     	
Solar Radiation	   				W/m^2     	
Temperature	   				ºC    		
Resistance	   				Ohm  		
Scaling Factor Irradiance	   				      		
Scaling Factor Temperature	   		     		
Voltage	   					mV    		
Model 1 High 							      		
Model 1 Low 								      		
Model 2 High 								      		
Model 2 Low 								      		
Model 1	   								      		
Model 2	   								      		
Serial Number 								      		
Sensitivity	   				mV/(W/m^2)	
Response Time Calibration 			s      	
Resistance Calibration				s      	
Calibration Date 				YYYYMMDD   
Firmware Version 							      		
Hardware Version 							      		
Sensitivity History 1				mV/(W/m^2) 
Calibration Date History 1 			YYYYMMDD 	
Sensitivity History 2				mV/(W/m^2) 
Calibration Date History 2			YYYYMMDD 	
Sensitivity History 3				mV/(W/m^2) 
Calibration Date History 3 			YYYYMMDD 	
Sensitivity History 4				mV/(W/m^2) 
Calibration Date History 4 			YYYYMMDD 	
Sensitivity History 5				mV/(W/m^2) 
Calibration Date History 5 			YYYYMMDD 	
Polynomial Temperature Coefficient a 		     		
Polynomial Temperature Coefficient b 		      		
Polynomial Temperature Coefficient c 		      		
Relative Humidity 				%      	
Internal Pressure 				mbar      	
Tilt 						º      	
Fan Speed 					rpm      	
Heater Current 					A      	
Fan Current 					A      	

Arguments

Arguments are as follows:

  • endpoint. This is either a serial device like /dev/ttyS0 or an IP or DNS like 192.168.1.15

  • bus_addresses. A Modbus address in the range 2-255. This can be a hyphenated list like 3-10 or a list like 2,5,7,9

  • --port. This is an optional parameter used in an Ethernet gateway, and is the TCP port used for the gateway. Default is 502

  • --attempts. This is an optional parameter, and determines how many times to times to attempt to read an inverter value. Default is 1

  • --delay. This is the delay in seconds between inverter send and receive commands, AND if attempts > 1. Fractions like 0.3 can be used. Default is 0.05

  • --stop_on_any_command_fail. If this is specified, then any Modbus commands that fail will stop all further queries for all bus addresses and attempts.

  • --serial_lock. If this is set, the program can only be run one at a time (so as not to overload a Modbus device). If the device being queried is a serial device, this will automatically be set to "on". For IP addresses it is optional.

  • --sampling_rate. If this is defined, and the sampling rate is greater than 1, then all values listed above will be collected as an average. In other words; it will take a sample at the nominated frequency. After X samples defined by sampling_rate, a record will be written and sent to the cloud.

Last updated