soilscountToSenslog.yaml 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. settings:
  2. - SoilScount: # name of the fetcher module, e.g., Demo
  3. name: "Soil Scount"
  4. provider: "cz.senslog.connector.fetch.soilscount.ConnectorFetchSoilscountProvider"
  5. startDate: "2024-11-10T00:00:00"
  6. period: 1 # period in hours
  7. authUrl: "https://www.soilscouts.fi/api/v1/auth/login//" # keep the // (cos the bad implementation of the resource-side)
  8. refreshUrl: "https://www.soilscouts.fi/api/v1/auth/token/refresh//" # keep the //
  9. devicesUrl: "https://www.soilscouts.fi/api/v1/devices/"
  10. measurementsUrl: "https://www.soilscouts.fi/api/v2/measurements/"
  11. auth:
  12. "username": "mkepka@kgm.zcu.cz"
  13. "password": "Asense2023"
  14. allowedDevices: [28779, 28780, 28781, 28782, 28783, 28784, 28785, 28786]
  15. - SenslogV1:
  16. name: "Senslog V1"
  17. provider: "cz.senslog.connector.push.rest.senslog.v1.SenslogV1ConnectorPushProvider"
  18. baseUrl: "https://sensor.lesprojekt.cz/senslog15"
  19. auth:
  20. username: "watchdog"
  21. password: "HAFhaf"
  22. connectors:
  23. - SoilScountSenslogV1:
  24. fetcher: "SoilScount"
  25. pusher: "SenslogV1"
  26. period: 1200 # 86_400 = 24h
  27. # startAt: "02:30:00" # hh:mm:ss # non-mandatory attribute
  28. initDelay: 5 # non-mandatory attribute