activate_scenario.sh
Fri Jul 26 19:38:49 CEST 2024
scenario: buero_UM
source: 192.168.12.140

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

scenario: 'Büro UM-schalten' - 'buero_UM' - 'buero_um'

Thomas Büro Regallicht (/srv/www/viehai/shelly/log_scenarios/2024/07/26/_0.log)

vorher: 19:38:49.780

http://192.168.12.108/relay/0?turn=toggle
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 19:38:49.821
Dauer: 42 msec phName: 'shelly-40:'Thomas Büro Licht''


Thomas Büro Licht (/srv/www/viehai/shelly/log_scenarios/2024/07/26/_1.log)

vorher: 19:38:49.792

http://192.168.12.140/relay/0?turn=toggle
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 19:38:49.822
Dauer: 30 msec phName: 'shelly-40:'Thomas Büro Licht''


scenario: 'Büro UM-schalten' - 'buero_UM' - 'buero_um'

urls : 2
vorher : 19:38:49.760
nachher: 19:38:49.830
Dauer : 70 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/26//scene_buero_UM_20240726_193849.txt'


syslog

Jul 26 19:35:01 srv4hai CRON[15621]: (root) CMD (/etc/linetest/linetest.sh)
Jul 26 19:35:26 srv4hai ping_SP[32037]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1722015326 - 'ping_SP_0'
Jul 26 19:35:26 srv4hai ping_SP[32037]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 26 19:35:31 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=15671, secured, session=
Jul 26 19:35:31 srv4hai dovecot: imap(miglincit)<15671>: Logged out in=137 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jul 26 19:35:39 srv4hai activate_scenario[15681]: SHELLY scenario: 'pcOFF(pcoff)' started
Jul 26 19:35:39 srv4hai activate_scenario[15681]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-0:''
Jul 26 19:35:39 srv4hai activate_scenario[15681]: SHELLY scenario: 'pcOFF(pcoff)' TO BE EXECUTED, shelly-0:''
Jul 26 19:35:39 srv4hai postfix/pickup[12868]: 455706018A: uid=33 from=
Jul 26 19:35:39 srv4hai postfix/cleanup[15734]: 455706018A: message-id=<20240726173539.455706018A@mail.viehai.at>
Jul 26 19:35:39 srv4hai postfix/qmgr[8566]: 455706018A: from=, size=8219, nrcpt=1 (queue active)
Jul 26 19:35:39 srv4hai postfix/local[15747]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jul 26 19:35:39 srv4hai postfix/local[15747]: 455706018A: to=, orig_to=, relay=local, delay=0.04, delays=0.02/0.01/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Jul 26 19:35:39 srv4hai postfix/cleanup[15734]: 4ABEB6018B: message-id=<20240726173539.4ABEB6018B@mail.viehai.at>
Jul 26 19:35:39 srv4hai activate_scenario[15681]: SHELLY: scenario: 'pcOFF(pcoff)'-'shelly-20'-'Thomas Schreibtischlampe' --> '0?turn=off'
Jul 26 19:35:39 srv4hai postfix/bounce[15748]: 455706018A: sender non-delivery notification: 4ABEB6018B
Jul 26 19:35:39 srv4hai postfix/qmgr[8566]: 4ABEB6018B: from=<>, size=10101, nrcpt=1 (queue active)
Jul 26 19:35:39 srv4hai postfix/qmgr[8566]: 455706018A: removed
Jul 26 19:35:39 srv4hai proc_url[15752]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/07/26/_0.log' - shellyUsage:'Thomas Schreibtischlampe' - scUrl:'http://192.168.12.120/relay/0?turn=off' - phName:'shelly-0:'''
Jul 26 19:35:39 srv4hai postfix/local[15747]: 4ABEB6018B: to=, relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jul 26 19:35:39 srv4hai postfix/qmgr[8566]: 4ABEB6018B: removed
Jul 26 19:35:39 srv4hai activate_scenario[15681]: SHELLY scenario: 'pcOFF(pcoff)' took 61 msec, shelly-0:''
Jul 26 19:35:50 srv4hai ping_SP[1414]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1722015350 - 'ping_SP_1'
Jul 26 19:35:50 srv4hai ping_SP[1414]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 26 19:36:01 srv4hai CRON[15811]: (root) CMD (/etc/linetest/linetest.sh)
Jul 26 19:36:14 srv4hai postfix/anvil[15315]: statistics: max connection rate 1/60s for (smtp:94.141.120.192) at Jul 26 19:32:54
Jul 26 19:36:14 srv4hai postfix/anvil[15315]: statistics: max connection count 1 for (smtp:94.141.120.192) at Jul 26 19:32:54
Jul 26 19:36:14 srv4hai postfix/anvil[15315]: statistics: max cache size 1 at Jul 26 19:32:54
Jul 26 19:36:15 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=15823, secured, session=
Jul 26 19:36:15 srv4hai dovecot: imap(miglincit)<15823>: Logged out in=137 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jul 26 19:36:20 srv4hai mosquitto[18551]: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
Jul 26 19:36:27 srv4hai activate_scenario[15834]: SHELLY scenario: 'sekr_UM(sekr_um)' started
Jul 26 19:36:27 srv4hai activate_scenario[15834]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-10:'WZ Bücherregal'
Jul 26 19:36:27 srv4hai activate_scenario[15834]: SHELLY scenario: 'sekr_UM(sekr_um)' TO BE EXECUTED, shelly-10:'WZ Bücherregal'
Jul 26 19:36:28 srv4hai postfix/pickup[12868]: 03B4E6018A: uid=33 from=
Jul 26 19:36:28 srv4hai postfix/cleanup[15734]: 03B4E6018A: message-id=<20240726173628.03B4E6018A@mail.viehai.at>
Jul 26 19:36:28 srv4hai postfix/qmgr[8566]: 03B4E6018A: from=, size=10059, nrcpt=1 (queue active)
Jul 26 19:36:28 srv4hai postfix/local[15747]: 03B4E6018A: to=, orig_to=, relay=local, delay=0.03, delays=0.02/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Jul 26 19:36:28 srv4hai postfix/cleanup[15734]: 0756E6018B: message-id=<20240726173628.0756E6018B@mail.viehai.at>
Jul 26 19:36:28 srv4hai postfix/bounce[15748]: 03B4E6018A: sender non-delivery notification: 0756E6018B
Jul 26 19:36:28 srv4hai postfix/qmgr[8566]: 0756E6018B: from=<>, size=11981, nrcpt=1 (queue active)
Jul 26 19:36:28 srv4hai postfix/qmgr[8566]: 03B4E6018A: removed
Jul 26 19:36:28 srv4hai postfix/local[15747]: 0756E6018B: to=, relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jul 26 19:36:28 srv4hai postfix/qmgr[8566]: 0756E6018B: removed
Jul 26 19:36:28 srv4hai activate_scenario[15834]: SHELLY: scenario: 'sekr_UM(sekr_um)'-'shelly-23'-'Licht Sekretär' --> '0?turn=toggle'
Jul 26 19:36:28 srv4hai proc_url[15932]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/07/26/_0.log' - shellyUsage:'Licht Sekretär' - scUrl:'http://192.168.12.123/relay/0?turn=toggle' - phName:'shelly-10:'WZ Bücherregal''
Jul 26 19:36:28 srv4hai activate_scenario[15834]: SHELLY scenario: 'sekr_UM(sekr_um)' took 127 msec, shelly-10:'WZ Bücherregal'
Jul 26 19:36:33 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jul 26 19:36:34 srv4hai fetchmail[1651]: 49442 messages (49442 seen) for tmiglinci at mail.akis.at (-204523793 octets).
Jul 26 19:36:34 srv4hai fetchmail[1651]: 10514 messages (10514 seen) for srozum at mail.akis.at (1264986819 octets).
Jul 26 19:36:35 srv4hai fetchmail[1651]: 24967 messages (24967 seen) for mrozum at mail.akis.at (69874518 octets).
Jul 26 19:36:35 srv4hai fetchmail[1651]: 1139 messages (1139 seen) for admin@bastelstube.wien at pop3.world4you.com (51570784 octets).
Jul 26 19:36:39 srv4hai ping_SP[32037]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1722015399 - 'ping_SP_0'
Jul 26 19:36:39 srv4hai ping_SP[32037]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 26 19:37:01 srv4hai CRON[15998]: (root) CMD (/etc/linetest/linetest.sh)
Jul 26 19:37:03 srv4hai ping_SP[1414]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1722015423 - 'ping_SP_1'
Jul 26 19:37:03 srv4hai ping_SP[1414]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 26 19:37:18 srv4hai dhcpd[30731]: DHCPRELEASE of 192.168.12.3 from 70:a7:41:9a:7d:4e via enp2s0 (not found)
Jul 26 19:37:18 srv4hai dhcpd[30731]: DHCPDISCOVER from 70:a7:41:9a:7d:4e via enp2s0
Jul 26 19:37:18 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.3 to 70:a7:41:9a:7d:4e via enp2s0
Jul 26 19:37:18 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Jul 26 19:37:18 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.3
Jul 26 19:37:18 srv4hai dhcpd[30731]: execute_statement argv[2] = ap3hai
Jul 26 19:37:18 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.3 (192.168.12.252) from 70:a7:41:9a:7d:4e via enp2s0
Jul 26 19:37:18 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.3 to 70:a7:41:9a:7d:4e via enp2s0
Jul 26 19:37:18 srv4hai named[30406]: client @0x7f93100e1310 192.168.12.252#54647/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: ap3hai.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jul 26 19:37:18 srv4hai named[30406]: client @0x7f931c01da50 192.168.12.252#40337/key rndc-key: signer "rndc-key" approved
Jul 26 19:37:18 srv4hai named[30406]: client @0x7f931c01da50 192.168.12.252#40337/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'ap3hai.viehai.at' TXT
Jul 26 19:37:18 srv4hai named[30406]: client @0x7f931c01da50 192.168.12.252#40337/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'ap3hai.viehai.at' TXT "31763f1a8a980dd918aaf8fff3416a5028"
Jul 26 19:37:18 srv4hai named[30406]: client @0x7f931c01da50 192.168.12.252#40337/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'ap3hai.viehai.at' A
Jul 26 19:37:18 srv4hai named[30406]: client @0x7f931c01da50 192.168.12.252#40337/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'ap3hai.viehai.at' A 192.168.12.3
Jul 26 19:37:18 srv4hai dhcpd[30731]: Added new forward map from ap3hai.viehai.at to 192.168.12.3
Jul 26 19:37:18 srv4hai named[30406]: client @0x7f934c037ed0 192.168.12.252#40705/key rndc-key: signer "rndc-key" approved
Jul 26 19:37:18 srv4hai named[30406]: client @0x7f934c037ed0 192.168.12.252#40705/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '3.12.168.192.in-addr.arpa' PTR
Jul 26 19:37:18 srv4hai named[30406]: client @0x7f934c037ed0 192.168.12.252#40705/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '3.12.168.192.in-addr.arpa' PTR ap3hai.viehai.at.
Jul 26 19:37:18 srv4hai dhcpd[30731]: Added reverse map from 3.12.168.192.in-addr.arpa. to ap3hai.viehai.at
Jul 26 19:37:18 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.3'(3) device 'ap3hai'
Jul 26 19:37:18 srv4hai dhcpcommit.sh: SHELLY device 'ap3hai' known and accepted
Jul 26 19:37:52 srv4hai ping_SP[32037]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1722015472 - 'ping_SP_0'
Jul 26 19:37:52 srv4hai ping_SP[32037]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 26 19:38:01 srv4hai CRON[16080]: (root) CMD (/etc/linetest/linetest.sh)
Jul 26 19:38:16 srv4hai ping_SP[1414]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1722015496 - 'ping_SP_1'
Jul 26 19:38:16 srv4hai ping_SP[1414]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 26 19:38:49 srv4hai activate_scenario[16127]: SHELLY scenario: 'buero_UM(buero_um)' started
Jul 26 19:38:49 srv4hai activate_scenario[16127]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished