activate_scenario.sh
Fri Sep 27 19:28:41 CEST 2024
scenario: pcON
origin: dhcpcommit.sh-pchai7x

'night' <--> 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/09/27/_0.log)

vorher: 19:28:41.603

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: 19:28:41.639
Dauer: 36 msec phName: 'origin:'dhcpcommit.sh-pchai7x''


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

urls : 1
vorher : 19:28:41.559
nachher: 19:28:41.645
Dauer : 89 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/09/27//scene_pcON_20240927_192841.txt'


syslog

Sep 27 19:25:01 srv4hai CRON[7732]: (root) CMD (/etc/linetest/linetest.sh)
Sep 27 19:25:13 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=7740, secured, session=<0U9GIx0jHoYAAAAAAAAAAAAAAAAAAAAB>
Sep 27 19:25:13 srv4hai dovecot: imap(miglincit)<7740><0U9GIx0jHoYAAAAAAAAAAAAAAAAAAAAB>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep 27 19:26:01 srv4hai CRON[7745]: (root) CMD (/etc/linetest/linetest.sh)
Sep 27 19:26:20 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Sep 27 19:26:27 srv4hai fetchmail[1651]: 53269 messages (53269 seen) for tmiglinci at mail.akis.at (77791987 octets).
Sep 27 19:26:29 srv4hai fetchmail[1651]: 10778 messages (10778 seen) for srozum at mail.akis.at (1306435026 octets).
Sep 27 19:26:32 srv4hai fetchmail[1651]: 26198 messages (26198 seen) for mrozum at mail.akis.at (251048878 octets).
Sep 27 19:26:32 srv4hai fetchmail[1651]: 1145 messages (1145 seen) for admin@bastelstube.wien at pop3.world4you.com (51919832 octets).
Sep 27 19:26:42 srv4hai mosquitto[18551]: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
Sep 27 19:27:01 srv4hai CRON[7755]: (root) CMD (/etc/linetest/linetest.sh)
Sep 27 19:27:10 srv4hai nmbd[2172]: [2024/09/27 19:27:10.664399,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Sep 27 19:27:10 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Sep 27 19:27:10 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Sep 27 19:27:10 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Sep 27 19:28:01 srv4hai CRON[7765]: (root) CMD (/etc/linetest/linetest.sh)
Sep 27 19:28:13 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=7775, secured, session=
Sep 27 19:28:13 srv4hai dovecot: imap(miglincit)<7775>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep 27 19:28:27 srv4hai activate_scenario[7778]: SHELLY scenario: 'buero_UM(buero_um)' started
Sep 27 19:28:27 srv4hai activate_scenario[7778]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'
Sep 27 19:28:27 srv4hai activate_scenario[7778]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'Thomas Büro Licht'
Sep 27 19:28:27 srv4hai postfix/pickup[28662]: AE45E63463: uid=33 from=
Sep 27 19:28:27 srv4hai postfix/cleanup[7831]: AE45E63463: message-id=<20240927172827.AE45E63463@mail.viehai.at>
Sep 27 19:28:27 srv4hai postfix/qmgr[8566]: AE45E63463: from=, size=3157, nrcpt=1 (queue active)
Sep 27 19:28:27 srv4hai activate_scenario[7778]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'Thomas Büro Regallicht' --> '0?turn=toggle'
Sep 27 19:28:27 srv4hai proc_url[7849]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/09/27/_0.log' - shellyUsage:'Thomas Büro Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Sep 27 19:28:27 srv4hai postfix/local[7844]: AE45E63463: to=, orig_to=, relay=local, delay=0.08, delays=0.06/0.01/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Sep 27 19:28:27 srv4hai postfix/cleanup[7831]: B993A63465: message-id=<20240927172827.B993A63465@mail.viehai.at>
Sep 27 19:28:27 srv4hai activate_scenario[7778]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'Thomas Büro Licht' --> '0?turn=toggle'
Sep 27 19:28:27 srv4hai proc_url[7860]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/09/27/_1.log' - shellyUsage:'Thomas Büro Licht' - scUrl:'http://192.168.12.140/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Sep 27 19:28:27 srv4hai postfix/bounce[7845]: AE45E63463: sender non-delivery notification: B993A63465
Sep 27 19:28:27 srv4hai postfix/qmgr[8566]: B993A63465: from=<>, size=5079, nrcpt=1 (queue active)
Sep 27 19:28:27 srv4hai postfix/qmgr[8566]: AE45E63463: removed
Sep 27 19:28:27 srv4hai postfix/local[7844]: B993A63465: to=, relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Sep 27 19:28:27 srv4hai postfix/qmgr[8566]: B993A63465: removed
Sep 27 19:28:27 srv4hai activate_scenario[7778]: SHELLY scenario: 'buero_UM(buero_um)' took 127 msec, shelly-40:'Thomas Büro Licht'
Sep 27 19:28:40 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Sep 27 19:28:40 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.134
Sep 27 19:28:40 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-34
Sep 27 19:28:40 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.134 (192.168.12.252) from e0:98:06:b5:35:57 via enp2s0
Sep 27 19:28:40 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.134 to e0:98:06:b5:35:57 via enp2s0
Sep 27 19:28:40 srv4hai named[30406]: client @0x7f9350685ed0 192.168.12.252#39439/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-34.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Sep 27 19:28:40 srv4hai named[30406]: client @0x7f935064b690 192.168.12.252#59045/key rndc-key: signer "rndc-key" approved
Sep 27 19:28:40 srv4hai named[30406]: client @0x7f935064b690 192.168.12.252#59045/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-34.viehai.at' TXT
Sep 27 19:28:40 srv4hai named[30406]: client @0x7f935064b690 192.168.12.252#59045/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-34.viehai.at' TXT "00f3730a3c4806caed908447d191c014fb"
Sep 27 19:28:40 srv4hai named[30406]: client @0x7f935064b690 192.168.12.252#59045/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-34.viehai.at' A
Sep 27 19:28:40 srv4hai named[30406]: client @0x7f935064b690 192.168.12.252#59045/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-34.viehai.at' A 192.168.12.134
Sep 27 19:28:40 srv4hai dhcpd[30731]: Added new forward map from shelly-34.viehai.at to 192.168.12.134
Sep 27 19:28:40 srv4hai named[30406]: client @0x7f934c0165b0 192.168.12.252#34263/key rndc-key: signer "rndc-key" approved
Sep 27 19:28:40 srv4hai named[30406]: client @0x7f934c0165b0 192.168.12.252#34263/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '134.12.168.192.in-addr.arpa' PTR
Sep 27 19:28:40 srv4hai named[30406]: client @0x7f934c0165b0 192.168.12.252#34263/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '134.12.168.192.in-addr.arpa' PTR shelly-34.viehai.at.
Sep 27 19:28:40 srv4hai dhcpd[30731]: Added reverse map from 134.12.168.192.in-addr.arpa. to shelly-34.viehai.at
Sep 27 19:28:40 srv4hai common[7903]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Sep 27 19:28:40 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-34' - shIP/2:'' perform:'conf'
Sep 27 19:28:40 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-34' - shIP/2:'192.168.12.134'
Sep 27 19:28:40 srv4hai conf_shelly.sh: SHELLY: usage/name 'Zwischenstecker 34' already set for '192.168.12.134'
Sep 27 19:28:40 srv4hai conf_shelly.sh: SHELLY:'shelly-34' no action-processing
Sep 27 19:28:41 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Sep 27 19:28:41 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.10
Sep 27 19:28:41 srv4hai dhcpd[30731]: execute_statement argv[2] = pchai7x
Sep 27 19:28:41 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.10 from 70:54:d2:7b:fe:a7 via enp2s0
Sep 27 19:28:41 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.10 to 70:54:d2:7b:fe:a7 via enp2s0
Sep 27 19:28:41 srv4hai named[30406]: client @0x7f9348022510 192.168.12.252#60343/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: pchai7x.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Sep 27 19:28:41 srv4hai named[30406]: client @0x7f9348035d30 192.168.12.252#47375/key rndc-key: signer "rndc-key" approved
Sep 27 19:28:41 srv4hai named[30406]: client @0x7f9348035d30 192.168.12.252#47375/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' TXT
Sep 27 19:28:41 srv4hai named[30406]: client @0x7f9348035d30 192.168.12.252#47375/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' TXT "001e3ad86ca86e10b8e2aaf2e2ade54f52"
Sep 27 19:28:41 srv4hai named[30406]: client @0x7f9348035d30 192.168.12.252#47375/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' A
Sep 27 19:28:41 srv4hai named[30406]: client @0x7f9348035d30 192.168.12.252#47375/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' A 192.168.12.10
Sep 27 19:28:41 srv4hai dhcpd[30731]: Added new forward map from pchai7x.viehai.at to 192.168.12.10
Sep 27 19:28:41 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.10'(10) device 'pchai7x'
Sep 27 19:28:41 srv4hai named[30406]: client @0x7f932c0d0080 192.168.12.252#37229/key rndc-key: signer "rndc-key" approved
Sep 27 19:28:41 srv4hai named[30406]: client @0x7f932c0d0080 192.168.12.252#37229/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '10.12.168.192.in-addr.arpa' PTR
Sep 27 19:28:41 srv4hai named[30406]: client @0x7f932c0d0080 192.168.12.252#37229/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.
Sep 27 19:28:41 srv4hai dhcpd[30731]: Added reverse map from 10.12.168.192.in-addr.arpa. to pchai7x.viehai.at
Sep 27 19:28:41 srv4hai activate_scenario[7957]: SHELLY scenario: 'pcON(pcon)' started
Sep 27 19:28:41 srv4hai activate_scenario[7957]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - origin:'dhcpcommit.sh-pchai7x'

finished