activate_scenario.sh
Fri Dec 20 12:07:39 CET 2024
scenario: homeOffice
source: 192.168.12.140

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

scenario: 'Home-Office' - 'homeOffice' - 'homeoffice'

WZ Licht Esstisch (/srv/www/viehai/shelly/log_scenarios/2024/12/20/_0.log)

vorher: 12:07:39.234

http://192.168.12.101/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started_at": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 12:07:39.265
Dauer: 30 msec phName: 'shelly-40:'TB Licht''


Balkon Licht (/srv/www/viehai/shelly/log_scenarios/2024/12/20/_1.log)

vorher: 12:07:39.249

http://192.168.12.102/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "overpower": false,
  "source": "http"

nachher: 12:07:39.278
Dauer: 30 msec phName: 'shelly-40:'TB Licht''


VZ Licht (/srv/www/viehai/shelly/log_scenarios/2024/12/20/_2.log)

vorher: 12:07:39.262

http://192.168.12.103/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "overpower": false,
  "source": "http"

nachher: 12:07:39.344
Dauer: 82 msec phName: 'shelly-40:'TB Licht''


WZ Stehlampe hell (/srv/www/viehai/shelly/log_scenarios/2024/12/20/_3.log)

vorher: 12:07:39.279

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

nachher: 12:07:39.303
Dauer: 23 msec phName: 'shelly-40:'TB Licht''


WZ Licht Fernsehlampe klein (/srv/www/viehai/shelly/log_scenarios/2024/12/20/_4.log)

vorher: 12:07:39.294

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

nachher: 12:07:39.336
Dauer: 41 msec phName: 'shelly-40:'TB Licht''


SZ Nachtkästchen Thomas (/srv/www/viehai/shelly/log_scenarios/2024/12/20/_5.log)

vorher: 12:07:39.311

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

nachher: 12:07:39.350
Dauer: 40 msec phName: 'shelly-40:'TB Licht''


TB Regallicht (/srv/www/viehai/shelly/log_scenarios/2024/12/20/_6.log)

vorher: 12:07:39.323

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

nachher: 12:07:39.367
Dauer: 44 msec phName: 'shelly-40:'TB Licht''


GB Licht (/srv/www/viehai/shelly/log_scenarios/2024/12/20/_7.log)

vorher: 12:07:39.339

http://192.168.12.109/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 12:07:39.368
Dauer: 29 msec phName: 'shelly-40:'TB Licht''


WZ Licht Bücherregal (/srv/www/viehai/shelly/log_scenarios/2024/12/20/_8.log)

vorher: 12:07:39.357

http://192.168.12.110/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 12:07:39.381
Dauer: 25 msec phName: 'shelly-40:'TB Licht''


SZ Licht (/srv/www/viehai/shelly/log_scenarios/2024/12/20/_9.log)

vorher: 12:07:39.371

http://192.168.12.112/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 12:07:39.413
Dauer: 42 msec phName: 'shelly-40:'TB Licht''


KÜ Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/12/20/_10.log)

vorher: 12:07:39.386

http://192.168.12.116/white/0?turn=on&brightness=50
  "ison": true,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 12:07:39.412
Dauer: 26 msec phName: 'shelly-40:'TB Licht''


KÜ Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/12/20/_11.log)

vorher: 12:07:39.402

http://192.168.12.116/white/1?turn=on&brightness=50
  "ison": true,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 12:07:39.468
Dauer: 65 msec phName: 'shelly-40:'TB Licht''


KÜ Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/12/20/_12.log)

vorher: 12:07:39.416

http://192.168.12.117/white/0?turn=off&brightness=50
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 12:07:39.442
Dauer: 26 msec phName: 'shelly-40:'TB Licht''


KÜ Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/12/20/_13.log)

vorher: 12:07:39.429

http://192.168.12.117/white/1?turn=off&brightness=50
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 12:07:39.460
Dauer: 31 msec phName: 'shelly-40:'TB Licht''


GB Fernsehlampe (/srv/www/viehai/shelly/log_scenarios/2024/12/20/_14.log)

vorher: 12:07:39.442

http://192.168.12.119/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 12:07:39.478
Dauer: 36 msec phName: 'shelly-40:'TB Licht''


WZ Licht Sofa (/srv/www/viehai/shelly/log_scenarios/2024/12/20/_15.log)

vorher: 12:07:39.456

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

nachher: 12:07:39.540
Dauer: 85 msec phName: 'shelly-40:'TB Licht''


Empore Licht (/srv/www/viehai/shelly/log_scenarios/2024/12/20/_16.log)

vorher: 12:07:39.470

http://192.168.12.124/relay/0?turn=on
  "ison": true,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 12:07:39.519
Dauer: 49 msec phName: 'shelly-40:'TB Licht''


KÜ Licht (/srv/www/viehai/shelly/log_scenarios/2024/12/20/_17.log)

vorher: 12:07:39.487

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

nachher: 12:07:39.560
Dauer: 73 msec phName: 'shelly-40:'TB Licht''


TB Licht (/srv/www/viehai/shelly/log_scenarios/2024/12/20/_18.log)

