activate_scenario.sh
Thu Dec 19 11:24:29 CET 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'

TB Regallicht (/srv/www/viehai/shelly/log_scenarios/2024/12/19/_0.log)

vorher: 11:24:29.210

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: 11:24:30.295
Dauer: 1085 msec phName: 'shelly-40:'TB Licht''


TB Licht (/srv/www/viehai/shelly/log_scenarios/2024/12/19/_1.log)

vorher: 11:24:29.229

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: 11:24:29.267
Dauer: 39 msec phName: 'shelly-40:'TB Licht''


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

urls : 2
vorher : 11:24:29.166
nachher: 11:24:30.303
Dauer : 1138 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/12/19//scene_buero_UM_20241219_112429.txt'


syslog

Dec 19 11:21:00 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=20331, secured, session=
Dec 19 11:21:00 srv4hai dovecot: imap(miglincit)<20331>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Dec 19 11:21:00 srv4hai ping_SP[25623]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1734603660 - 'ping_SP_0'
Dec 19 11:21:00 srv4hai ping_SP[25623]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 19 11:21:01 srv4hai CRON[20350]: (root) CMD (/etc/linetest/linetest.sh)
Dec 19 11:21:05 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883.
Dec 19 11:21:05 srv4hai mosquitto[29419]: Socket error on client , disconnecting.
Dec 19 11:22:01 srv4hai CRON[20390]: (root) CMD (/etc/linetest/linetest.sh)
Dec 19 11:22:01 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883.
Dec 19 11:22:01 srv4hai mosquitto[29419]: Socket error on client , disconnecting.
Dec 19 11:22:04 srv4hai ping_SP[25623]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1734603724 - 'ping_SP_0'
Dec 19 11:22:04 srv4hai ping_SP[25623]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 19 11:22:50 srv4hai dhcpd[4995]: DHCPDISCOVER from 08:3a:8d:d0:46:5a via enp2s0
Dec 19 11:22:50 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0
Dec 19 11:22:50 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Dec 19 11:22:50 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.5
Dec 19 11:22:50 srv4hai dhcpd[4995]: execute_statement argv[2] = btscan1
Dec 19 11:22:50 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.5 (192.168.12.252) from 08:3a:8d:d0:46:5a via enp2s0
Dec 19 11:22:50 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0
Dec 19 11:22:50 srv4hai named[30406]: client @0x7f93380d2cb0 192.168.12.252#51563/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: btscan1.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Dec 19 11:22:50 srv4hai named[30406]: client @0x7f931c0a2850 192.168.12.252#51973/key rndc-key: signer "rndc-key" approved
Dec 19 11:22:50 srv4hai named[30406]: client @0x7f931c0a2850 192.168.12.252#51973/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'btscan1.viehai.at' TXT
Dec 19 11:22:50 srv4hai named[30406]: client @0x7f931c0a2850 192.168.12.252#51973/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'btscan1.viehai.at' TXT "000118916176265854cff71f762ffe0635"
Dec 19 11:22:50 srv4hai named[30406]: client @0x7f931c0a2850 192.168.12.252#51973/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'btscan1.viehai.at' A
Dec 19 11:22:50 srv4hai named[30406]: client @0x7f931c0a2850 192.168.12.252#51973/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'btscan1.viehai.at' A 192.168.12.5
Dec 19 11:22:50 srv4hai dhcpd[4995]: Added new forward map from btscan1.viehai.at to 192.168.12.5
Dec 19 11:22:50 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.5'(5) device 'btscan1'
Dec 19 11:22:50 srv4hai named[30406]: client @0x7f934c0733f0 192.168.12.252#37875/key rndc-key: signer "rndc-key" approved
Dec 19 11:22:50 srv4hai named[30406]: client @0x7f934c0733f0 192.168.12.252#37875/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '5.12.168.192.in-addr.arpa' PTR
Dec 19 11:22:50 srv4hai named[30406]: client @0x7f934c0733f0 192.168.12.252#37875/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '5.12.168.192.in-addr.arpa' PTR btscan1.viehai.at.
Dec 19 11:22:50 srv4hai dhcpd[4995]: Added reverse map from 5.12.168.192.in-addr.arpa. to btscan1.viehai.at
Dec 19 11:22:50 srv4hai dhcpcommit.sh: SHELLY device 'btscan1' known and accepted
Dec 19 11:22:53 srv4hai dhcpd[4995]: DHCPDISCOVER from e8:db:84:d2:a1:41 via enp2s0
Dec 19 11:22:53 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.105 to e8:db:84:d2:a1:41 via enp2s0
Dec 19 11:22:53 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Dec 19 11:22:53 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.105
Dec 19 11:22:53 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-05
Dec 19 11:22:53 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.105 (192.168.12.252) from e8:db:84:d2:a1:41 via enp2s0
Dec 19 11:22:53 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.105 to e8:db:84:d2:a1:41 via enp2s0
Dec 19 11:22:53 srv4hai named[30406]: client @0x7f932c0ce020 192.168.12.252#36359/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-05.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Dec 19 11:22:53 srv4hai named[30406]: client @0x7f931c094600 192.168.12.252#51319/key rndc-key: signer "rndc-key" approved
Dec 19 11:22:53 srv4hai named[30406]: client @0x7f931c094600 192.168.12.252#51319/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-05.viehai.at' TXT
Dec 19 11:22:53 srv4hai named[30406]: client @0x7f931c094600 192.168.12.252#51319/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-05.viehai.at' TXT "004e6fdd302768338ea9006deb3d485f40"
Dec 19 11:22:53 srv4hai named[30406]: client @0x7f931c094600 192.168.12.252#51319/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-05.viehai.at' A
Dec 19 11:22:53 srv4hai named[30406]: client @0x7f931c094600 192.168.12.252#51319/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-05.viehai.at' A 192.168.12.105
Dec 19 11:22:53 srv4hai dhcpd[4995]: Added new forward map from shelly-05.viehai.at to 192.168.12.105
Dec 19 11:22:53 srv4hai named[30406]: client @0x7f934c0645f0 192.168.12.252#49995/key rndc-key: signer "rndc-key" approved
Dec 19 11:22:53 srv4hai named[30406]: client @0x7f934c0645f0 192.168.12.252#49995/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '105.12.168.192.in-addr.arpa' PTR
Dec 19 11:22:53 srv4hai named[30406]: client @0x7f934c0645f0 192.168.12.252#49995/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '105.12.168.192.in-addr.arpa' PTR shelly-05.viehai.at.
Dec 19 11:22:53 srv4hai dhcpd[4995]: Added reverse map from 105.12.168.192.in-addr.arpa. to shelly-05.viehai.at
Dec 19 11:22:53 srv4hai common[20445]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Dec 19 11:22:53 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-05' - shIP/2:'' perform:'conf'
Dec 19 11:22:53 srv4hai postfix/anvil[19224]: statistics: max connection rate 1/60s for (smtp:80.94.95.239) at Dec 19 11:19:08
Dec 19 11:22:53 srv4hai postfix/anvil[19224]: statistics: max connection count 1 for (smtp:80.94.95.239) at Dec 19 11:19:08
Dec 19 11:22:53 srv4hai postfix/anvil[19224]: statistics: max cache size 2 at Dec 19 11:19:33
Dec 19 11:22:54 srv4hai mosquitto[29419]: New connection from 192.168.12.105 on port 1883.
Dec 19 11:22:54 srv4hai mosquitto[29419]: New client connected from 192.168.12.105 as shelly1-E8DB84D2A141 (c1, k60, u'shmqtt').
Dec 19 11:22:54 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-05' - shIP/2:'192.168.12.105'
Dec 19 11:22:54 srv4hai conf_shelly.sh: SHELLY: usage/name 'WZ Stehlampe hell' already set for '192.168.12.105'
Dec 19 11:22:54 srv4hai conf_shelly.sh: SHELLY:'shelly-05' 'conf(0)' - allready transmitted - skipping
Dec 19 11:22:54 srv4hai conf_shelly.sh: SHELLY:'shelly-05' 'conf(1)' - allready transmitted - skipping
Dec 19 11:22:54 srv4hai conf_shelly.sh: SHELLY:'shelly-05' 'conf(2)' - allready transmitted - skipping
Dec 19 11:22:54 srv4hai conf_shelly.sh: SHELLY:'shelly-05' 'conf(3)' - allready transmitted - skipping
Dec 19 11:22:54 srv4hai conf_shelly.sh: SHELLY:'shelly-05' 'conf(4)' - allready transmitted - skipping
Dec 19 11:22:54 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Dec 19 11:22:55 srv4hai fetchmail[1651]: 59661 messages (59661 seen) for tmiglinci at mail.akis.at (606807529 octets).
Dec 19 11:22:56 srv4hai fetchmail[1651]: 11251 messages (11251 seen) for srozum at mail.akis.at (1347999477 octets).
Dec 19 11:22:56 srv4hai fetchmail[1651]: 27936 messages (27936 seen) for mrozum at mail.akis.at (511561922 octets).
Dec 19 11:22:57 srv4hai fetchmail[1651]: 1161 messages (1161 seen) for admin@bastelstube.wien at pop3.world4you.com (52202045 octets).
Dec 19 11:23:01 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883.
Dec 19 11:23:01 srv4hai mosquitto[29419]: Socket error on client , disconnecting.
Dec 19 11:23:01 srv4hai CRON[20566]: (root) CMD (/etc/linetest/linetest.sh)
Dec 19 11:23:03 srv4hai common[20572]: SHELLY common.sh inkludiert von ./bt_scan.sh
Dec 19 11:23:03 srv4hai bt_scan[20572]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Dec 19 11:23:03 srv4hai bt_scan[20572]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Dec 19 11:23:05 srv4hai postfix/smtpd[20607]: connect from unknown[80.94.95.239]
Dec 19 11:23:07 srv4hai ping_SP[25623]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1734603787 - 'ping_SP_0'
Dec 19 11:23:07 srv4hai ping_SP[25623]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 19 11:23:08 srv4hai postfix/smtpd[20607]: warning: unknown[80.94.95.239]: SASL LOGIN authentication failed: Invalid authentication mechanism
Dec 19 11:23:09 srv4hai postfix/smtpd[20607]: disconnect from unknown[80.94.95.239] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Dec 19 11:23:56 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883.
Dec 19 11:23:56 srv4hai mosquitto[29419]: Socket error on client , disconnecting.
Dec 19 11:23:58 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=20658, secured, session=
Dec 19 11:23:58 srv4hai dovecot: imap(miglincit)<20658>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Dec 19 11:24:01 srv4hai CRON[20662]: (root) CMD (/etc/linetest/linetest.sh)
Dec 19 11:24:10 srv4hai ping_SP[25623]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1734603850 - 'ping_SP_0'
Dec 19 11:24:10 srv4hai ping_SP[25623]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 19 11:24:24 srv4hai mosquitto[29419]: Client shelly1-E8DB84D2A141 has exceeded timeout, disconnecting.
Dec 19 11:24:24 srv4hai mosquitto[29419]: Socket error on client shelly1-E8DB84D2A141, disconnecting.
Dec 19 11:24:29 srv4hai activate_scenario[20696]: SHELLY scenario: 'buero_UM(buero_um)' started
Dec 19 11:24:29 srv4hai activate_scenario[20696]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht'

finished