activate_scenario.sh
Sat Jul 20 09:18:23 CEST 2024
scenario: pcOFF
source: 192.168.12.10

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

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

Thomas Schreibtischlampe (/srv/www/viehai/shelly/log_scenarios/2024/07/20/_0.log)

vorher: 09:18:23.306

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: 09:18:23.398
Dauer: 91 msec phName: 'shelly-0:'''


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

urls : 1
vorher : 09:18:23.256
nachher: 09:18:23.404
Dauer : 148 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/20//scene_pcOFF_20240720_091823.txt'


syslog

Jul 20 09:15:01 srv4hai CRON[2832]: (root) CMD (/etc/linetest/linetest.sh)
Jul 20 09:15:14 srv4hai ping_SP[12526]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721459714 - 'ping_SP_0'
Jul 20 09:15:14 srv4hai ping_SP[12526]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 20 09:16:01 srv4hai CRON[2871]: (root) CMD (/etc/linetest/linetest.sh)
Jul 20 09:16:17 srv4hai ping_SP[12526]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721459777 - 'ping_SP_0'
Jul 20 09:16:17 srv4hai ping_SP[12526]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 20 09:16:30 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jul 20 09:16:31 srv4hai fetchmail[1651]: 49039 messages (49039 seen) for tmiglinci at mail.akis.at (-234828618 octets).
Jul 20 09:16:31 srv4hai fetchmail[1651]: 10479 messages (10479 seen) for srozum at mail.akis.at (1261747211 octets).
Jul 20 09:16:32 srv4hai fetchmail[1651]: 24842 messages (24842 seen) for mrozum at mail.akis.at (48644285 octets).
Jul 20 09:16:32 srv4hai fetchmail[1651]: 1139 messages (1139 seen) for admin@bastelstube.wien at pop3.world4you.com (51570784 octets).
Jul 20 09:16:50 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=2904, secured, session=
Jul 20 09:16:50 srv4hai dovecot: imap(miglincit)<2904>: 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 20 09:16:53 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=2906, secured, session=
Jul 20 09:16:53 srv4hai dovecot: imap(miglincit)<2906>: 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 20 09:17:01 srv4hai CRON[2912]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Jul 20 09:17:01 srv4hai CRON[2913]: (root) CMD (/etc/linetest/linetest.sh)
Jul 20 09:17:09 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=2921, secured, session=
Jul 20 09:17:09 srv4hai dovecot: imap(miglincit)<2921>: Logged out in=265 out=1683 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jul 20 09:17:20 srv4hai ping_SP[12526]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721459840 - 'ping_SP_0'
Jul 20 09:17:20 srv4hai ping_SP[12526]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 20 09:17:46 srv4hai common[2948]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jul 20 09:17:46 srv4hai bt_scan[2948]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / shellyIP: '192.168.12.62' - found: 'Yes'
Jul 20 09:17:46 srv4hai bt_scan[2948]: SHELLY - ping_SP.sh started for BTmac: '1' - IPv4: '192.168.12.62'
Jul 20 09:17:46 srv4hai common[2979]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Jul 20 09:17:46 srv4hai ping_SP[2979]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Jul 20 09:17:46 srv4hai common[3000]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jul 20 09:17:47 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'0'=1721459867-1721459867
Jul 20 09:17:47 srv4hai check_presence[3000]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Jul 20 09:17:47 srv4hai check_presence[3000]: SHELLY (ping_SP__bt_scan)-(1) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Jul 20 09:17:47 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'0'=1721459867-1721459867
Jul 20 09:17:47 srv4hai check_presence[3000]: 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 20 09:17:47 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_not_set' dweetAge:'0'=1721459867-1721459867
Jul 20 09:17:47 srv4hai check_presence[3000]: 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 20 09:17:47 srv4hai check_presence[3000]: SHELLY (ping_SP__bt_scan)-(1) what: 'coming' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jul 20 09:17:47 srv4hai check_presence[3000]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_pcON) - sceneONsmall(vorraumOn)
Jul 20 09:17:47 srv4hai check_presence[3000]: SHELLY (ping_SP__bt_scan)-(1)-coming: activate_scenario.shtml: vorraumOn
Jul 20 09:17:47 srv4hai activate_scenario[3129]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Jul 20 09:17:47 srv4hai activate_scenario[3129]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'1'
Jul 20 09:17:47 srv4hai activate_scenario[3129]: SHELLY scenario: 'vorraumOn(vorraumon)' TO BE EXECUTED, phoneName:'1'
Jul 20 09:17:47 srv4hai postfix/pickup[20669]: B15A66018A: uid=33 from=
Jul 20 09:17:47 srv4hai postfix/cleanup[3179]: B15A66018A: message-id=<20240720071747.B15A66018A@mail.viehai.at>
Jul 20 09:17:47 srv4hai postfix/qmgr[8566]: B15A66018A: from=, size=6680, nrcpt=1 (queue active)
Jul 20 09:17:47 srv4hai activate_scenario[3129]: SHELLY: scenario: 'vorraumOn(vorraumon)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=on'
Jul 20 09:17:47 srv4hai proc_url[3196]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/07/20/_0.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=on' - phName:'phoneName:'1''
Jul 20 09:17:47 srv4hai activate_scenario[3129]: SHELLY scenario: 'vorraumOn(vorraumon)' took 137 msec, phoneName:'1'
Jul 20 09:17:47 srv4hai ping_SP[2979]: SHELLY check_presence.sh coming 1 ping_SP__bt_scan
Jul 20 09:17:47 srv4hai ping_SP[2979]: SHELLY - new process for '192.168.12.62' - '/srv/www/viehai/shelly//meter/ping_SP_1' @~1721459867
Jul 20 09:17:49 srv4hai postfix/relay/smtp[3192]: B15A66018A: to=, relay=mx02.nic.name[209.131.158.56]:25, delay=1.3, delays=0.01/0.01/1/0.25, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as CB5A680137)
Jul 20 09:17:49 srv4hai postfix/qmgr[8566]: B15A66018A: removed
Jul 20 09:18:01 srv4hai CRON[3241]: (root) CMD (/etc/linetest/linetest.sh)
Jul 20 09:18:03 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=3247, secured, session=
Jul 20 09:18:03 srv4hai dovecot: imap(miglincit)<3247>: Logged out in=447 out=76523 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=517 body_count=1 body_bytes=74083
Jul 20 09:18:03 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=3249, secured, session=
Jul 20 09:18:03 srv4hai dovecot: imap(miglincit)<3249>: Logged out in=446 out=75315 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=517 body_count=2 body_bytes=72834
Jul 20 09:18:03 srv4hai postfix/anvil[2828]: statistics: max connection rate 1/60s for (smtp:87.236.176.59) at Jul 20 09:14:37
Jul 20 09:18:03 srv4hai postfix/anvil[2828]: statistics: max connection count 1 for (smtp:87.236.176.59) at Jul 20 09:14:37
Jul 20 09:18:03 srv4hai postfix/anvil[2828]: statistics: max cache size 1 at Jul 20 09:14:37
Jul 20 09:18:04 srv4hai ping_SP[2979]: SHELLY (1)- ping 192.168.12.62 0 not answered (1) @~1721459884 - 'ping_SP_1'
Jul 20 09:18:09 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=3264, secured, session=
Jul 20 09:18:09 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=3266, secured, session=
Jul 20 09:18:09 srv4hai dovecot: imap(miglincit)<3264>: Logged out in=655 out=33726 deleted=0 expunged=0 trashed=2 hdr_count=7 hdr_bytes=1903 body_count=0 body_bytes=0
Jul 20 09:18:09 srv4hai dovecot: imap(miglincit)<3266>: Logged out in=397 out=10524 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=562 body_count=1 body_bytes=8236
Jul 20 09:18:10 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=3268, secured, session=
Jul 20 09:18:10 srv4hai dovecot: imap(miglincit)<3268>: Logged out in=563 out=6929 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=423 body_count=4 body_bytes=4379
Jul 20 09:18:13 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=3270, secured, session=
Jul 20 09:18:14 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=3274, secured, session=
Jul 20 09:18:14 srv4hai dovecot: imap(miglincit)<3270>: Logged out in=574 out=30481 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=333 body_count=0 body_bytes=0
Jul 20 09:18:14 srv4hai dovecot: imap(miglincit)<3274>: Logged out in=397 out=10490 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=562 body_count=1 body_bytes=8236
Jul 20 09:18:23 srv4hai activate_scenario[3284]: SHELLY scenario: 'pcOFF(pcoff)' started
Jul 20 09:18:23 srv4hai activate_scenario[3284]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-0:''

finished