activate_scenario.sh
Fri Apr 12 07:28:56 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/04/12/_0.log)

vorher: 07:28:56.223

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

nachher: 07:28:56.248
Dauer: 24 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:28:56.236

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

nachher: 07:28:56.265
Dauer: 30 msec phName: 'shelly-40:'Thomas Büro Licht''


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

urls : 2
vorher : 07:28:56.198
nachher: 07:28:56.272
Dauer : 74 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/12//scene_buero_UM_20240412_072856.txt'


syslog

Apr 12 07:25:01 srv4hai sntp[32224]: sntp 4.2.8p12@1.3728-o (1)
Apr 12 07:25:01 srv4hai sntp[32224]: 2024-04-12 07:25:01.576462 (-0100) -0.000343 +/- 0.000305 time.google.com 216.239.35.0 s1 no-leap
Apr 12 07:25:01 srv4hai CRON[32229]: (root) CMD (/etc/linetest/linetest.sh)
Apr 12 07:25:05 srv4hai dhcpd[28085]: DHCPDISCOVER from 98:cd:ac:2d:b6:db via enp2s0
Apr 12 07:25:05 srv4hai dhcpd[28085]: DHCPOFFER on 192.168.12.125 to 98:cd:ac:2d:b6:db via enp2s0
Apr 12 07:25:05 srv4hai dhcpd[28085]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Apr 12 07:25:05 srv4hai dhcpd[28085]: execute_statement argv[1] = 192.168.12.125
Apr 12 07:25:05 srv4hai dhcpd[28085]: execute_statement argv[2] = shelly-25
Apr 12 07:25:05 srv4hai dhcpd[28085]: DHCPREQUEST for 192.168.12.125 (192.168.12.252) from 98:cd:ac:2d:b6:db via enp2s0
Apr 12 07:25:05 srv4hai dhcpd[28085]: DHCPACK on 192.168.12.125 to 98:cd:ac:2d:b6:db via enp2s0
Apr 12 07:25:05 srv4hai named[15509]: client @0x7f92fc030df0 192.168.12.252#57689/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-25.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Apr 12 07:25:05 srv4hai named[15509]: client @0x7f930c088170 192.168.12.252#51259/key rndc-key: signer "rndc-key" approved
Apr 12 07:25:05 srv4hai named[15509]: client @0x7f930c088170 192.168.12.252#51259/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-25.viehai.at' TXT
Apr 12 07:25:05 srv4hai named[15509]: client @0x7f930c088170 192.168.12.252#51259/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-25.viehai.at' TXT "00a4d627ad58f376691816e2e7457e7bae"
Apr 12 07:25:05 srv4hai named[15509]: client @0x7f930c088170 192.168.12.252#51259/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-25.viehai.at' A
Apr 12 07:25:05 srv4hai named[15509]: client @0x7f930c088170 192.168.12.252#51259/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-25.viehai.at' A 192.168.12.125
Apr 12 07:25:05 srv4hai dhcpd[28085]: Added new forward map from shelly-25.viehai.at to 192.168.12.125
Apr 12 07:25:05 srv4hai named[15509]: client @0x7f93080a9b70 192.168.12.252#40187/key rndc-key: signer "rndc-key" approved
Apr 12 07:25:05 srv4hai named[15509]: client @0x7f93080a9b70 192.168.12.252#40187/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '125.12.168.192.in-addr.arpa' PTR
Apr 12 07:25:05 srv4hai named[15509]: client @0x7f93080a9b70 192.168.12.252#40187/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '125.12.168.192.in-addr.arpa' PTR shelly-25.viehai.at.
Apr 12 07:25:05 srv4hai dhcpd[28085]: Added reverse map from 125.12.168.192.in-addr.arpa. to shelly-25.viehai.at
Apr 12 07:25:05 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-25' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Apr 12 07:25:06 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-25' - shIP/2:'192.168.12.125'
Apr 12 07:25:06 srv4hai conf_shelly.sh: SHELLY: usage/name 'Küchenlicht' already set for '192.168.12.125'
Apr 12 07:25:06 srv4hai conf_shelly.sh: SHELLY:'shelly-25' 'conf(0)' - allready transmitted - skipping
Apr 12 07:25:06 srv4hai conf_shelly.sh: SHELLY:'shelly-25' 'conf(1)' - allready transmitted - skipping
Apr 12 07:25:06 srv4hai conf_shelly.sh: SHELLY:'shelly-25' 'conf(2)' - allready transmitted - skipping
Apr 12 07:25:06 srv4hai conf_shelly.sh: SHELLY:'shelly-25' 'conf(3)' - allready transmitted - skipping
Apr 12 07:25:06 srv4hai conf_shelly.sh: SHELLY:'shelly-25' 'conf(4)' - allready transmitted - skipping
Apr 12 07:25:06 srv4hai conf_shelly.sh: SHELLY:'shelly-25' 'conf(5)' - allready transmitted - skipping
Apr 12 07:25:06 srv4hai conf_shelly.sh: SHELLY:'shelly-25' out:0 ON : MISSING
Apr 12 07:25:06 srv4hai conf_shelly.sh: SHELLY:'shelly-25' out:0 OFF: MISSING
Apr 12 07:25:42 srv4hai postfix/smtpd[32376]: connect from unknown[194.48.251.123]
Apr 12 07:25:42 srv4hai postfix/smtpd[32376]: warning: unknown[194.48.251.123]: SASL LOGIN authentication failed: Invalid authentication mechanism
Apr 12 07:25:42 srv4hai postfix/smtpd[32376]: disconnect from unknown[194.48.251.123] ehlo=1 auth=0/1 quit=1 commands=2/3
Apr 12 07:25:45 srv4hai ping_SP[26393]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1712899545 - 'ping_SP_0'
Apr 12 07:25:45 srv4hai ping_SP[26393]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 12 07:26:01 srv4hai CRON[32400]: (root) CMD (/etc/linetest/linetest.sh)
Apr 12 07:26:11 srv4hai ping_SP[31962]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1712899571 - 'ping_SP_1'
Apr 12 07:26:11 srv4hai ping_SP[31962]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Apr 12 07:26:28 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Apr 12 07:26:29 srv4hai fetchmail[1651]: 41812 messages (41812 seen) for tmiglinci at mail.akis.at (-819410550 octets).
Apr 12 07:26:29 srv4hai fetchmail[1651]: 10125 messages (10125 seen) for srozum at mail.akis.at (1224334537 octets).
Apr 12 07:26:30 srv4hai fetchmail[1651]: 22820 messages (22820 seen) for mrozum at mail.akis.at (-352762902 octets).
Apr 12 07:26:30 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets).
Apr 12 07:26:52 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=32431, secured, session=
Apr 12 07:26:52 srv4hai dovecot: imap(miglincit)<32431>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr 12 07:26:58 srv4hai ping_SP[26393]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1712899618 - 'ping_SP_0'
Apr 12 07:26:58 srv4hai ping_SP[26393]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 12 07:27:01 srv4hai CRON[32448]: (root) CMD (/etc/linetest/linetest.sh)
Apr 12 07:27:25 srv4hai ping_SP[31962]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1712899645 - 'ping_SP_1'
Apr 12 07:27:25 srv4hai ping_SP[31962]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Apr 12 07:28:01 srv4hai CRON[32481]: (root) CMD (/etc/linetest/linetest.sh)
Apr 12 07:28:11 srv4hai ping_SP[26393]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1712899691 - 'ping_SP_0'
Apr 12 07:28:11 srv4hai ping_SP[26393]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 12 07:28:30 srv4hai dhcpd[28085]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Apr 12 07:28:30 srv4hai dhcpd[28085]: execute_statement argv[1] = 192.168.12.28
Apr 12 07:28:30 srv4hai dhcpd[28085]: execute_statement argv[2] = harmonyhub
Apr 12 07:28:30 srv4hai dhcpd[28085]: DHCPREQUEST for 192.168.12.28 from c8:db:26:0c:f3:8e via enp2s0
Apr 12 07:28:30 srv4hai dhcpd[28085]: DHCPACK on 192.168.12.28 to c8:db:26:0c:f3:8e via enp2s0
Apr 12 07:28:30 srv4hai named[15509]: client @0x7f93100a9530 192.168.12.252#33937/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: harmonyhub.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Apr 12 07:28:30 srv4hai named[15509]: client @0x7f93180a69a0 192.168.12.252#55587/key rndc-key: signer "rndc-key" approved
Apr 12 07:28:30 srv4hai named[15509]: client @0x7f93180a69a0 192.168.12.252#55587/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' TXT
Apr 12 07:28:30 srv4hai named[15509]: client @0x7f93180a69a0 192.168.12.252#55587/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' TXT "3122b5a8b4281156e6f217b32b7e260713"
Apr 12 07:28:30 srv4hai named[15509]: client @0x7f93180a69a0 192.168.12.252#55587/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' A
Apr 12 07:28:30 srv4hai named[15509]: client @0x7f93180a69a0 192.168.12.252#55587/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' A 192.168.12.28
Apr 12 07:28:30 srv4hai dhcpd[28085]: Added new forward map from harmonyhub.viehai.at to 192.168.12.28
Apr 12 07:28:30 srv4hai named[15509]: client @0x7f931406e6c0 192.168.12.252#53501/key rndc-key: signer "rndc-key" approved
Apr 12 07:28:30 srv4hai named[15509]: client @0x7f931406e6c0 192.168.12.252#53501/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '28.12.168.192.in-addr.arpa' PTR
Apr 12 07:28:30 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.28'(28) device 'harmonyhub'
Apr 12 07:28:30 srv4hai named[15509]: client @0x7f931406e6c0 192.168.12.252#53501/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '28.12.168.192.in-addr.arpa' PTR harmonyhub.viehai.at.
Apr 12 07:28:30 srv4hai dhcpd[28085]: Added reverse map from 28.12.168.192.in-addr.arpa. to harmonyhub.viehai.at
Apr 12 07:28:30 srv4hai dhcpcommit.sh: SHELLY device 'harmonyhub' known and accepted
Apr 12 07:28:38 srv4hai ping_SP[31962]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1712899718 - 'ping_SP_1'
Apr 12 07:28:38 srv4hai ping_SP[31962]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Apr 12 07:28:56 srv4hai activate_scenario[32530]: SHELLY scenario: 'buero_UM(buero_um)' started
Apr 12 07:28:56 srv4hai activate_scenario[32530]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished