fieldclimateSenslog10.yaml 2.3 KB

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