Hi, Rene.
Here comes the troubles :)
// if send 'null' as a payload in getDescription 
// it will return description of all datapoints
bobaos.getDescription(null, function(err, data) {
  if (err) {
    return CF.log("Error on getDescription request: " + err.message);
  }
  
  if (Array.isArray(data)) {
    var idArray = data.map(function(t) { return t.id; });
    // to get value stored in BAOS module
    bobaos.getValue(idArray, function(err, data) {
      if (err) {
        return CF.log("Error on getValue request: " + err.message);
      }
      
      CF.log("getValue returned: ");
      CF.log(JSON.stringify(data));
    });
    
    // to send read request to KNX bus
    bobaos.readValue(idArray, function(err, data) {
      if (err) {
        return CF.log("Error on readValue request: " + err.message);
      }
      // do not need to log 
      // values should trigger main bobaos callback
      // https://github.com/shabunin/bobaos.cf/blob/master/assets/js/userMain.js#L129
    });
  } else {
    CF.log("Returned data is not array: " + data);
  }
}); 
Should be past after bobaos.connect() in CF.userMain function.
Also, could you provide with sources you are writing?
Can you ssh to your RaspberryPi?
четверг, 24 января 2019 г., 1:21:23 UTC+3 пользователь René Schmidt написал: