activate_scenario.sh
Fri May 24 12:52:50 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/05/24/_0.log)

vorher: 12:52:50.604

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: 12:52:50.634
Dauer: 30 msec phName: 'origin:'dhcpcommit.sh-pchai7x''


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

urls : 1
vorher : 12:52:50.580
nachher: 12:52:50.641
Dauer : 60 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/05/24//scene_pcON_20240524_125250.txt'


syslog

May 24 12:49:02 srv4hai CRON[29638]: (root) CMD (/etc/linetest/linetest.sh)
May 24 12:49:13 srv4hai postfix/smtp[29532]: connect to mail4.hhsys.org[12.150.240.184]:25: Connection timed out
May 24 12:49:13 srv4hai postfix/smtp[29532]: D3727631BF: to=, relay=none, delay=183341, delays=183248/0.02/92/0, dsn=4.4.1, status=deferred (connect to mail4.hhsys.org[12.150.240.184]:25: Connection timed out)
May 24 12:49:14 srv4hai ping_SP[6044]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1716547754 - 'ping_SP_0'
May 24 12:49:14 srv4hai ping_SP[6044]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
May 24 12:49:43 srv4hai postfix/smtpd[29662]: warning: database /etc/aliases.db is older than source file /etc/aliases
May 24 12:49:43 srv4hai named[15509]: resolver priming query complete
May 24 12:49:44 srv4hai named[15509]: resolver priming query complete
May 24 12:49:44 srv4hai postfix/smtpd[29662]: connect from unknown[109.206.237.18]
May 24 12:49:44 srv4hai postfix/smtpd[29662]: warning: unknown[109.206.237.18]: SASL LOGIN authentication failed: Invalid authentication mechanism
May 24 12:49:44 srv4hai postfix/smtpd[29662]: disconnect from unknown[109.206.237.18] ehlo=1 auth=0/1 quit=1 commands=2/3
May 24 12:50:01 srv4hai CRON[29673]: (root) CMD (/etc/linetest/linetest.sh)
May 24 12:50:01 srv4hai CRON[29674]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
May 24 12:50:01 srv4hai common[29676]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
May 24 12:50:01 srv4hai meter.sh: SHELLY meter.sh started
May 24 12:50:01 srv4hai named[15509]: resolver priming query complete
May 24 12:50:01 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
May 24 12:50:01 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
May 24 12:50:07 srv4hai meter.sh: SHELLY 'shelly-42/Stehlampe dimmbar':  OFFLINE, resp. not answering within connect-timeout 2.500000s
May 24 12:50:07 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
May 24 12:50:07 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
May 24 12:50:07 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
May 24 12:50:07 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
May 24 12:50:07 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
May 24 12:50:10 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
May 24 12:50:13 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
May 24 12:50:13 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
May 24 12:50:13 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
May 24 12:50:13 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
May 24 12:50:13 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
May 24 12:50:13 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
May 24 12:50:16 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
May 24 12:50:16 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
May 24 12:50:16 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
May 24 12:50:16 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
May 24 12:50:16 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
May 24 12:50:16 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
May 24 12:50:16 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
May 24 12:50:16 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
May 24 12:50:16 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
May 24 12:50:16 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
May 24 12:50:16 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
May 24 12:50:19 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
May 24 12:50:19 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
May 24 12:50:19 srv4hai common[30568]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
May 24 12:50:19 srv4hai check_shelly.sh: SHELLY last scenery executed: 'sekr_UM'
May 24 12:50:19 srv4hai check_shelly.sh: SHELLY found '8' active shelly outputs
May 24 12:50:19 srv4hai meter.sh: SHELLY meter.sh ended
May 24 12:50:27 srv4hai ping_SP[6044]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1716547827 - 'ping_SP_0'
May 24 12:50:27 srv4hai ping_SP[6044]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
May 24 12:50:38 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=30608, secured, session=
May 24 12:50:38 srv4hai dovecot: imap(miglincit)<30608>: Logged out in=137 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
May 24 12:51:01 srv4hai CRON[30612]: (root) CMD (/etc/linetest/linetest.sh)
May 24 12:51:08 srv4hai named[15509]: resolver priming query complete
May 24 12:51:40 srv4hai ping_SP[6044]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1716547900 - 'ping_SP_0'
May 24 12:51:40 srv4hai ping_SP[6044]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
May 24 12:51:46 srv4hai named[15509]: resolver priming query complete
May 24 12:52:01 srv4hai CRON[30643]: (root) CMD (/etc/linetest/linetest.sh)
May 24 12:52:41 srv4hai postfix/qmgr[15291]: AC299631D6: from=, size=21752, nrcpt=1 (queue active)
May 24 12:52:41 srv4hai postfix/qmgr[15291]: 2F901631A3: from=, size=21749, nrcpt=1 (queue active)
May 24 12:52:42 srv4hai postfix/smtp[30653]: AC299631D6: to=, relay=smtp.sd.newyorklife.com[206.210.19.217]:25, delay=151646, delays=151645/0.01/0.87/0, dsn=4.0.0, status=deferred (host smtp.sd.newyorklife.com[206.210.19.217] refused to talk to me: 554 smtp.sd.newyorklife.com)
May 24 12:52:42 srv4hai postfix/smtp[30654]: 2F901631A3: host cloudcar-com.mail.protection.outlook.com[52.101.9.14] said: 451 4.4.4 Mail received as unauthenticated, incoming to a recipient domain configured in a hosted tenant which has no mail-enabled subscriptions. ATTR5 [BL02EPF0001A0F9.namprd03.prod.outlook.com 2024-05-24T10:52:42.609Z 08DC76F83F6DC1BC] (in reply to end of DATA command)
May 24 12:52:44 srv4hai postfix/smtp[30654]: 2F901631A3: to=, relay=cloudcar-com.mail.protection.outlook.com[52.101.42.18]:25, delay=181170, delays=181167/0.01/1.9/0.87, dsn=4.4.4, status=deferred (host cloudcar-com.mail.protection.outlook.com[52.101.42.18] said: 451 4.4.4 Mail received as unauthenticated, incoming to a recipient domain configured in a hosted tenant which has no mail-enabled subscriptions. ATTR5 [CO1PEPF000075EE.namprd03.prod.outlook.com 2024-05-24T10:52:43.976Z 08DC79FE4F3C89D8] (in reply to end of DATA command))
May 24 12:52:50 srv4hai dhcpd[22856]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
May 24 12:52:50 srv4hai dhcpd[22856]: execute_statement argv[1] = 192.168.12.10
May 24 12:52:50 srv4hai dhcpd[22856]: execute_statement argv[2] = pchai7x
May 24 12:52:50 srv4hai dhcpd[22856]: DHCPREQUEST for 192.168.12.10 from 70:54:d2:7b:fe:a7 via enp2s0
May 24 12:52:50 srv4hai dhcpd[22856]: DHCPACK on 192.168.12.10 to 70:54:d2:7b:fe:a7 via enp2s0
May 24 12:52:50 srv4hai named[15509]: client @0x7f9314138a30 192.168.12.252#53017/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: pchai7x.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
May 24 12:52:50 srv4hai named[15509]: client @0x7f93180f1aa0 192.168.12.252#41995/key rndc-key: signer "rndc-key" approved
May 24 12:52:50 srv4hai named[15509]: client @0x7f93180f1aa0 192.168.12.252#41995/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' TXT
May 24 12:52:50 srv4hai named[15509]: client @0x7f93180f1aa0 192.168.12.252#41995/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' TXT "001e3ad86ca86e10b8e2aaf2e2ade54f52"
May 24 12:52:50 srv4hai named[15509]: client @0x7f93180f1aa0 192.168.12.252#41995/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' A
May 24 12:52:50 srv4hai named[15509]: client @0x7f93180f1aa0 192.168.12.252#41995/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' A 192.168.12.10
May 24 12:52:50 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.10'(10) device 'pchai7x'
May 24 12:52:50 srv4hai dhcpd[22856]: Added new forward map from pchai7x.viehai.at to 192.168.12.10
May 24 12:52:50 srv4hai named[15509]: client @0x7f9314108410 192.168.12.252#46189/key rndc-key: signer "rndc-key" approved
May 24 12:52:50 srv4hai named[15509]: client @0x7f9314108410 192.168.12.252#46189/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '10.12.168.192.in-addr.arpa' PTR
May 24 12:52:50 srv4hai named[15509]: client @0x7f9314108410 192.168.12.252#46189/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.
May 24 12:52:50 srv4hai dhcpd[22856]: Added reverse map from 10.12.168.192.in-addr.arpa. to pchai7x.viehai.at
May 24 12:52:50 srv4hai activate_scenario[30665]: SHELLY scenario: 'pcON(pcon)' started
May 24 12:52:50 srv4hai activate_scenario[30665]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - origin:'dhcpcommit.sh-pchai7x'

finished