activate_scenario.sh
Sun Jun 9 01:14:20 CEST 2024
scenario: nasszeile_um
source: 192.168.12.128

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

scenario: 'Nasszeile UM-schalten' - 'nasszeile_um' - 'nasszeile_um'

Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/06/09/_0.log)

vorher: 01:14:20.328

http://192.168.12.116/white/0?turn=toggle&brightness=25
  "ison": true,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 25,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 01:14:20.380
Dauer: 51 msec phName: 'shelly-28:'Schalter Nasszeile''


Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/06/09/_1.log)

vorher: 01:14:20.340

http://192.168.12.116/white/1?turn=toggle&brightness=25
  "ison": true,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 25,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 01:14:20.376
Dauer: 36 msec phName: 'shelly-28:'Schalter Nasszeile''


scenario: 'Nasszeile UM-schalten' - 'nasszeile_um' - 'nasszeile_um'

urls : 2
vorher : 01:14:20.308
nachher: 01:14:20.388
Dauer : 80 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/06/09//scene_nasszeile_um_20240609_011420.txt'


syslog

Jun  9 01:11:01 srv4hai CRON[6926]: (root) CMD (/etc/linetest/linetest.sh)
Jun  9 01:11:21 srv4hai postfix/smtpd[6935]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jun  9 01:11:21 srv4hai postfix/smtpd[6935]: connect from unknown[109.206.237.17]
Jun  9 01:11:21 srv4hai postfix/smtpd[6935]: warning: unknown[109.206.237.17]: SASL LOGIN authentication failed: Invalid authentication mechanism
Jun  9 01:11:21 srv4hai postfix/smtpd[6935]: disconnect from unknown[109.206.237.17] ehlo=1 auth=0/1 quit=1 commands=2/3
Jun  9 01:12:01 srv4hai CRON[6946]: (root) CMD (/etc/linetest/linetest.sh)
Jun  9 01:12:54 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=6968, secured, session=
Jun  9 01:12:54 srv4hai dovecot: imap(miglincit)<6968>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jun  9 01:13:01 srv4hai CRON[6973]: (root) CMD (/etc/linetest/linetest.sh)
Jun  9 01:14:01 srv4hai CRON[6992]: (root) CMD (/etc/linetest/linetest.sh)
Jun  9 01:14:06 srv4hai common[6999]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jun  9 01:14:06 srv4hai common[7008]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jun  9 01:14:06 srv4hai bt_scan[6999]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Jun  9 01:14:06 srv4hai bt_scan[6999]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61'
Jun  9 01:14:06 srv4hai common[7044]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Jun  9 01:14:06 srv4hai ping_SP[7044]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Jun  9 01:14:06 srv4hai common[7065]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jun  9 01:14:07 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'1'=1717888447-1717888446
Jun  9 01:14:07 srv4hai check_presence[7065]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.TRY} and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Jun  9 01:14:07 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'1'=1717888447-1717888446
Jun  9 01:14:07 srv4hai check_presence[7065]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Jun  9 01:14:07 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_not_set' dweetAge:'1'=1717888447-1717888446
Jun  9 01:14:07 srv4hai check_presence[7065]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Jun  9 01:14:07 srv4hai check_presence[7065]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(__/__) (__/__) (__/__)' - anyPresent: 'false' - otherPresent:'false'
Jun  9 01:14:07 srv4hai postfix/pickup[32350]: 49CD560197: uid=33 from=
Jun  9 01:14:07 srv4hai postfix/cleanup[7169]: 49CD560197: message-id=<20240608231407.49CD560197@mail.viehai.at>
Jun  9 01:14:07 srv4hai postfix/qmgr[31004]: 49CD560197: from=, size=3465, nrcpt=1 (queue active)
Jun  9 01:14:07 srv4hai check_presence[7065]: SHELLY - check 'coming': anyPresent(false) - lScene(scene_offAll) - sceneONsmall(vorraumOn)
Jun  9 01:14:07 srv4hai check_presence[7065]: SHELLY (ping_SP__bt_scan)-(0)-coming: NOT activate_scenario.shtml: vorraumOn
Jun  9 01:14:07 srv4hai ping_SP[7044]: SHELLY check_presence.sh coming 0 ping_SP__bt_scan
Jun  9 01:14:07 srv4hai ping_SP[7044]: SHELLY - new process for '192.168.12.61' - '/srv/www/viehai/shelly//meter/ping_SP_0' @~1717888447
Jun  9 01:14:08 srv4hai postfix/relay/smtp[7176]: 49CD560197: to=, relay=mx01.nic.name[209.131.159.47]:25, delay=1.4, delays=0.04/0.01/1/0.27, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 6FC59201B4)
Jun  9 01:14:08 srv4hai postfix/qmgr[31004]: 49CD560197: removed
Jun  9 01:14:16 srv4hai bt_scan[7008]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / shellyIP: '192.168.12.62' - found: 'Yes'
Jun  9 01:14:16 srv4hai bt_scan[7008]: SHELLY - ping_SP.sh started for BTmac: '1' - IPv4: '192.168.12.62'
Jun  9 01:14:16 srv4hai common[7230]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Jun  9 01:14:16 srv4hai ping_SP[7230]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Jun  9 01:14:16 srv4hai common[7251]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jun  9 01:14:17 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'2'=1717888457-1717888455
Jun  9 01:14:17 srv4hai check_presence[7251]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.TRY} and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Jun  9 01:14:17 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'2'=1717888457-1717888455
Jun  9 01:14:17 srv4hai check_presence[7251]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.TRY} and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Jun  9 01:14:17 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'2'=1717888457-1717888455
Jun  9 01:14:17 srv4hai check_presence[7251]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Jun  9 01:14:17 srv4hai check_presence[7251]: SHELLY (ping_SP__bt_scan)-(1) what: 'coming' - persPresent: '(BT/__) (BT/__) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jun  9 01:14:17 srv4hai check_presence[7251]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_offAll) - sceneONsmall(vorraumOn)
Jun  9 01:14:17 srv4hai check_presence[7251]: SHELLY (ping_SP__bt_scan)-(1)-coming: activate_scenario.shtml: vorraumOn
Jun  9 01:14:17 srv4hai activate_scenario[7397]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Jun  9 01:14:17 srv4hai activate_scenario[7397]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'1'
Jun  9 01:14:17 srv4hai activate_scenario[7397]: SHELLY scenario: 'vorraumOn(vorraumon)' TO BE EXECUTED, phoneName:'1'
Jun  9 01:14:17 srv4hai postfix/pickup[32350]: 67A8960197: uid=33 from=
Jun  9 01:14:17 srv4hai postfix/cleanup[7169]: 67A8960197: message-id=<20240608231417.67A8960197@mail.viehai.at>
Jun  9 01:14:17 srv4hai postfix/qmgr[31004]: 67A8960197: from=, size=6734, nrcpt=1 (queue active)
Jun  9 01:14:17 srv4hai activate_scenario[7397]: SHELLY: scenario: 'vorraumOn(vorraumon)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=on'
Jun  9 01:14:17 srv4hai proc_url[7461]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/06/09/_0.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=on' - phName:'phoneName:'1''
Jun  9 01:14:17 srv4hai activate_scenario[7397]: SHELLY scenario: 'vorraumOn(vorraumon)' took 48 msec, phoneName:'1'
Jun  9 01:14:17 srv4hai ping_SP[7230]: SHELLY check_presence.sh coming 1 ping_SP__bt_scan
Jun  9 01:14:17 srv4hai ping_SP[7230]: SHELLY - new process for '192.168.12.62' - '/srv/www/viehai/shelly//meter/ping_SP_1' @~1717888457
Jun  9 01:14:18 srv4hai postfix/relay/smtp[7176]: 67A8960197: to=, relay=mx01.nic.name[209.131.159.47]:25, delay=0.7, delays=0.01/0/0.42/0.27, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as E6D3B20227)
Jun  9 01:14:18 srv4hai postfix/qmgr[31004]: 67A8960197: removed
Jun  9 01:14:20 srv4hai activate_scenario[7504]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' started
Jun  9 01:14:20 srv4hai activate_scenario[7504]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-28:'Schalter Nasszeile'

finished