Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start Button ALKO Mähroboter nicht mehr verfügbar #37

Closed
JBSullivan opened this issue Oct 6, 2019 · 13 comments
Closed

Start Button ALKO Mähroboter nicht mehr verfügbar #37

JBSullivan opened this issue Oct 6, 2019 · 13 comments
Labels

Comments

@JBSullivan
Copy link

Hallo, ich kann nicht genau sagen, seit wann es so ist, aber ich habe heute festgestellt, das man den Mähroboter nicht mehr über ioB starten kann.

Früher war, soweit ich mich erinnern kann, unter dem Datenpunkt "Action" ein ausführbarer Button vorhanden. Das Starten des Roboters über die Innogy Oberfläche funktioniert nach wie vor. Über den ioB Adapter geht es leider nicht mehr.

2019-10-06 12_12_04-objects - ioBroker

@Lukrativ
Copy link

Lukrativ commented Sep 7, 2021

NAchdem ich heute ebenfalls meinen Robolinho 3100i einbinden wollte ist mir das gleiche aufgefallen. Derzeit kann ich nur Statusabfragen machen aber keinerlei Werte schreiben oder den Status verändern.

@JBSullivan
Copy link
Author

Betrifft nicht nur den Robbi Status bzw. des beschreibbare Aktionen (z.B. Homing), sondern auch in Innogy (Livisi) angelegte Zustände. Diese tauchen zwar in ioB als Datenpunkte auf, reagieren aber nicht auf True/False Betätigung.

@Apollon77
Copy link
Collaborator

Is this issue still relevant?

@JBSullivan
Copy link
Author

Das Testsystem war dann doch schneller wieder aktiviert als ich es erwartet hätte. Habe jetzt auf die aktuelle GIT Versionen geupdate. Lief alles fehlerfrei soweit. - kleine Anmerkung: Im DEBUG LOG wird von der Zentrale 2.0 das Lokale Passwort im Klartext mit ausgegeben - soll das so?

Ich habe sogar meinen Mähroboter auf die schnelle aus dem Winterschlaf geholt und mit der Zentrale connecten lassen. Sieht auch soweit gut aus, bis auf den Menüpunkt moving-schedule

Unter ioB bleibt dieser Ordner leer. Über den Smarhome Explorer kann man aber sehen, das der im Mähroboter gespeicherte Zeitplan mit ausgegeben wird.

image

image

@Apollon77
Copy link
Collaborator

zu Mowing schedule ... dann solltest DU im Log aber eine "Unknown state (please report to dev)" zeile haben oder? ;-)

@Apollon77
Copy link
Collaborator

zum Pasword: Hmm ... gute Frage ... wie sieht die Logginzeile denn aus wo das drin ist?

Da fgällt mir ein das man auch das Passwort noch verschlüselt speichern sollte. Machen wir mit rein - ist eh Major

@JBSullivan
Copy link
Author

JBSullivan commented Dec 24, 2022

zu moving schedule - entweder ich habe es übersehen, oder es steht nicht drin.

