activate_scenario.sh
Thu Apr 11 08:40:48 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/11/_0.log)

vorher: 08:40:48.384

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: 08:40:48.425
Dauer: 41 msec phName: 'origin:'dhcpcommit.sh-pchai7x''


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

urls : 1
vorher : 08:40:48.362
nachher: 08:40:48.431
Dauer : 70 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/11//scene_pcON_20240411_084048.txt'


syslog

Apr 11 08:37:01 srv4hai CRON[29690]: (root) CMD (/etc/linetest/linetest.sh)
Apr 11 08:37:31 srv4hai ping_SP[19663]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1712817451 - 'ping_SP_0'
Apr 11 08:37:31 srv4hai ping_SP[19663]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 11 08:38:01 srv4hai CRON[29735]: (root) CMD (/etc/linetest/linetest.sh)
Apr 11 08:38:43 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Apr 11 08:38:43 srv4hai fetchmail[1651]: 41732 messages (41732 seen) for tmiglinci at mail.akis.at (-825340037 octets).
Apr 11 08:38:44 srv4hai fetchmail[1651]: 10119 messages (10119 seen) for srozum at mail.akis.at (1224177381 octets).
Apr 11 08:38:44 srv4hai ping_SP[19663]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1712817524 - 'ping_SP_0'
Apr 11 08:38:44 srv4hai ping_SP[19663]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 11 08:38:44 srv4hai fetchmail[1651]: 22791 messages (22791 seen) for mrozum at mail.akis.at (-356743262 octets).
Apr 11 08:38:45 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets).
Apr 11 08:38:53 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=29783, secured, session=
Apr 11 08:38:53 srv4hai dovecot: imap(miglincit)<29783>: Logged out in=9081 out=1194 deleted=1 expunged=1 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr 11 08:38:53 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=29785, secured, session=<08ejaMwV1MYAAAAAAAAAAAAAAAAAAAAB>
Apr 11 08:38:53 srv4hai dovecot: imap(miglincit)<29785><08ejaMwV1MYAAAAAAAAAAAAAAAAAAAAB>: Logged out in=513 out=1232 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr 11 08:39:01 srv4hai CRON[29789]: (root) CMD (/etc/linetest/linetest.sh)
Apr 11 08:39:01 srv4hai CRON[29790]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Apr 11 08:39:01 srv4hai systemd[1]: Starting Clean php session files...
Apr 11 08:39:01 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Apr 11 08:39:01 srv4hai systemd[1]: Started Clean php session files.
Apr 11 08:39:51 srv4hai postfix/smtpd[29909]: connect from localhost[127.0.0.1]
Apr 11 08:39:51 srv4hai postfix/smtpd[29909]: 7D7166022E: client=localhost[127.0.0.1], sasl_method=PLAIN, sasl_username=miglincit
Apr 11 08:39:51 srv4hai postfix/cleanup[29912]: 7D7166022E: message-id=<9a37259f95e16bb80d3d2aab8766e843@miglinci.name>
Apr 11 08:39:51 srv4hai postfix/qmgr[15291]: 7D7166022E: from=, size=9071, nrcpt=1 (queue active)
Apr 11 08:39:51 srv4hai postfix/smtpd[29909]: disconnect from localhost[127.0.0.1] ehlo=1 auth=1 mail=1 rcpt=1 data=1 quit=1 commands=6
Apr 11 08:39:51 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=29915, secured, session=
Apr 11 08:39:51 srv4hai dovecot: imap(miglincit)<29915>: Logged out in=9096 out=1581 deleted=1 expunged=1 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr 11 08:39:51 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=29917, secured, session=
Apr 11 08:39:52 srv4hai dovecot: imap(miglincit)<29917>: Logged out in=384783 out=1436449 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=18464 body_count=0 body_bytes=0
Apr 11 08:39:57 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=29921, secured, session=
Apr 11 08:39:57 srv4hai dovecot: imap(miglincit)<29921>: Logged out in=447 out=76521 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=545 body_count=1 body_bytes=74056
Apr 11 08:39:57 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=29923, secured, session=
Apr 11 08:39:57 srv4hai dovecot: imap(miglincit)<29923>: Logged out in=446 out=80676 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=545 body_count=2 body_bytes=78170
Apr 11 08:39:57 srv4hai ping_SP[19663]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1712817597 - 'ping_SP_0'
Apr 11 08:39:57 srv4hai ping_SP[19663]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 11 08:39:59 srv4hai postfix/smtp[29913]: 7D7166022E: to=, relay=smx01.a1.net[80.75.42.227]:25, delay=8.2, delays=0.05/0.02/5.8/2.3, dsn=4.7.1, status=deferred (host smx01.a1.net[80.75.42.227] said: 451 4.7.1 Try again later (in reply to end of DATA command))
Apr 11 08:40:01 srv4hai CRON[29942]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Apr 11 08:40:01 srv4hai CRON[29943]: (root) CMD (/etc/linetest/linetest.sh)
Apr 11 08:40:01 srv4hai common[29944]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Apr 11 08:40:01 srv4hai meter.sh: SHELLY meter.sh started
Apr 11 08:40:01 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Apr 11 08:40:01 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=30070, secured, session=
Apr 11 08:40:01 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Apr 11 08:40:01 srv4hai dovecot: imap(miglincit)<30070>: Logged out in=616 out=14702 deleted=0 expunged=0 trashed=1 hdr_count=1 hdr_bytes=376 body_count=0 body_bytes=0
Apr 11 08:40:02 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=30232, secured, session=
Apr 11 08:40:03 srv4hai dovecot: imap(miglincit)<30232>: Logged out in=443 out=55349 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=443 body_count=1 body_bytes=53157
Apr 11 08:40:03 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=30293, secured, session=
Apr 11 08:40:03 srv4hai dovecot: imap(miglincit)<30293>: Logged out in=441 out=10247 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=719 body_count=2 body_bytes=7727
Apr 11 08:40:04 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=30404, secured, session=
Apr 11 08:40:04 srv4hai dovecot: imap(miglincit)<30404>: Logged out in=616 out=14523 deleted=0 expunged=0 trashed=1 hdr_count=1 hdr_bytes=274 body_count=0 body_bytes=0
Apr 11 08:40:04 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=30429, secured, session=
Apr 11 08:40:04 srv4hai dovecot: imap(miglincit)<30429>: Logged out in=397 out=45951 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=622 body_count=1 body_bytes=43675
Apr 11 08:40:04 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Apr 11 08:40:04 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Apr 11 08:40:05 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Apr 11 08:40:05 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Apr 11 08:40:05 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Apr 11 08:40:08 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 11 08:40:10 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 11 08:40:10 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Apr 11 08:40:10 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Apr 11 08:40:10 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Apr 11 08:40:10 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Apr 11 08:40:10 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Apr 11 08:40:13 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 11 08:40:13 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Apr 11 08:40:13 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Apr 11 08:40:13 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Apr 11 08:40:13 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Apr 11 08:40:13 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Apr 11 08:40:13 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Apr 11 08:40:13 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Apr 11 08:40:13 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Apr 11 08:40:13 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Apr 11 08:40:13 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Apr 11 08:40:19 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 11 08:40:19 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Apr 11 08:40:19 srv4hai common[29944]: SHELLY common.sh inkludiert von ./check_presence.sh
Apr 11 08:40:19 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'9'=1712817619-1712817610
Apr 11 08:40:19 srv4hai check_presence[29944]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Apr 11 08:40:19 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'9'=1712817619-1712817610
Apr 11 08:40:19 srv4hai check_presence[29944]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Apr 11 08:40:19 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'9'=1712817619-1712817610
Apr 11 08:40:19 srv4hai check_presence[29944]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Apr 11 08:40:19 srv4hai check_presence[29944]: SHELLY (meter.sh)-(99) what: 'presence' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Apr 11 08:40:19 srv4hai check_presence[29944]: SHELLY (meter.sh)-(99)-presence: NOT activate_scenario.shtml: offAll
Apr 11 08:40:19 srv4hai common[29944]: SHELLY common.sh inkludiert von ./check_shelly.sh
Apr 11 08:40:19 srv4hai check_shelly.sh: SHELLY last scenery executed: 'LOG_gehen'
Apr 11 08:40:19 srv4hai check_shelly.sh: SHELLY found '6' active shelly outputs
Apr 11 08:40:19 srv4hai meter.sh: SHELLY meter.sh ended
Apr 11 08:40:19 srv4hai postfix/pickup[28214]: C197860230: uid=33 from=
Apr 11 08:40:19 srv4hai postfix/cleanup[29912]: C197860230: message-id=<20240411064019.C197860230@mail.viehai.at>
Apr 11 08:40:19 srv4hai postfix/qmgr[15291]: C197860230: from=, size=642, nrcpt=1 (queue active)
Apr 11 08:40:19 srv4hai postfix/local[31020]: C197860230: to=, orig_to=, relay=local, delay=0.05, delays=0.02/0.01/0/0.02, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr 11 08:40:19 srv4hai postfix/qmgr[15291]: C197860230: removed
Apr 11 08:40:48 srv4hai dhcpd[28085]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Apr 11 08:40:48 srv4hai dhcpd[28085]: execute_statement argv[1] = 192.168.12.10
Apr 11 08:40:48 srv4hai dhcpd[28085]: execute_statement argv[2] = pchai7x
Apr 11 08:40:48 srv4hai dhcpd[28085]: DHCPREQUEST for 192.168.12.10 from 70:54:d2:7b:fe:a7 via enp2s0
Apr 11 08:40:48 srv4hai dhcpd[28085]: DHCPACK on 192.168.12.10 to 70:54:d2:7b:fe:a7 via enp2s0
Apr 11 08:40:48 srv4hai named[15509]: client @0x7f93140740a0 192.168.12.252#37737/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: pchai7x.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Apr 11 08:40:48 srv4hai named[15509]: client @0x7f93080b8190 192.168.12.252#35533/key rndc-key: signer "rndc-key" approved
Apr 11 08:40:48 srv4hai named[15509]: client @0x7f93080b8190 192.168.12.252#35533/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' TXT
Apr 11 08:40:48 srv4hai named[15509]: client @0x7f93080b8190 192.168.12.252#35533/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' TXT "001e3ad86ca86e10b8e2aaf2e2ade54f52"
Apr 11 08:40:48 srv4hai named[15509]: client @0x7f93080b8190 192.168.12.252#35533/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' A
Apr 11 08:40:48 srv4hai named[15509]: client @0x7f93080b8190 192.168.12.252#35533/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' A 192.168.12.10
Apr 11 08:40:48 srv4hai dhcpd[28085]: Added new forward map from pchai7x.viehai.at to 192.168.12.10
Apr 11 08:40:48 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.10'(10) device 'pchai7x'
Apr 11 08:40:48 srv4hai named[15509]: client @0x7f93180676c0 192.168.12.252#47741/key rndc-key: signer "rndc-key" approved
Apr 11 08:40:48 srv4hai named[15509]: client @0x7f93180676c0 192.168.12.252#47741/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '10.12.168.192.in-addr.arpa' PTR
Apr 11 08:40:48 srv4hai named[15509]: client @0x7f93180676c0 192.168.12.252#47741/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 11 08:40:48 srv4hai dhcpd[28085]: Added reverse map from 10.12.168.192.in-addr.arpa. to pchai7x.viehai.at
Apr 11 08:40:48 srv4hai activate_scenario[31032]: SHELLY scenario: 'pcON(pcon)' started
Apr 11 08:40:48 srv4hai activate_scenario[31032]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - origin:'dhcpcommit.sh-pchai7x'

finished