fieldclimateSenslog1.yaml 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. api1: &fieldClimateApiDomain
  2. domain: "https://api.fieldclimate.com/v1"
  3. api2: &senslogApiDomain
  4. domain: "http://51.15.45.95:8080/senslog1"
  5. settings:
  6. - SenslogV1:
  7. name: "Senslog V1"
  8. provider: "cz.senslog.connector.push.rest.senslog.v1.SenslogV1ConnectorPushProvider"
  9. host:
  10. <<: *senslogApiDomain
  11. path: "FeederServlet"
  12. - Fieldclimate:
  13. name: "FieldClimate: Pessl Instruments"
  14. provider: "cz.senslog.connector.fetch.fieldclimate.ConnectorFetchFieldClimateProvider"
  15. startDate: "2020-01-01T00:00:00.000" # yyyy-MM-DD hh:mm:ss.sss
  16. timeZone: "Europe/Riga"
  17. period: 1 # in hours (integer)
  18. authentication:
  19. publicKey: "3737ed4fe98fae975e54991216ed473c8d7db48662deff19"
  20. privateKey: "ed2e4abacdaad1d542eeabcec4ee4f6c8fbf3b8bb167b84b"
  21. stationsHost:
  22. <<: *fieldClimateApiDomain
  23. path: "/user/stations"
  24. stationDataHost:
  25. <<: *fieldClimateApiDomain
  26. path: "/data/normal/{station_id}/raw/from/{from}/to/{to}"
  27. stationTimeRangeHost:
  28. <<: *fieldClimateApiDomain
  29. path: "/data/{station_id}"
  30. allowedStation:
  31. # station_id:
  32. "0120821E":
  33. # sensor_id: [channel]
  34. - 17153: [4062, 4063, 4064, 4065, 4066, 4067, 4068, 4069, 4070, 4071, 4072, 4073]
  35. - 19969: [4038, 4039, 4040, 4041, 4042, 4043, 4044, 4045, 4046, 4047, 4048, 4049]
  36. - 20228: [4050, 4051, 4052, 4053, 4054, 4055, 4056, 4057, 4058, 4059, 4060, 4061]
  37. # station_id: [sensor_id]
  38. "00208048": [4, 5, 6, 49, 143, 506, 507, 600]
  39. # station_id:
  40. "0120821D":
  41. #sensor_id: [channel]
  42. - 17153: [4062, 4063, 4064, 4065, 4066, 4067, 4068, 4069, 4070, 4071, 4072, 4073]
  43. - 19969: [4038, 4039, 4040, 4041, 4042, 4043, 4044, 4045, 4046, 4047, 4048, 4049]
  44. - 20228: [4050, 4051, 4052, 4053, 4054, 4055, 4056, 4057, 4058, 4059, 4060, 4061]
  45. sessionProxy:
  46. user: "vilcini"
  47. group: "vilcini"
  48. lastObservationHost:
  49. <<: *senslogApiDomain
  50. path: "SensorService"
  51. connectors:
  52. - FieldclimateToV1:
  53. fetcher: "Fieldclimate"
  54. pusher: "SenslogV1"
  55. period: 600 # 10 minutes
  56. initDelay: 5