Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Blockly
  5. Fyta Daten auslesen

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    4.1k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.2k

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.6k

Fyta Daten auslesen

Scheduled Pinned Locked Moved Blockly
3 Posts 3 Posters 409 Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    MrX552
    wrote on last edited by
    #1

    Moin,

    hat schon einmal jemand versucht die FYTA Daten in ioBroker zu bekommen, ohne IFTTT zu nutzen? in der API Beschreibung sieht das wie folgt aus:

    Auth API

    URL: https://web.fyta.de/api/auth/login

    Method: POST

    Body:

    {
        "email": "example@example.com",
        "password": "examplepassword"
    }
    

    Response:

    {
        "access_token": "111111111111111111111111111111111111111",
        "token_type": "Bearer",
        "expires_in": 5184000,
        "refresh_token": "2222222222222222222222222222222222222222",
        "scope": "mobile"
    }
    

    Get User Plants

    URL: https://web.fyta.de/api/user-plant

    Method: GET

    Response:

    {
      "gardens": [
        {
          "id": 123,
          "garden_name": "Home",
          "origin_path": null,
          "thumb_path": null,
          "mac_address": null
        }
      ],
      "plants": [
        {
          "id": 12,
          "nickname": "Ficus benjamina 1",
          "scientific_name": "Ficus benjamina",
          "status": 2,
          "plant_id": 201,
          "family_id": null,
          "wifi_status": 1,
          "thumb_path": "<url>",
          "origin_path": "<url>",
          "plant_thumb_path": "<url>",
          "plant_origin_path": "<url>",
          "received_data_at": "2023-01-00 10:10:00",
          "temperature_optimal_hours": 22,
          "light_optimal_hours": 0,
          "temperature_status": 2,
          "light_status": 1,
          "moisture_status": 3,
          "salinity_status": 2,
          "garden": {
            "id": 123
          },
          "sensor": {
            "id": "AA:AA:AA:2B:AF:F4",
            "has_sensor": true,
            "status": 1,
            "uuid_android": null,
            "uuid_ios": "4AAAAAA6F-0457-3233-8A43-032B5377E763",
            "version": "0.30.0",
            "is_battery_low": false,
            "received_data_at": "2023-01-01 10:10:00"
          },
          "hub": {
            "id": 123,
            "hub_id": "AA:AA:AA:27:7D:6A",
            "status": 1,
            "received_data_at": "2023-01-01 01:10:01",
            "reached_hub_at": "2023-01-01 10:10:01"
          }
        }
      ]
    }
    
    

    In meinem jugendlichen Leichtsinn habe ich nun gedacht, man könnte dafür die neuen Blöcke http get und http post nutzen, aber irgendwie bekomme ich es nicht hin, gerade das mit dem Token.

    Jörn

    M 1 Reply Last reply
    0
    • M MrX552

      Moin,

      hat schon einmal jemand versucht die FYTA Daten in ioBroker zu bekommen, ohne IFTTT zu nutzen? in der API Beschreibung sieht das wie folgt aus:

      Auth API

      URL: https://web.fyta.de/api/auth/login

      Method: POST

      Body:

      {
          "email": "example@example.com",
          "password": "examplepassword"
      }
      

      Response:

      {
          "access_token": "111111111111111111111111111111111111111",
          "token_type": "Bearer",
          "expires_in": 5184000,
          "refresh_token": "2222222222222222222222222222222222222222",
          "scope": "mobile"
      }
      

      Get User Plants

      URL: https://web.fyta.de/api/user-plant

      Method: GET

      Response:

      {
        "gardens": [
          {
            "id": 123,
            "garden_name": "Home",
            "origin_path": null,
            "thumb_path": null,
            "mac_address": null
          }
        ],
        "plants": [
          {
            "id": 12,
            "nickname": "Ficus benjamina 1",
            "scientific_name": "Ficus benjamina",
            "status": 2,
            "plant_id": 201,
            "family_id": null,
            "wifi_status": 1,
            "thumb_path": "<url>",
            "origin_path": "<url>",
            "plant_thumb_path": "<url>",
            "plant_origin_path": "<url>",
            "received_data_at": "2023-01-00 10:10:00",
            "temperature_optimal_hours": 22,
            "light_optimal_hours": 0,
            "temperature_status": 2,
            "light_status": 1,
            "moisture_status": 3,
            "salinity_status": 2,
            "garden": {
              "id": 123
            },
            "sensor": {
              "id": "AA:AA:AA:2B:AF:F4",
              "has_sensor": true,
              "status": 1,
              "uuid_android": null,
              "uuid_ios": "4AAAAAA6F-0457-3233-8A43-032B5377E763",
              "version": "0.30.0",
              "is_battery_low": false,
              "received_data_at": "2023-01-01 10:10:00"
            },
            "hub": {
              "id": 123,
              "hub_id": "AA:AA:AA:27:7D:6A",
              "status": 1,
              "received_data_at": "2023-01-01 01:10:01",
              "reached_hub_at": "2023-01-01 10:10:01"
            }
          }
        ]
      }
      
      

      In meinem jugendlichen Leichtsinn habe ich nun gedacht, man könnte dafür die neuen Blöcke http get und http post nutzen, aber irgendwie bekomme ich es nicht hin, gerade das mit dem Token.

      Jörn

      M Offline
      M Offline
      muffin142
      Developer
      wrote on last edited by
      #2

      @mrx552

      Ich habe einen Adapter für FYTA erstellt, damit werden deine Gärten und Pflanzen als Datenpunkte zur Verfügung gestellt.
      Dieser ist direkt in Version über das Stable-Repository in ioBroker verfügbar, Version 0.2.0 über das Beta-Repository.
      Weitere Infos hier: NPM / Github

      1 Reply Last reply
      1
      • mcm1957M Online
        mcm1957M Online
        mcm1957
        wrote on last edited by
        #3

        @mrx552
        https://forum.iobroker.net/topic/80655/test-fyta-adapter

        Entwicklung u Betreuung: envertech-pv, hoymiles-ms, ns-client, pid, snmp Adapter;
        Support Repositoryverwaltung.

        Wer Danke sagen will, kann nen Kaffee spendieren: https://paypal.me/mcm1957atiobroker

        LESEN - gute Forenbeitrage

        1 Reply Last reply
        1
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        Support us

        ioBroker
        Community Adapters
        Donate

        568

        Online

        32.7k

        Users

        82.4k

        Topics

        1.3m

        Posts
        Community
        Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
        ioBroker Community 2014-2025
        logo
        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Home
        • Recent
        • Tags
        • Unread 0
        • Categories
        • Unreplied
        • Popular
        • GitHub
        • Docu
        • Hilfe