You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.2 KiB

  1. {
  2. //Note that all of these can be configured. Camel case is just personal preference.
  3. "mqttServer": "mqtt.senseright.com.au",
  4. "mqttPort": 1884,
  5. "gitServer": "git.senseright.com.au",
  6. "gitUpdatePath": "/api/v1/repos/JSD/OTA/raw/?FirmwareVersion/firmware.bin",
  7. "gitToken": "49b5b605dce93296f211bb1254dd4c0515d345d6",
  8. "gitFirmwareVersion": "Stable",
  9. "uploadInterval": 15,
  10. //The below is in hours but could be a string like "halfdaily""/"daily"/"weekly" etc.
  11. "updateCheckInterval": 24,
  12. "sensorCount": 3,
  13. "sensors": [
  14. {
  15. "sensorId": 37,
  16. "type": "Modbus",
  17. "subType": "CompanyNameTemperatureProbe",
  18. "digitalPort": 1,
  19. "address": 12,
  20. "readInterval": 15
  21. },
  22. {
  23. "sensorId": 46,
  24. "type": "ADC",
  25. "subType": "OtherCompanyNameTemperatureProbe",
  26. "digitalPort": 0,
  27. "address": 2,
  28. "readInterval": 1
  29. },
  30. {
  31. "sensorId": 55,
  32. "type": "OneWire",
  33. "subType": "OtherOtherCompanyNameTemperatureProbe",
  34. "digitalPort": 2,
  35. "address": 3,
  36. "readInterval": 15
  37. }
  38. ]
  39. }