vorher: 12:07:39.500

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

nachher: 12:07:39.580
Dauer: 79 msec phName: 'shelly-40:'TB Licht''


GB Schreibtischlampe rechts (/srv/www/viehai/shelly/log_scenarios/2024/12/20/_19.log)

vorher: 12:07:39.515

http://192.168.12.155/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started_at": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 12:07:39.712
Dauer: 197 msec phName: 'shelly-40:'TB Licht''


scenario: 'Home-Office' - 'homeOffice' - 'homeoffice'

urls : 20
vorher : 12:07:39.213
nachher: 12:07:39.718
Dauer : 506 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/12/20//scene_homeOffice_20241220_120739.txt'


syslog

Dec 20 12:04:01 srv4hai CRON[2135]: (root) CMD (/etc/linetest/linetest.sh)
Dec 20 12:04:08 srv4hai ping_SP[26647]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1734692648 - 'ping_SP_0'
Dec 20 12:04:08 srv4hai ping_SP[26647]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 20 12:04:33 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883.
Dec 20 12:04:33 srv4hai mosquitto[29419]: Socket error on client , disconnecting.
Dec 20 12:05:01 srv4hai CRON[2176]: (root) CMD (/etc/linetest/linetest.sh)
Dec 20 12:05:05 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Dec 20 12:05:07 srv4hai fetchmail[1651]: 59757 messages (59756 seen) for tmiglinci at mail.akis.at (618112183 octets).
Dec 20 12:05:07 srv4hai postfix/smtpd[2181]: connect from localhost[127.0.0.1]
Dec 20 12:05:07 srv4hai postfix/smtpd[2181]: 3E5F36000F: client=localhost[127.0.0.1]
Dec 20 12:05:07 srv4hai postfix/cleanup[2184]: 3E5F36000F: message-id=
Dec 20 12:05:07 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:59757 of 59757 (56934 octets) not flushed
Dec 20 12:05:07 srv4hai postfix/qmgr[8566]: 3E5F36000F: from=, size=57169, nrcpt=1 (queue active)
Dec 20 12:05:07 srv4hai postfix/smtpd[2181]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Dec 20 12:05:07 srv4hai postfix/local[2185]: 3E5F36000F: to=, relay=local, delay=0.08, delays=0.07/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Dec 20 12:05:07 srv4hai postfix/qmgr[8566]: 3E5F36000F: removed
Dec 20 12:05:08 srv4hai fetchmail[1651]: 11256 messages (11256 seen) for srozum at mail.akis.at (1348481434 octets).
Dec 20 12:05:09 srv4hai fetchmail[1651]: 27965 messages (27965 seen) for mrozum at mail.akis.at (514142519 octets).
Dec 20 12:05:10 srv4hai fetchmail[1651]: 1161 messages (1161 seen) for admin@bastelstube.wien at pop3.world4you.com (52202045 octets).
Dec 20 12:05:16 srv4hai postfix/anvil[30557]: statistics: max connection rate 1/60s for (smtp:80.94.95.239) at Dec 20 11:57:57
Dec 20 12:05:16 srv4hai postfix/anvil[30557]: statistics: max connection count 1 for (smtp:80.94.95.239) at Dec 20 11:57:57
Dec 20 12:05:16 srv4hai postfix/anvil[30557]: statistics: max cache size 2 at Dec 20 11:58:48
Dec 20 12:05:21 srv4hai ping_SP[26647]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1734692721 - 'ping_SP_0'
Dec 20 12:05:21 srv4hai ping_SP[26647]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 20 12:05:33 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883.
Dec 20 12:05:33 srv4hai mosquitto[29419]: Socket error on client , disconnecting.
Dec 20 12:05:39 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=2216, secured, session=
Dec 20 12:05:40 srv4hai dovecot: imap(miglincit)<2216>: Logged out in=292 out=1680 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Dec 20 12:05:45 srv4hai postfix/smtpd[2181]: connect from unknown[80.94.95.239]
Dec 20 12:05:46 srv4hai postfix/smtpd[2181]: warning: unknown[80.94.95.239]: SASL LOGIN authentication failed: Invalid authentication mechanism
Dec 20 12:05:47 srv4hai postfix/smtpd[2181]: disconnect from unknown[80.94.95.239] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Dec 20 12:05:53 srv4hai named[30406]: no valid RRSIG resolving 'dynamic.kabel-deutschland.de/DS/IN': 8.8.8.8#53
Dec 20 12:05:53 srv4hai postfix/smtpd[2181]: connect from ip4d17e1b9.dynamic.kabel-deutschland.de[77.23.225.185]
Dec 20 12:05:59 srv4hai postfix/smtpd[2181]: warning: ip4d17e1b9.dynamic.kabel-deutschland.de[77.23.225.185]: SASL PLAIN authentication failed: 
Dec 20 12:06:01 srv4hai postfix/smtpd[2181]: lost connection after AUTH from ip4d17e1b9.dynamic.kabel-deutschland.de[77.23.225.185]
Dec 20 12:06:01 srv4hai postfix/smtpd[2181]: disconnect from ip4d17e1b9.dynamic.kabel-deutschland.de[77.23.225.185] ehlo=1 auth=0/1 commands=1/2
Dec 20 12:06:01 srv4hai dhcpd[4995]: DHCPDISCOVER from 98:cd:ac:2d:5a:11 via enp2s0
Dec 20 12:06:01 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.119 to 98:cd:ac:2d:5a:11 via enp2s0
Dec 20 12:06:01 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Dec 20 12:06:01 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.119
Dec 20 12:06:01 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-19
Dec 20 12:06:01 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.119 (192.168.12.252) from 98:cd:ac:2d:5a:11 via enp2s0
Dec 20 12:06:01 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.119 to 98:cd:ac:2d:5a:11 via enp2s0
Dec 20 12:06:01 srv4hai named[30406]: client @0x7f933000d2b0 192.168.12.252#55431/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-19.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Dec 20 12:06:01 srv4hai named[30406]: client @0x7f934c037ed0 192.168.12.252#33833/key rndc-key: signer "rndc-key" approved
Dec 20 12:06:01 srv4hai named[30406]: client @0x7f934c037ed0 192.168.12.252#33833/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-19.viehai.at' TXT
Dec 20 12:06:01 srv4hai named[30406]: client @0x7f934c037ed0 192.168.12.252#33833/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-19.viehai.at' TXT "0058d808d26aa46bf6275641574f8413b8"
Dec 20 12:06:01 srv4hai named[30406]: client @0x7f934c037ed0 192.168.12.252#33833/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-19.viehai.at' A
Dec 20 12:06:01 srv4hai named[30406]: client @0x7f934c037ed0 192.168.12.252#33833/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-19.viehai.at' A 192.168.12.119
Dec 20 12:06:01 srv4hai dhcpd[4995]: Added new forward map from shelly-19.viehai.at to 192.168.12.119
Dec 20 12:06:01 srv4hai named[30406]: client @0x7f93100d6a50 192.168.12.252#47991/key rndc-key: signer "rndc-key" approved
Dec 20 12:06:01 srv4hai named[30406]: client @0x7f93100d6a50 192.168.12.252#47991/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '119.12.168.192.in-addr.arpa' PTR
Dec 20 12:06:01 srv4hai named[30406]: client @0x7f93100d6a50 192.168.12.252#47991/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '119.12.168.192.in-addr.arpa' PTR shelly-19.viehai.at.
Dec 20 12:06:01 srv4hai dhcpd[4995]: Added reverse map from 119.12.168.192.in-addr.arpa. to shelly-19.viehai.at
Dec 20 12:06:01 srv4hai common[2226]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Dec 20 12:06:01 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-19' - shIP/2:'' perform:'conf'
Dec 20 12:06:01 srv4hai CRON[2239]: (root) CMD (/etc/linetest/linetest.sh)
Dec 20 12:06:02 srv4hai mosquitto[29419]: New connection from 192.168.12.119 on port 1883.
Dec 20 12:06:02 srv4hai mosquitto[29419]: Client shelly1-98CDAC2D5A11 already connected, closing old connection.
Dec 20 12:06:02 srv4hai mosquitto[29419]: Socket error on client shelly1-98CDAC2D5A11, disconnecting.
Dec 20 12:06:02 srv4hai mosquitto[29419]: New client connected from 192.168.12.119 as shelly1-98CDAC2D5A11 (c1, k60, u'shmqtt').
Dec 20 12:06:03 srv4hai grab_shelly.sh: SHELLY 'shelly-19':  OFFLINE, resp. not answering within timeout 1.500000s
Dec 20 12:06:03 srv4hai postfix/smtpd[2181]: warning: hostname colipu.com does not resolve to address 58.246.9.146
Dec 20 12:06:03 srv4hai postfix/smtpd[2181]: connect from unknown[58.246.9.146]
Dec 20 12:06:10 srv4hai postfix/smtpd[2181]: warning: unknown[58.246.9.146]: SASL PLAIN authentication failed: 
Dec 20 12:06:11 srv4hai postfix/smtpd[2181]: lost connection after AUTH from unknown[58.246.9.146]
Dec 20 12:06:11 srv4hai postfix/smtpd[2181]: disconnect from unknown[58.246.9.146] ehlo=1 auth=0/1 commands=1/2
Dec 20 12:06:33 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883.
Dec 20 12:06:33 srv4hai mosquitto[29419]: Socket error on client , disconnecting.
Dec 20 12:06:34 srv4hai ping_SP[26647]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1734692794 - 'ping_SP_0'
Dec 20 12:06:34 srv4hai ping_SP[26647]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 20 12:07:01 srv4hai CRON[2278]: (root) CMD (/etc/linetest/linetest.sh)
Dec 20 12:07:29 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883.
Dec 20 12:07:29 srv4hai mosquitto[29419]: Socket error on client , disconnecting.
Dec 20 12:07:39 srv4hai activate_scenario[2302]: SHELLY scenario: 'homeOffice(homeoffice)' started
Dec 20 12:07:39 srv4hai activate_scenario[2302]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht'

finished