activate_scenario.sh
Fri Apr 26 17:04:46 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/04/26/_0.log)

vorher: 17:04:46.360

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: 17:04:46.400
Dauer: 40 msec phName: 'shelly-0:'''


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

urls : 1
vorher : 17:04:46.334
nachher: 17:04:46.406
Dauer : 72 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/26//scene_pcOFF_20240426_170446.txt'


syslog

Apr 26 17:01:01 srv4hai CRON[1727]: (root) CMD (/etc/linetest/linetest.sh)
Apr 26 17:01:12 srv4hai ping_SP[32267]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1714143672 - 'ping_SP_0'
Apr 26 17:01:12 srv4hai ping_SP[32267]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 26 17:01:21 srv4hai common[1757]: SHELLY common.sh inkludiert von ./bt_scan.sh
Apr 26 17:01:24 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=1772, secured, session=
Apr 26 17:01:24 srv4hai dovecot: imap(miglincit)<1772>: Logged out in=150440 out=700 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr 26 17:01:28 srv4hai ping_SP[25002]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1714143688 - 'ping_SP_1'
Apr 26 17:01:28 srv4hai ping_SP[25002]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Apr 26 17:01:31 srv4hai bt_scan[1757]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / shellyIP: '192.168.12.62' - found: 'No'
Apr 26 17:01:31 srv4hai bt_scan[1757]: SHELLY - lost BT-connection to BTmac: '1' found: 'No' - check presence
Apr 26 17:01:31 srv4hai common[1807]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Apr 26 17:01:31 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1714143691-1714143681
Apr 26 17:01:31 srv4hai check_presence[1807]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Apr 26 17:01:31 srv4hai check_presence[1807]: SHELLY (bt_scan)-(1) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Apr 26 17:01:31 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'10'=1714143691-1714143681
Apr 26 17:01:31 srv4hai check_presence[1807]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Apr 26 17:01:31 srv4hai check_presence[1807]: SHELLY (bt_scan)-(1) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Apr 26 17:01:31 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'10'=1714143691-1714143681
Apr 26 17:01:31 srv4hai check_presence[1807]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Apr 26 17:01:31 srv4hai check_presence[1807]: SHELLY (bt_scan)-(1) what: 'presence' - persPresent: '(__/LIVE) (__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Apr 26 17:01:31 srv4hai check_presence[1807]: SHELLY (bt_scan)-(1)-presence: NOT activate_scenario.shtml: offAll
Apr 26 17:02:01 srv4hai CRON[1934]: (root) CMD (/etc/linetest/linetest.sh)
Apr 26 17:02:11 srv4hai postfix/smtpd[1940]: connect from localhost[127.0.0.1]
Apr 26 17:02:11 srv4hai postfix/smtpd[1940]: C43D26319A: client=localhost[127.0.0.1], sasl_method=PLAIN, sasl_username=miglincit
Apr 26 17:02:11 srv4hai postfix/cleanup[1943]: C43D26319A: message-id=
Apr 26 17:02:11 srv4hai postfix/qmgr[15291]: C43D26319A: from=, size=150517, nrcpt=4 (queue active)
Apr 26 17:02:11 srv4hai postfix/smtpd[1940]: disconnect from localhost[127.0.0.1] ehlo=1 auth=1 mail=1 rcpt=4 data=1 quit=1 commands=9
Apr 26 17:02:11 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=1947, secured, session=
Apr 26 17:02:11 srv4hai dovecot: imap(miglincit)<1947>: Logged out in=150629 out=1252 deleted=1 expunged=1 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr 26 17:02:12 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=1953, secured, session=
Apr 26 17:02:12 srv4hai dovecot: imap(miglincit)<1953>: Logged out in=44 out=184566 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr 26 17:02:12 srv4hai postfix/smtp[1946]: C43D26319A: to=, relay=eur.olc.protection.outlook.com[104.47.17.97]:25, delay=0.98, delays=0.01/0.01/0.3/0.66, dsn=2.6.0, status=sent (250 2.6.0  [InternalId=180805238261420, Hostname=AM0P189MB0724.EURP189.PROD.OUTLOOK.COM] 158026 bytes in 0.259, 594.048 KB/sec Queued mail for delivery -> 250 2.1.5)
Apr 26 17:02:13 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=1955, secured, session=
Apr 26 17:02:13 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=1957, secured, session=
Apr 26 17:02:13 srv4hai dovecot: imap(miglincit)<1955>: Logged out in=390 out=16032 deleted=0 expunged=0 trashed=0 hdr_count=22 hdr_bytes=10006 body_count=0 body_bytes=0
Apr 26 17:02:13 srv4hai dovecot: imap(miglincit)<1957>: Logged out in=236 out=185201 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr 26 17:02:13 srv4hai postfix/smtp[1949]: C43D26319A: to=, relay=mx-eu.mail.am0.yahoodns.net[188.125.72.73]:25, delay=1.6, delays=0.01/0.02/0.45/1.1, dsn=2.0.0, status=sent (250 ok dirdel)
Apr 26 17:02:13 srv4hai postfix/smtp[1944]: C43D26319A: to=, relay=gmail-smtp-in.l.google.com[64.233.184.27]:25, delay=2, delays=0.01/0.01/0.47/1.5, dsn=2.0.0, status=sent (250 2.0.0 OK  1714143733 v18-20020adfebd2000000b0034b5b1b503csi4823840wrn.137 - gsmtp)
Apr 26 17:02:14 srv4hai postfix/smtp[1948]: C43D26319A: to=, relay=mx02.wien.gv.at[217.149.228.137]:25, delay=3.1, delays=0.01/0.02/0.39/2.6, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 4VQwtX1jj7z1N)
Apr 26 17:02:14 srv4hai postfix/qmgr[15291]: C43D26319A: removed
Apr 26 17:02:15 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=1959, secured, session=
Apr 26 17:02:15 srv4hai dovecot: imap(miglincit)<1959>: Logged out in=688 out=39939 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=15784 body_count=0 body_bytes=0
Apr 26 17:02:24 srv4hai postfix/smtpd[1940]: connect from mout01.wien.gv.at[217.149.228.138]
Apr 26 17:02:24 srv4hai postfix/smtpd[1940]: 820D16319A: client=mout01.wien.gv.at[217.149.228.138]
Apr 26 17:02:24 srv4hai postfix/cleanup[1943]: 820D16319A: message-id=<77cff81ef9be4e0d9b7b174fe9a77de5@swppxchmag11.host.magwien.gv.at>
Apr 26 17:02:24 srv4hai postfix/qmgr[15291]: 820D16319A: from=<>, size=4741, nrcpt=1 (queue active)
Apr 26 17:02:24 srv4hai postfix/smtpd[1940]: disconnect from mout01.wien.gv.at[217.149.228.138] ehlo=2 starttls=1 mail=1 rcpt=1 data=1 quit=1 commands=7
Apr 26 17:02:24 srv4hai postfix/local[1965]: 820D16319A: to=, relay=local, delay=0.1, delays=0.09/0.01/0/0, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr 26 17:02:24 srv4hai postfix/qmgr[15291]: 820D16319A: removed
Apr 26 17:02:25 srv4hai ping_SP[32267]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1714143745 - 'ping_SP_0'
Apr 26 17:02:25 srv4hai ping_SP[32267]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 26 17:02:41 srv4hai ping_SP[25002]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1714143761 - 'ping_SP_1'
Apr 26 17:02:41 srv4hai ping_SP[25002]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Apr 26 17:03:01 srv4hai CRON[2013]: (root) CMD (/etc/linetest/linetest.sh)
Apr 26 17:03:16 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=2020, secured, session=
Apr 26 17:03:16 srv4hai dovecot: imap(miglincit)<2020>: Logged out in=735 out=40158 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=15905 body_count=0 body_bytes=0
Apr 26 17:03:22 srv4hai common[2022]: SHELLY common.sh inkludiert von ./bt_scan.sh
Apr 26 17:03:32 srv4hai bt_scan[2022]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / shellyIP: '192.168.12.62' - found: 'Yes'
Apr 26 17:03:32 srv4hai bt_scan[2022]: SHELLY - ping_SP.sh already running for BTmac: '1' - IPv4: '192.168.12.62'
Apr 26 17:03:38 srv4hai ping_SP[32267]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1714143818 - 'ping_SP_0'
Apr 26 17:03:38 srv4hai ping_SP[32267]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 26 17:03:54 srv4hai ping_SP[25002]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1714143834 - 'ping_SP_1'
Apr 26 17:03:54 srv4hai ping_SP[25002]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Apr 26 17:04:01 srv4hai CRON[2106]: (root) CMD (/etc/linetest/linetest.sh)
Apr 26 17:04:24 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Apr 26 17:04:25 srv4hai fetchmail[1651]: 42959 messages (42958 seen) for tmiglinci at mail.akis.at (-711929194 octets).
Apr 26 17:04:25 srv4hai postfix/smtpd[2112]: connect from localhost[127.0.0.1]
Apr 26 17:04:25 srv4hai postfix/smtpd[2112]: AB3856319A: client=localhost[127.0.0.1]
Apr 26 17:04:25 srv4hai postfix/cleanup[2115]: AB3856319A: message-id=<4umwfu3xdlos.Y2aPyAILBGmGloAchudIqg2@tracking.kickstargo.com>
Apr 26 17:04:25 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:42959 of 42959 (79405 octets) not flushed
Apr 26 17:04:25 srv4hai postfix/qmgr[15291]: AB3856319A: from=, size=79691, nrcpt=1 (queue active)
Apr 26 17:04:25 srv4hai postfix/smtpd[2112]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Apr 26 17:04:25 srv4hai postfix/local[2116]: AB3856319A: to=, relay=local, delay=0.08, delays=0.05/0.02/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr 26 17:04:25 srv4hai postfix/qmgr[15291]: AB3856319A: removed
Apr 26 17:04:26 srv4hai fetchmail[1651]: 10174 messages (10174 seen) for srozum at mail.akis.at (1227801485 octets).
Apr 26 17:04:26 srv4hai fetchmail[1651]: 23124 messages (23124 seen) for mrozum at mail.akis.at (-295299177 octets).
Apr 26 17:04:26 srv4hai fetchmail[1651]: 50 messages (50 seen) for admin@bastelstube.wien at pop3.world4you.com (12362835 octets).
Apr 26 17:04:40 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=2123, secured, session=
Apr 26 17:04:40 srv4hai dovecot: imap(miglincit)<2123>: Logged out in=441 out=11861 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=379 body_count=1 body_bytes=9939
Apr 26 17:04:42 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=2128, secured, session=
Apr 26 17:04:42 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=2130, secured, session=
Apr 26 17:04:42 srv4hai dovecot: imap(miglincit)<2130>: Logged out in=399 out=9760 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=547 body_count=1 body_bytes=7338
Apr 26 17:04:42 srv4hai dovecot: imap(miglincit)<2128>: Logged out in=616 out=14667 deleted=0 expunged=0 trashed=1 hdr_count=1 hdr_bytes=238 body_count=0 body_bytes=0
Apr 26 17:04:42 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=2132, secured, session=
Apr 26 17:04:42 srv4hai dovecot: imap(miglincit)<2132>: Logged out in=397 out=101724 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=547 body_count=1 body_bytes=99303
Apr 26 17:04:46 srv4hai dovecot: imap(miglincit)<19937>: Logged out in=8663 out=1896120 deleted=0 expunged=0 trashed=0 hdr_count=29 hdr_bytes=10898 body_count=29 body_bytes=1782332
Apr 26 17:04:46 srv4hai activate_scenario[2134]: SHELLY scenario: 'pcOFF(pcoff)' started
Apr 26 17:04:46 srv4hai activate_scenario[2134]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-0:''

finished