Help needed - Virtual output with login

Einklappen
X
 
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge
  • sennevb
    Dumb Home'r
    • 21.03.2021
    • 24

    #1

    Help needed - Virtual output with login

    Hello,

    I'm trying to get my swimming pool heatpump to work with loxone.
    I tried modbus first, but its hard to get it done when you dont have the register list.

    I'm trying to use the api from aquatemp now (its used alot to connect heatpumps to the internet)

    I'm using this repository as a sort of guideline: https://github.com/dst6se/aquatemp/blob/main/heatpump

    I made a virtual output named "test": address is: https://cloud.linked-go.com , ON command: /cloudservice/api/app/user/login.json, HTTP header with ON: accept: application/json\r\ncharset=utf-8\r\nuser_name: mailaddress@gmail.com\r\npassword: mypassword, i'm getting an error 400 according to the http monitor

    I also tried putting login and password in the address: https://mailadddress@gmail.com:mypas....linked-go.com

    Someone who can put me in the right direction??

    Thanks

  • sennevb
    Dumb Home'r
    • 21.03.2021
    • 24

    #2
    Found solution:

    Header: Content-Type: application/json
    Body: { "user_name": "smailaddress@gmail.com", "password": "password" ,"type":"2" }

    Kommentar

    Lädt...