2022-12-24 09:37:56.433  - �[34mdebug�[39m: innogy-smarthome.0 (1141) SOCKET CONNECTION TO THE INNOGY API WAS CLOSED
2022-12-24 09:37:56.435  - �[34mdebug�[39m: innogy-smarthome.0 (1141) OPEN
2022-12-24 09:37:56.442  - �[34mdebug�[39m: innogy-smarthome.0 (1141) state innogy-smarthome.0.info.lastRealTimeEventReceived changed: 2022-12-24T08:37:56.415Z (ack = true)
2022-12-24 09:37:56.448  - �[34mdebug�[39m: innogy-smarthome.0 (1141) state innogy-smarthome.0.info.lastRealTimeEventReceived changed: 2022-12-24T08:37:56.415Z (ack = true)
2022-12-24 09:37:56.449  - �[34mdebug�[39m: innogy-smarthome.0 (1141) state innogy-smarthome.0.info.lastRealTimeEventReceived changed: 2022-12-24T08:37:56.416Z (ack = true)
2022-12-24 09:37:56.449  - �[34mdebug�[39m: innogy-smarthome.0 (1141) state innogy-smarthome.0.info.connection changed: false (ack = true)
2022-12-24 09:37:56.449  - �[34mdebug�[39m: innogy-smarthome.0 (1141) state innogy-smarthome.0.info.connection changed: false (ack = true)
2022-12-24 09:37:56.454  - �[34mdebug�[39m: innogy-smarthome.0 (1141) state innogy-smarthome.0.info.connection changed: true (ack = true)
2022-12-24 09:38:01.371  - �[34mdebug�[39m: innogy-smarthome.0 (1141) Device Garten.Wall-E changed states!
2022-12-24 09:38:01.382  - �[34mdebug�[39m: innogy-smarthome.0 (1141) state innogy-smarthome.0.info.lastRealTimeEventReceived changed: 2022-12-24T08:38:01.370Z (ack = true)
2022-12-24 09:38:01.383  - �[34mdebug�[39m: innogy-smarthome.0 (1141) state innogy-smarthome.0.Garten.Wall-E.Battery-Sensor.BatteryLevel changed: 100 (ack = true)
2022-12-24 09:38:01.384  - �[34mdebug�[39m: innogy-smarthome.0 (1141) state innogy-smarthome.0.Garten.Wall-E.Battery-Sensor.ChargingCurrent changed: 1500 (ack = true)
2022-12-24 09:38:01.386  - �[34mdebug�[39m: innogy-smarthome.0 (1141) state innogy-smarthome.0.Garten.Wall-E.Battery-Sensor.ChargingCycles changed: 2129 (ack = true)
2022-12-24 09:38:01.387  - �[34mdebug�[39m: innogy-smarthome.0 (1141) state innogy-smarthome.0.Garten.Wall-E.Error-Reporting.ErrorDescription changed: CN999;ISSUE;UNKNOWN (ack = true)
2022-12-24 09:38:01.389  - �[34mdebug�[39m: innogy-smarthome.0 (1141) state innogy-smarthome.0.Garten.Wall-E.Mower.Action changed: STOPPED (ack = true)
2022-12-24 09:38:01.389  - �[34mdebug�[39m: innogy-smarthome.0 (1141) state innogy-smarthome.0.Garten.Wall-E.Mower.CuttingHeight changed: 30 (ack = true)
2022-12-24 09:38:01.389  - �[34mdebug�[39m: innogy-smarthome.0 (1141) state innogy-smarthome.0.Garten.Wall-E.Mower.EcoMode changed: 0 (ack = true)
2022-12-24 09:38:01.393  - �[34mdebug�[39m: innogy-smarthome.0 (1141) state innogy-smarthome.0.Garten.Wall-E.Mower.NextOperationStartTime changed: 188 (ack = true)
2022-12-24 09:38:01.393  - �[34mdebug�[39m: innogy-smarthome.0 (1141) state innogy-smarthome.0.Garten.Wall-E.Mower.RainDelay changed: 90 (ack = true)
2022-12-24 09:38:01.394  - �[34mdebug�[39m: innogy-smarthome.0 (1141) state innogy-smarthome.0.Garten.Wall-E.Mower.RainSensor changed: true (ack = true)
2022-12-24 09:38:01.399  - �[34mdebug�[39m: innogy-smarthome.0 (1141) state innogy-smarthome.0.Garten.Wall-E.Mower.RemainingOperationTime changed: 0 (ack = true)
2022-12-24 09:38:01.402  - �[34mdebug�[39m: innogy-smarthome.0 (1141) state innogy-smarthome.0.Garten.Wall-E.Mower.TiltSlope changed: 22 (ack = true)
2022-12-24 09:38:01.402  - �[34mdebug�[39m: innogy-smarthome.0 (1141) state innogy-smarthome.0.Garten.Wall-E.Mower-State.BladeServiceTime changed: 500 (ack = true)
2022-12-24 09:38:01.402  - �[34mdebug�[39m: innogy-smarthome.0 (1141) state innogy-smarthome.0.Garten.Wall-E.Mower-State.MowerStatus changed: IDLE_BASE_STATION (ack = true)
2022-12-24 09:38:01.403  - �[34mdebug�[39m: innogy-smarthome.0 (1141) state innogy-smarthome.0.Garten.Wall-E.Mower-State.MowingCycles changed: 3675 (ack = true)
2022-12-24 09:38:01.403  - �[34mdebug�[39m: innogy-smarthome.0 (1141) state innogy-smarthome.0.Garten.Wall-E.Mower-State.OperatingTime changed: 1984766 (ack = true)
2022-12-24 09:38:01.407  - �[34mdebug�[39m: innogy-smarthome.0 (1141) state innogy-smarthome.0.Garten.Wall-E.Mower-State.OperationTimeBlade changed: 131580 (ack = true)
2022-12-24 09:38:01.408  - �[34mdebug�[39m: innogy-smarthome.0 (1141) state innogy-smarthome.0.Garten.Wall-E.Mower-State.OperationTimeWL changed: 143443 (ack = true)
2022-12-24 09:38:01.410  - �[34mdebug�[39m: innogy-smarthome.0 (1141) state innogy-smarthome.0.Garten.Wall-E.Mower-State.OperationTimeWR changed: 143441 (ack = true)
2022-12-24 09:38:01.411  - �[34mdebug�[39m: innogy-smarthome.0 (1141) state innogy-smarthome.0.Garten.Wall-E.Mower-State.SituationFlags changed: {"OperationPermitted": true,"BatteryWeak": false,"BatteryFailure": false,"BatteryFailureSticky": false,"MowingWindow": false,"MargingMowingCompleted": false,"UserInteraction": false,"LoopSignalValid": true,"ChargerContact": true,"ChargerActive": false,"ChargerAllowsRestart": false,"ChargerFailure": false,"ManualOperation": false,"RobotIsActive": false,"IssueDisplay": false,"HommingTriggerSchedule": false,"HommingTriggerBatteryWeak": false,"HommingTriggerUserRequest": false,"HommingTriggerRain": false,"HommingTriggerTemperature": false,"HommingTriggerMowingUnitOverload": false,"HommingTriggerRestart": false,"DayCancelled": true,"RainDetected": false,"RainAllowsMowing": true,"TemperatureMonitoringActive": true,"TemperatureAllowsMowing": true,"TemperatureAllowsHoming": true,"TemperatureAllowsCharging": true,"WheelMotorTemperatureHigh": false,"StopAfterIssue": false,"BladesService": false,"SmarthomeActive": true} (ack = true)`

Die Loggin "Zeile" mit dem PW sieht so aus - ich habe es durch den Eintrag MEIN_PASSWORT ersetzt.

`08T11:31:28.343000+00:00"},"capabilities":["/capability/fd71df17275a4b26b830271be5ffc015","/capability/3155b8330b6a46ca8bc6b9124aee6523","/capability/ca3c965fc5574b4ebf14753decc9f205"],"tags":{"type":"TRadiatorThermostateIdTag","typeCategory":"TCHeatingId"},"location":"/location/4f33a78364564482a98c931d657585d8","Capabilities":[{"_requestor":{"_config":{"baseConfig":{"apiUri":"http://10.122.60.111:8080","apiHost":"10.122.60.111","versionPrefix":"/"},"oAuth2Credentials":{"client":{"id":"clientId","secret":"clientPass"},"auth":{"host":"10.122.60.111","tokenHost":"http://10.122.60.111:8080","authorizePath":"/auth/authorize","tokenPath":"/auth/token"},"local":{"useLocalConnection":true,"password":"MEIN_PASSWORT","eventsPort":9090}},"oAuth2RedirectConfig":{"host":"iobroker-connect.patrick-arns.de","uri":"https://iobroker-connect.patrick-arns.de/","startUri":"https://iobroker-connect.patrick-arns.de/start/","port":3000}},"_oAuth2":{},"_lastCall":"2022-12-24T08:01:56.032Z","_maxCallsPerSecond":4,"_events":{},"_eventsCount":3,"_maxListeners":100},"id":"fd71df17275a4b26b830271be5ffc015","type":"ThermostatActuator","device":"/device/b8fc34ae269d452ca689c3735419443f","config":{"activityLogActive":true,"childLock":true,"maxTemperature":22,"minTemperature":10,"name":"Target Temperature","usage":null,"windowOpenTemperature":10},"State":[{"name":"operationMode","value":"Auto","lastchanged":"1970-01-01T00:00:00.000Z"},{"name":"pointTemperature","value":10,"lastchanged":"2022-12-24T07:01:05.696Z"},{"name":"windowReductionActive","value":false,"lastchanged":"2022-12-18T20:26:58.422Z"}]},{"_requestor":{"_config":{"baseConfig":{"apiUri":"http://10.122.60.111:8080","apiHost":"10.122.60.111","versionPrefix":"/"},"oAuth2Credentials":{"client":{"id":"clientId","secret":"clientPass"},"auth":{"host":"10.122.60.111","tokenHost":"http://10.122.60.111:8080","authorizePath":"/auth/authorize","tokenPath":"/auth/token"},"local":{"useLocalConnection":true,"password":"MEIN_PASSWORT","eventsPort":9090}},"oAuth2RedirectConfig":{"host":"iobroker-connect.patrick-arns.de","uri":"https://iobroker-connect.patrick-arns.de/","startUri":"https://iobroker-connect.patrick-arns.de/start/","port":3000}},"_oAuth2":{},"_lastCall":"2022-12-24T08:01:56.032Z","_maxCallsPerSecond":4,"_events":{},"_eventsCount":3,"_maxListeners":100},"id":"3155b8330b6a46ca8bc6b9124aee6523","type":"TemperatureSensor","device":"/device/b8fc34ae269d452ca689c3735419443f","config":{"activityLogActive":true,"freezeProtection":6,"isFreezeProtectionActivated":false,"name":"Actual Temperature","usage":null},"State":[{"name":"frostWarning","value":false,"lastchanged":"1970-01-01T00:00:00.000Z"},{"name":"temperature","value":19.1,"lastchanged":"2022-12-24T08:00:21.639Z"}]},{"_requestor":{"_config":{"baseConfig":{"apiUri":"http://10.122.60.111:8080","apiHost":"10.122.60.111","versionPrefix":"/"},"oAuth2Credentials":{"client":{"id":"clientId","secret":"clientPass"},"auth":{"host":"10.122.60.111","tokenHost":"http://10.122.60.111:8080","authorizePath":"/auth/authorize","tokenPath":"/auth/token"},"local":{"useLocalConnection":true,"password":"MEIN_PASSWORT","eventsPort":9090}},"oAuth2RedirectConfig":{"host":"iobroker-connect.patrick-arns.de","uri":"https://iobroker-connect.patrick-arns.de/","startUri":"https://iobroker-connect.patrick-arns.de/start/","port":3000}},"_oAuth2":{},"_lastCall":"2022-12-24T08:01:56.032Z","_maxCallsPerSecond":4,"_events":{},"_eventsCount":3,"_maxListeners":100},"id":"ca3c965fc5574b4ebf14753decc9f205","type":"HumiditySensor","device":"/device/b8fc34ae269d452ca689c3735419443f","config":{"activityLogActive":true,"humidityMoldProtection":1,"isMoldProtectionActivated":false,"name":"Humidity Level","usage":null},"State":[{"name":"humidity","value":50,"lastchanged":"2022-12-24T07:45:18.385Z"},{"name":"moldWarning","value":false,"lastchanged":"1970-01-01T00:00:00.000Z"}]}],"Location":{"_requestor":{"_config":{"baseConfig":{"apiUri":"http://10.122.60.111:8080","apiHost":"10.122.60.111","versionPrefix":"/"},"oAuth2Credentials":{"client":{"id":"clientId","secret":"clientPass"},"auth":{"host":"10.122.60.111","tokenHost":"http://10.122.60.111:8080","authorizePath":"/auth/authorize","tokenPath":"/auth/token"},"local":{"useLocalConnection":true,"password":"MEIN_PASSWORT","eventsPort":9090}},"oAuth2RedirectConfig":{"host":"iobroker-connect.patrick-arns.de","uri":"https://iobroker-connect.patrick-arns.de/","startUri":"https://iobroker-connect.patrick-arns.de/start/","port":3000}},"_oAuth2":{},"_lastCall":"2022-12-24T08:01:56.032Z","_maxCallsPerSecond":4,"_events":{},"_eventsCount":3,"_maxListeners":100},"id":"4f33a78364564482a98c931d657585d8","config":{"name":"Toilette","type":"Other"}},"Config":[],"State":[{"name":"deviceConfigurationState","value":"Complete","lastchanged":"1970-01-01T00:00:00.000Z"},{"name":"deviceInclusionState","value":"Included","lastchanged":"2021-05-27T14:24:18.273Z"},{"name":"firmwareVersion","value":"2.8","lastchanged":"1970-01-01T00:00:00.000Z"},{"name":"isReachable","value":true,"lastchanged":"1970-01-01T00:00:00.000Z"},{"name":"updateState","value":"UpToDate","lastchanged":"1970-01-01T00:00:00.000Z"}]},{"_requestor":{"_config":{"baseConfig":{"apiUri":"http://10.122.60.111:8080","apiHost":"10.122.60.111","versionPrefix":"/"},"oAuth2Credentials":{"client":{"id":"clientId","secret":"clientPass"},"auth":{"host":"10.122.60.111","tokenHost":"http://10.122.60.111:8080","authorizePath":"/auth/authorize","tokenPath":"/auth/token"},"local":{"useLocalConnection":true,"password":"MEIN_PASSWORT","eventsPort":9090}},"oAuth2RedirectConfig":{"host":"iobroker-connect.patrick-arns.de","uri":"https://iobroker-connect.patrick-arns.de/","startUri":"https://iobroker-connect.patrick-arns.de/start/","port":3000}},"_oAuth2":{},"_lastCall":"2022-12-24T08:01:56.032Z","_maxCallsPerSecond":4,"_events":{},"_eventsCount":3,"_maxListeners":100},"id":"e45c4191105943719599ba1f4bd122b8","manufacturer":"RWE","version":"2.1","product":"VRCC.RWE","serialnumber":null,"type":"VRCC","config":{"name":"Raumklima Toilette","protocolId":"Virtual","timeOfAcceptance":"2018-12-08T11:32:14.919000+00:00","timeOfDiscovery":"2018-12

@Apollon77
Copy link
Collaborator

Ok, GitHub updated
1.) Logging optimiert ... Debug log jetzt sinnvoll und ohne Passwort
2.) ACHTUNG: Local SHC passwort muss man neu eingeben - bitte updaten und einmal verifiezieren das der adapter stoppt mkit nem error im log das man passwort neu eingeben soll. Dann amchen und er müsste wieder tun
3.) Dann bitte mal die "Device: ..." Logzeile von dem wo dieser Mower schedule drin ist :-)

@JBSullivan
Copy link
Author

zu 2.) Adapter hat nicht automatisch gestoppt nach dem Update und es gab auch kein Error LOG dazu. Beim manuellen Instanz Stop, kam diese Fehlermeldung wieder:

`

innogy-smarthome.0 2022-12-24 12:55:25.900 error STACK: RangeError: Invalid WebSocket frame: invalid status code 0 at Receiver.controlMessage (/opt/iobroker/node_modules/ws/lib/receiver.js:561:18) at Receiver.getData (/opt/iobroker/node_modules/ws/lib/receiver.js:429:42) at Receiver.startLoop (/opt/iobroker/node_modules/ws/lib/receiver.js:148:22) at Receiver._write (/opt/iobroker/node_modules/ws/lib/receiver.js:83:10) at writeOrBuffer (internal/streams/writable.js:358:12) at Receiver.Writable.write (internal/streams/writable.js:303:10) at Socket.socketOnData (/opt/iobroker/node_modules/ws/lib/websocket.js:1272:35) at Socket.emit (events.js:400:28) at addChunk (internal/streams/readable.js:293:12) at readableAddChunk (internal/streams/readable.js:267:9) at Socket.Readable.push (internal/streams/readable.js:206:10) at TCP.onStreamRead (internal/stream_base_commons.js:188:23)
innogy-smarthome.0 2022-12-24 12:55:25.900 error GOT AN ERROR: {"code":"WS_ERR_INVALID_CLOSE_CODE"}
`

Ein Instanz Neustart lieferte auch keine weitere Fehlermeldung und es war auch keine erneute PW Eingabe erforderlich. Alle Werte der DP`s wurden abgeholt. Ich habe auch im gesamten Log nach dem neuerlichen Update keine Textpassage "Password" gefunden.

zu 3.) Meinst du das mit Device?

`

innogy-smarthome.0 2022-12-24 12:51:31.172 debug Device: {"id":"995cf38bfa844ba7bde964490579e6f7","manufacturer":"ALKO","version":"2.0","product":"Robolinho.ALKO","serialnumber":null,"type":"MowerDevice","config":{"language":"German","mowerFirmwareVersion":"1803A","mowerModel":"Robolinho3000","mowerSerialNumber":"5D14-009400","name":"Wall-E","protocolId":"Lemonbeat","timeOfAcceptance":"2021-05-27T14:53:03+00:00","timeOfDiscovery":"2021-05-27T14:51:55+00:00"},"capabilities":["/capability/b4eeb4bae54748ba9ca030d3c1807ec2","/capability/bcee67a773e3407eb9091fa1b36e36b9","/capability/dea7849219024c11ab82e4c5518c0df9","/capability/52025bd7a5064989a7e48e21d7815b03","/capability/49273077b0014612a42131863c93ac2f"],"tags":{"type":"TALKOMowerTag","typeCategory":"TCOutsideId"},"location":"/location/1a9a1a3e9e444b8285628271786d5cbb","Capabilities":[{"id":"b4eeb4bae54748ba9ca030d3c1807ec2","type":"BatterySensor","device":"/device/995cf38bfa844ba7bde964490579e6f7","config":{"activityLogActive":true,"name":"Battery Sensor","usage":null},"State":[{"name":"batteryLevel","value":100,"lastchanged":"2022-12-24T07:58:31.901Z"},{"name":"chargingCurrent","value":1500,"lastchanged":"2022-12-24T07:58:32.749Z"},{"name":"chargingCycles","value":2129,"lastchanged":"2022-12-24T07:58:33.067Z"}]},{"id":"bcee67a773e3407eb9091fa1b36e36b9","type":"ErrorReporting","device":"/device/995cf38bfa844ba7bde964490579e6f7","config":{"activityLogActive":true,"name":"Error Reporting","usage":null},"State":[{"name":"errorDescription","value":"CN999;ISSUE;UNKNOWN","lastchanged":"2022-12-24T07:58:31.923Z"}]},{"id":"dea7849219024c11ab82e4c5518c0df9","type":"Mower","device":"/device/995cf38bfa844ba7bde964490579e6f7","config":{"activityLogActive":true,"name":"Mower","usage":null},"State":[{"name":"action","value":"START_HOMING_FROM_IDLE","lastchanged":"2022-12-24T09:12:45.688Z"},{"name":"cuttingHeight","value":30,"lastchanged":"1970-01-01T00:00:00.000Z"},{"name":"ecoMode","value":0,"lastchanged":"1970-01-01T00:00:00.000Z"},{"name":"nextOperationStartTime","value":0,"lastchanged":"2022-12-24T11:45:29.846Z"},{"name":"rainDelay","value":90,"lastchanged":"2022-12-24T07:58:32.833Z"},{"name":"rainSensor","value":true,"lastchanged":"2022-12-24T07:58:32.811Z"},{"name":"remainingOperationTime","value":10,"lastchanged":"2022-12-24T11:50:38.844Z"},{"name":"tiltSlope","value":22,"lastchanged":"2022-12-24T07:58:32.775Z"}]},{"id":"52025bd7a5064989a7e48e21d7815b03","type":"MowerScheduler","device":"/device/995cf38bfa844ba7bde964490579e6f7","config":{"activeSchedule":"Sched1","activityLogActive":true,"entryPoints":"{"length": 11400,"points": [83, 1750, 3001, 4337, 6281, 7500, 0, 0, 0]}","name":"Mowing schedule","schedules":"[{"Id":"Sched1","Days":[{"Day":"Mon","Sls":[{"En":true,"M":true,"ST":705,"D":15,"EP":0},{"En":true,"M":false,"ST":870,"D":150,"EP":3}]},{"Day":"Tue","Sls":[{"En":true,"M":false,"ST":660,"D":120,"EP":1},{"En":true,"M":false,"ST":870,"D":150,"EP":2}]},{"Day":"Wed","Sls":[{"En":true,"M":true,"ST":705,"D":15,"EP":0},{"En":true,"M":false,"ST":870,"D":150,"EP":4}]},{"Day":"Thu","Sls":[{"En":true,"M":false,"ST":645,"D":120,"EP":0},{"En":false,"M":false,"ST":1020,"D":120,"EP":4}]},{"Day":"Fri","Sls":[{"En":true,"M":true,"ST":705,"D":15,"EP":0},{"En":true,"M":false,"ST":870,"D":150,"EP":5}]},{"Day":"Sat","Sls":[{"En":true,"M":true,"ST":705,"D":15,"EP":0},{"En":true,"M":false,"ST":870,"D":150,"EP":1}]},{"Day":"Sun","Sls":[{"En":false,"M":false,"ST":705,"D":60,"EP":1},{"En":false,"M":false,"ST":1020,"D":120,"EP":3}]}]}]","usage":null},"State":[]},{"id":"49273077b0014612a42131863c93ac2f","type":"StatusSensor","device":"/device/995cf38bfa844ba7bde964490579e6f7","config":{"activityLogActive":true,"name":"Mower State","usage":null},"State":[{"name":"bladeServiceTime","value":500,"lastchanged":"2022-12-24T07:58:33.098Z"},{"name":"mowerStatus","value":"IDLE_BASE_STATION","lastchanged":"2022-12-24T08:22:09.868Z"},{"name":"mowingCycles","value":3675,"lastchanged":"2022-12-24T07:58:33.036Z"},{"name":"operatingTime","value":1984766,"lastchanged":"2022-12-24T07:58:32.882Z"},{"name":"operationTimeBlade","value":131580,"lastchanged":"2022-12-24T07:58:33.007Z"},{"name":"operationTimeWL","value":143443,"lastchanged":"2022-12-24T07:58:32.941Z"},{"name":"operationTimeWR","value":143441,"lastchanged":"2022-12-24T07:58:32.973Z"},{"name":"situationFlags","value":"{"OperationPermitted": true,"BatteryWeak": false,"BatteryFailure": false,"BatteryFailureSticky": false,"MowingWindow": true,"MargingMowingCompleted": false,"UserInteraction": false,"LoopSignalValid": true,"ChargerContact": true,"ChargerActive": false,"ChargerAllowsRestart": false,"ChargerFailure": false,"ManualOperation": false,"RobotIsActive": false,"IssueDisplay": false,"HommingTriggerSchedule": false,"HommingTriggerBatteryWeak": false,"HommingTriggerUserRequest": false,"HommingTriggerRain": false,"HommingTriggerTemperature": false,"HommingTriggerMowingUnitOverload": false,"HommingTriggerRestart": false,"DayCancelled": true,"RainDetected": false,"RainAllowsMowing": true,"TemperatureMonitoringActive": true,"TemperatureAllowsMowing": true,"TemperatureAllowsHoming": true,"TemperatureAllowsCharging": true,"WheelMotorTemperatureHigh": false,"StopAfterIssue": false,"BladesService": false,"SmarthomeActive": true}","lastchanged":"2022-12-24T11:45:29.675Z"},{"name":"subStatus","value":"READY","lastchanged":"2022-12-24T07:59:30.738Z"},{"name":"totalMowingTime","value":134640,"lastchanged":"2022-12-24T07:58:32.911Z"}]}],"Location":{"id":"1a9a1a3e9e444b8285628271786d5cbb","config":{"name":"Garten","type":"Garden"}},"Config":[],"State":[{"name":"deviceConfigurationState","value":"Complete","lastchanged":"2022-10-31T12:12:59.255Z"},{"name":"deviceInclusionState","value":"Included","lastchanged":"2022-10-04T14:58:28.762Z"},{"name":"firmwareVersion","value":"2.5.2-1.2.2-1.0.3","lastchanged":"1970-01-01T00:00:00.000Z"},{"name":"isReachable","value":true,"lastchanged":"2022-12-24T07:58:30.075Z"},{"name":"updateState","value":"UpToDate","lastchanged":"1970-01-01T00:00:00.000Z"}]}
`

@Apollon77
Copy link
Collaborator

Zu oben mit dem Websocket Fehler ... was passiert denn dann? Er verbindet siuch neu und gut ist oder?!

Das mit passwort ... jjaaaa ... fixed GitHub

Zur Mower Konfig ... Das ist Konfigurstoon und nicht "State". Der Adapter kann aktuell nur States abbilden und so. daher fehlt das.. Habe es auf Github so angepasst das er den Channel nicht anlegt wenn keine States drin sind.
Konfig Support wäre eher ein größerer feature request

@JBSullivan
Copy link
Author

JBSullivan commented Dec 24, 2022

Der Websocket Fehler kommt immer wenn man die Instanz stoppt. Das ganze sieht nach einen Stop/Restart konkret so aus. Er verbindet sich aber ohne Probleme zu MEINER Zentrale 2.0. Ob das bei den anderen Zentralen auch so ist ?!?! Keine Ahnung.

`

innogy-smarthome.0 2022-12-24 13:52:47.919 info Initialization sequence completed: found 62 devices
innogy-smarthome.0 2022-12-24 13:52:44.581 info Trying to use local smarthome connection! SHC generation: 2
innogy-smarthome.0 2022-12-24 13:52:44.519 info starting. Version 0.4.7 (non-npm: PArns/ioBroker.innogy-smarthome) in /opt/iobroker/node_modules/iobroker.innogy-smarthome, node: v14.19.0, js-controller: 4.0.24
host.ioBrokerNUC 2022-12-24 13:52:43.075 info instance system.adapter.innogy-smarthome.0 started with pid 935
host.ioBrokerNUC 2022-12-24 13:52:40.583 info instance system.adapter.innogy-smarthome.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
innogy-smarthome.0 2022-12-24 13:52:40.055 debug SOCKET CONNECTION TO THE INNOGY API WAS CLOSED
innogy-smarthome.0 2022-12-24 13:52:40.049 error STACK: RangeError: Invalid WebSocket frame: invalid status code 0 at Receiver.controlMessage (/opt/iobroker/node_modules/ws/lib/receiver.js:561:18) at Receiver.getData (/opt/iobroker/node_modules/ws/lib/receiver.js:429:42) at Receiver.startLoop (/opt/iobroker/node_modules/ws/lib/receiver.js:148:22) at Receiver._write (/opt/iobroker/node_modules/ws/lib/receiver.js:83:10) at writeOrBuffer (internal/streams/writable.js:358:12) at Receiver.Writable.write (internal/streams/writable.js:303:10) at Socket.socketOnData (/opt/iobroker/node_modules/ws/lib/websocket.js:1272:35) at Socket.emit (events.js:400:28) at addChunk (internal/streams/readable.js:293:12) at readableAddChunk (internal/streams/readable.js:267:9) at Socket.Readable.push (internal/streams/readable.js:206:10) at TCP.onStreamRead (internal/stream_base_commons.js:188:23)
innogy-smarthome.0 2022-12-24 13:52:40.049 error GOT AN ERROR: {"code":"WS_ERR_INVALID_CLOSE_CODE"}
innogy-smarthome.0 2022-12-24 13:52:40.043 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
innogy-smarthome.0 2022-12-24 13:52:40.042 info terminating
innogy-smarthome.0 2022-12-24 13:52:40.041 info cleaned everything up...
innogy-smarthome.0 2022-12-24 13:52:40.041 debug SOCKET CONNECTION TO THE INNOGY API WAS CLOSED
host.ioBrokerNUC 2022-12-24 13:52:40.039 info stopInstance system.adapter.innogy-smarthome.0 send kill signal
innogy-smarthome.0 2022-12-24 13:52:40.037 info Got terminate signal TERMINATE_YOURSELF
host.ioBrokerNUC 2022-12-24 13:52:40.028 info stopInstance system.adapter.innogy-smarthome.0 (force=false, process=true)
`

Du brauchst also die States vom Mower - also das hier? Da sind die Zeitpläne aber nicht mit drin - oben schon.

2022-12-24 12:45:30.016 - �[34mdebug�[39m: innogy-smarthome.0 (1141) state innogy-smarthome.0.Garten.Wall-E.Mower-State.SubStatus changed: READY (ack = true) 2022-12-24 12:45:30.016 - �[34mdebug�[39m: innogy-smarthome.0 (1141) state innogy-smarthome.0.Garten.Wall-E.Mower-State.TotalMowingTime changed: 134640 (ack = true) 2022-12-24 12:45:30.017 - �[34mdebug�[39m: innogy-smarthome.0 (1141) state innogy-smarthome.0.info.lastRealTimeEventReceived changed: 2022-12-24T11:45:29.981Z (ack = true) 2022-12-24 12:45:30.017 - �[34mdebug�[39m: innogy-smarthome.0 (1141) state innogy-smarthome.0.Garten.Wall-E.Battery-Sensor.BatteryLevel changed: 100 (ack = true) 2022-12-24 12:45:30.019 - �[34mdebug�[39m: innogy-smarthome.0 (1141) state innogy-smarthome.0.Garten.Wall-E.Battery-Sensor.ChargingCurrent changed: 1500 (ack = true) 2022-12-24 12:45:30.020 - �[34mdebug�[39m: innogy-smarthome.0 (1141) state innogy-smarthome.0.Garten.Wall-E.Battery-Sensor.ChargingCycles changed: 2129 (ack = true) 2022-12-24 12:45:30.020 - �[34mdebug�[39m: innogy-smarthome.0 (1141) state innogy-smarthome.0.Garten.Wall-E.Error-Reporting.ErrorDescription changed: CN999;ISSUE;UNKNOWN (ack = true) 2022-12-24 12:45:30.022 - �[34mdebug�[39m: innogy-smarthome.0 (1141) state innogy-smarthome.0.Garten.Wall-E.Mower.Action changed: START_HOMING_FROM_IDLE (ack = true) 2022-12-24 12:45:30.023 - �[34mdebug�[39m: innogy-smarthome.0 (1141) state innogy-smarthome.0.Garten.Wall-E.Mower.CuttingHeight changed: 30 (ack = true) 2022-12-24 12:45:30.023 - �[34mdebug�[39m: innogy-smarthome.0 (1141) state innogy-smarthome.0.Garten.Wall-E.Mower.EcoMode changed: 0 (ack = true) 2022-12-24 12:45:30.023 - �[34mdebug�[39m: innogy-smarthome.0 (1141) state innogy-smarthome.0.Garten.Wall-E.Mower.NextOperationStartTime changed: 0 (ack = true) 2022-12-24 12:45:30.023 - �[34mdebug�[39m: innogy-smarthome.0 (1141) state innogy-smarthome.0.Garten.Wall-E.Mower.RainDelay changed: 90 (ack = true) 2022-12-24 12:45:30.025 - �[34mdebug�[39m: innogy-smarthome.0 (1141) state innogy-smarthome.0.Garten.Wall-E.Mower.RainSensor changed: true (ack = true) 2022-12-24 12:45:30.026 - �[34mdebug�[39m: innogy-smarthome.0 (1141) state innogy-smarthome.0.Garten.Wall-E.Mower.RemainingOperationTime changed: 15 (ack = true) 2022-12-24 12:45:30.026 - �[34mdebug�[39m: innogy-smarthome.0 (1141) state innogy-smarthome.0.Garten.Wall-E.Mower.TiltSlope changed: 22 (ack = true) 2022-12-24 12:45:30.026 - �[34mdebug�[39m: innogy-smarthome.0 (1141) state innogy-smarthome.0.Garten.Wall-E.Mower-State.BladeServiceTime changed: 500 (ack = true) 2022-12-24 12:45:30.026 - �[34mdebug�[39m: innogy-smarthome.0 (1141) state innogy-smarthome.0.Garten.Wall-E.Mower-State.MowerStatus changed: IDLE_BASE_STATION (ack = true) 2022-12-24 12:45:30.028 - �[34mdebug�[39m: innogy-smarthome.0 (1141) state innogy-smarthome.0.Garten.Wall-E.Mower-State.MowingCycles changed: 3675 (ack = true) 2022-12-24 12:45:30.028 - �[34mdebug�[39m: innogy-smarthome.0 (1141) state innogy-smarthome.0.Garten.Wall-E.Mower-State.OperatingTime changed: 1984766 (ack = true) 2022-12-24 12:45:30.033 - �[34mdebug�[39m: innogy-smarthome.0 (1141) state innogy-smarthome.0.Garten.Wall-E.Mower-State.OperationTimeBlade changed: 131580 (ack = true) 2022-12-24 12:45:30.034 - �[34mdebug�[39m: innogy-smarthome.0 (1141) state innogy-smarthome.0.Garten.Wall-E.Mower-State.OperationTimeWL changed: 143443 (ack = true) 2022-12-24 12:45:30.042 - �[34mdebug�[39m: innogy-smarthome.0 (1141) state innogy-smarthome.0.Garten.Wall-E.Mower-State.OperationTimeWR changed: 143441 (ack = true) 2022-12-24 12:45:30.044 - �[34mdebug�[39m: innogy-smarthome.0 (1141) state innogy-smarthome.0.Garten.Wall-E.Mower-State.SituationFlags changed: {"OperationPermitted": true,"BatteryWeak": false,"BatteryFailure": false,"BatteryFailureSticky": false,"MowingWindow": true,"MargingMowingCompleted": false,"UserInteraction": false,"LoopSignalValid": true,"ChargerContact": true,"ChargerActive": false,"ChargerAllowsRestart": false,"ChargerFailure": false,"ManualOperation": false,"RobotIsActive": false,"IssueDisplay": false,"HommingTriggerSchedule": false,"HommingTriggerBatteryWeak": false,"HommingTriggerUserRequest": false,"HommingTriggerRain": false,"HommingTriggerTemperature": false,"HommingTriggerMowingUnitOverload": false,"HommingTriggerRestart": false,"DayCancelled": true,"RainDetected": false,"RainAllowsMowing": true,"TemperatureMonitoringActive": true,"TemperatureAllowsMowing": true,"TemperatureAllowsHoming": true,"TemperatureAllowsCharging": true,"WheelMotorTemperatureHigh": false,"StopAfterIssue": false,"BladesService": false,"SmarthomeActive": true} (ack = true)

..... und hier ist die Einheit falsch - 1500W wären 1,5 kw - also maximales Schnellladen, das macht der Kollege nicht - das muss mA heißen. Habe nochmal in den Konfig Einstellungen des Roboters nachgesehen.

image

image

@Apollon77
Copy link
Collaborator

Apollon77 commented Dec 24, 2022

Fehler wird ab kommender GitHub version (schon da) untedrückt

@JBSullivan
Copy link
Author

Ich habe eben nochmal eine GIT Installation gemacht und nun kommt auch die Meldung und die PW Eingabe in der Instanz ist zwingend erforderlich - danach läuft aber alles völlig normal. 👍👍👍

`

host.ioBrokerNUC 2022-12-24 14:44:14.525 info instance system.adapter.innogy-smarthome.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
innogy-smarthome.0 2022-12-24 14:44:13.991 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
innogy-smarthome.0 2022-12-24 14:44:13.990 info terminating
innogy-smarthome.0 2022-12-24 14:44:13.989 info cleaned everything up...
innogy-smarthome.0 2022-12-24 14:44:13.987 info Got terminate signal TERMINATE_YOURSELF
host.ioBrokerNUC 2022-12-24 14:44:13.987 info stopInstance system.adapter.innogy-smarthome.0 send kill signal
host.ioBrokerNUC 2022-12-24 14:44:13.980 info stopInstance system.adapter.innogy-smarthome.0 (force=false, process=true)
host.ioBrokerNUC 2022-12-24 14:44:13.980 info "system.adapter.innogy-smarthome.0" disabled
innogy-smarthome.0 2022-12-24 14:44:13.923 error Password error: Please re-enter the local SHC password in Admin. Stopping
`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants