activate_scenario.sh
Sat Apr 26 15:06:05 CEST 2025
scenario: buero_UM
source: 192.168.12.140

dayState='day' <--> DayTime='checked' NightTime='checked' flag 'execute* set as '
-> execution of scenario

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

TB Regallicht (/srv/www/viehai/shelly/log_scenarios/2025/04/26/_0.log)

vorher: 15:06:05.810

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: 15:06:05.849
Dauer: 39 msec phName: 'shelly-40:'TB Licht''


TB Licht (/srv/www/viehai/shelly/log_scenarios/2025/04/26/_1.log)

vorher: 15:06:05.850

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: 15:06:05.886
Dauer: 35 msec phName: 'shelly-40:'TB Licht''


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

urls : 2
vorher : 15:06:05.759
nachher: 15:06:05.899
Dauer : 140 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/04/26//scene_buero_UM_20250426_150605.txt'


syslog

Apr 26 15:03:00 srv4hai mqtt_process[8099]: SHELLY - shellyType: 'shelly-PM-mini' not handled for 'shelly-49'/'49-TBD'!!
Apr 26 15:03:00 srv4hai mqtt_process[8124]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 26 15:03:00 srv4hai mqtt_process[8149]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 26 15:03:00 srv4hai ping_SP[5283]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1745672580 - 'ping_SP_0'
Apr 26 15:03:00 srv4hai ping_SP[5283]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 26 15:03:01 srv4hai CRON[8189]: (root) CMD (/etc/linetest/linetest.sh)
Apr 26 15:03:04 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.62' / 'GreteS20' / '1'
Apr 26 15:03:04 srv4hai dhcpd[30231]: DHCPREQUEST for 192.168.12.62 (192.168.12.252) from f0:39:65:25:8d:c7 via enp2s0
Apr 26 15:03:04 srv4hai dhcpd[30231]: DHCPACK on 192.168.12.62 to f0:39:65:25:8d:c7 via enp2s0
Apr 26 15:03:04 srv4hai dhcpd[30231]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Apr 26 15:03:04 srv4hai dhcpd[30231]: execute_statement argv[1] = 192.168.12.62
Apr 26 15:03:04 srv4hai dhcpd[30231]: execute_statement argv[2] = GreteS20
Apr 26 15:03:05 srv4hai named[30406]: resolver priming query complete
Apr 26 15:03:14 srv4hai named[30406]: resolver priming query complete
Apr 26 15:03:14 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.62' / 'GreteS20' / '1'
Apr 26 15:03:14 srv4hai dhcpd[30231]: DHCPREQUEST for 192.168.12.62 (192.168.12.252) from f0:39:65:25:8d:c7 via enp2s0
Apr 26 15:03:14 srv4hai dhcpd[30231]: DHCPACK on 192.168.12.62 to f0:39:65:25:8d:c7 via enp2s0
Apr 26 15:03:14 srv4hai dhcpd[30231]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Apr 26 15:03:14 srv4hai dhcpd[30231]: execute_statement argv[1] = 192.168.12.62
Apr 26 15:03:14 srv4hai dhcpd[30231]: execute_statement argv[2] = GreteS20
Apr 26 15:03:14 srv4hai named[30406]: client @0x7f931c076a00 192.168.12.252#55329/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: GreteS20.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Apr 26 15:03:17 srv4hai mqtt_process[8237]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 26 15:03:17 srv4hai mqtt_process[8262]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 26 15:03:24 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.62' / 'GreteS20' / '1'
Apr 26 15:03:24 srv4hai dhcpd[30231]: DHCPREQUEST for 192.168.12.62 (192.168.12.252) from f0:39:65:25:8d:c7 via enp2s0
Apr 26 15:03:24 srv4hai dhcpd[30231]: DHCPACK on 192.168.12.62 to f0:39:65:25:8d:c7 via enp2s0
Apr 26 15:03:24 srv4hai dhcpd[30231]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Apr 26 15:03:24 srv4hai dhcpd[30231]: execute_statement argv[1] = 192.168.12.62
Apr 26 15:03:24 srv4hai dhcpd[30231]: execute_statement argv[2] = GreteS20
Apr 26 15:03:24 srv4hai named[30406]: client @0x7f931c076a00 192.168.12.252#55329/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: GreteS20.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Apr 26 15:03:24 srv4hai named[30406]: client @0x7f931002f1e0 192.168.12.252#44255/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: GreteS20.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Apr 26 15:03:27 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=8310, secured, session=
Apr 26 15:03:27 srv4hai dovecot: imap(miglincit)<8310>: Logged out in=1731 out=158706 deleted=0 expunged=0 trashed=0 hdr_count=260 hdr_bytes=83388 body_count=0 body_bytes=0
Apr 26 15:03:34 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.62' / 'GreteS20' / '1'
Apr 26 15:03:34 srv4hai dhcpd[30231]: DHCPREQUEST for 192.168.12.62 (192.168.12.252) from f0:39:65:25:8d:c7 via enp2s0
Apr 26 15:03:34 srv4hai dhcpd[30231]: DHCPACK on 192.168.12.62 to f0:39:65:25:8d:c7 via enp2s0
Apr 26 15:03:34 srv4hai named[30406]: client @0x7f931c076a00 192.168.12.252#55329/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: GreteS20.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Apr 26 15:03:34 srv4hai named[30406]: client @0x7f931c076a00 192.168.12.252#55329/key rndc-key: signer "rndc-key" approved
Apr 26 15:03:34 srv4hai named[30406]: client @0x7f931c076a00 192.168.12.252#55329/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'GreteS20.viehai.at' TXT
Apr 26 15:03:34 srv4hai named[30406]: client @0x7f931c076a00 192.168.12.252#55329/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'GreteS20.viehai.at' TXT "318a9f974c0d8a2868f64397b15c3ed3a0"
Apr 26 15:03:34 srv4hai named[30406]: client @0x7f931c076a00 192.168.12.252#55329/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'GreteS20.viehai.at' A
Apr 26 15:03:34 srv4hai named[30406]: client @0x7f931c076a00 192.168.12.252#55329/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'GreteS20.viehai.at' A 192.168.12.62
Apr 26 15:03:34 srv4hai named[30406]: client @0x7f931c076a00 192.168.12.252#55329/key rndc-key: signer "rndc-key" approved
Apr 26 15:03:34 srv4hai named[30406]: client @0x7f931c076a00 192.168.12.252#55329/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'GreteS20.viehai.at' TXT
Apr 26 15:03:34 srv4hai named[30406]: client @0x7f931c076a00 192.168.12.252#55329/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'GreteS20.viehai.at' TXT "318a9f974c0d8a2868f64397b15c3ed3a0"
Apr 26 15:03:34 srv4hai named[30406]: client @0x7f931c076a00 192.168.12.252#55329/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'GreteS20.viehai.at' A
Apr 26 15:03:34 srv4hai named[30406]: client @0x7f931c076a00 192.168.12.252#55329/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'GreteS20.viehai.at' A 192.168.12.62
Apr 26 15:03:34 srv4hai dhcpd[30231]: Added new forward map from GreteS20.viehai.at to 192.168.12.62
Apr 26 15:03:34 srv4hai dhcpd[30231]: Added new forward map from GreteS20.viehai.at to 192.168.12.62
Apr 26 15:03:34 srv4hai named[30406]: client @0x7f931c076a00 192.168.12.252#55329/key rndc-key: signer "rndc-key" approved
Apr 26 15:03:34 srv4hai named[30406]: client @0x7f931c076a00 192.168.12.252#55329/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'GreteS20.viehai.at' TXT
Apr 26 15:03:34 srv4hai named[30406]: client @0x7f931c076a00 192.168.12.252#55329/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'GreteS20.viehai.at' TXT "318a9f974c0d8a2868f64397b15c3ed3a0"
Apr 26 15:03:34 srv4hai named[30406]: client @0x7f931c076a00 192.168.12.252#55329/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'GreteS20.viehai.at' A
Apr 26 15:03:34 srv4hai named[30406]: client @0x7f931c076a00 192.168.12.252#55329/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'GreteS20.viehai.at' A 192.168.12.62
Apr 26 15:03:34 srv4hai named[30406]: client @0x7f931c076a00 192.168.12.252#55329/key rndc-key: signer "rndc-key" approved
Apr 26 15:03:34 srv4hai dhcpd[30231]: Added new forward map from GreteS20.viehai.at to 192.168.12.62
Apr 26 15:03:34 srv4hai named[30406]: client @0x7f931c076a00 192.168.12.252#55329/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'GreteS20.viehai.at' TXT
Apr 26 15:03:34 srv4hai named[30406]: client @0x7f931c076a00 192.168.12.252#55329/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'GreteS20.viehai.at' TXT "318a9f974c0d8a2868f64397b15c3ed3a0"
Apr 26 15:03:34 srv4hai named[30406]: client @0x7f931c076a00 192.168.12.252#55329/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'GreteS20.viehai.at' A
Apr 26 15:03:34 srv4hai named[30406]: client @0x7f931c076a00 192.168.12.252#55329/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'GreteS20.viehai.at' A 192.168.12.62
Apr 26 15:03:34 srv4hai named[30406]: client @0x7f931c076a00 192.168.12.252#55329/key rndc-key: signer "rndc-key" approved
Apr 26 15:03:34 srv4hai named[30406]: client @0x7f931c076a00 192.168.12.252#55329/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '62.12.168.192.in-addr.arpa' PTR
Apr 26 15:03:34 srv4hai named[30406]: client @0x7f931c076a00 192.168.12.252#55329/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '62.12.168.192.in-addr.arpa' PTR GreteS20.viehai.at.
Apr 26 15:03:34 srv4hai named[30406]: client @0x7f931c076a00 192.168.12.252#55329/key rndc-key: signer "rndc-key" approved
Apr 26 15:03:34 srv4hai named[30406]: client @0x7f931c076a00 192.168.12.252#55329/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '62.12.168.192.in-addr.arpa' PTR
Apr 26 15:03:34 srv4hai named[30406]: client @0x7f931c076a00 192.168.12.252#55329/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '62.12.168.192.in-addr.arpa' PTR GreteS20.viehai.at.
Apr 26 15:03:34 srv4hai named[30406]: client @0x7f931c076a00 192.168.12.252#55329/key rndc-key: signer "rndc-key" approved
Apr 26 15:03:34 srv4hai named[30406]: client @0x7f931c076a00 192.168.12.252#55329/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '62.12.168.192.in-addr.arpa' PTR
Apr 26 15:03:34 srv4hai named[30406]: client @0x7f931c076a00 192.168.12.252#55329/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '62.12.168.192.in-addr.arpa' PTR GreteS20.viehai.at.
Apr 26 15:03:34 srv4hai dhcpd[30231]: Added new forward map from GreteS20.viehai.at to 192.168.12.62
Apr 26 15:03:34 srv4hai dhcpd[30231]: Added reverse map from 62.12.168.192.in-addr.arpa. to GreteS20.viehai.at
Apr 26 15:03:34 srv4hai named[30406]: client @0x7f931c076a00 192.168.12.252#55329/key rndc-key: signer "rndc-key" approved
Apr 26 15:03:34 srv4hai named[30406]: client @0x7f931c076a00 192.168.12.252#55329/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '62.12.168.192.in-addr.arpa' PTR
Apr 26 15:03:34 srv4hai named[30406]: client @0x7f931c076a00 192.168.12.252#55329/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '62.12.168.192.in-addr.arpa' PTR GreteS20.viehai.at.
Apr 26 15:03:34 srv4hai dhcpd[30231]: Added reverse map from 62.12.168.192.in-addr.arpa. to GreteS20.viehai.at
Apr 26 15:03:34 srv4hai dhcpd[30231]: Added reverse map from 62.12.168.192.in-addr.arpa. to GreteS20.viehai.at
Apr 26 15:03:34 srv4hai dhcpd[30231]: Added reverse map from 62.12.168.192.in-addr.arpa. to GreteS20.viehai.at
Apr 26 15:03:35 srv4hai named[30406]: resolver priming query complete
Apr 26 15:03:36 srv4hai named[30406]: resolver priming query complete
Apr 26 15:03:37 srv4hai named[30406]: resolver priming query complete
Apr 26 15:03:38 srv4hai named[30406]: resolver priming query complete
Apr 26 15:03:41 srv4hai named[30406]: resolver priming query complete
Apr 26 15:03:42 srv4hai named[30406]: resolver priming query complete
Apr 26 15:03:43 srv4hai named[30406]: resolver priming query complete
Apr 26 15:03:58 srv4hai named[30406]: resolver priming query complete
Apr 26 15:04:00 srv4hai mqtt_process[8331]: SHELLY - shellyType: 'shelly-PM-mini' not handled for 'shelly-49'/'49-TBD'!!
Apr 26 15:04:00 srv4hai mqtt_process[8356]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 26 15:04:00 srv4hai mqtt_process[8383]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 26 15:04:01 srv4hai CRON[8409]: (root) CMD (/etc/linetest/linetest.sh)
Apr 26 15:04:09 srv4hai ping_SP[21575]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1745672649 - 'ping_SP_1'
Apr 26 15:04:09 srv4hai ping_SP[21575]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Apr 26 15:04:11 srv4hai named[30406]: resolver priming query complete
Apr 26 15:04:13 srv4hai ping_SP[5283]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1745672653 - 'ping_SP_0'
Apr 26 15:04:13 srv4hai ping_SP[5283]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 26 15:04:17 srv4hai mqtt_process[8448]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 26 15:04:17 srv4hai mqtt_process[8473]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 26 15:04:25 srv4hai named[30406]: resolver priming query complete
Apr 26 15:04:27 srv4hai named[30406]: resolver priming query complete
Apr 26 15:04:50 srv4hai named[30406]: resolver priming query complete
Apr 26 15:04:59 srv4hai mqtt_process[8504]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 26 15:04:59 srv4hai mqtt_process[8529]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 26 15:05:00 srv4hai mqtt_process[8554]: SHELLY - shellyType: 'shelly-PM-mini' not handled for 'shelly-49'/'49-TBD'!!
Apr 26 15:05:02 srv4hai CRON[8583]: (root) CMD (/etc/linetest/linetest.sh)
Apr 26 15:05:17 srv4hai mqtt_process[8601]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 26 15:05:17 srv4hai mqtt_process[8626]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 26 15:05:22 srv4hai ping_SP[21575]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1745672722 - 'ping_SP_1'
Apr 26 15:05:22 srv4hai ping_SP[21575]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Apr 26 15:05:23 srv4hai named[30406]: resolver priming query complete
Apr 26 15:05:26 srv4hai ping_SP[5283]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1745672726 - 'ping_SP_0'
Apr 26 15:05:26 srv4hai ping_SP[5283]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 26 15:05:28 srv4hai named[30406]: resolver priming query complete
Apr 26 15:05:38 srv4hai named[30406]: resolver priming query complete
Apr 26 15:06:00 srv4hai mqtt_process[8683]: SHELLY - shellyType: 'shelly-PM-mini' not handled for 'shelly-49'/'49-TBD'!!
Apr 26 15:06:00 srv4hai mqtt_process[8708]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 26 15:06:00 srv4hai mqtt_process[8733]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 26 15:06:01 srv4hai CRON[8759]: (root) CMD (/etc/linetest/linetest.sh)
Apr 26 15:06:05 srv4hai activate_scenario[8765]: SHELLY scenario: 'buero_UM(buero_um)' started
Apr 26 15:06:05 srv4hai activate_scenario[8765]: SHELLY dayState='day' <--> DayTime='checked' NightTime='checked' flag 'execute* set as ' - shelly-40:'TB Licht'

finished