abbrechen
Suchergebnisse werden angezeigt für 
Anzeigen  nur  | Stattdessen suchen nach 
Meintest du: 

Cannot get installationId, gatewaySerial and deviceId

Hi, 

 

at https://developer.viessmann.com/en/doc/iot/overview it is said that a simple GET request to https://api.viessmann.com/iot/v1/equipment/installations should return the installationId.

 

Everything I get is 

 

 

{"data":[],"cursor":{"next":""}}

 

 

 

To query the API endpoint I'm using the small PHP script from https://www.viessmann-community.com/t5/Getting-started-programming-with/To-help-get-started/td-p/181... which shows me my user details.

 

I simply added the following at the end of the PHP script:

 

 

$url = "https://api.viessmann.com/iot/v1/equipment/installations/";

$curloptions = array(
    CURLOPT_URL => $url,
    CURLOPT_HTTPHEADER => $header,
    CURLOPT_SSL_VERIFYPEER => false,
    CURLOPT_RETURNTRANSFER => true,
    //CURLOPT_HTTPAUTH => CURLAUTH_BASIC,
);

// Data Curl Call 
//
$curl = curl_init();
curl_setopt_array($curl, $curloptions);
$response = curl_exec($curl);
curl_close($curl);

echo($response);

 

 

 

Am I missing something?

 

Cheers

Andreas

3 ANTWORTEN 3

Hi @MrAnderson ,

 

This topic is related to the issue you stated in this thread right? https://www.viessmann-community.com/t5/Getting-started-programming-with/Some-code-to-receive-info-fr...

 

Solution was that the account you are using has no installation registered.

 

Best,

 

Michael

Hi, I get the same error message. But I do not use ViCare (Vitovalor 300p), only Vitodata300 and Vitotrol. Is there anyting else required to register my installation for data retrieval via the API?!

Thanks in advance.

@snigge for using the API for your device, your system must be connected through a Vitoconnect or using the connectivity inside the device (if available) and be registered using the ViCare app. Vitodata is unfortunately not compatible with the API.

 

Regards,

 

Michael