Add 'newsettings.json'
This commit is contained in:
		
							
								
								
									
										39
									
								
								newsettings.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										39
									
								
								newsettings.json
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,39 @@ | |||||||
|  | { | ||||||
|  |     //Note that all of these can be configured. Camel case is just personal preference. | ||||||
|  |     "mqttServer": "mqtt.senseright.com.au", | ||||||
|  |     "mqttPort": 1884, | ||||||
|  |     "gitServer": "git.senseright.com.au", | ||||||
|  |     "gitUpdatePath": "/api/v1/repos/JSD/OTA/raw/?FirmwareVersion/firmware.bin", | ||||||
|  |     "gitToken": "49b5b605dce93296f211bb1254dd4c0515d345d6", | ||||||
|  |     "gitFirmwareVersion": "Stable", | ||||||
|  |     "uploadInterval": 15, | ||||||
|  |     //The below is in hours but could be a string like "halfdaily""/"daily"/"weekly" etc.     | ||||||
|  |     "updateCheckInterval": 24, | ||||||
|  |     "sensorCount": 3, | ||||||
|  |     "sensors": [ | ||||||
|  |         { | ||||||
|  |             "sensorId": 37, | ||||||
|  |             "type": "Modbus", | ||||||
|  |             "subType": "CompanyNameTemperatureProbe", | ||||||
|  |             "digitalPort": 1, | ||||||
|  |             "address": 12, | ||||||
|  |             "readInterval": 15 | ||||||
|  |         }, | ||||||
|  |         { | ||||||
|  |             "sensorId": 46, | ||||||
|  |             "type": "ADC", | ||||||
|  |             "subType": "OtherCompanyNameTemperatureProbe", | ||||||
|  |             "digitalPort": 0, | ||||||
|  |             "address": 2, | ||||||
|  |             "readInterval": 1 | ||||||
|  |         }, | ||||||
|  |         { | ||||||
|  |             "sensorId": 55, | ||||||
|  |             "type": "OneWire", | ||||||
|  |             "subType": "OtherOtherCompanyNameTemperatureProbe", | ||||||
|  |             "digitalPort": 2, | ||||||
|  |             "address": 3, | ||||||
|  |             "readInterval": 15 | ||||||
|  |         } | ||||||
|  |     ] | ||||||
|  | } | ||||||
		Reference in New Issue
	
	Block a user