activate_scenario.sh
Sat Feb 17 22:26: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'

Thomas Schreibtischlampe (/srv/www/viehai/shelly/log_scenarios/2024/02/17/_0.log)

vorher: 22:26:43.823

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: 22:26:43.853
Dauer: 30 msec phName: 'origin:'dhcpcommit.sh-pchai7x''


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

urls : 1
vorher : 22:26:43.771
nachher: 22:26:43.859
Dauer : 90 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/02/17//scene_pcON_20240217_222643.txt'


syslog

Feb 17 22:23:01 srv4hai CRON[25847]: (root) CMD (/etc/linetest/linetest.sh)
Feb 17 22:23:45 srv4hai dhcpd[5037]: DHCPDISCOVER from 98:cd:ac:2e:1c:da via enp2s0
Feb 17 22:23:45 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.122 to 98:cd:ac:2e:1c:da via enp2s0
Feb 17 22:23:45 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Feb 17 22:23:45 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.122
Feb 17 22:23:45 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-22
Feb 17 22:23:45 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.122 (192.168.12.252) from 98:cd:ac:2e:1c:da via enp2s0
Feb 17 22:23:45 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.122 to 98:cd:ac:2e:1c:da via enp2s0
Feb 17 22:23:45 srv4hai named[14530]: client @0x7fc31403baf0 192.168.12.252#43689/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-22.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 17 22:23:45 srv4hai named[14530]: client @0x7fc3200cc820 192.168.12.252#48253/key rndc-key: signer "rndc-key" approved
Feb 17 22:23:45 srv4hai named[14530]: client @0x7fc3200cc820 192.168.12.252#48253/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-22.viehai.at' TXT
Feb 17 22:23:45 srv4hai named[14530]: client @0x7fc3200cc820 192.168.12.252#48253/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-22.viehai.at' TXT "0051fce7ef7edfb3d29643aefa7bc5b7f2"
Feb 17 22:23:45 srv4hai named[14530]: client @0x7fc3200cc820 192.168.12.252#48253/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-22.viehai.at' A
Feb 17 22:23:45 srv4hai named[14530]: client @0x7fc3200cc820 192.168.12.252#48253/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-22.viehai.at' A 192.168.12.122
Feb 17 22:23:45 srv4hai dhcpd[5037]: Added new forward map from shelly-22.viehai.at to 192.168.12.122
Feb 17 22:23:45 srv4hai named[14530]: client @0x7fc3281490e0 192.168.12.252#40263/key rndc-key: signer "rndc-key" approved
Feb 17 22:23:45 srv4hai named[14530]: client @0x7fc3281490e0 192.168.12.252#40263/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '122.12.168.192.in-addr.arpa' PTR
Feb 17 22:23:45 srv4hai named[14530]: client @0x7fc3281490e0 192.168.12.252#40263/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '122.12.168.192.in-addr.arpa' PTR shelly-22.viehai.at.
Feb 17 22:23:45 srv4hai dhcpd[5037]: Added reverse map from 122.12.168.192.in-addr.arpa. to shelly-22.viehai.at
Feb 17 22:23:45 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-22' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Feb 17 22:23:46 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-22' - shIP/2:'192.168.12.122'
Feb 17 22:23:46 srv4hai conf_shelly.sh: SHELLY: usage/name 'WC' already set for '192.168.12.122'
Feb 17 22:23:46 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(0)' - allready transmitted - skipping
Feb 17 22:23:46 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(1)' - allready transmitted - skipping
Feb 17 22:23:46 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(2)' - allready transmitted - skipping
Feb 17 22:23:46 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(3)' - allready transmitted - skipping
Feb 17 22:23:46 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(4)' - allready transmitted - skipping
Feb 17 22:23:47 srv4hai conf_shelly.sh: SHELLY:'shelly-22' out:0 ON : MISSING
Feb 17 22:23:47 srv4hai conf_shelly.sh: SHELLY:'shelly-22' out:0 OFF: MISSING
Feb 17 22:23:50 srv4hai ping_SP[29343]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1708205030 - 'ping_SP_0'
Feb 17 22:23:50 srv4hai ping_SP[29343]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 17 22:24:01 srv4hai CRON[26011]: (root) CMD (/etc/linetest/linetest.sh)
Feb 17 22:24:47 srv4hai postfix/anvil[25313]: statistics: max connection rate 2/60s for (smtp:91.73.247.158) at Feb 17 22:21:10
Feb 17 22:24:47 srv4hai postfix/anvil[25313]: statistics: max connection count 1 for (smtp:91.73.247.158) at Feb 17 22:21:09
Feb 17 22:24:47 srv4hai postfix/anvil[25313]: statistics: max cache size 3 at Feb 17 22:21:22
Feb 17 22:25:01 srv4hai sntp[26046]: sntp 4.2.8p12@1.3728-o (1)
Feb 17 22:25:01 srv4hai sntp[26046]: Send to [2001:4860:4806:8::]:123 failed, Network is unreachable
Feb 17 22:25:01 srv4hai sntp[26046]: 2024-02-17 22:25:01.390825 (-0100) +0.002477 +/- 0.001727 time.google.com 216.239.35.12 s1 no-leap
Feb 17 22:25:01 srv4hai CRON[26051]: (root) CMD (/etc/linetest/linetest.sh)
Feb 17 22:25:04 srv4hai ping_SP[29343]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1708205103 - 'ping_SP_0'
Feb 17 22:25:04 srv4hai ping_SP[29343]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 17 22:25:19 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=26075, secured, session=
Feb 17 22:25:19 srv4hai dovecot: imap(miglincit)<26075>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 17 22:25:52 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Feb 17 22:25:52 srv4hai fetchmail[1651]: 38304 messages (38304 seen) for tmiglinci at mail.akis.at (-1137872889 octets).
Feb 17 22:25:53 srv4hai fetchmail[1651]: 9909 messages (9909 seen) for srozum at mail.akis.at (1195577538 octets).
Feb 17 22:25:53 srv4hai fetchmail[1651]: 21711 messages (21711 seen) for mrozum at mail.akis.at (-576078317 octets).
Feb 17 22:25:54 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets).
Feb 17 22:26:01 srv4hai CRON[26086]: (root) CMD (/etc/linetest/linetest.sh)
Feb 17 22:26:17 srv4hai ping_SP[29343]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1708205177 - 'ping_SP_0'
Feb 17 22:26:17 srv4hai ping_SP[29343]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 17 22:26:30 srv4hai activate_scenario[26120]: SHELLY scenario: 'offDownstairs(offdownstairs)' started
Feb 17 22:26:30 srv4hai activate_scenario[26120]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-23:'Licht Sekretär'
Feb 17 22:26:30 srv4hai activate_scenario[26120]: SHELLY scenario: 'offDownstairs(offdownstairs)' TO BE EXECUTED, shelly-23:'Licht Sekretär'
Feb 17 22:26:30 srv4hai postfix/pickup[23520]: F1D1B60245: uid=33 from=
Feb 17 22:26:31 srv4hai postfix/cleanup[26173]: F1D1B60245: message-id=<20240217212630.F1D1B60245@mail.viehai.at>
Feb 17 22:26:31 srv4hai postfix/qmgr[28610]: F1D1B60245: from=, size=7018, nrcpt=1 (queue active)
Feb 17 22:26:31 srv4hai activate_scenario[26120]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-01'-'Wandlicht beim Esstisch' --> '0?turn=off'
Feb 17 22:26:31 srv4hai postfix/local[26186]: F1D1B60245: to=, orig_to=, relay=local, delay=0.08, delays=0.05/0.01/0/0.02, dsn=5.1.1, status=bounced (unknown user: "null")
Feb 17 22:26:31 srv4hai postfix/cleanup[26173]: 0BD6660248: message-id=<20240217212631.0BD6660248@mail.viehai.at>
Feb 17 22:26:31 srv4hai proc_url[26191]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/17/_0.log' - shellyUsage:'Wandlicht beim Esstisch' - scUrl:'http://192.168.12.101/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär''
Feb 17 22:26:31 srv4hai postfix/bounce[26187]: F1D1B60245: sender non-delivery notification: 0BD6660248
Feb 17 22:26:31 srv4hai postfix/qmgr[28610]: 0BD6660248: from=<>, size=8937, nrcpt=1 (queue active)
Feb 17 22:26:31 srv4hai postfix/qmgr[28610]: F1D1B60245: removed
Feb 17 22:26:31 srv4hai postfix/local[26186]: 0BD6660248: to=, relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Feb 17 22:26:31 srv4hai postfix/qmgr[28610]: 0BD6660248: removed
Feb 17 22:26:31 srv4hai activate_scenario[26120]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-02'-'Balkon-Licht' --> '0?turn=off'
Feb 17 22:26:31 srv4hai proc_url[26203]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/17/_1.log' - shellyUsage:'Balkon-Licht' - scUrl:'http://192.168.12.102/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär''
Feb 17 22:26:31 srv4hai activate_scenario[26120]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=off'
Feb 17 22:26:31 srv4hai proc_url[26214]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/17/_2.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär''
Feb 17 22:26:31 srv4hai activate_scenario[26120]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-05'-'Stehlampe Anne hell' --> '0?turn=off'
Feb 17 22:26:31 srv4hai proc_url[26225]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/17/_3.log' - shellyUsage:'Stehlampe Anne hell' - scUrl:'http://192.168.12.105/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär''
Feb 17 22:26:31 srv4hai activate_scenario[26120]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-06'-'Fernsehlampe klein' --> '0?turn=off'
Feb 17 22:26:31 srv4hai proc_url[26253]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/17/_4.log' - shellyUsage:'Fernsehlampe klein' - scUrl:'http://192.168.12.106/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär''
Feb 17 22:26:31 srv4hai activate_scenario[26120]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-10'-'WZ Bücherregal' --> '0?turn=off'
Feb 17 22:26:31 srv4hai proc_url[26277]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/17/_5.log' - shellyUsage:'WZ Bücherregal' - scUrl:'http://192.168.12.110/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär''
Feb 17 22:26:31 srv4hai activate_scenario[26120]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-16'-'Küche Licht Naßzeile' --> '0?turn=off&brightness=70'
Feb 17 22:26:31 srv4hai proc_url[26288]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/17/_6.log' - shellyUsage:'Küche Licht Naßzeile' - scUrl:'http://192.168.12.116/white/0?turn=off&brightness=70' - phName:'shelly-23:'Licht Sekretär''
Feb 17 22:26:31 srv4hai activate_scenario[26120]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-16'-'Küche Licht Naßzeile' --> '1?turn=off&brightness=70'
Feb 17 22:26:31 srv4hai proc_url[26316]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/17/_7.log' - shellyUsage:'Küche Licht Naßzeile' - scUrl:'http://192.168.12.116/white/1?turn=off&brightness=70' - phName:'shelly-23:'Licht Sekretär''
Feb 17 22:26:31 srv4hai activate_scenario[26120]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-17'-'Küche Licht Herdzeile' --> '0?turn=off&brightness=50'
Feb 17 22:26:31 srv4hai proc_url[26342]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/17/_8.log' - shellyUsage:'Küche Licht Herdzeile' - scUrl:'http://192.168.12.117/white/0?turn=off&brightness=50' - phName:'shelly-23:'Licht Sekretär''
Feb 17 22:26:31 srv4hai activate_scenario[26120]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-17'-'Küche Licht Herdzeile' --> '1?turn=off&brightness=50'
Feb 17 22:26:31 srv4hai proc_url[26353]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/17/_9.log' - shellyUsage:'Küche Licht Herdzeile' - scUrl:'http://192.168.12.117/white/1?turn=off&brightness=50' - phName:'shelly-23:'Licht Sekretär''
Feb 17 22:26:31 srv4hai activate_scenario[26120]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-19'-'Fernsehlampe groß' --> '0?turn=off'
Feb 17 22:26:31 srv4hai proc_url[26374]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/17/_10.log' - shellyUsage:'Fernsehlampe groß' - scUrl:'http://192.168.12.119/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär''
Feb 17 22:26:31 srv4hai activate_scenario[26120]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-22'-'WC' --> '0?turn=off'
Feb 17 22:26:31 srv4hai proc_url[26385]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/17/_11.log' - shellyUsage:'WC' - scUrl:'http://192.168.12.122/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär''
Feb 17 22:26:31 srv4hai activate_scenario[26120]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-23'-'Licht Sekretär' --> '0?turn=off'
Feb 17 22:26:31 srv4hai proc_url[26418]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/17/_12.log' - shellyUsage:'Licht Sekretär' - scUrl:'http://192.168.12.123/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär''
Feb 17 22:26:31 srv4hai activate_scenario[26120]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-25'-'Küchenlicht' --> '0?turn=off'
Feb 17 22:26:31 srv4hai proc_url[26431]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/17/_13.log' - shellyUsage:'Küchenlicht' - scUrl:'http://192.168.12.125/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär''
Feb 17 22:26:31 srv4hai activate_scenario[26120]: SHELLY scenario: 'offDownstairs(offdownstairs)' took 363 msec, shelly-23:'Licht Sekretär'
Feb 17 22:26:43 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Feb 17 22:26:43 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.10
Feb 17 22:26:43 srv4hai dhcpd[5037]: execute_statement argv[2] = pchai7x
Feb 17 22:26:43 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.10 from 70:54:d2:7b:fe:a7 via enp2s0
Feb 17 22:26:43 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.10 to 70:54:d2:7b:fe:a7 via enp2s0
Feb 17 22:26:43 srv4hai named[14530]: client @0x7fc310083bf0 192.168.12.252#50563/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: pchai7x.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 17 22:26:43 srv4hai named[14530]: client @0x7fc308060380 192.168.12.252#33297/key rndc-key: signer "rndc-key" approved
Feb 17 22:26:43 srv4hai named[14530]: client @0x7fc308060380 192.168.12.252#33297/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' TXT
Feb 17 22:26:43 srv4hai named[14530]: client @0x7fc308060380 192.168.12.252#33297/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' TXT "001e3ad86ca86e10b8e2aaf2e2ade54f52"
Feb 17 22:26:43 srv4hai named[14530]: client @0x7fc308060380 192.168.12.252#33297/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' A
Feb 17 22:26:43 srv4hai named[14530]: client @0x7fc308060380 192.168.12.252#33297/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' A 192.168.12.10
Feb 17 22:26:43 srv4hai dhcpd[5037]: Added new forward map from pchai7x.viehai.at to 192.168.12.10
Feb 17 22:26:43 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.10'(10) device 'pchai7x'
Feb 17 22:26:43 srv4hai named[14530]: client @0x7fc308005af0 192.168.12.252#49997/key rndc-key: signer "rndc-key" approved
Feb 17 22:26:43 srv4hai named[14530]: client @0x7fc308005af0 192.168.12.252#49997/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '10.12.168.192.in-addr.arpa' PTR
Feb 17 22:26:43 srv4hai named[14530]: client @0x7fc308005af0 192.168.12.252#49997/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.
Feb 17 22:26:43 srv4hai dhcpd[5037]: Added reverse map from 10.12.168.192.in-addr.arpa. to pchai7x.viehai.at
Feb 17 22:26:43 srv4hai activate_scenario[26549]: SHELLY scenario: 'pcON(pcon)' started
Feb 17 22:26:43 srv4hai activate_scenario[26549]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - origin:'dhcpcommit.sh-pchai7x'

finished