activate_scenario.sh
Mon Dec 23 13:50:05 CET 2024
scenario: herdzeile_UM
source: 192.168.12.129

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

scenario: 'Herdzeile UMschalten' - 'herdzeile_UM' - 'herdzeile_um'

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

vorher: 13:50:05.217

http://192.168.12.117/white/0?turn=toggle&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: 13:50:05.280
Dauer: 63 msec phName: 'shelly-29:'KÜ Schalter Herdzeile''


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

vorher: 13:50:05.232

http://192.168.12.117/white/1?turn=toggle&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: 13:50:05.294
Dauer: 62 msec phName: 'shelly-29:'KÜ Schalter Herdzeile''


scenario: 'Herdzeile UMschalten' - 'herdzeile_UM' - 'herdzeile_um'

urls : 2
vorher : 13:50:05.199
nachher: 13:50:05.300
Dauer : 101 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/12/23//scene_herdzeile_UM_20241223_135005.txt'


syslog

Dec 23 13:47:01 srv4hai CRON[18003]: (root) CMD (/etc/linetest/linetest.sh)
Dec 23 13:47:37 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883.
Dec 23 13:47:37 srv4hai mosquitto[29419]: Socket error on client , disconnecting.
Dec 23 13:47:51 srv4hai dhcpd[4995]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Dec 23 13:47:51 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Dec 23 13:47:51 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Dec 23 13:47:51 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.61
Dec 23 13:47:51 srv4hai dhcpd[4995]: execute_statement argv[2] = fpThomas
Dec 23 13:47:51 srv4hai common[18017]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Dec 23 13:48:01 srv4hai CRON[18035]: (root) CMD (/etc/linetest/linetest.sh)
Dec 23 13:48:01 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Dec 23 13:48:01 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Dec 23 13:48:01 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Dec 23 13:48:01 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Dec 23 13:48:01 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.61
Dec 23 13:48:01 srv4hai dhcpd[4995]: execute_statement argv[2] = fpThomas
Dec 23 13:48:01 srv4hai common[18047]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Dec 23 13:48:11 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Dec 23 13:48:11 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Dec 23 13:48:11 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Dec 23 13:48:11 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Dec 23 13:48:11 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.61
Dec 23 13:48:11 srv4hai dhcpd[4995]: execute_statement argv[2] = fpThomas
Dec 23 13:48:11 srv4hai named[30406]: client @0x7f93300fcc20 192.168.12.252#56715/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Dec 23 13:48:11 srv4hai common[18073]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Dec 23 13:48:17 srv4hai ping_SP[29994]: SHELLY (0)- ping 192.168.12.61 1 not answered (1) @~1734958097 - 'ping_SP_0'
Dec 23 13:48:21 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Dec 23 13:48:21 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Dec 23 13:48:21 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Dec 23 13:48:21 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Dec 23 13:48:21 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.61
Dec 23 13:48:21 srv4hai dhcpd[4995]: execute_statement argv[2] = fpThomas
Dec 23 13:48:21 srv4hai named[30406]: client @0x7f93300fcc20 192.168.12.252#56715/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Dec 23 13:48:21 srv4hai named[30406]: client @0x7f932c0d0080 192.168.12.252#44577/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Dec 23 13:48:21 srv4hai common[18107]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Dec 23 13:48:31 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Dec 23 13:48:32 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Dec 23 13:48:32 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Dec 23 13:48:32 srv4hai named[30406]: client @0x7f93300fcc20 192.168.12.252#56715/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Dec 23 13:48:32 srv4hai named[30406]: client @0x7f93300fcc20 192.168.12.252#56715/key rndc-key: signer "rndc-key" approved
Dec 23 13:48:32 srv4hai named[30406]: client @0x7f93300fcc20 192.168.12.252#56715/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Dec 23 13:48:32 srv4hai named[30406]: client @0x7f93300fcc20 192.168.12.252#56715/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Dec 23 13:48:32 srv4hai named[30406]: client @0x7f93300fcc20 192.168.12.252#56715/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Dec 23 13:48:32 srv4hai named[30406]: client @0x7f93300fcc20 192.168.12.252#56715/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Dec 23 13:48:32 srv4hai named[30406]: client @0x7f93300fcc20 192.168.12.252#56715/key rndc-key: signer "rndc-key" approved
Dec 23 13:48:32 srv4hai named[30406]: client @0x7f93300fcc20 192.168.12.252#56715/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Dec 23 13:48:32 srv4hai named[30406]: client @0x7f93300fcc20 192.168.12.252#56715/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Dec 23 13:48:32 srv4hai named[30406]: client @0x7f93300fcc20 192.168.12.252#56715/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Dec 23 13:48:32 srv4hai dhcpd[4995]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Dec 23 13:48:32 srv4hai named[30406]: client @0x7f93300fcc20 192.168.12.252#56715/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Dec 23 13:48:32 srv4hai dhcpd[4995]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Dec 23 13:48:32 srv4hai named[30406]: client @0x7f93300fcc20 192.168.12.252#56715/key rndc-key: signer "rndc-key" approved
Dec 23 13:48:32 srv4hai named[30406]: client @0x7f93300fcc20 192.168.12.252#56715/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Dec 23 13:48:32 srv4hai named[30406]: client @0x7f93300fcc20 192.168.12.252#56715/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Dec 23 13:48:32 srv4hai named[30406]: client @0x7f93300fcc20 192.168.12.252#56715/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Dec 23 13:48:32 srv4hai named[30406]: client @0x7f93300fcc20 192.168.12.252#56715/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Dec 23 13:48:32 srv4hai named[30406]: client @0x7f93300fcc20 192.168.12.252#56715/key rndc-key: signer "rndc-key" approved
Dec 23 13:48:32 srv4hai dhcpd[4995]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Dec 23 13:48:32 srv4hai named[30406]: client @0x7f93300fcc20 192.168.12.252#56715/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Dec 23 13:48:32 srv4hai named[30406]: client @0x7f93300fcc20 192.168.12.252#56715/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Dec 23 13:48:32 srv4hai named[30406]: client @0x7f93300fcc20 192.168.12.252#56715/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Dec 23 13:48:32 srv4hai named[30406]: client @0x7f93300fcc20 192.168.12.252#56715/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Dec 23 13:48:32 srv4hai named[30406]: client @0x7f93300fcc20 192.168.12.252#56715/key rndc-key: signer "rndc-key" approved
Dec 23 13:48:32 srv4hai named[30406]: client @0x7f93300fcc20 192.168.12.252#56715/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Dec 23 13:48:32 srv4hai dhcpd[4995]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Dec 23 13:48:32 srv4hai named[30406]: client @0x7f93300fcc20 192.168.12.252#56715/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '61.12.168.192.in-addr.arpa' PTR fpThomas.viehai.at.
Dec 23 13:48:32 srv4hai dhcpd[4995]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Dec 23 13:48:32 srv4hai named[30406]: client @0x7f93300fcc20 192.168.12.252#56715/key rndc-key: signer "rndc-key" approved
Dec 23 13:48:32 srv4hai named[30406]: client @0x7f93300fcc20 192.168.12.252#56715/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Dec 23 13:48:32 srv4hai named[30406]: client @0x7f93300fcc20 192.168.12.252#56715/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '61.12.168.192.in-addr.arpa' PTR fpThomas.viehai.at.
Dec 23 13:48:32 srv4hai named[30406]: client @0x7f93300fcc20 192.168.12.252#56715/key rndc-key: signer "rndc-key" approved
Dec 23 13:48:32 srv4hai named[30406]: client @0x7f93300fcc20 192.168.12.252#56715/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Dec 23 13:48:32 srv4hai dhcpd[4995]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Dec 23 13:48:32 srv4hai named[30406]: client @0x7f93300fcc20 192.168.12.252#56715/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '61.12.168.192.in-addr.arpa' PTR fpThomas.viehai.at.
Dec 23 13:48:32 srv4hai named[30406]: client @0x7f93300fcc20 192.168.12.252#56715/key rndc-key: signer "rndc-key" approved
Dec 23 13:48:32 srv4hai named[30406]: client @0x7f93300fcc20 192.168.12.252#56715/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Dec 23 13:48:32 srv4hai named[30406]: client @0x7f93300fcc20 192.168.12.252#56715/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '61.12.168.192.in-addr.arpa' PTR fpThomas.viehai.at.
Dec 23 13:48:32 srv4hai dhcpd[4995]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Dec 23 13:48:32 srv4hai dhcpd[4995]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Dec 23 13:48:35 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883.
Dec 23 13:48:35 srv4hai mosquitto[29419]: Socket error on client , disconnecting.
Dec 23 13:48:40 srv4hai ping_SP[29994]: SHELLY (0) - ping 192.168.12.61 2 sucessfully  @~1734958120 - 'ping_SP_0'
Dec 23 13:48:40 srv4hai ping_SP[29994]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 23 13:49:01 srv4hai CRON[18152]: (root) CMD (/etc/linetest/linetest.sh)
Dec 23 13:49:34 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883.
Dec 23 13:49:34 srv4hai mosquitto[29419]: Socket error on client , disconnecting.
Dec 23 13:49:53 srv4hai ping_SP[29994]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1734958193 - 'ping_SP_0'
Dec 23 13:49:53 srv4hai ping_SP[29994]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 23 13:50:01 srv4hai CRON[18188]: (root) CMD (/etc/linetest/linetest.sh)
Dec 23 13:50:01 srv4hai CRON[18189]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Dec 23 13:50:01 srv4hai common[18190]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Dec 23 13:50:01 srv4hai meter.sh: SHELLY meter.sh started
Dec 23 13:50:01 srv4hai meter.sh: SHELLY 'shelly-29/KÜ Schalter Herdzeile' - type: 'shelly-i3' ignoring
Dec 23 13:50:02 srv4hai meter.sh: SHELLY 'shelly-28/KÜ Schalter Nasszeile' - type: 'shelly-i3' ignoring
Dec 23 13:50:05 srv4hai activate_scenario[18546]: SHELLY scenario: 'herdzeile_UM(herdzeile_um)' started
Dec 23 13:50:05 srv4hai activate_scenario[18546]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-29:'KÜ Schalter Herdzeile'

finished