NEWS
Supportthread Resol-Adapter
-
@ckhx78 Jetzt habe ich nochmal geschaut, die Umsetzung erfolgt ja schon im Main.js. Da wird die Id auf 0x1050 gesetzt wenn die ID 30753 ist. Das ist schon eingebaut, nur scheint es für das Schreiben nicht zu funktionieren.
switch (context.deviceAddress){ case 30753: // Cosemo-Multi-2 is a relabeld DeltaSol-E context.deviceAddress = 4176; // fake a DeltaSol-E since Cosmo-Controllers aren't supported by the Resol-Lib break; }
Allerdings nur an einer Stelle , es sollte aber an 2 Stellen die Umsetzung erfolgen.
Also bitte alles auf Anfang, die Datei resol-deltasol-e-v2-100-configuration-optimizer.js wieder Original herstellen.
Und dann folgende Änderung im main.js (/opt/iobroker/node_modules/iobroker.resol) machen :
//--- vbus write async runShot(context) { try { this.log.debug('Waiting for free bus...'); const datagram = await context.connection.waitForFreeBus(); context.masterAddress = datagram.sourceAddress; this.log.debug('Found master with address 0x' + context.masterAddress.toString(16)); context.deviceAddress = context.masterAddress; // --- diesen Teil einfügen ----- switch (context.deviceAddress){ case 30753: // Cosemo-Multi-2 is a relabeld DeltaSol-E context.deviceAddress = 4176; // fake a DeltaSol-E since Cosmo-Controllers aren't supported by the Resol-Lib break; } // --- Ende diesen Teil einfügen ----- const optimizer = await vbus.ConfigurationOptimizerFactory.createOptimizerByDeviceAddress(context.deviceAddress);
Danach den Adapter neu starten.
-
@gargano Mega, Danke für Deine Geduld mit mir!
Ein Stückchen scheinen wir weiter zu sein...
Nur... so ganz scheint es noch nicht zu gehen...2024-08-03 16:29:30.009 - debug: resol.0 (51347) fct->item found{"name":"Oelheizung_Status","cmd":"Feger_Relaismodus3","val":"val"} 2024-08-03 16:29:39.731 - debug: resol.0 (51347) loadedConfig [{"valueId":"Feger_Relaismodus3","valueIndex":2243,"priority":0,"valueTextById":{},"pending":false,"transceived":false}] 2024-08-03 16:29:39.731 - debug: resol.0 (51347) dp->item found{"name":"Oelheizung_Status","cmd":"Feger_Relaismodus3","val":"val"} 2024-08-03 16:29:39.732 - debug: resol.0 (51347) dp->Name found{"dpName":"Oelheizung_Status","name":"Manual control for this relay.","type":"number","min":0,"max":2,"states":{"0":"Off","1":"Auto","2":"On"}} 2024-08-03 16:29:39.732 - debug: resol.0 (51347) fct->item found{"name":"Oelheizung_Status","cmd":"Feger_Relaismodus3","val":"val"} 2024-08-03 16:29:39.732 - debug: resol.0 (51347) Finishing loadMyConfig... 2024-08-03 16:29:39.743 - silly: resol.0 (51347) States user redis pmessage resol.0.0078210010.Actions.Oelheizung_Status/resol.0.0078210010.Actions.Oelheizung_Status:{"val":null,"ack":true,"ts":1722695379740,"q":0,"from":"system.adapter.resol.0","user":"system.user.admin","lc":1722695379740} 2024-08-03 16:29:43.924 - silly: resol.0 (51347) States user redis pmessage resol.0.0078210010.Actions.Oelheizung_Status/resol.0.0078210010.Actions.Oelheizung_Status:{"val":0,"ack":false,"ts":1722695383921,"q":0,"from":"system.adapter.admin.0","user":"system.user.admin","lc":1722695383921} 2024-08-03 16:29:43.925 - debug: resol.0 (51347) Change on Object: "resol.0.0078210010.Actions.Oelheizung_Status" 2024-08-03 16:29:43.926 - debug: resol.0 (51347) State of Object: {"val":0,"ack":false,"ts":1722695383921,"q":0,"from":"system.adapter.admin.0","user":"system.user.admin","lc":1722695383921} 2024-08-03 16:29:43.927 - debug: resol.0 (51347) State :0 2024-08-03 16:29:43.927 - debug: resol.0 (51347) "getDpFunction jsoncontrollerSetupItems [object Object]" 2024-08-03 16:29:43.928 - debug: resol.0 (51347) getDpFunction jsoncontrollerSetupItems->item {"name":"Oelheizung_Status","cmd":"Feger_Relaismodus3","val":"val"} 2024-08-03 16:29:43.928 - debug: resol.0 (51347) [{"valueId":"Feger_Relaismodus3","value":0}] 2024-08-03 16:29:43.928 - debug: resol.0 (51347) Finishing Dpfunction... 2024-08-03 16:29:43.929 - debug: resol.0 (51347) myJSON: [{"valueId":"Feger_Relaismodus3","value":0}] 2024-08-03 16:29:43.929 - debug: resol.0 (51347) Waiting for free bus... 2024-08-03 16:29:44.127 - debug: resol.0 (51347) Found master with address 0x7821 2024-08-03 16:29:44.128 - debug: resol.0 (51347) Start Optimizer 2024-08-03 16:29:56.690 - debug: resol.0 (51347) Save config [{"valueId":"Feger_Relaismodus3","value":0,"valueIndex":2243,"priority":0,"valueTextById":{},"pending":false,"transceived":false}] 2024-08-03 16:29:56.691 - debug: resol.0 (51347) Finishing runshot ...
deute ich die Zeile 20 richtig?
Er schickt die 0 für den Feger_Relaismodus3 rüber, das scheint aber nicht an zu kommen?
Ich fürchte so ganz sind die Regler nicht gleich und die ID "Feger_Relaismodus3" heißt dort vielleicht doch anders?
Oder bin ich da noch auf dem komplett falschen Dampfer?Vielen Dank auf jedenfall schonmal für Deine Mühe!!!
-
@ckhx78 sagte in Supportthread Resol-Adapter:
Ich fürchte so ganz sind die Regler nicht gleich und die ID "Feger_Relaismodus3" heißt dort vielleicht doch anders?
Kann sein, bei mir ist jedenfalls "transceived":true und bei Dir false. Was auf eine nicht ordnungsgemäße Übertragung hindeutet.
Da gibt es aber auch noch "Relaismodus3" und andere (also ohne Feger) geht bis Relaismodus31 in der Datei. Evtl. ist Feger für den Schornsteinfeger gedacht ?
Wie kommst Du auf den Feger_Relaismodus3 ?
-
@gargano
das kann gut sein, ich werd da noch ein bisschen probieren und Berichten.
Auf Feger_Relaismodus drei war ich gekommen weil das so das erste war was ich entdeckt hatte was darauf schließen ließ das dort ein Relais manuell geschaltet wird... aber hast schon Recht, beim "Schornsteinfeger Modus" auf dem Regler gibst Du vor welche Relais wie geschaltet werden sollen wenn man auf "Schornsteinfeger" am Regler manuell stellt (in meinem Fall z.B. die Rücklaufanhebung aus, damit aus dem Puffer kein heißes Wasser mehr in den Ölkessel kommt wenn dieser der Brenner zur Messung manuell Eingeschaltet wird...
Ich meld mich!
Also lag ich mit meiner Vermutung der nicht Ordnungsgemäßen Übertragung gar nicht verkehrt -
@ckhx78 Das Relais hat 4 Modi , da mußt Du dann noch in der Datei deltasol-e-v2.js anpassen
{ "type": { "valueTexts": [ { "value": 0, "id": "Aus" }, { "value": 1, "id": "Auto" }, { "value": 2, "id": "Min" }, { "value": 3, "id": "Max" } ], "rootTypeId": "Quadstate_Relais", "defaults": "1" }, "valueTexts": [], "id": "Relaismodus3", "idHash": 618714395, "index": 499, "forceUse": true },
-
@gargano
Ich guck mir das nochmal in der Beschreibung an, da sind eigentlich nur 7 Relaisausgänge auf dem Regler, das 7. ist als Wechsler ausgelegt, bei den ersten 6 sind nur ein paar (ich weiß nicht mehr genau welche / wieviel) die An / aus / oder via PWM einen Prozentwert dazwischen können... ich vergleich das mal mit den Modi's da müsst ich ja finden welcher der richtige für mich ist
Aber danke für den Hinweis!! -
@grizzelbee Hab gerade mit @ckhx78 ein Problem entdeckt in Zusammenhang mit Cosmo und evtl. auch gelöst. Die Rückmeldung steht noch aus. Issue #136 ist das gleiche Problem.
Ich habe zwar ein Issue für die 1.3 erstellt, bin aber kein Freund von statischen Hotfixes.
Wir können auch eine editierbare Surrogat-Tabelle (Datei oder im Setup) in der Version 1.4 machen, dann könnte man auch zukünftige baugleiche Regler verwenden. Was meinst Du ?Wenn im Setup, dann eine editierbare Zeile , die die Surrogat-ID enthält. Leer , wenn es keine gibt.
Gruß
Werner -
@gargano said in Supportthread Resol-Adapter:
@ckhx78 Das Relais hat 4 Modi , da mußt Du dann noch in der Datei deltasol-e-v2.js anpassen
{ "type": { "valueTexts": [ { "value": 0, "id": "Aus" }, { "value": 1, "id": "Auto" }, { "value": 2, "id": "Min" }, { "value": 3, "id": "Max" } ], "rootTypeId": "Quadstate_Relais", "defaults": "1" }, "valueTexts": [], "id": "Relaismodus3", "idHash": 618714395, "index": 499, "forceUse": true },
Ich hab die cosmo-multi-2.js angepasst, richtig?
Hab mir das mit den Relais nochmal durchgelesen, hätte durchaus sein können, der Regler kann nur 7, aber optional kann man noch mehrere Heizkreismodule über den V-bus als Slave dahinter schalten, dann passt das schon...
Nur... weiter bin ich leider noch nicht, das scheint auch noch nicht die gewünschte ID zu sein...resol.0 2024-08-03 19:11:43.255 debug Finishing loadMyConfig... resol.0 2024-08-03 19:11:43.254 debug fct->item found{"name":"Oelheizung_Status","cmd":"Relaismodus3","val":"val"} resol.0 2024-08-03 19:11:43.254 debug dp->Name found{"dpName":"Oelheizung_Status","name":"Manual control for this relay.","type":"number","min":0,"max":3,"states":{"0":"Off","1":"Auto","2":"Min","3":"Max"}} resol.0 2024-08-03 19:11:43.254 debug dp->item found{"name":"Oelheizung_Status","cmd":"Relaismodus3","val":"val"} resol.0 2024-08-03 19:11:43.253 debug loadedConfig [{"valueId":"Relaismodus3","valueIndex":499,"priority":0,"valueTextById":{"Aus":0,"Auto":1,"Min":2,"Max":3},"pending":false,"transceived":false}] resol.0 2024-08-03 19:11:32.282 debug Finishing runshot ... resol.0 2024-08-03 19:11:32.282 debug Save config [{"valueId":"Relaismodus3","value":0,"valueIndex":499,"priority":0,"valueTextById":{"Aus":0,"Auto":1,"Min":2,"Max":3},"pending":false,"transceived":false}] resol.0 2024-08-03 19:11:30.005 debug fct->item found{"name":"Oelheizung_Status","cmd":"Relaismodus3","val":"val"} resol.0 2024-08-03 19:11:30.001 debug received data: [{"id":"00_0010_7821_10_0100_000_2_0","name":"Temperatur Sensor 1","rawValue":52.300000000000004,"deviceName":"COSMO Multi [Regler]","deviceId":"0078210010","addressId":30753,"unitId":"DegreesCelsius","unitText":" °C","typeId":"Number_0_1_DegreesCelsius","precision":1,"rootTypeId":"Number","parts":[{"offset":0,"mask":255,"bitPos":0,"isSigned":false,"factor":1},{"offset":1,"mask":255,"bitPos":0,"isSigned":true,"factor":256}]},{"id":"00_0010_7821_10_0100_002_2_0","name":"Temperatur Sensor 2","rawValue":51.900000000000006,"deviceName":"COSMO Multi [Regler]","deviceId":"0078210010","addressId":30753,"unitId":"DegreesCelsius","unitText":" °C","typeId":"Number_0_1_DegreesCelsius","precision":1,"rootTypeId":"Number","parts":[{"offset":2,"mask":255,"bitPos":0,"isSigned":false,"factor":1},{"offset":3,"mask":255,"bitPos":0,"isSigned":true,"factor":256}]},{"id":"00_0010_7821_10_0100_004_2_0","name":"Temperatur Sensor 3","rawValue":30.1,"deviceName":"COSMO Multi [Regler]","deviceId":"0078210010","addressId":30753,"unitId":"DegreesCelsius","unitText":" °C","typeId":"Number_0_1_DegreesCelsius","precision":1,"rootTypeId":"Number","parts":[{"offset":4,"mask":255,"bitPos":0,"isSigned":false,"factor":1},{"offset":5,"mask":255,"bitPos":0,"isSigned":true,"factor":256}]},{"id":"00_0010_7821_10_0100_006_2_0","name":"Temperatur Sensor 4","rawValue":62.900000000000006,"deviceName":"COSMO Multi [Regler]","deviceId":"0078210010","addressId":30753,"unitId":"DegreesCelsius","unitText":" °C","typeId":"Number_0_1_DegreesCelsius","precision":1,"rootTypeId":"Number","parts":[{"offset":6,"mask":255,"bitPos":0,"isSigned":false,"factor":1},{"offset":7,"mask":255,"bitPos":0,"isSigned":true,"factor":256}]},{"id":"00_0010_7821_10_0100_008_2_0","name":"Temperatur Sensor 5","rawValue":50.2,"deviceName":"COSMO Multi [Regler]","deviceId":"0078210010","addressId":30753,"unitId":"DegreesCelsius","unitText":" °C","typeId":"Number_0_1_DegreesCelsius","precision":1,"rootTypeId":"Number","parts":[{"offset":8,"mask":255,"bitPos":0,"isSigned":false,"factor":1},{"offset":9,"mask":255,"bitPos":0,"isSigned":true,"factor":256}]},{"id":"00_0010_7821_10_0100_010_2_0","name":"Temperatur Sensor 6","rawValue":48,"deviceName":"COSMO Multi [Regler]","deviceId":"0078210010","addressId":30753,"unitId":"DegreesCelsius","unitText":" °C","typeId":"Number_0_1_DegreesCelsius","precision":1,"rootTypeId":"Number","parts":[{"offset":10,"mask":255,"bitPos":0,"isSigned":false,"factor":1},{"offset":11,"mask":255,"bitPos":0,"isSigned":true,"factor":256}]},{"id":"00_0010_7821_10_0100_012_2_0","name":"Temperatur Sensor 7","rawValue":72.2,"deviceName":"COSMO Multi [Regler]","deviceId":"0078210010","addressId":30753,"unitId":"DegreesCelsius","unitText":" °C","typeId":"Number_0_1_DegreesCelsius","precision":1,"rootTypeId":"Number","parts":[{"offset":12,"mask":255,"bitPos":0,"isSigned":false,"factor":1},{"offset":13,"mask":255,"bitPos":0,"isSigned":true,"factor":256}]},{"id":"00_0010_7821_10_0100_014_2_0","name":"Temperatur Sensor 8","rawValue":53.6,"deviceName":"COSMO Multi [Regler]","deviceId":"0078210010","addressId":30753,"unitId":"DegreesCelsius","unitText":" °C","typeId":"Number_0_1_DegreesCelsius","precision":1,"rootTypeId":"Number","parts":[{"offset":14,"mask":255,"bitPos":0,"isSigned":false,"factor":1},{"offset":15,"mask":255,"bitPos":0,"isSigned":true,"factor":256}]},{"id":"00_0010_7821_10_0100_016_2_0","name":"Temperatur Sensor 9","rawValue":71.60000000000001,"deviceName":"COSMO Multi [Regler]","deviceId":"0078210010","addressId":30753,"unitId":"DegreesCelsius","unitText":" °C","typeId":"Number_0_1_DegreesCelsius","precision":1,"rootTypeId":"Number","parts":[{"offset":16,"mask":255,"bitPos":0,"isSigned":false,"factor":1},{"offset":17,"mask":255,"bitPos":0,"isSigned":true,"factor":256}]},{"id":"00_0010_7821_10_0100_018_2_0","name":"Temperatur Sensor 10","rawValue":29.5,"deviceName":"COSMO Multi [Regler]","deviceId":"0078210010","addressId":30753,"unitId":"DegreesCelsius","unitText":" °C","typeId":"Number_0_1_DegreesCelsius","precision":1,"rootTypeId":"Number","parts":[{"offset":18,"mask":255,"bitPos":0,"isSigned":false,"factor":1},{"offset":19,"mask":255,"bitPos":0,"isSigned":true,"factor":256}]},{"id":"00_0010_7821_10_0100_020_2_0","name":"Einstrahlung CS","rawValue":41,"deviceName":"COSMO Multi [Regler]","deviceId":"0078210010","addressId":30753,"unitId":"WattsPerSquareMeter","unitText":" W/m²","typeId":"Number_1_WattsPerSquareMeter","precision":0,"rootTypeId":"Number","parts":[{"offset":20,"mask":255,"bitPos":0,"isSigned":false,"factor":1},{"offset":21,"mask":255,"bitPos":0,"isSigned":true,"factor":256}]},{"id":"00_0010_7821_10_0100_022_2_0","name":"Impulse 1 V40","rawValue":0,"deviceName":"COSMO Multi [Regler]","deviceId":"0078210010","addressId":30753,"unitId":"None","unitText":"","typeId":"Number_1_None","precision":0,"rootTypeId":"Number","parts":[{"offset":22,"mask":255,"bitPos":0,"isSigned":false,"factor":1},{"offset":23,"mask":255,"bitPos":0,"isSigned":false,"factor":256}]},{"id":"00_0010_7821_10_0100_024_2_0","name":"Digital Input","rawValue":1,"deviceName":"COSMO Multi [Regler]","deviceId":"0078210010","addressId":30753,"unitId":"None","unitText":"","typeId":"Number_1_None","precision":0,"rootTypeId":"Number","parts":[{"offset":24,"mask":255,"bitPos":0,"isSigned":false,"factor":1},{"offset":25,"mask":255,"bitPos":0,"isSigned":false,"factor":256}]},{"id":"00_0010_7821_10_0100_026_1_0","name":"Drehzahl Relais 1","rawValue":0,"deviceName":"COSMO Multi [Regler]","deviceId":"0078210010","addressId":30753,"unitId":"Percent","unitText":"%","typeId":"Number_1_Percent","precision":0,"rootTypeId":"Number","parts":[{"offset":26,"mask":255,"bitPos":0,"isSigned":true,"factor":1}]},{"id":"00_0010_7821_10_0100_027_1_0","name":"Drehzahl Relais 2","rawValue":0,"deviceName":"COSMO Multi [Regler]","deviceId":"0078210010","addressId":30753,"unitId":"Percent","unitText":"%","typeId":"Number_1_Percent","precision":0,"rootTypeId":"Number","parts":[{"offset":27,"mask":255,"bitPos":0,"isSigned":true,"factor":1}]},{"id":"00_0010_7821_10_0100_028_1_0","name":"Drehzahl Relais 3","rawValue":0,"deviceName":"COSMO Multi [Regler]","deviceId":"0078210010","addressId":30753,"unitId":"Percent","unitText":"%","typeId":"Number_1_Percent","precision":0,"rootTypeId":"Number","parts":[{"offset":28,"mask":255,"bitPos":0,"isSigned":true,"factor":1}]},{"id":"00_0010_7821_10_0100_029_1_0","name":"Drehzahl Relais 4","rawValue":100,"deviceName":"COSMO Multi [Regler]","deviceId":"0078210010","addressId":30753,"unitId":"Percent","unitText":"%","typeId":"Number_1_Percent","precision":0,"rootTypeId":"Number","parts":[{"offset":29,"mask":255,"bitPos":0,"isSigned":true,"factor":1}]},{"id":"00_0010_7821_10_0100_030_1_0","name":"Drehzahl Relais 5","rawValue":0,"deviceName":"COSMO Multi [Regler]","deviceId":"0078210010","addressId":30753,"unitId":"Percent","unitText":"%","typeId":"Number_1_Percent","precision":0,"rootTypeId":"Number","parts":[{"offset":30,"mask":255,"bitPos":0,"isSigned":true,"factor":1}]},{"id":"00_0010_7821_10_0100_031_1_0","name":"Drehzahl Relais 6","rawValue":0,"deviceName":"COSMO Multi [Regler]","deviceId":"0078210010","addressId":30753,"unitId":"Percent","unitText":"%","typeId":"Number_1_Percent","precision":0,"rootTypeId":"Number","parts":[{"offset":31,"mask":255,"bitPos":0,"isSigned":true,"factor":1}]},{"id":"00_0010_7821_10_0100_032_1_0","name":"Drehzahl Relais 7","rawValue":0,"deviceName":"COSMO Multi [Regler]","deviceId":"0078210010","addressId":30753,"unitId":"Percent","unitText":"%","typeId":"Number_1_Percent","precision":0,"rootTypeId":"Number","parts":[{"offset":32,"mask":255,"bitPos":0,"isSigned":true,"factor":1}]},{"id":"00_0010_7821_10_0100_036_2_0","name":"Fehlermaske","rawValue":0,"deviceName":"COSMO Multi [Regler]","deviceId":"0078210010","addressId":30753,"unitId":"None","unitText":"","typeId":"Number_1_None","precision":0,"rootTypeId":"Number","parts":[{"offset":36,"mask":255,"bitPos":0,"isSigned":false,"factor":1},{"offset":37,"mask":255,"bitPos":0,"isSigned":false,"factor":256}]},{"id":"00_0010_7821_10_0100_038_2_0","name":"Meldungen","rawValue":0,"deviceName":"COSMO Multi [Regler]","deviceId":"0078210010","addressId":30753,"unitId":"None","unitText":"","typeId":"Number_1_None","precision":0,"rootTypeId":"Number","parts":[{"offset":38,"mask":255,"bitPos":0,"isSigned":false,"factor":1},{"offset":39,"mask":255,"bitPos":0,"isSigned":false,"factor":256}]},{"id":"00_0010_7821_10_0100_040_1_0","name":"System","rawValue":1,"deviceName":"COSMO Multi [Regler]","deviceId":"0078210010","addressId":30753,"unitId":"None","unitText":"","typeId":"Number_1_None","precision":0,"rootTypeId":"Number","parts":[{"offset":40,"mask":255,"bitPos":0,"isSigned":true,"factor":1}]},{"id":"00_0010_7821_10_0100_042_2_0","name":"Schema","rawValue":346,"deviceName":"COSMO Multi [Regler]","deviceId":"0078210010","addressId":30753,"unitId":"None","unitText":"","typeId":"Number_1_None","precision":0,"rootTypeId":"Number","parts":[{"offset":42,"mask":255,"bitPos":0,"isSigned":false,"factor":1},{"offset":43,"mask":255,"bitPos":0,"isSigned":false,"factor":256}]},{"id":"00_0010_7821_10_0100_044_2_0","name":"Vorlauf Soll HK1 Modul Sensor 18","rawValue":0,"deviceName":"COSMO Multi [Regler]","deviceId":"0078210010","addressId":30753,"unitId":"DegreesCelsius","unitText":" °C","typeId":"Number_0_1_DegreesCelsius","precision":1,"rootTypeId":"Number","parts":[{"offset":44,"mask":255,"bitPos":0,"isSigned":false,"factor":1},{"offset":45,"mask":255,"bitPos":0,"isSigned":true,"factor":256}]},{"id":"00_0010_7821_10_0100_046_2_0","name":"Status HK1 Modul","rawValue":0,"deviceName":"COSMO Multi [Regler]","deviceId":"0078210010","addressId":30753,"unitId":"None","unitText":"","typeId":"Number_1_None","precision":0,"rootTypeId":"Number","parts":[{"offset":46,"mask":255,"bitPos":0,"isSigned":false,"factor":1},{"offset":47,"mask":255,"bitPos":0,"isSigned":false,"factor":256}]},{"id":"00_0010_7821_10_0100_048_2_0","name":"Vorlauf Soll HK2 Modul Sensor 25","rawValue":0,"deviceName":"COSMO Multi [Regler]","deviceId":"0078210010","addressId":30753,"unitId":"DegreesCelsius","unitText":" °C","typeId":"Number_0_1_DegreesCelsius","precision":1,"rootTypeId":"Number","parts":[{"offset":48,"mask":255,"bitPos":0,"isSigned":false,"factor":1},{"offset":49,"mask":255,"bitPos":0,"isSigned":true,"factor":256}]},{"id":"00_0010_7821_10_0100_050_2_0","name":"Status HK2 Modul","rawValue":0,"deviceName":"COSMO Multi [Regler]","deviceId":"0078210010","addressId":30753,"unitId":"None","unitText":"","typeId":"Number_1_None","precision":0,"rootTypeId":"Number","parts":[{"offset":50,"mask":255,"bitPos":0,"isSigned":false,"factor":1},{"offset":51,"mask":255,"bitPos":0,"isSigned":false,"factor":256}]},{"id":"00_0010_7821_10_0100_052_2_0","name":"Vorlauf Soll HK3 Modul Sensor 32","rawValue":0,"deviceName":"COSMO Multi [Regler]","deviceId":"0078210010","addressId":30753,"unitId":"DegreesCelsius","unitText":" °C","typeId":"Number_0_1_DegreesCelsius","precision":1,"rootTypeId":"Number","parts":[{"offset":52,"mask":255,"bitPos":0,"isSigned":false,"factor":1},{"offset":53,"mask":255,"bitPos":0,"isSigned":true,"factor":256}]},{"id":"00_0010_7821_10_0100_054_2_0","name":"Status HK3 Modul","rawValue":0,"deviceName":"COSMO Multi [Regler]","deviceId":"0078210010","addressId":30753,"unitId":"None","unitText":"","typeId":"Number_1_None","precision":0,"rootTypeId":"Number","parts":[{"offset":54,"mask":255,"bitPos":0,"isSigned":false,"factor":1},{"offset":55,"mask":255,"bitPos":0,"isSigned":false,"factor":256}]},{"id":"00_0010_7821_10_0100_056_2_0","name":"Vorlauf Soll Heizkreis Sensor 11","rawValue":0,"deviceName":"COSMO Multi [Regler]","deviceId":"0078210010","addressId":30753,"unitId":"DegreesCelsius","unitText":" °C","typeId":"Number_0_1_DegreesCelsius","precision":1,"rootTypeId":"Number","parts":[{"offset":56,"mask":255,"bitPos":0,"isSigned":false,"factor":1},{"offset":57,"mask":255,"bitPos":0,"isSigned":true,"factor":256}]},{"id":"00_0010_7821_10_0100_058_2_0","name":"Status Heizkreis","rawValue":0,"deviceName":"COSMO Multi [Regler]","deviceId":"0078210010","addressId":30753,"unitId":"None","unitText":"","typeId":"Number_1_None","precision":0,"rootTypeId":"Number","parts":[{"offset":58,"mask":255,"bitPos":0,"isSigned":false,"factor":1},{"offset":59,"mask":255,"bitPos":0,"isSigned":false,"factor":256}]},{"id":"00_0010_7821_10_0100_062_2_0","name":"Systemzeit","rawValue":8351,"deviceName":"COSMO Multi [Regler]","deviceId":"0078210010","addressId":30753,"unitId":"None","unitText":"","typeId":"Time_1_None","precision":0,"rootTypeId":"Time","parts":[{"offset":62,"mask":255,"bitPos":0,"isSigned":false,"factor":1},{"offset":63,"mask":255,"bitPos":0,"isSigned":true,"factor":256}]},{"id":"00_0010_7821_10_0100_064_2_0","name":"Jahr","rawValue":2024,"deviceName":"COSMO Multi [Regler]","deviceId":"0078210010","addressId":30753,"unitId":"None","unitText":"","typeId":"Number_1_None","precision":0,"rootTypeId":"Number","parts":[{"offset":64,"mask":255,"bitPos":0,"isSigned":false,"factor":1},{"offset":65,"mask":255,"bitPos":0,"isSigned":true,"factor":256}]},{"id":"00_0010_7821_10_0100_066_1_0","name":"Monat","rawValue":8,"deviceName":"COSMO Multi [Regler]","deviceId":"0078210010","addressId":30753,"unitId":"None","unitText":"","typeId":"Number_1_None","precision":0,"rootTypeId":"Number","parts":[{"offset":66,"mask":255,"bitPos":0,"isSigned":true,"factor":1}]},{"id":"00_0010_7821_10_0100_067_1_0","name":"Tag","rawValue":3,"deviceName":"COSMO Multi [Regler]","deviceId":"0078210010","addressId":30753,"unitId":"None","unitText":"","typeId":"Number_1_None","precision":0,"rootTypeId":"Number","parts":[{"offset":67,"mask":255,"bitPos":0,"isSigned":true,"factor":1}]},{"id":"00_0010_7821_10_0100_060_1_0","name":"Version","rawValue":1.03,"deviceName":"COSMO Multi [Regler]","deviceId":"0078210010","addressId":30753,"unitId":"None","unitText":"","typeId":"Number_0_01_None","precision":2,"rootTypeId":"Number","parts":[{"offset":60,"mask":255,"bitPos":0,"isSigned":true,"factor":100},{"offset":61,"mask":255,"bitPos":0,"isSigned":true,"factor":1}]},{"id":"00_0010_7822_10_0100_000_2_0","name":"Temperatur Vorlauf","rawValue":50.2,"deviceName":"COSMO Multi [WMZ]","deviceId":"0078220010","addressId":30754,"unitId":"DegreesCelsius","unitText":" °C","typeId":"Number_0_1_DegreesCelsius","precision":1,"rootTypeId":"Number","parts":[{"offset":0,"mask":255,"bitPos":0,"isSigned":false,"factor":1},{"offset":1,"mask":255,"bitPos":0,"isSigned":true,"factor":256}]},{"id":"00_0010_7822_10_0100_002_2_0","name":"Temperatur Rücklauf","rawValue":48,"deviceName":"COSMO Multi [WMZ]","deviceId":"0078220010","addressId":30754,"unitId":"DegreesCelsius","unitText":" °C","typeId":"Number_0_1_DegreesCelsius","precision":1,"rootTypeId":"Number","parts":[{"offset":2,"mask":255,"bitPos":0,"isSigned":false,"factor":1},{"offset":3,"mask":255,"bitPos":0,"isSigned":true,"factor":256}]},{"id":"00_0010_7822_10_0100_004_2_0","name":"Durchfluss Sensor 8","rawValue":0,"deviceName":"COSMO Multi [WMZ]","deviceId":"0078220010","addressId":30754,"unitId":"LitersPerHour","unitText":" l/h","typeId":"Number_1_LitersPerHour","precision":0,"rootTypeId":"Number","parts":[{"offset":4,"mask":255,"bitPos":0,"isSigned":false,"factor":1},{"offset":5,"mask":255,"bitPos":0,"isSigned":true,"factor":256}]},{"id":"00_0010_7822_10_0100_006_2_0","name":"Wärmemenge","rawValue":36684077,"deviceName":"COSMO Multi [WMZ]","deviceId":"0078220010","addressId":30754,"unitId":"WattHours","unitText":" Wh","typeId":"Number_1_WattHours","precision":0,"rootTypeId":"Number","parts":[{"offset":6,"mask":255,"bitPos":0,"isSigned":false,"factor":1},{"offset":7,"mask":255,"bitPos":0,"isSigned":false,"factor":256},{"offset":8,"mask":255,"bitPos":0,"isSigned":false,"factor":1000},{"offset":9,"mask":255,"bitPos":0,"isSigned":false,"factor":256000},{"offset":10,"mask":255,"bitPos":0,"isSigned":false,"factor":1000000},{"offset":11,"mask":255,"bitPos":0,"isSigned":false,"factor":256000000}]}] resol.0 2024-08-03 19:11:20.136 debug Start Optimizer resol.0 2024-08-03 19:11:20.136 debug Found master with address 0x7821 resol.0 2024-08-03 19:11:17.602 debug Waiting for free bus... resol.0 2024-08-03 19:11:17.601 debug myJSON: [{"valueId":"Relaismodus3","value":0}] resol.0 2024-08-03 19:11:17.601 debug Finishing Dpfunction... resol.0 2024-08-03 19:11:17.601 debug [{"valueId":"Relaismodus3","value":0}] resol.0 2024-08-03 19:11:17.601 debug getDpFunction jsoncontrollerSetupItems->item {"name":"Oelheizung_Status","cmd":"Relaismodus3","val":"val"} resol.0 2024-08-03 19:11:17.600 debug "getDpFunction jsoncontrollerSetupItems [object Object]" resol.0 2024-08-03 19:11:17.599 debug State :0 resol.0 2024-08-03 19:11:17.599 debug State of Object: {"val":0,"ack":false,"ts":1722705077594,"q":0,"from":"system.adapter.admin.0","user":"system.user.admin","lc":1722705077594} resol.0 2024-08-03 19:11:17.598 debug Change on Object: "resol.0.0078210010.Actions.Oelheizung_Status" resol.0 2024-08-03 19:11:17.597 silly States user redis pmessage resol.0.0078210010.Actions.Oelheizung_Status/resol.0.0078210010.Actions.Oelheizung_Status:{"val":0,"ack":false,"ts":1722705077594,"q":0,"from":"system.adapter.admin.0","user":"system.user.admin","lc":1722705077594} resol.0 2024-08-03 19:11:09.693 silly States user redis pmessage resol.0.0078210010.Actions.Oelheizung_Status/resol.0.0078210010.Actions.Oelheizung_Status:{"val":null,"ack":true,"ts":1722705069690,"q":0,"from":"system.adapter.resol.0","user":"system.user.admin","lc":1722705069690} resol.0 2024-08-03 19:11:09.683 debug Finishing loadMyConfig... resol.0 2024-08-03 19:11:09.683 debug fct->item found{"name":"Oelheizung_Status","cmd":"Relaismodus3","val":"val"} resol.0 2024-08-03 19:11:09.682 debug dp->Name found{"dpName":"Oelheizung_Status","name":"Manual control for this relay.","type":"number","min":0,"max":3,"states":{"0":"Off","1":"Auto","2":"Min","3":"Max"}} resol.0 2024-08-03 19:11:09.682 debug dp->item found{"name":"Oelheizung_Status","cmd":"Relaismodus3","val":"val"} resol.0 2024-08-03 19:11:09.681 debug loadedConfig [{"valueId":"Relaismodus3","valueIndex":499,"priority":0,"valueTextById":{"Aus":0,"Auto":1,"Min":2,"Max":3},"pending":false,"transceived":false}] resol.0 2024-08-03 19:11:00.008 debug fct->item found{"name":"Oelheizung_Status","cmd":"Relaismodus3","val":"val"}
Ich such noch ein bisschen
-
@gargano said in Supportthread Resol-Adapter:
@ckhx78 sagte in Supportthread Resol-Adapter:
Ich fürchte so ganz sind die Regler nicht gleich und die ID "Feger_Relaismodus3" heißt dort vielleicht doch anders?
Kann sein, bei mir ist jedenfalls "transceived":true und bei Dir false. Was auf eine nicht ordnungsgemäße Übertragung hindeutet.
Da gibt es aber auch noch "Relaismodus3" und andere (also ohne Feger) geht bis Relaismodus31 in der Datei. Evtl. ist Feger für den Schornsteinfeger gedacht ?
Wie kommst Du auf den Feger_Relaismodus3 ?
glaube inzwischen das der Feger_Relaismodus wohl der richtige ist. Auf der Steuerung im Keller heißt das "Handbetrieb" dort kann ich die Relais 1-7 auswählen und zwischen Ein, Auto und Aus wählen, das wäre genau der Punkt den ich benötige, da trifft in der resol-deltasol-e-v2-100-data.js eigentlich nur der Punkt zu.
zum Thema Übertragungsfehler...
Ich hab den Resol DL2 bei mir zur Kommunikation mit dem Vbus... kann ich da noch irgendwas falsch gemacht haben? -
@ckhx78 Da gibt es wohl inzwischen 2 Typen von DL 2. Einen grünen, viereckigen (den habe ich) und einen grauen runden. Welchen hast Du?
-
@gargano said in Supportthread Resol-Adapter:
@ckhx78 Da gibt es wohl inzwischen 2 Typen von DL 2. Einen grünen, viereckigen (den habe ich) und einen grauen runden. Welchen hast Du?
ich hab den grauen runden
Hab mir grade aber irgendwas zerschossen und noch ein ganz anderes Problem eingebaut
war wohl zuviel gebastel heute
-
@ckhx78 nicht, dass der graue gar nicht zum Steuern geht. Der grüne geht auf jeden Fall. Ich verwende den um den Puffer rückzukühlen im Sommer.
-
@gargano said in Supportthread Resol-Adapter:
@ckhx78 nicht, dass der graue gar nicht zum Steuern geht. Der grüne geht auf jeden Fall. Ich verwende den um den Puffer rückzukühlen im Sommer.
würd mich inzwischen auch nicht wundern...
Bekomm grad gar nix an's laufen... bin unten am Regler alle Menüs mal durch... Feger_Relaismodus könnten natürlich auch genau die Einstellungen für den Schornsteinfegermodus sein
Dann würde aber quasi der Handbetrieb komplett fehlenIch muss da glaube nochmal ein paar Nächte drüber schlafen...
-
Ich krieg gar nix mehr an's laufen...
Was kommt denn da für ein Passwort rein?
einen Vbus.net Zugang hab ich nicht... das Gerät sollte ohne Passwort erreichbar sein, hat aber eben auch einen reset auf Werkseinstellung erfahren, aber das Standard admin Passwort schluckt er auch nicht mehrEdit: Ok... das läuft schonmal wieder
-
@ckhx78
Ich hab in den Einstellungen den VBus/Lan (Ich habe den günstigeren Lan Schnittstellen-Adapter ohne Datenlogger). Läuft bei mir aber auch mit KM/DL2
-
@gargano
Moin!Das macht kein Unterschied, egal was ich dort Einstelle, es ändert nichts...
resol.0 2024-08-05 20:27:41.027 debug fct->item found{"name":"Oelheizung_Status","cmd":"Feger_Relaismodus3","val":"val"}
Was mich noch wundert, meist gibt es beim Start des Adapters noch folgende Meldungen... wenn man Ihn dann irgendwann nochmal neu startet, dann sind die meist weg:
resol.0 2024-08-05 20:28:48.411 error [generateDP] Error: TypeError: Cannot read properties of undefined (reading 'setup') resol.0 2024-08-05 20:28:48.410 warn [getJSONByResolId] Controller type not found in setup file. resol.0 2024-08-05 20:28:47.176 info Connection established resol.0 2024-08-05 20:28:47.144 info Connection state changed to CONNECTING resol.0 2024-08-05 20:28:47.144 info Waiting for Connection... resol.0 2024-08-05 20:28:47.143 info TCP Connection to KM2/DL2 on [192.168.200.35:7053] selected resol.0 2024-08-05 20:28:47.130 info Config seems to be valid for KM2/DL2/DL3. resol.0 2024-08-05 20:28:47.114 info starting. Version 1.3.0 in /opt/iobroker/node_modules/iobroker.resol, node: v18.20.4, js-controller: 6.0.9 resol.0 2024-08-05 20:28:27.119 info terminating resol.0 2024-08-05 20:28:26.624 info Connection state changed to DISCONNECTED resol.0 2024-08-05 20:28:26.616 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason resol.0 2024-08-05 20:28:26.616 debug Plugin sentry destroyed resol.0 2024-08-05 20:28:26.615 info terminating resol.0 2024-08-05 20:28:26.614 info Cleaned up everything... resol.0 2024-08-05 20:28:26.614 info Connection state changed to DISCONNECTING resol.0 2024-08-05 20:28:26.612 info Got terminate signal TERMINATE_YOURSELF resol.0 2024-08-05 20:28:26.612 silly States system redis pmessage system.adapter.resol.0.sigKill/system.adapter.resol.0.sigKill:{"val":-1,"ack":false,"ts":1722882506609,"q":0,"from":"system.host.ubuntu","lc":1722882506609} resol.0 2024-08-05 20:28:12.019 silly States user redis pmessage resol.0.0078210010.Actions.Oelheizung_Status/resol.0.0078210010.Actions.Oelheizung_Status:{"val":null,"ack":true,"ts":1722882492018,"q":0,"from":"system.adapter.resol.0","user":"system.user.admin","lc":1722882492018} resol.0 2024-08-05 20:28:12.010 debug Finishing loadMyConfig... resol.0 2024-08-05 20:28:12.010 debug fct->item found{"name":"Oelheizung_Status","cmd":"Feger_Relaismodus3","val":"val"} resol.0 2024-08-05 20:28:12.010 debug dp->Name found{"dpName":"Oelheizung_Status","name":"Manual control for this relay.","type":"number","min":0,"max":2,"states":{"0":"Off","1":"Auto","2":"On"}} resol.0 2024-08-05 20:28:12.009 debug dp->item found{"name":"Oelheizung_Status","cmd":"Feger_Relaismodus3","val":"val"} resol.0 2024-08-05 20:28:12.009 debug loadedConfig [{"valueId":"Feger_Relaismodus3","valueIndex":2243,"priority":0,"valueTextById":{},"pending":false,"transceived":false}] resol.0 2024-08-05 20:28:00.016 debug fct->item found{"name":"Oelheizung_Status","cmd":"Feger_Relaismodus3","val":"val"}
-
@ckhx78 Ich habe jetzt mal bei mir den Index in dem Data-File von meinem Controller geändert , so daß er den Index nicht kennt.
Save config [{"valueId":"THolyCool","value":500,"valueIndex":9999,"priority":0,"valueTextById":{},"pending":false,"transceived":false}]
Also das gleiche Verhalten wie bei Dir. Der Controller kennt den Index nicht.
Hast Du mal etwas anderes probiert, außer die Relais ?Noch ein Idee :
Hast Du mal den User Code im Cosmo auf Expert geändert ?
-
@gargano
Moin!Den User Code hab ich auf Expert stehen, Hm... was anderes als die Relais hab ich noch nicht probiert, komm ich erst die Tage zu
Die wichtigste Funktion bisher war immer nur das Auslesen der Daten, das geht ja einwandfrei -
@ckhx78 Hi,
ich habe inzwischen Antwort vom Daniel :
Mit
"valueId": "Relaismodus5",
"valueIndex": 501,
"value": 2sollte das Relais 5 in den Handbetrieb gehen.
Daniel hat sich einen COSMO Multi geliehen, auf der eine Firmware-Version 1.05 und damit probiert.
-
@gargano
Ich les das grade erst, Sorry!
Mega!! Aktuell war nur noch sehr wenig Zeit und die Heizung hinten angestellt, im Sommer ist's Interessanter wenn der Puffer über den Kollektor genug Wärme hat, aktuell hab ich an dem Puffer noch einen Holzofen (mit Wassertasche) und einen Pelletsofen mit Wassertasche, aber wenn die laufen kommt reichlich Hitze
Aber ganz ganz vielen Dank, denke spätestens zum Frühjahr wird das wieder Interessant!Schöne Feiertage und guten Rutsch!!
VG
Christoph