activate_scenario.sh
Fri Jul 19 21:04:21 CEST 2024
scenario: sekr_UM
source: 192.168.12.110

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

scenario: 'Sekretär Licht UM-schalten' - 'sekr_UM' - 'sekr_um'

Licht Sekretär (/srv/www/viehai/shelly/log_scenarios/2024/07/19/_0.log)

vorher: 21:04:21.790

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

nachher: 21:04:21.824
Dauer: 34 msec phName: 'shelly-10:'WZ Bücherregal''


scenario: 'Sekretär Licht UM-schalten' - 'sekr_UM' - 'sekr_um'

urls : 1
vorher : 21:04:21.759
nachher: 21:04:21.831
Dauer : 72 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/19//scene_sekr_UM_20240719_210421.txt'


syslog

Jul 19 21:01:01 srv4hai CRON[17798]: (root) CMD (/etc/linetest/linetest.sh)
Jul 19 21:01:50 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=17833, secured, session=
Jul 19 21:01:50 srv4hai dovecot: imap(miglincit)<17833>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jul 19 21:02:01 srv4hai CRON[17841]: (root) CMD (/etc/linetest/linetest.sh)
Jul 19 21:03:01 srv4hai CRON[17854]: (root) CMD (/etc/linetest/linetest.sh)
Jul 19 21:03:43 srv4hai common[17863]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jul 19 21:03:43 srv4hai bt_scan[17863]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / shellyIP: '192.168.12.62' - found: 'Yes'
Jul 19 21:03:43 srv4hai bt_scan[17863]: SHELLY - ping_SP.sh started for BTmac: '1' - IPv4: '192.168.12.62'
Jul 19 21:03:43 srv4hai common[17894]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Jul 19 21:03:43 srv4hai ping_SP[17894]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Jul 19 21:03:43 srv4hai common[17915]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jul 19 21:03:44 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'0'=1721415823-1721415823
Jul 19 21:03:44 srv4hai check_presence[17915]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.DEAD and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Jul 19 21:03:44 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'1'=1721415824-1721415823
Jul 19 21:03:44 srv4hai check_presence[17915]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.TRY} and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Jul 19 21:03:44 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_not_set' dweetAge:'1'=1721415824-1721415823
Jul 19 21:03:44 srv4hai check_presence[17915]: 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
Jul 19 21:03:44 srv4hai check_presence[17915]: SHELLY (ping_SP__bt_scan)-(1) what: 'coming' - persPresent: '(__/__) (__/__) (__/__)' - anyPresent: 'false' - otherPresent:'false'
Jul 19 21:03:44 srv4hai postfix/pickup[12288]: 272DB6018A: uid=33 from=
Jul 19 21:03:44 srv4hai postfix/cleanup[18019]: 272DB6018A: message-id=<20240719190344.272DB6018A@mail.viehai.at>
Jul 19 21:03:44 srv4hai postfix/qmgr[8566]: 272DB6018A: from=, size=6994, nrcpt=1 (queue active)
Jul 19 21:03:44 srv4hai check_presence[17915]: SHELLY - check 'coming': anyPresent(false) - lScene(scene_offAll) - sceneONsmall(vorraumOn)
Jul 19 21:03:44 srv4hai check_presence[17915]: SHELLY (ping_SP__bt_scan)-(1)-coming: NOT activate_scenario.shtml: vorraumOn
Jul 19 21:03:44 srv4hai ping_SP[17894]: SHELLY check_presence.sh coming 1 ping_SP__bt_scan
Jul 19 21:03:44 srv4hai ping_SP[17894]: SHELLY - new process for '192.168.12.62' - '/srv/www/viehai/shelly//meter/ping_SP_1' @~1721415824
Jul 19 21:03:45 srv4hai postfix/relay/smtp[18026]: 272DB6018A: to=, relay=mx04.nic.name[209.131.160.34]:25, delay=0.87, delays=0.04/0.01/0.58/0.25, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as CBBE6802C7)
Jul 19 21:03:45 srv4hai postfix/qmgr[8566]: 272DB6018A: removed
Jul 19 21:04:00 srv4hai ping_SP[17894]: SHELLY (1)- ping 192.168.12.62 0 not answered (1) @~1721415840 - 'ping_SP_1'
Jul 19 21:04:01 srv4hai CRON[18076]: (root) CMD (/etc/linetest/linetest.sh)
Jul 19 21:04:21 srv4hai activate_scenario[18088]: SHELLY scenario: 'sekr_UM(sekr_um)' started
Jul 19 21:04:21 srv4hai activate_scenario[18088]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-10:'WZ Bücherregal'

finished