activate_scenario.sh
Sun Jan 26 20:09:06 CET 2025
scenario: buero_UM
source: 192.168.12.140

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

scenario: 'Büro UM-schalten' - 'buero_UM' - 'buero_um'

TB Regallicht (/srv/www/viehai/shelly/log_scenarios/2025/01/26/_0.log)

vorher: 20:09:06.853

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

nachher: 20:09:06.884
Dauer: 30 msec phName: 'shelly-40:'TB Licht''


TB Licht (/srv/www/viehai/shelly/log_scenarios/2025/01/26/_1.log)

vorher: 20:09:06.872

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

nachher: 20:09:07.255
Dauer: 383 msec phName: 'shelly-40:'TB Licht''


scenario: 'Büro UM-schalten' - 'buero_UM' - 'buero_um'

urls : 2
vorher : 20:09:06.827
nachher: 20:09:07.262
Dauer : 435 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/01/26//scene_buero_UM_20250126_200906.txt'


syslog

Jan 26 20:06:01 srv4hai CRON[13572]: (root) CMD (/etc/linetest/linetest.sh)
Jan 26 20:06:29 srv4hai ping_SP[23630]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1737918389 - 'ping_SP_1'
Jan 26 20:06:29 srv4hai ping_SP[23630]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jan 26 20:06:35 srv4hai ping_SP[4402]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1737918395 - 'ping_SP_0'
Jan 26 20:06:35 srv4hai ping_SP[4402]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 26 20:07:01 srv4hai CRON[13639]: (root) CMD (/etc/linetest/linetest.sh)
Jan 26 20:07:03 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=13648, secured, session=
Jan 26 20:07:03 srv4hai dovecot: imap(miglincit)<13648>: Logged out in=2109 out=166343 deleted=0 expunged=0 trashed=0 hdr_count=257 hdr_bytes=91522 body_count=0 body_bytes=0
Jan 26 20:07:42 srv4hai ping_SP[23630]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1737918462 - 'ping_SP_1'
Jan 26 20:07:42 srv4hai ping_SP[23630]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jan 26 20:07:45 srv4hai postfix/smtpd[13689]: warning: hostname 107-173-154-138-host.colocrossing.com does not resolve to address 107.173.154.138: Name or service not known
Jan 26 20:07:45 srv4hai postfix/smtpd[13689]: connect from unknown[107.173.154.138]
Jan 26 20:07:48 srv4hai ping_SP[4402]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1737918468 - 'ping_SP_0'
Jan 26 20:07:48 srv4hai ping_SP[4402]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 26 20:07:49 srv4hai common[13709]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jan 26 20:07:50 srv4hai postfix/smtpd[13689]: warning: unknown[107.173.154.138]: SASL PLAIN authentication failed: 
Jan 26 20:07:50 srv4hai postfix/smtpd[13689]: disconnect from unknown[107.173.154.138] ehlo=1 auth=0/1 quit=1 commands=2/3
Jan 26 20:07:59 srv4hai bt_scan[13709]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / shellyIP: '192.168.12.62' - found: 'No'
Jan 26 20:07:59 srv4hai bt_scan[13709]: SHELLY - lost BT-connection to BTmac: '1' found: 'No' - check presence
Jan 26 20:07:59 srv4hai common[13742]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jan 26 20:07:59 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=13756, secured, session=<67alraAs2JIAAAAAAAAAAAAAAAAAAAAB>
Jan 26 20:08:00 srv4hai dovecot: imap(miglincit)<13756><67alraAs2JIAAAAAAAAAAAAAAAAAAAAB>: Logged out in=1934 out=1349 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jan 26 20:08:00 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1737918480-1737918469
Jan 26 20:08:00 srv4hai check_presence[13742]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Jan 26 20:08:00 srv4hai check_presence[13742]: SHELLY (bt_scan)-(1) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Jan 26 20:08:00 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'11'=1737918480-1737918469
Jan 26 20:08:00 srv4hai check_presence[13742]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Jan 26 20:08:00 srv4hai check_presence[13742]: SHELLY (bt_scan)-(1) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Jan 26 20:08:00 srv4hai check_presence[13742]: SHELLY (bt_scan)-(1) what: 'presence' - persPresent: '(__/LIVE) (__/LIVE)' - anyPresent: 'true' - otherPresent:'true'
Jan 26 20:08:00 srv4hai check_presence[13742]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_herdzeile_UM) - sceneOFF(offAll)
Jan 26 20:08:00 srv4hai check_presence[13742]: SHELLY (bt_scan)-(1)-presence: NOT activate_scenario.shtml: offAll
Jan 26 20:08:01 srv4hai CRON[13858]: (root) CMD (/etc/linetest/linetest.sh)
Jan 26 20:08:07 srv4hai common[13864]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jan 26 20:08:17 srv4hai bt_scan[13864]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / shellyIP: '192.168.12.62' - found: 'Yes'
Jan 26 20:08:17 srv4hai bt_scan[13864]: SHELLY - ping_SP.sh already running for BTmac: '1' - IPv4: '192.168.12.62'
Jan 26 20:08:56 srv4hai ping_SP[23630]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1737918536 - 'ping_SP_1'
Jan 26 20:08:56 srv4hai ping_SP[23630]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jan 26 20:09:00 srv4hai systemd[1]: Starting Clean php session files...
Jan 26 20:09:00 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Jan 26 20:09:00 srv4hai systemd[1]: Started Clean php session files.
Jan 26 20:09:01 srv4hai CRON[14044]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Jan 26 20:09:01 srv4hai CRON[14045]: (root) CMD (/etc/linetest/linetest.sh)
Jan 26 20:09:02 srv4hai ping_SP[4402]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1737918542 - 'ping_SP_0'
Jan 26 20:09:02 srv4hai ping_SP[4402]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 26 20:09:02 srv4hai dovecot: imap(miglincit)<23639>: Logged out in=3620813 out=37045458 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jan 26 20:09:02 srv4hai dovecot: imap(miglincit)<23645><4i1NOJwsSJXAqAwK>: Logged out in=3589472 out=37047577 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jan 26 20:09:02 srv4hai dovecot: imap(miglincit)<23641>: Logged out in=3622002 out=36564043 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jan 26 20:09:02 srv4hai dovecot: imap(miglincit)<23643>: Logged out in=3597903 out=38338871 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jan 26 20:09:02 srv4hai dovecot: imap(miglincit)<23644>: Connection closed (IDLE running for 0.001 + waiting input for 13.455 secs, 2 B in + 10 B out, state=wait-input) in=25011 out=17973196 deleted=0 expunged=0 trashed=0 hdr_count=125 hdr_bytes=45932 body_count=132 body_bytes=17732123
Jan 26 20:09:03 srv4hai activate_scenario[14067]: SHELLY scenario: 'pcOFF(pcoff)' started
Jan 26 20:09:03 srv4hai activate_scenario[14067]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-0:''
Jan 26 20:09:03 srv4hai activate_scenario[14067]: SHELLY scenario: 'pcOFF(pcoff)' TO BE EXECUTED, shelly-0:''
Jan 26 20:09:03 srv4hai postfix/pickup[1150]: 5D60D63463: uid=33 from=
Jan 26 20:09:03 srv4hai postfix/cleanup[14121]: 5D60D63463: message-id=<20250126190903.5D60D63463@mail.viehai.at>
Jan 26 20:09:03 srv4hai postfix/qmgr[8566]: 5D60D63463: from=, size=7118, nrcpt=1 (queue active)
Jan 26 20:09:03 srv4hai activate_scenario[14067]: SHELLY: scenario: 'pcOFF(pcoff)'-'shelly-20'-'TB Schreibtischlampe' --> '0?turn=off'
Jan 26 20:09:03 srv4hai proc_url[14139]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2025/01/26/_0.log' - shellyUsage:'TB Schreibtischlampe' - scUrl:'http://192.168.12.120/relay/0?turn=off' - phName:'shelly-0:'''
Jan 26 20:09:03 srv4hai postfix/local[14134]: 5D60D63463: to=, orig_to=, relay=local, delay=0.05, delays=0.02/0/0/0.02, dsn=5.1.1, status=bounced (unknown user: "null")
Jan 26 20:09:03 srv4hai postfix/cleanup[14121]: 657EE63464: message-id=<20250126190903.657EE63464@mail.viehai.at>
Jan 26 20:09:03 srv4hai postfix/bounce[14135]: 5D60D63463: sender non-delivery notification: 657EE63464
Jan 26 20:09:03 srv4hai postfix/qmgr[8566]: 657EE63464: from=<>, size=8997, nrcpt=1 (queue active)
Jan 26 20:09:03 srv4hai postfix/qmgr[8566]: 5D60D63463: removed
Jan 26 20:09:03 srv4hai postfix/local[14134]: 657EE63464: to=, relay=local, delay=0.01, delays=0/0/0/0, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jan 26 20:09:03 srv4hai postfix/qmgr[8566]: 657EE63464: removed
Jan 26 20:09:03 srv4hai activate_scenario[14067]: SHELLY scenario: 'pcOFF(pcoff)' took 72 msec, shelly-0:''
Jan 26 20:09:06 srv4hai activate_scenario[14167]: SHELLY scenario: 'buero_UM(buero_um)' started
Jan 26 20:09:06 srv4hai activate_scenario[14167]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht'

finished