activate_scenario.sh
Mon Apr 1 00:34:06 CEST 2024
scenario: library_UM
source: 192.168.12.124

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

scenario: 'Licht Bücherregal UM-schalten' - 'library_UM' - 'library_um'

WZ Bücherregal (/srv/www/viehai/shelly/log_scenarios/2024/04/01/_0.log)

vorher: 00:34:06.583

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

nachher: 00:34:06.618
Dauer: 35 msec phName: 'shelly-24:'Licht Empore''


scenario: 'Licht Bücherregal UM-schalten' - 'library_UM' - 'library_um'

urls : 1
vorher : 00:34:06.556
nachher: 00:34:06.624
Dauer : 69 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/01//scene_library_UM_20240401_003406.txt'


syslog

Apr  1 00:31:01 srv4hai CRON[22196]: (root) CMD (/etc/linetest/linetest.sh)
Apr  1 00:31:05 srv4hai dhcpd[5037]: DHCPDISCOVER from 30:83:98:8c:05:9d via enp2s0
Apr  1 00:31:05 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.123 to 30:83:98:8c:05:9d via enp2s0
Apr  1 00:31:05 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Apr  1 00:31:05 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.123
Apr  1 00:31:05 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-23
Apr  1 00:31:05 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.123 (192.168.12.252) from 30:83:98:8c:05:9d via enp2s0
Apr  1 00:31:05 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.123 to 30:83:98:8c:05:9d via enp2s0
Apr  1 00:31:05 srv4hai named[15509]: client @0x7f9310045f00 192.168.12.252#55653/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-23.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Apr  1 00:31:05 srv4hai named[15509]: client @0x7f930c0a53a0 192.168.12.252#49303/key rndc-key: signer "rndc-key" approved
Apr  1 00:31:05 srv4hai named[15509]: client @0x7f930c0a53a0 192.168.12.252#49303/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-23.viehai.at' TXT
Apr  1 00:31:05 srv4hai named[15509]: client @0x7f930c0a53a0 192.168.12.252#49303/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-23.viehai.at' TXT "0067c4eae5f3400bd02ff9ebe320262416"
Apr  1 00:31:05 srv4hai named[15509]: client @0x7f930c0a53a0 192.168.12.252#49303/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-23.viehai.at' A
Apr  1 00:31:05 srv4hai named[15509]: client @0x7f930c0a53a0 192.168.12.252#49303/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-23.viehai.at' A 192.168.12.123
Apr  1 00:31:05 srv4hai dhcpd[5037]: Added new forward map from shelly-23.viehai.at to 192.168.12.123
Apr  1 00:31:05 srv4hai named[15509]: client @0x7f931c66c140 192.168.12.252#53833/key rndc-key: signer "rndc-key" approved
Apr  1 00:31:05 srv4hai named[15509]: client @0x7f931c66c140 192.168.12.252#53833/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '123.12.168.192.in-addr.arpa' PTR
Apr  1 00:31:05 srv4hai named[15509]: client @0x7f931c66c140 192.168.12.252#53833/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '123.12.168.192.in-addr.arpa' PTR shelly-23.viehai.at.
Apr  1 00:31:05 srv4hai dhcpd[5037]: Added reverse map from 123.12.168.192.in-addr.arpa. to shelly-23.viehai.at
Apr  1 00:31:05 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-23' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Apr  1 00:31:06 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-23' - shIP/2:'192.168.12.123'
Apr  1 00:31:06 srv4hai conf_shelly.sh: SHELLY: usage/name 'Licht Sekretär' already set for '192.168.12.123'
Apr  1 00:31:06 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(0)' - allready transmitted - skipping
Apr  1 00:31:06 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(1)' - allready transmitted - skipping
Apr  1 00:31:06 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(2)' - allready transmitted - skipping
Apr  1 00:31:06 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(3)' - allready transmitted - skipping
Apr  1 00:31:06 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(4)' - allready transmitted - skipping
Apr  1 00:31:06 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(5)' - allready transmitted - skipping
Apr  1 00:31:06 srv4hai conf_shelly.sh: SHELLY:'shelly-23' out:0 ON : MISSING
Apr  1 00:31:06 srv4hai conf_shelly.sh: SHELLY:'shelly-23' out:0 OFF: MISSING
Apr  1 00:31:40 srv4hai ping_SP[23578]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1711924300 - 'ping_SP_0'
Apr  1 00:31:40 srv4hai ping_SP[23578]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr  1 00:32:01 srv4hai CRON[22389]: (root) CMD (/etc/linetest/linetest.sh)
Apr  1 00:32:28 srv4hai activate_scenario[22414]: SHELLY scenario: 'LOG_gehen(log_gehen)' started
Apr  1 00:32:28 srv4hai activate_scenario[22414]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-03:'Licht Vorzimmer'
Apr  1 00:32:28 srv4hai activate_scenario[22414]: SHELLY scenario: 'LOG_gehen(log_gehen)' TO BE EXECUTED, shelly-03:'Licht Vorzimmer'
Apr  1 00:32:28 srv4hai activate_scenario[22414]: SHELLY scenario: 'LOG_gehen(log_gehen)' took 4 msec, shelly-03:'Licht Vorzimmer'
Apr  1 00:32:42 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Apr  1 00:32:42 srv4hai fetchmail[1651]: 41024 messages (41023 seen) for tmiglinci at mail.akis.at (-877820276 octets).
Apr  1 00:32:42 srv4hai postfix/smtpd[22501]: connect from localhost[127.0.0.1]
Apr  1 00:32:42 srv4hai postfix/smtpd[22501]: C8ACA60119: client=localhost[127.0.0.1]
Apr  1 00:32:42 srv4hai postfix/cleanup[22504]: C8ACA60119: message-id=<20240331223242.C8ACA60119@mail.viehai.at>
Apr  1 00:32:42 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:41024 of 41024 (6882 octets) not flushed
Apr  1 00:32:42 srv4hai postfix/qmgr[15291]: C8ACA60119: from=, size=8086, nrcpt=1 (queue active)
Apr  1 00:32:42 srv4hai postfix/smtpd[22501]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Apr  1 00:32:42 srv4hai postfix/local[22505]: C8ACA60119: to=, relay=local, delay=0.07, delays=0.05/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr  1 00:32:42 srv4hai postfix/qmgr[15291]: C8ACA60119: removed
Apr  1 00:32:43 srv4hai fetchmail[1651]: 10074 messages (10074 seen) for srozum at mail.akis.at (1216406989 octets).
Apr  1 00:32:43 srv4hai fetchmail[1651]: 22569 messages (22569 seen) for mrozum at mail.akis.at (-385481109 octets).
Apr  1 00:32:44 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets).
Apr  1 00:32:48 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=22512, secured, session=
Apr  1 00:32:48 srv4hai dovecot: imap(miglincit)<22512>: Logged out in=420 out=35852 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=11385 body_count=0 body_bytes=0
Apr  1 00:32:53 srv4hai ping_SP[23578]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1711924373 - 'ping_SP_0'
Apr  1 00:32:53 srv4hai ping_SP[23578]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr  1 00:33:01 srv4hai CRON[22531]: (root) CMD (/etc/linetest/linetest.sh)
Apr  1 00:33:55 srv4hai activate_scenario[22577]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' started
Apr  1 00:33:55 srv4hai activate_scenario[22577]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-28:'Schalter Nasszeile'
Apr  1 00:33:55 srv4hai activate_scenario[22577]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' TO BE EXECUTED, shelly-28:'Schalter Nasszeile'
Apr  1 00:33:55 srv4hai postfix/pickup[21116]: 918C460245: uid=33 from=
Apr  1 00:33:55 srv4hai postfix/cleanup[22504]: 918C460245: message-id=<20240331223355.918C460245@mail.viehai.at>
Apr  1 00:33:55 srv4hai postfix/qmgr[15291]: 918C460245: from=, size=11913, nrcpt=1 (queue active)
Apr  1 00:33:55 srv4hai postfix/local[22505]: 918C460245: to=, orig_to=, relay=local, delay=0.04, delays=0.01/0/0/0.03, dsn=5.1.1, status=bounced (unknown user: "null")
Apr  1 00:33:55 srv4hai postfix/cleanup[22504]: 99ED560248: message-id=<20240331223355.99ED560248@mail.viehai.at>
Apr  1 00:33:55 srv4hai postfix/bounce[22633]: 918C460245: sender non-delivery notification: 99ED560248
Apr  1 00:33:55 srv4hai postfix/qmgr[15291]: 99ED560248: from=<>, size=13795, nrcpt=1 (queue active)
Apr  1 00:33:55 srv4hai postfix/qmgr[15291]: 918C460245: removed
Apr  1 00:33:55 srv4hai postfix/local[22505]: 99ED560248: to=, relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr  1 00:33:55 srv4hai postfix/qmgr[15291]: 99ED560248: removed
Apr  1 00:33:55 srv4hai activate_scenario[22577]: SHELLY: scenario: 'nasszeile_um(nasszeile_um)'-'shelly-16'-'Küche Licht Naßzeile' --> '0?turn=toggle&brightness=25'
Apr  1 00:33:55 srv4hai proc_url[22646]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/01/_0.log' - shellyUsage:'Küche Licht Naßzeile' - scUrl:'http://192.168.12.116/white/0?turn=toggle&brightness=25' - phName:'shelly-28:'Schalter Nasszeile''
Apr  1 00:33:55 srv4hai activate_scenario[22577]: SHELLY: scenario: 'nasszeile_um(nasszeile_um)'-'shelly-16'-'Küche Licht Naßzeile' --> '1?turn=toggle&brightness=25'
Apr  1 00:33:55 srv4hai proc_url[22657]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/01/_1.log' - shellyUsage:'Küche Licht Naßzeile' - scUrl:'http://192.168.12.116/white/1?turn=toggle&brightness=25' - phName:'shelly-28:'Schalter Nasszeile''
Apr  1 00:33:55 srv4hai activate_scenario[22577]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' took 95 msec, shelly-28:'Schalter Nasszeile'
Apr  1 00:34:01 srv4hai CRON[22702]: (root) CMD (/etc/linetest/linetest.sh)
Apr  1 00:34:06 srv4hai activate_scenario[22714]: SHELLY scenario: 'library_UM(library_um)' started
Apr  1 00:34:06 srv4hai activate_scenario[22714]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-24:'Licht Empore'

finished