activate_scenario.sh
Fri Aug 30 19:40:02 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/08/30/_0.log)

vorher: 19:40:02.197

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:40:02.297
Dauer: 101 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 19:40:02.211

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:40:02.239
Dauer: 28 msec phName: 'shelly-40:'Thomas Büro Licht''


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

urls : 2
vorher : 19:40:02.175
nachher: 19:40:02.304
Dauer : 130 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/08/30//scene_buero_UM_20240830_194002.txt'


syslog

Aug 30 19:37:01 srv4hai CRON[6518]: (root) CMD (/etc/linetest/linetest.sh)
Aug 30 19:37:14 srv4hai ping_SP[3432]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1725039434 - 'ping_SP_0'
Aug 30 19:37:14 srv4hai ping_SP[3432]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Aug 30 19:37:26 srv4hai dovecot: imap(miglincit)<27289><4F4jCOkgcKTAqAwK>: Connection closed (IDLE running for 0.001 + waiting input for 37.607 secs, 2 B in + 10 B out, state=wait-input) in=1730896 out=2916580 deleted=0 expunged=0 trashed=0 hdr_count=6 hdr_bytes=3017 body_count=6 body_bytes=308256
Aug 30 19:37:26 srv4hai dovecot: imap(miglincit)<7768>: Connection closed (IDLE running for 0.001 + waiting input for 37.555 secs, 2 B in + 10 B out, state=wait-input) in=13524 out=1892755 deleted=0 expunged=0 trashed=0 hdr_count=26 hdr_bytes=9853 body_count=26 body_bytes=1758313
Aug 30 19:37:26 srv4hai dovecot: imap(miglincit)<7769>: Connection closed (STATUS finished 82.660 secs ago) in=4272112 out=6376922 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Aug 30 19:37:26 srv4hai dovecot: imap(miglincit)<7766>: Connection closed (IDLE running for 0.001 + waiting input for 36.855 secs, 2 B in + 10 B out, state=wait-input) in=40689 out=73030 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Aug 30 19:37:26 srv4hai dovecot: imap(miglincit)<7771>: Connection closed (IDLE running for 0.001 + waiting input for 37.044 secs, 2 B in + 10 B out, state=wait-input) in=2308844 out=3468240 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=283 body_count=1 body_bytes=11055
Aug 30 19:37:27 srv4hai activate_scenario[6547]: SHELLY scenario: 'pcOFF(pcoff)' started
Aug 30 19:37:27 srv4hai activate_scenario[6547]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-0:''
Aug 30 19:37:27 srv4hai activate_scenario[6547]: SHELLY scenario: 'pcOFF(pcoff)' TO BE EXECUTED, shelly-0:''
Aug 30 19:37:27 srv4hai postfix/pickup[30102]: 60B5F6345B: uid=33 from=
Aug 30 19:37:27 srv4hai postfix/cleanup[6600]: 60B5F6345B: message-id=<20240830173727.60B5F6345B@mail.viehai.at>
Aug 30 19:37:27 srv4hai postfix/qmgr[8566]: 60B5F6345B: from=, size=14982, nrcpt=1 (queue active)
Aug 30 19:37:27 srv4hai activate_scenario[6547]: SHELLY: scenario: 'pcOFF(pcoff)'-'shelly-20'-'Thomas Schreibtischlampe' --> '0?turn=off'
Aug 30 19:37:27 srv4hai postfix/local[6612]: 60B5F6345B: to=, orig_to=, relay=local, delay=0.07, delays=0.04/0.01/0/0.02, dsn=5.1.1, status=bounced (unknown user: "null")
Aug 30 19:37:27 srv4hai postfix/cleanup[6600]: 6D0CE6345C: message-id=<20240830173727.6D0CE6345C@mail.viehai.at>
Aug 30 19:37:27 srv4hai proc_url[6619]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/08/30/_0.log' - shellyUsage:'Thomas Schreibtischlampe' - scUrl:'http://192.168.12.120/relay/0?turn=off' - phName:'shelly-0:'''
Aug 30 19:37:27 srv4hai postfix/bounce[6614]: 60B5F6345B: sender non-delivery notification: 6D0CE6345C
Aug 30 19:37:27 srv4hai postfix/qmgr[8566]: 6D0CE6345C: from=<>, size=16864, nrcpt=1 (queue active)
Aug 30 19:37:27 srv4hai postfix/qmgr[8566]: 60B5F6345B: removed
Aug 30 19:37:27 srv4hai postfix/local[6612]: 6D0CE6345C: to=, relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Aug 30 19:37:27 srv4hai postfix/qmgr[8566]: 6D0CE6345C: removed
Aug 30 19:37:27 srv4hai activate_scenario[6547]: SHELLY scenario: 'pcOFF(pcoff)' took 85 msec, shelly-0:''
Aug 30 19:37:34 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Aug 30 19:37:35 srv4hai fetchmail[1651]: 51196 messages (51196 seen) for tmiglinci at mail.akis.at (-66850108 octets).
Aug 30 19:37:36 srv4hai fetchmail[1651]: 10645 messages (10645 seen) for srozum at mail.akis.at (1282741738 octets).
Aug 30 19:37:36 srv4hai fetchmail[1651]: 25620 messages (25620 seen) for mrozum at mail.akis.at (170875561 octets).
Aug 30 19:37:36 srv4hai fetchmail[1651]: 1141 messages (1141 seen) for admin@bastelstube.wien at pop3.world4you.com (51598561 octets).
Aug 30 19:38:01 srv4hai CRON[6651]: (root) CMD (/etc/linetest/linetest.sh)
Aug 30 19:38:28 srv4hai ping_SP[3432]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1725039508 - 'ping_SP_0'
Aug 30 19:38:28 srv4hai ping_SP[3432]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Aug 30 19:38:30 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=6679, secured, session=<+8E+D+oghL8AAAAAAAAAAAAAAAAAAAAB>
Aug 30 19:38:30 srv4hai dovecot: imap(miglincit)<6679><+8E+D+oghL8AAAAAAAAAAAAAAAAAAAAB>: Logged out in=618 out=1231 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Aug 30 19:39:01 srv4hai CRON[6686]: (root) CMD (/etc/linetest/linetest.sh)
Aug 30 19:39:01 srv4hai CRON[6687]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Aug 30 19:39:01 srv4hai systemd[1]: Starting Clean php session files...
Aug 30 19:39:01 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Aug 30 19:39:01 srv4hai systemd[1]: Started Clean php session files.
Aug 30 19:39:04 srv4hai dhcpd[30731]: DHCPRELEASE of 192.168.12.3 from 70:a7:41:9a:7d:4e via enp2s0 (not found)
Aug 30 19:39:04 srv4hai dhcpd[30731]: DHCPDISCOVER from 70:a7:41:9a:7d:4e via enp2s0
Aug 30 19:39:04 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.3 to 70:a7:41:9a:7d:4e via enp2s0
Aug 30 19:39:04 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Aug 30 19:39:04 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.3
Aug 30 19:39:04 srv4hai dhcpd[30731]: execute_statement argv[2] = ap3hai
Aug 30 19:39:04 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.3 (192.168.12.252) from 70:a7:41:9a:7d:4e via enp2s0
Aug 30 19:39:04 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.3 to 70:a7:41:9a:7d:4e via enp2s0
Aug 30 19:39:04 srv4hai named[30406]: client @0x7f9348035d30 192.168.12.252#34451/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: ap3hai.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Aug 30 19:39:04 srv4hai named[30406]: client @0x7f93300a3990 192.168.12.252#44819/key rndc-key: signer "rndc-key" approved
Aug 30 19:39:04 srv4hai named[30406]: client @0x7f93300a3990 192.168.12.252#44819/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'ap3hai.viehai.at' TXT
Aug 30 19:39:04 srv4hai named[30406]: client @0x7f93300a3990 192.168.12.252#44819/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'ap3hai.viehai.at' TXT "31763f1a8a980dd918aaf8fff3416a5028"
Aug 30 19:39:04 srv4hai named[30406]: client @0x7f93300a3990 192.168.12.252#44819/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'ap3hai.viehai.at' A
Aug 30 19:39:04 srv4hai named[30406]: client @0x7f93300a3990 192.168.12.252#44819/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'ap3hai.viehai.at' A 192.168.12.3
Aug 30 19:39:04 srv4hai dhcpd[30731]: Added new forward map from ap3hai.viehai.at to 192.168.12.3
Aug 30 19:39:04 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.3'(3) device 'ap3hai'
Aug 30 19:39:04 srv4hai named[30406]: client @0x7f93480026a0 192.168.12.252#39491/key rndc-key: signer "rndc-key" approved
Aug 30 19:39:04 srv4hai named[30406]: client @0x7f93480026a0 192.168.12.252#39491/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '3.12.168.192.in-addr.arpa' PTR
Aug 30 19:39:04 srv4hai named[30406]: client @0x7f93480026a0 192.168.12.252#39491/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.
Aug 30 19:39:04 srv4hai dhcpd[30731]: Added reverse map from 3.12.168.192.in-addr.arpa. to ap3hai.viehai.at
Aug 30 19:39:04 srv4hai dhcpcommit.sh: SHELLY device 'ap3hai' known and accepted
Aug 30 19:39:29 srv4hai postfix/anvil[6327]: statistics: max connection rate 1/60s for (smtp:94.156.177.133) at Aug 30 19:33:03
Aug 30 19:39:29 srv4hai postfix/anvil[6327]: statistics: max connection count 1 for (smtp:94.156.177.133) at Aug 30 19:33:03
Aug 30 19:39:29 srv4hai postfix/anvil[6327]: statistics: max cache size 2 at Aug 30 19:36:06
Aug 30 19:39:41 srv4hai ping_SP[3432]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1725039581 - 'ping_SP_0'
Aug 30 19:39:41 srv4hai ping_SP[3432]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Aug 30 19:40:01 srv4hai CRON[6815]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Aug 30 19:40:01 srv4hai CRON[6816]: (root) CMD (/etc/linetest/linetest.sh)
Aug 30 19:40:01 srv4hai common[6817]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Aug 30 19:40:01 srv4hai meter.sh: SHELLY meter.sh started
Aug 30 19:40:01 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Aug 30 19:40:02 srv4hai activate_scenario[6927]: SHELLY scenario: 'buero_UM(buero_um)' started
Aug 30 19:40:02 srv4hai activate_scenario[6927]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished