activate_scenario.sh
Thu Apr 18 15:44:46 CEST 2024
scenario: pcON
origin: dhcpcommit.sh-pchai7x

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

scenario: 'Schreibtisch Thomas EIN-schalten' - 'pcON' - 'pcon'

Thomas Schreibtischlampe (/srv/www/viehai/shelly/log_scenarios/2024/04/18/_0.log)

vorher: 15:44:46.494

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

nachher: 15:44:46.529
Dauer: 35 msec phName: 'origin:'dhcpcommit.sh-pchai7x''


scenario: 'Schreibtisch Thomas EIN-schalten' - 'pcON' - 'pcon'

urls : 1
vorher : 15:44:46.473
nachher: 15:44:46.535
Dauer : 63 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/18//scene_pcON_20240418_154446.txt'


syslog

Apr 18 15:41:01 srv4hai CRON[28991]: (root) CMD (/etc/linetest/linetest.sh)
Apr 18 15:41:15 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=28999, secured, session=
Apr 18 15:41:16 srv4hai dovecot: imap(miglincit)<28999>: Logged out in=441 out=1913 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=357 body_count=1 body_bytes=18
Apr 18 15:41:19 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=29001, secured, session=
Apr 18 15:41:19 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=29003, secured, session=
Apr 18 15:41:20 srv4hai dovecot: imap(miglincit)<29003>: Logged out in=397 out=20755 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=582 body_count=1 body_bytes=18491
Apr 18 15:41:20 srv4hai dovecot: imap(miglincit)<29001>: Logged out in=672 out=16709 deleted=0 expunged=0 trashed=5 hdr_count=5 hdr_bytes=1317 body_count=0 body_bytes=0
Apr 18 15:41:20 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=29005, secured, session=
Apr 18 15:41:20 srv4hai dovecot: imap(miglincit)<29005>: Logged out in=443 out=28649 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=486 body_count=1 body_bytes=26420
Apr 18 15:41:21 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=29007, secured, session=
Apr 18 15:41:21 srv4hai dovecot: imap(miglincit)<29007>: Logged out in=441 out=8999 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=540 body_count=1 body_bytes=6771
Apr 18 15:41:26 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=29010, secured, session=
Apr 18 15:41:26 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=29012, secured, session=
Apr 18 15:41:26 srv4hai dovecot: imap(miglincit)<29012>: Logged out in=397 out=28564 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=486 body_count=1 body_bytes=26420
Apr 18 15:41:26 srv4hai dovecot: imap(miglincit)<29010>: Logged out in=658 out=16163 deleted=0 expunged=0 trashed=4 hdr_count=4 hdr_bytes=1064 body_count=0 body_bytes=0
Apr 18 15:41:27 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=29014, secured, session=<9e7AIF8WRLgAAAAAAAAAAAAAAAAAAAAB>
Apr 18 15:41:27 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=29016, secured, session=
Apr 18 15:41:27 srv4hai dovecot: imap(miglincit)<29014><9e7AIF8WRLgAAAAAAAAAAAAAAAAAAAAB>: Logged out in=616 out=14598 deleted=0 expunged=0 trashed=1 hdr_count=1 hdr_bytes=312 body_count=0 body_bytes=0
Apr 18 15:41:27 srv4hai dovecot: imap(miglincit)<29016>: Logged out in=397 out=20721 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=582 body_count=1 body_bytes=18491
Apr 18 15:41:55 srv4hai ping_SP[7723]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1713447715 - 'ping_SP_0'
Apr 18 15:41:55 srv4hai ping_SP[7723]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 18 15:42:01 srv4hai CRON[29038]: (root) CMD (/etc/linetest/linetest.sh)
Apr 18 15:42:10 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Apr 18 15:42:12 srv4hai fetchmail[1651]: 42399 messages (42398 seen) for tmiglinci at mail.akis.at (-763178115 octets).
Apr 18 15:42:12 srv4hai postfix/smtpd[29044]: connect from localhost[127.0.0.1]
Apr 18 15:42:12 srv4hai postfix/smtpd[29044]: 221616011A: client=localhost[127.0.0.1]
Apr 18 15:42:12 srv4hai postfix/cleanup[29047]: 221616011A: message-id=<20240418133622.9c175696dfdd3c15@mail.gallupforum.at>
Apr 18 15:42:12 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:42399 of 42399 (11410 octets) not flushed
Apr 18 15:42:12 srv4hai postfix/qmgr[15291]: 221616011A: from=, size=11658, nrcpt=1 (queue active)
Apr 18 15:42:12 srv4hai postfix/smtpd[29044]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Apr 18 15:42:12 srv4hai postfix/local[29048]: 221616011A: to=, relay=local, delay=0.08, delays=0.06/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr 18 15:42:12 srv4hai postfix/qmgr[15291]: 221616011A: removed
Apr 18 15:42:12 srv4hai fetchmail[1651]: 10148 messages (10148 seen) for srozum at mail.akis.at (1225959905 octets).
Apr 18 15:42:13 srv4hai fetchmail[1651]: 22949 messages (22949 seen) for mrozum at mail.akis.at (-315170560 octets).
Apr 18 15:42:13 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets).
Apr 18 15:42:28 srv4hai common[29052]: SHELLY common.sh inkludiert von ./bt_scan.sh
Apr 18 15:42:32 srv4hai mosquitto[12998]: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
Apr 18 15:42:37 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=29066, secured, session=
Apr 18 15:42:37 srv4hai dovecot: imap(miglincit)<29066>: Logged out in=749 out=42688 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=18514 body_count=0 body_bytes=0
Apr 18 15:42:38 srv4hai bt_scan[29052]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Apr 18 15:42:38 srv4hai bt_scan[29052]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Apr 18 15:42:38 srv4hai common[29085]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Apr 18 15:42:38 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1713447758-1713447748
Apr 18 15:42:38 srv4hai check_presence[29085]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Apr 18 15:42:38 srv4hai check_presence[29085]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Apr 18 15:42:38 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'10'=1713447758-1713447748
Apr 18 15:42:38 srv4hai check_presence[29085]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Apr 18 15:42:38 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'10'=1713447758-1713447748
Apr 18 15:42:38 srv4hai check_presence[29085]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Apr 18 15:42:38 srv4hai check_presence[29085]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Apr 18 15:42:38 srv4hai check_presence[29085]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Apr 18 15:43:01 srv4hai CRON[29213]: (root) CMD (/etc/linetest/linetest.sh)
Apr 18 15:43:08 srv4hai ping_SP[7723]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1713447788 - 'ping_SP_0'
Apr 18 15:43:08 srv4hai ping_SP[7723]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 18 15:43:08 srv4hai postfix/anvil[27497]: statistics: max connection rate 1/60s for (smtp:45.128.96.187) at Apr 18 15:36:09
Apr 18 15:43:08 srv4hai postfix/anvil[27497]: statistics: max connection count 1 for (smtp:45.128.96.187) at Apr 18 15:36:09
Apr 18 15:43:08 srv4hai postfix/anvil[27497]: statistics: max cache size 1 at Apr 18 15:36:09
Apr 18 15:43:19 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=29234, secured, session=<8Cx0J18WWrgAAAAAAAAAAAAAAAAAAAAB>
Apr 18 15:43:19 srv4hai dovecot: imap(miglincit)<29234><8Cx0J18WWrgAAAAAAAAAAAAAAAAAAAAB>: Logged out in=443 out=10453 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=542 body_count=1 body_bytes=8361
Apr 18 15:43:20 srv4hai named[15509]: validating eu.mailgun.org/A: no valid signature found
Apr 18 15:44:01 srv4hai CRON[29239]: (root) CMD (/etc/linetest/linetest.sh)
Apr 18 15:44:17 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=29252, secured, session=
Apr 18 15:44:17 srv4hai dovecot: imap(miglincit)<29252>: Logged out in=397 out=20721 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=582 body_count=1 body_bytes=18491
Apr 18 15:44:18 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=29254, secured, session=
Apr 18 15:44:18 srv4hai dovecot: imap(miglincit)<29254>: Logged out in=616 out=14590 deleted=0 expunged=0 trashed=1 hdr_count=1 hdr_bytes=312 body_count=0 body_bytes=0
Apr 18 15:44:21 srv4hai ping_SP[7723]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1713447861 - 'ping_SP_0'
Apr 18 15:44:21 srv4hai ping_SP[7723]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 18 15:44:30 srv4hai nmbd[30864]: [2024/04/18 15:44:30.457485,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Apr 18 15:44:30 srv4hai nmbd[30864]:   find_domain_master_name_query_fail:
Apr 18 15:44:30 srv4hai nmbd[30864]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Apr 18 15:44:30 srv4hai nmbd[30864]:   Unable to sync browse lists in this workgroup.
Apr 18 15:44:46 srv4hai dhcpd[28085]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Apr 18 15:44:46 srv4hai dhcpd[28085]: execute_statement argv[1] = 192.168.12.10
Apr 18 15:44:46 srv4hai dhcpd[28085]: execute_statement argv[2] = pchai7x
Apr 18 15:44:46 srv4hai dhcpd[28085]: DHCPREQUEST for 192.168.12.10 from 70:54:d2:7b:fe:a7 via enp2s0
Apr 18 15:44:46 srv4hai dhcpd[28085]: DHCPACK on 192.168.12.10 to 70:54:d2:7b:fe:a7 via enp2s0
Apr 18 15:44:46 srv4hai named[15509]: client @0x7f93180c5880 192.168.12.252#34603/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: pchai7x.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Apr 18 15:44:46 srv4hai named[15509]: client @0x7f931c6410a0 192.168.12.252#59019/key rndc-key: signer "rndc-key" approved
Apr 18 15:44:46 srv4hai named[15509]: client @0x7f931c6410a0 192.168.12.252#59019/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' TXT
Apr 18 15:44:46 srv4hai named[15509]: client @0x7f931c6410a0 192.168.12.252#59019/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' TXT "001e3ad86ca86e10b8e2aaf2e2ade54f52"
Apr 18 15:44:46 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.10'(10) device 'pchai7x'
Apr 18 15:44:46 srv4hai named[15509]: client @0x7f931c6410a0 192.168.12.252#59019/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' A
Apr 18 15:44:46 srv4hai named[15509]: client @0x7f931c6410a0 192.168.12.252#59019/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' A 192.168.12.10
Apr 18 15:44:46 srv4hai dhcpd[28085]: Added new forward map from pchai7x.viehai.at to 192.168.12.10
Apr 18 15:44:46 srv4hai named[15509]: client @0x7f931c11da30 192.168.12.252#53579/key rndc-key: signer "rndc-key" approved
Apr 18 15:44:46 srv4hai named[15509]: client @0x7f931c11da30 192.168.12.252#53579/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '10.12.168.192.in-addr.arpa' PTR
Apr 18 15:44:46 srv4hai named[15509]: client @0x7f931c11da30 192.168.12.252#53579/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '10.12.168.192.in-addr.arpa' PTR pchai7x.viehai.at.
Apr 18 15:44:46 srv4hai dhcpd[28085]: Added reverse map from 10.12.168.192.in-addr.arpa. to pchai7x.viehai.at
Apr 18 15:44:46 srv4hai activate_scenario[29278]: SHELLY scenario: 'pcON(pcon)' started
Apr 18 15:44:46 srv4hai activate_scenario[29278]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - origin:'dhcpcommit.sh-pchai7x'

finished