Hallo Zusammen
Ich habe ein Problem.
Meine Pumpe hängt an einem Shelly 2.5.
Schalte ich die Pumpe manuell über den Button funktionierts.
Aktiviere ich die Automatik, passiert nichts.
Habt hier jemand eine Idee?
Grüße
Tobi
Hallo Zusammen
Ich habe ein Problem.
Meine Pumpe hängt an einem Shelly 2.5.
Schalte ich die Pumpe manuell über den Button funktionierts.
Aktiviere ich die Automatik, passiert nichts.
Habt hier jemand eine Idee?
Grüße
Tobi
[TAILING] Tailing last 15 lines for [all] processes (change the value with --lines option)
/root/.pm2/pm2.log last 15 lines:
PM2 | 2022-05-14T17:06:40: PM2 log: PM2 version : 5.2.0
PM2 | 2022-05-14T17:06:40: PM2 log: Node.js version : 12.22.12
PM2 | 2022-05-14T17:06:40: PM2 log: Current arch : arm64
PM2 | 2022-05-14T17:06:40: PM2 log: PM2 home : /root/.pm2
PM2 | 2022-05-14T17:06:40: PM2 log: PM2 PID file : /root/.pm2/pm2.pid
PM2 | 2022-05-14T17:06:40: PM2 log: RPC socket file : /root/.pm2/rpc.sock
PM2 | 2022-05-14T17:06:40: PM2 log: BUS socket file : /root/.pm2/pub.sock
PM2 | 2022-05-14T17:06:40: PM2 log: Application log path : /root/.pm2/logs
PM2 | 2022-05-14T17:06:40: PM2 log: Worker Interval : 30000
PM2 | 2022-05-14T17:06:40: PM2 log: Process dump file : /root/.pm2/dump.pm2
PM2 | 2022-05-14T17:06:40: PM2 log: Concurrent actions : 2
PM2 | 2022-05-14T17:06:40: PM2 log: SIGTERM timeout : 1600
PM2 | 2022-05-14T17:06:40: PM2 log: ===============================================================================
PM2 | 2022-05-14T17:06:40: PM2 log: App [app:0] starting in -fork mode-
PM2 | 2022-05-14T17:06:40: PM2 log: App [app:0] online
/root/.pm2/logs/app-error.log last 15 lines:
0|app | TypeError: Cannot read property 'includes' of undefined
0|app | at /home/poolarino_poolcontrol/routes/poolcontrol/poolcontrol.js:259:30
0|app | at runMicrotasks (<anonymous>)
0|app | at processTicksAndRejections (internal/process/task_queues.js:97:5)
0|app | Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
0|app | at ServerResponse.setHeader (_http_outgoing.js:530:11)
0|app | at ServerResponse.header (/home/poolarino_poolcontrol/node_modules/express/lib/response.js:767:10)
0|app | at ServerResponse.send (/home/poolarino_poolcontrol/node_modules/express/lib/response.js:170:12)
0|app | at ServerResponse.json (/home/poolarino_poolcontrol/node_modules/express/lib/response.js:267:15)
0|app | at /home/poolarino_poolcontrol/routes/poolcontrol/poolcontrol.js:208:48
0|app | at /home/poolarino_poolcontrol/node_modules/mongoose/lib/model.js:4981:18
0|app | at processTicksAndRejections (internal/process/task_queues.js:79:11) {
0|app | code: 'ERR_HTTP_HEADERS_SENT'
0|app | }
/root/.pm2/logs/app-out.log last 15 lines:
0|app | <Buffer 4e 6f 74 20 46 6f 75 6e 64>
0|app | <Buffer 4e 6f 74 20 46 6f 75 6e 64>
0|app | <Buffer 4e 6f 74 20 46 6f 75 6e 64>
0|app | <Buffer 4e 6f 74 20 46 6f 75 6e 64>
0|app | <Buffer 4e 6f 74 20 46 6f 75 6e 64>
0|app | Error: Error while communicating with Shelly device: ECONNRESET
0|app | at ClientRequest.<anonymous> (/home/poolarino_poolcontrol/node_modules/shelly-iot/index.js:448:22)
0|app | at ClientRequest.emit (events.js:314:20)
0|app | at RedirectableRequest.<anonymous> (/home/poolarino_poolcontrol/node_modules/node-rest-client/lib/node-rest-client.js:721:39)
0|app | at RedirectableRequest.emit (events.js:314:20)
0|app | at ClientRequest.eventHandlers.<computed> (/home/poolarino_poolcontrol/node_modules/follow-redirects/index.js:14:24)
0|app | at ClientRequest.emit (events.js:314:20)
0|app | at Socket.socketCloseListener (_http_client.js:401:11)
0|app | at Socket.emit (events.js:326:22)
0|app | at TCP.<anonymous> (net.js:675:12)
Huhu! Dein Shelly ist nicht erreichbar, weshalb die Funktion nicht ausgeführt wird. Ist der denn im gleichen Netz wie die Poolsteuerung? Können die sich gegenseitig erreichen?
LG
Guten Morgen
Also das passt alles.Manuell aus-/einschalten funktioniert komischerweise auch.
Kannst du mal bitte Screenshots von den Einstellungen der Poolsteuerung posten?
Hallo Hier mal die Screenshots.
Automatik habe ich aktuell wieder deaktiviert
Was mir gerade aufgefallen ist:
automatisches Abschalten funktioniert
Noch was ist aufgefallen:
Es klappt bei Zeiten ab 10:00, d.h. die Startzeit darf nicht mit 0x:xx beginnen.