@franzda Offensichtlich lag der Fehler im Java-Adapter; nach einer Aktualisierung läuft die Funktion jetzt einwandfrei.
var pump_on = '{"mon":[{"start":"06:30","end":"10:00","mode":"on","position":0},{"start":"11:30","end":"14:00","mode":"on","position":1},{"start":"18:30","end":"22:30","mode":"on","position":2}],"tue":[{"start":"06:30","end":"10:00","mode":"on","position":0},{"start":"11:30","end":"14:00","mode":"on","position":1},{"start":"18:30","end":"22:30","mode":"on","position":2}],"wed":[{"start":"06:30","end":"10:00","mode":"on","position":0},{"start":"11:30","end":"14:00","mode":"on","position":1},{"start":"18:30","end":"22:30","mode":"on","position":2}],"thu":[{"start":"06:30","end":"10:00","mode":"on","position":0},{"start":"11:30","end":"14:00","mode":"on","position":1},{"start":"18:30","end":"22:30","mode":"on","position":2}],"fri":[{"start":"06:30","end":"10:00","mode":"on","position":0},{"start":"11:30","end":"14:00","mode":"on","position":1},{"start":"18:30","end":"22:30","mode":"on","position":2}],"sat":[{"start":"06:30","end":"10:00","mode":"on","position":0},{"start":"11:30","end":"14:00","mode":"on","position":1},{"start":"18:30","end":"22:30","mode":"on","position":2}],"sun":[{"start":"06:30","end":"10:00","mode":"on","position":0},{"start":"11:30","end":"14:00","mode":"on","position":1},{"start":"18:30","end":"22:30","mode":"on","position":2}]}';
try {
setState('viessmannapi.0.247750.0.features.heating.dhw.pumps.circulation.schedule.commands.setSchedule.setValue', JSON.parse(pump_on));
console.log('no Error parsing pump_on or setting state:');
} catch (e) {
console.log('Error parsing pump_on or setting state:' + e);
}