activate_scenario.sh
Sat Feb 1 19:12:45 CET 2025
scenario: pcOFF
source: 192.168.12.10

'night' <--> DayTime=checked , NightTime=checked
-> execution of scenario
-> sending email(s) to 'null'

scenario: 'Schreibtisch Thomas AUS-schalten' - 'pcOFF' - 'pcoff'

TB Schreibtischlampe (/srv/www/viehai/shelly/log_scenarios/2025/02/01/_0.log)

vorher: 19:12:45.853

http://192.168.12.120/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 19:12:45.883
Dauer: 31 msec phName: 'shelly-0:'''


scenario: 'Schreibtisch Thomas AUS-schalten' - 'pcOFF' - 'pcoff'

urls : 1
vorher : 19:12:45.825
nachher: 19:12:45.889
Dauer : 65 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/02/01//scene_pcOFF_20250201_191245.txt'


syslog

Feb  1 19:09:00 srv4hai common[4941]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  1 19:09:00 srv4hai common[4965]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  1 19:09:00 srv4hai common[4989]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  1 19:09:01 srv4hai CRON[5016]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Feb  1 19:09:01 srv4hai CRON[5017]: (root) CMD (/etc/linetest/linetest.sh)
Feb  1 19:09:01 srv4hai systemd[1]: Starting Clean php session files...
Feb  1 19:09:01 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Feb  1 19:09:01 srv4hai systemd[1]: Started Clean php session files.
Feb  1 19:09:06 srv4hai ping_SP[11893]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1738433346 - 'ping_SP_0'
Feb  1 19:09:06 srv4hai ping_SP[11893]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  1 19:09:08 srv4hai ping_SP[1750]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1738433348 - 'ping_SP_1'
Feb  1 19:09:08 srv4hai ping_SP[1750]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb  1 19:09:50 srv4hai common[5160]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  1 19:09:50 srv4hai common[5184]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  1 19:10:00 srv4hai common[5211]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  1 19:10:00 srv4hai common[5235]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  1 19:10:00 srv4hai common[5259]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  1 19:10:01 srv4hai CRON[5285]: (root) CMD (/etc/linetest/linetest.sh)
Feb  1 19:10:01 srv4hai CRON[5286]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Feb  1 19:10:01 srv4hai common[5292]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Feb  1 19:10:01 srv4hai meter.sh: SHELLY meter.sh started
Feb  1 19:10:01 srv4hai meter.sh: SHELLY 'shelly-29/KÜ Schalter Herdzeile' - type: 'shelly-i3' ignoring
Feb  1 19:10:02 srv4hai meter.sh: SHELLY 'shelly-28/KÜ Schalter Nasszeile' - type: 'shelly-i3' ignoring
Feb  1 19:10:05 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Feb  1 19:10:06 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Feb  1 19:10:06 srv4hai meter.sh: SHELLY 'shelly-37/TB Klima' - type: 'shelly-ht' ignoring
Feb  1 19:10:06 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Feb  1 19:10:06 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Feb  1 19:10:09 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb  1 19:10:11 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb  1 19:10:11 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Feb  1 19:10:11 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Feb  1 19:10:11 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Feb  1 19:10:11 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Feb  1 19:10:11 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Feb  1 19:10:11 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Feb  1 19:10:11 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Feb  1 19:10:11 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Feb  1 19:10:11 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Feb  1 19:10:11 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Feb  1 19:10:11 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Feb  1 19:10:11 srv4hai meter.sh: SHELLY 'shelly-01a/WZ Licht Esstisch - 20241208 kein WLAN' - status: 'DFC' ignoring
Feb  1 19:10:11 srv4hai meter.sh: SHELLY 'shelly-43/43-tbd' - status: 'OOS' ignoring
Feb  1 19:10:12 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Feb  1 19:10:12 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Feb  1 19:10:15 srv4hai meter.sh: SHELLY 'shelly-50/50-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb  1 19:10:15 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Feb  1 19:10:17 srv4hai meter.sh: SHELLY 'shelly-99/99-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb  1 19:10:17 srv4hai common[6315]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Feb  1 19:10:17 srv4hai check_shelly.sh: SHELLY last scenery executed: 'vorraumOn'
Feb  1 19:10:17 srv4hai check_shelly.sh: SHELLY found '12' active shelly outputs
Feb  1 19:10:17 srv4hai meter.sh: SHELLY meter.sh ended
Feb  1 19:10:19 srv4hai ping_SP[11893]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1738433419 - 'ping_SP_0'
Feb  1 19:10:19 srv4hai ping_SP[11893]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  1 19:10:31 srv4hai ping_SP[1750]: SHELLY (1)- ping 192.168.12.62 1 not answered (1) @~1738433431 - 'ping_SP_1'
Feb  1 19:10:31 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=6377, secured, session=<0QIskxgtuKcAAAAAAAAAAAAAAAAAAAAB>
Feb  1 19:10:31 srv4hai dovecot: imap(miglincit)<6377><0QIskxgtuKcAAAAAAAAAAAAAAAAAAAAB>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb  1 19:10:39 srv4hai postfix/smtpd[6381]: warning: hostname bresch.surginia.com does not resolve to address 107.174.14.227: Name or service not known
Feb  1 19:10:39 srv4hai postfix/smtpd[6381]: connect from unknown[107.174.14.227]
Feb  1 19:10:44 srv4hai postfix/smtpd[6381]: warning: unknown[107.174.14.227]: SASL PLAIN authentication failed: 
Feb  1 19:10:44 srv4hai postfix/smtpd[6381]: disconnect from unknown[107.174.14.227] ehlo=1 auth=0/1 quit=1 commands=2/3
Feb  1 19:10:50 srv4hai common[6388]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  1 19:10:50 srv4hai common[6412]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  1 19:10:51 srv4hai postfix/smtpd[6381]: connect from unknown[92.118.39.65]
Feb  1 19:10:55 srv4hai postfix/smtpd[6381]: warning: unknown[92.118.39.65]: SASL PLAIN authentication failed: 
Feb  1 19:10:55 srv4hai postfix/smtpd[6381]: disconnect from unknown[92.118.39.65] ehlo=1 auth=0/1 quit=1 commands=2/3
Feb  1 19:10:57 srv4hai ping_SP[1750]: SHELLY (1)- ping 192.168.12.62 2 not answered (1) @~1738433457 - 'ping_SP_1'
Feb  1 19:11:00 srv4hai common[6450]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  1 19:11:00 srv4hai common[6474]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  1 19:11:00 srv4hai common[6498]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  1 19:11:01 srv4hai CRON[6523]: (root) CMD (/etc/linetest/linetest.sh)
Feb  1 19:11:23 srv4hai ping_SP[1750]: SHELLY (1)- ping 192.168.12.62 3 not answered (1) @~1738433483 - 'ping_SP_1'
Feb  1 19:11:32 srv4hai ping_SP[11893]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1738433492 - 'ping_SP_0'
Feb  1 19:11:32 srv4hai ping_SP[11893]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  1 19:11:46 srv4hai ping_SP[1750]: SHELLY (1)- ping 192.168.12.62 4 not answered (1) @~1738433506 - 'ping_SP_1'
Feb  1 19:11:50 srv4hai common[6599]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  1 19:11:50 srv4hai common[6624]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  1 19:11:52 srv4hai postfix/anvil[3654]: statistics: max connection rate 1/60s for (smtp:104.168.64.126) at Feb  1 19:01:52
Feb  1 19:11:52 srv4hai postfix/anvil[3654]: statistics: max connection count 1 for (smtp:104.168.64.126) at Feb  1 19:01:52
Feb  1 19:11:52 srv4hai postfix/anvil[3654]: statistics: max cache size 2 at Feb  1 19:03:33
Feb  1 19:11:55 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=6654, secured, session=
Feb  1 19:11:55 srv4hai dovecot: imap(miglincit)<6654>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb  1 19:12:00 srv4hai common[6658]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  1 19:12:00 srv4hai common[6682]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  1 19:12:00 srv4hai common[6706]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  1 19:12:01 srv4hai CRON[6731]: (root) CMD (/etc/linetest/linetest.sh)
Feb  1 19:12:10 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=6741, secured, session=
Feb  1 19:12:10 srv4hai dovecot: imap(miglincit)<6741>: Logged out in=606 out=32810 deleted=0 expunged=0 trashed=1 hdr_count=1 hdr_bytes=239 body_count=0 body_bytes=0
Feb  1 19:12:10 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=6743, secured, session=<07IKmRgtwqcAAAAAAAAAAAAAAAAAAAAB>
Feb  1 19:12:10 srv4hai dovecot: imap(miglincit)<6743><07IKmRgtwqcAAAAAAAAAAAAAAAAAAAAB>: Logged out in=397 out=7840 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=828 body_count=1 body_bytes=5351
Feb  1 19:12:13 srv4hai ping_SP[1750]: SHELLY (1)- ping 192.168.12.62 5 not answered (1) @~1738433533 - 'ping_SP_1'
Feb  1 19:12:13 srv4hai ping_SP[1750]: SHELLY (1)- ping 192.168.12.62 5 not answered - abort (1750) @~1738433533 - rm 'ping_SP_1'
Feb  1 19:12:13 srv4hai common[6758]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Feb  1 19:12:13 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'9'=1738433533-1738433524
Feb  1 19:12:13 srv4hai check_presence[6758]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Feb  1 19:12:13 srv4hai check_presence[6758]: SHELLY (ping_SP__NO_ping)-(1) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Feb  1 19:12:13 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'9'=1738433533-1738433524
Feb  1 19:12:13 srv4hai check_presence[6758]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Feb  1 19:12:13 srv4hai check_presence[6758]: SHELLY (ping_SP__NO_ping)-(1) what: 'presence' - persPresent: '(__/LIVE) (BT/__)' - anyPresent: 'true' - otherPresent:'true'
Feb  1 19:12:13 srv4hai check_presence[6758]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_vorraumOn) - sceneOFF(offAll)
Feb  1 19:12:13 srv4hai check_presence[6758]: SHELLY (ping_SP__NO_ping)-(1)-presence: NOT activate_scenario.shtml: offAll
Feb  1 19:12:13 srv4hai ping_SP[1750]: SHELLY (1)- TERMINATING now
Feb  1 19:12:44 srv4hai dovecot: imap(miglincit)<18793>: Logged out in=4486834 out=47366717 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=1 body_bytes=4866
Feb  1 19:12:44 srv4hai dovecot: imap(miglincit)<18797>: Logged out in=4507306 out=45266462 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=403 body_count=0 body_bytes=0
Feb  1 19:12:45 srv4hai dovecot: imap(miglincit)<18796>: Connection closed (close finished 0.132 secs ago) in=4496667 out=46349765 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb  1 19:12:45 srv4hai dovecot: imap(miglincit)<18798>: Connection closed (IDLE running for 0.015 + waiting input for 32.141 secs, 0.001 in locks, 2 B in + 10 B out, state=wait-input) in=26422 out=2899637 deleted=0 expunged=0 trashed=0 hdr_count=71 hdr_bytes=26747 body_count=72 body_bytes=2684437
Feb  1 19:12:45 srv4hai dovecot: imap(miglincit)<18794>: Connection closed (IDLE running for 0.001 + waiting input for 94.323 secs, 2 B in + 10 B out, state=wait-input) in=4549855 out=46989375 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb  1 19:12:45 srv4hai ping_SP[11893]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1738433565 - 'ping_SP_0'
Feb  1 19:12:45 srv4hai ping_SP[11893]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  1 19:12:45 srv4hai activate_scenario[6906]: SHELLY scenario: 'pcOFF(pcoff)' started
Feb  1 19:12:45 srv4hai activate_scenario[6906]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-0:''

finished