activate_scenario.sh
Thu Dec 19 16:48:43 CET 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'

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

vorher: 16:48:43.251

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: 16:48:43.314
Dauer: 63 msec phName: 'origin:'dhcpcommit.sh-pchai7x''


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

urls : 1
vorher : 16:48:43.227
nachher: 16:48:43.320
Dauer : 94 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/12/19//scene_pcON_20241219_164843.txt'


syslog

Dec 19 16:45:01 srv4hai CRON[24925]: (root) CMD (/etc/linetest/linetest.sh)
Dec 19 16:45:12 srv4hai ping_SP[7075]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1734623112 - 'ping_SP_0'
Dec 19 16:45:12 srv4hai ping_SP[7075]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 19 16:45:23 srv4hai postfix/smtpd[24949]: connect from unknown[80.94.95.239]
Dec 19 16:45:24 srv4hai postfix/smtpd[24949]: warning: unknown[80.94.95.239]: SASL LOGIN authentication failed: Invalid authentication mechanism
Dec 19 16:45:25 srv4hai postfix/smtpd[24949]: disconnect from unknown[80.94.95.239] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Dec 19 16:45:38 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883.
Dec 19 16:45:38 srv4hai mosquitto[29419]: Socket error on client , disconnecting.
Dec 19 16:46:01 srv4hai CRON[24959]: (root) CMD (/etc/linetest/linetest.sh)
Dec 19 16:46:25 srv4hai ping_SP[7075]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1734623185 - 'ping_SP_0'
Dec 19 16:46:25 srv4hai ping_SP[7075]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 19 16:46:32 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883.
Dec 19 16:46:32 srv4hai mosquitto[29419]: Socket error on client , disconnecting.
Dec 19 16:46:36 srv4hai dhcpd[4995]: DHCPDISCOVER from 44:17:93:a5:8a:e4 via enp2s0
Dec 19 16:46:36 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Dec 19 16:46:36 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Dec 19 16:46:36 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.147
Dec 19 16:46:36 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-47
Dec 19 16:46:36 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.147 (192.168.12.252) from 44:17:93:a5:8a:e4 via enp2s0
Dec 19 16:46:36 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Dec 19 16:46:36 srv4hai named[30406]: client @0x7f932c0c3e90 192.168.12.252#59461/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-47.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Dec 19 16:46:36 srv4hai named[30406]: client @0x7f934c0733f0 192.168.12.252#34697/key rndc-key: signer "rndc-key" approved
Dec 19 16:46:36 srv4hai named[30406]: client @0x7f934c0733f0 192.168.12.252#34697/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' TXT
Dec 19 16:46:36 srv4hai named[30406]: client @0x7f934c0733f0 192.168.12.252#34697/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' TXT "31f97534415d36e3a13ec57b0310c0867f"
Dec 19 16:46:36 srv4hai named[30406]: client @0x7f934c0733f0 192.168.12.252#34697/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' A
Dec 19 16:46:36 srv4hai named[30406]: client @0x7f934c0733f0 192.168.12.252#34697/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' A 192.168.12.147
Dec 19 16:46:36 srv4hai dhcpd[4995]: Added new forward map from shelly-47.viehai.at to 192.168.12.147
Dec 19 16:46:36 srv4hai named[30406]: client @0x7f93300b2620 192.168.12.252#43327/key rndc-key: signer "rndc-key" approved
Dec 19 16:46:36 srv4hai named[30406]: client @0x7f93300b2620 192.168.12.252#43327/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '147.12.168.192.in-addr.arpa' PTR
Dec 19 16:46:36 srv4hai named[30406]: client @0x7f93300b2620 192.168.12.252#43327/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '147.12.168.192.in-addr.arpa' PTR shelly-47.viehai.at.
Dec 19 16:46:36 srv4hai dhcpd[4995]: Added reverse map from 147.12.168.192.in-addr.arpa. to shelly-47.viehai.at
Dec 19 16:46:36 srv4hai common[24987]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Dec 19 16:46:36 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-47' - shIP/2:'' perform:'conf'
Dec 19 16:46:37 srv4hai mosquitto[29419]: New connection from 192.168.12.147 on port 1883.
Dec 19 16:46:37 srv4hai mosquitto[29419]: Client shellyplus1-441793a58ae4 already connected, closing old connection.
Dec 19 16:46:37 srv4hai mosquitto[29419]: Socket error on client shellyplus1-441793a58ae4, disconnecting.
Dec 19 16:46:37 srv4hai mosquitto[29419]: New client connected from 192.168.12.147 as shellyplus1-441793a58ae4 (c1, k60, u'shmqtt').
Dec 19 16:46:37 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-47' - shIP/2:'192.168.12.147'
Dec 19 16:46:37 srv4hai conf_shelly.sh: SHELLY: usage/name 'GB Schreibtischlampe links' already set for '192.168.12.147'
Dec 19 16:46:37 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(0)' - allready transmitted - skipping
Dec 19 16:47:01 srv4hai CRON[25048]: (root) CMD (/etc/linetest/linetest.sh)
Dec 19 16:47:17 srv4hai postfix/anvil[23489]: statistics: max connection rate 1/60s for (smtp:154.203.197.200) at Dec 19 16:37:17
Dec 19 16:47:17 srv4hai postfix/anvil[23489]: statistics: max connection count 1 for (smtp:154.203.197.200) at Dec 19 16:37:17
Dec 19 16:47:17 srv4hai postfix/anvil[23489]: statistics: max cache size 3 at Dec 19 16:37:37
Dec 19 16:47:27 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883.
Dec 19 16:47:27 srv4hai mosquitto[29419]: Socket error on client , disconnecting.
Dec 19 16:47:39 srv4hai ping_SP[7075]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1734623259 - 'ping_SP_0'
Dec 19 16:47:39 srv4hai ping_SP[7075]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 19 16:47:39 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=25080, secured, session=
Dec 19 16:47:39 srv4hai dovecot: imap(miglincit)<25080>: Logged out in=1955 out=1232 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Dec 19 16:47:46 srv4hai common[25082]: SHELLY common.sh inkludiert von ./bt_scan.sh
Dec 19 16:47:56 srv4hai bt_scan[25082]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Dec 19 16:47:56 srv4hai bt_scan[25082]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Dec 19 16:48:01 srv4hai CRON[25118]: (root) CMD (/etc/linetest/linetest.sh)
Dec 19 16:48:24 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Dec 19 16:48:25 srv4hai fetchmail[1651]: 59699 messages (59698 seen) for tmiglinci at mail.akis.at (613398002 octets).
Dec 19 16:48:25 srv4hai postfix/smtpd[25126]: connect from localhost[127.0.0.1]
Dec 19 16:48:25 srv4hai postfix/smtpd[25126]: 1B0CB631BE: client=localhost[127.0.0.1]
Dec 19 16:48:25 srv4hai postfix/cleanup[25129]: 1B0CB631BE: message-id=<2105946980.10882053.1734623167175@email.willhaben.at>
Dec 19 16:48:25 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:59699 of 59699 (40270 octets) not flushed
Dec 19 16:48:25 srv4hai postfix/qmgr[8566]: 1B0CB631BE: from=, size=40509, nrcpt=1 (queue active)
Dec 19 16:48:25 srv4hai postfix/smtpd[25126]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Dec 19 16:48:25 srv4hai postfix/local[25130]: 1B0CB631BE: to=, relay=local, delay=0.1, delays=0.07/0.02/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Dec 19 16:48:25 srv4hai postfix/qmgr[8566]: 1B0CB631BE: removed
Dec 19 16:48:25 srv4hai fetchmail[1651]: 11252 messages (11252 seen) for srozum at mail.akis.at (1348065671 octets).
Dec 19 16:48:26 srv4hai fetchmail[1651]: 27947 messages (27947 seen) for mrozum at mail.akis.at (512599945 octets).
Dec 19 16:48:26 srv4hai fetchmail[1651]: 1161 messages (1161 seen) for admin@bastelstube.wien at pop3.world4you.com (52202045 octets).
Dec 19 16:48:26 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883.
Dec 19 16:48:26 srv4hai mosquitto[29419]: Socket error on client , disconnecting.
Dec 19 16:48:43 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Dec 19 16:48:43 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.10
Dec 19 16:48:43 srv4hai dhcpd[4995]: execute_statement argv[2] = pchai7x
Dec 19 16:48:43 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.10 from 70:54:d2:7b:fe:a7 via enp2s0
Dec 19 16:48:43 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.10 to 70:54:d2:7b:fe:a7 via enp2s0
Dec 19 16:48:43 srv4hai named[30406]: client @0x7f932c097490 192.168.12.252#42965/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: pchai7x.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Dec 19 16:48:43 srv4hai named[30406]: client @0x7f9310088a50 192.168.12.252#52461/key rndc-key: signer "rndc-key" approved
Dec 19 16:48:43 srv4hai named[30406]: client @0x7f9310088a50 192.168.12.252#52461/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' TXT
Dec 19 16:48:43 srv4hai named[30406]: client @0x7f9310088a50 192.168.12.252#52461/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' TXT "001e3ad86ca86e10b8e2aaf2e2ade54f52"
Dec 19 16:48:43 srv4hai named[30406]: client @0x7f9310088a50 192.168.12.252#52461/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' A
Dec 19 16:48:43 srv4hai named[30406]: client @0x7f9310088a50 192.168.12.252#52461/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' A 192.168.12.10
Dec 19 16:48:43 srv4hai dhcpd[4995]: Added new forward map from pchai7x.viehai.at to 192.168.12.10
Dec 19 16:48:43 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.10'(10) device 'pchai7x'
Dec 19 16:48:43 srv4hai named[30406]: client @0x7f93100debd0 192.168.12.252#45635/key rndc-key: signer "rndc-key" approved
Dec 19 16:48:43 srv4hai named[30406]: client @0x7f93100debd0 192.168.12.252#45635/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '10.12.168.192.in-addr.arpa' PTR
Dec 19 16:48:43 srv4hai named[30406]: client @0x7f93100debd0 192.168.12.252#45635/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.
Dec 19 16:48:43 srv4hai dhcpd[4995]: Added reverse map from 10.12.168.192.in-addr.arpa. to pchai7x.viehai.at
Dec 19 16:48:43 srv4hai activate_scenario[25146]: SHELLY scenario: 'pcON(pcon)' started
Dec 19 16:48:43 srv4hai activate_scenario[25146]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - origin:'dhcpcommit.sh-pchai7x'

finished