activate_scenario.sh
Sun Apr 20 15:05:21 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/20/_0.log)

vorher: 15:05:21.166

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:05:21.201
Dauer: 35 msec phName: 'shelly-40:'TB Licht''


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

vorher: 15:05:21.214

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:05:21.248
Dauer: 33 msec phName: 'shelly-40:'TB Licht''


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

urls : 2
vorher : 15:05:21.118
nachher: 15:05:21.265
Dauer : 147 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/04/20//scene_buero_UM_20250420_150521.txt'


syslog

Apr 20 15:02:00 srv4hai mqtt_process[18370]: SHELLY - shellyType: 'shelly-PM-mini' not handled for 'shelly-49'/'49-TBD'!!
Apr 20 15:02:00 srv4hai mqtt_process[18395]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 20 15:02:00 srv4hai mqtt_process[18420]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 20 15:02:01 srv4hai CRON[18446]: (root) CMD (/etc/linetest/linetest.sh)
Apr 20 15:02:18 srv4hai kernel: [91132253.512156] CPU1: Core temperature/speed normal
Apr 20 15:02:18 srv4hai kernel: [91132253.512156] CPU5: Core temperature/speed normal
Apr 20 15:02:20 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=18462, secured, session=
Apr 20 15:02:20 srv4hai dovecot: imap(miglincit)<18462>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr 20 15:02:25 srv4hai ping_SP[16125]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1745154145 - 'ping_SP_1'
Apr 20 15:02:25 srv4hai ping_SP[16125]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Apr 20 15:02:27 srv4hai dhcpd[30231]: DHCPDISCOVER from 42:4f:22:8e:b8:1c via enp2s0
Apr 20 15:02:28 srv4hai dhcpd[30231]: DHCPOFFER on 192.168.12.46 to 42:4f:22:8e:b8:1c via enp2s0
Apr 20 15:02:29 srv4hai dhcpd[30231]: DHCPREQUEST for 192.168.12.46 (192.168.12.252) from 42:4f:22:8e:b8:1c via enp2s0
Apr 20 15:02:29 srv4hai dhcpd[30231]: DHCPACK on 192.168.12.46 to 42:4f:22:8e:b8:1c via enp2s0
Apr 20 15:02:29 srv4hai mqtt_process[18477]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 20 15:02:29 srv4hai mqtt_process[18502]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 20 15:02:59 srv4hai mqtt_process[18534]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 20 15:02:59 srv4hai mqtt_process[18559]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 20 15:03:00 srv4hai mqtt_process[18584]: SHELLY - shellyType: 'shelly-PM-mini' not handled for 'shelly-49'/'49-TBD'!!
Apr 20 15:03:01 srv4hai CRON[18610]: (root) CMD (/etc/linetest/linetest.sh)
Apr 20 15:03:05 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Apr 20 15:03:05 srv4hai fetchmail[1651]: 68144 messages (68144 seen) for tmiglinci at mail.akis.at (1320730833 octets).
Apr 20 15:03:06 srv4hai fetchmail[1651]: 11853 messages (11853 seen) for srozum at mail.akis.at (1396171899 octets).
Apr 20 15:03:06 srv4hai fetchmail[1651]: 30438 messages (30438 seen) for mrozum at mail.akis.at (959912346 octets).
Apr 20 15:03:07 srv4hai fetchmail[1651]: 1169 messages (1169 seen) for admin@bastelstube.wien at pop3.world4you.com (52284237 octets).
Apr 20 15:03:08 srv4hai ping_SP[9242]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1745154188 - 'ping_SP_0'
Apr 20 15:03:08 srv4hai ping_SP[9242]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 20 15:03:28 srv4hai mosquitto[29419]: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
Apr 20 15:03:29 srv4hai mqtt_process[18637]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 20 15:03:29 srv4hai mqtt_process[18662]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 20 15:03:38 srv4hai ping_SP[16125]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1745154218 - 'ping_SP_1'
Apr 20 15:03:38 srv4hai ping_SP[16125]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Apr 20 15:03:49 srv4hai dhcpd[30231]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Apr 20 15:03:49 srv4hai dhcpd[30231]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Apr 20 15:03:49 srv4hai dhcpd[30231]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Apr 20 15:03:49 srv4hai dhcpd[30231]: execute_statement argv[1] = 192.168.12.61
Apr 20 15:03:49 srv4hai dhcpd[30231]: execute_statement argv[2] = fpThomas
Apr 20 15:03:54 srv4hai postfix/smtpd[18723]: connect from unknown[unknown]
Apr 20 15:03:54 srv4hai postfix/smtpd[18723]: lost connection after CONNECT from unknown[unknown]
Apr 20 15:03:54 srv4hai postfix/smtpd[18723]: disconnect from unknown[unknown] commands=0/0
Apr 20 15:03:59 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Apr 20 15:03:59 srv4hai dhcpd[30231]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Apr 20 15:03:59 srv4hai dhcpd[30231]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Apr 20 15:03:59 srv4hai dhcpd[30231]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Apr 20 15:03:59 srv4hai dhcpd[30231]: execute_statement argv[1] = 192.168.12.61
Apr 20 15:03:59 srv4hai dhcpd[30231]: execute_statement argv[2] = fpThomas
Apr 20 15:03:59 srv4hai mqtt_process[18746]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 20 15:04:00 srv4hai mqtt_process[18771]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 20 15:04:00 srv4hai mqtt_process[18796]: SHELLY - shellyType: 'shelly-PM-mini' not handled for 'shelly-49'/'49-TBD'!!
Apr 20 15:04:01 srv4hai CRON[18822]: (root) CMD (/etc/linetest/linetest.sh)
Apr 20 15:04:09 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Apr 20 15:04:09 srv4hai dhcpd[30231]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Apr 20 15:04:09 srv4hai dhcpd[30231]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Apr 20 15:04:09 srv4hai dhcpd[30231]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Apr 20 15:04:09 srv4hai dhcpd[30231]: execute_statement argv[1] = 192.168.12.61
Apr 20 15:04:09 srv4hai dhcpd[30231]: execute_statement argv[2] = fpThomas
Apr 20 15:04:09 srv4hai named[30406]: client @0x7f93380d8d80 192.168.12.252#46189/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Apr 20 15:04:19 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Apr 20 15:04:19 srv4hai dhcpd[30231]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Apr 20 15:04:19 srv4hai dhcpd[30231]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Apr 20 15:04:19 srv4hai dhcpd[30231]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Apr 20 15:04:19 srv4hai dhcpd[30231]: execute_statement argv[1] = 192.168.12.61
Apr 20 15:04:19 srv4hai dhcpd[30231]: execute_statement argv[2] = fpThomas
Apr 20 15:04:19 srv4hai named[30406]: client @0x7f93380d8d80 192.168.12.252#46189/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Apr 20 15:04:19 srv4hai named[30406]: client @0x7f934c0557f0 192.168.12.252#50239/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Apr 20 15:04:21 srv4hai ping_SP[9242]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1745154261 - 'ping_SP_0'
Apr 20 15:04:21 srv4hai ping_SP[9242]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 20 15:04:29 srv4hai mqtt_process[18894]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 20 15:04:29 srv4hai mqtt_process[18919]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 20 15:04:29 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Apr 20 15:04:29 srv4hai dhcpd[30231]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Apr 20 15:04:29 srv4hai dhcpd[30231]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Apr 20 15:04:29 srv4hai named[30406]: client @0x7f93380d8d80 192.168.12.252#46189/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Apr 20 15:04:29 srv4hai named[30406]: client @0x7f93380d8d80 192.168.12.252#46189/key rndc-key: signer "rndc-key" approved
Apr 20 15:04:29 srv4hai named[30406]: client @0x7f93380d8d80 192.168.12.252#46189/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Apr 20 15:04:29 srv4hai named[30406]: client @0x7f93380d8d80 192.168.12.252#46189/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Apr 20 15:04:29 srv4hai named[30406]: client @0x7f93380d8d80 192.168.12.252#46189/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Apr 20 15:04:29 srv4hai named[30406]: client @0x7f93380d8d80 192.168.12.252#46189/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Apr 20 15:04:29 srv4hai named[30406]: client @0x7f93380d8d80 192.168.12.252#46189/key rndc-key: signer "rndc-key" approved
Apr 20 15:04:29 srv4hai named[30406]: client @0x7f93380d8d80 192.168.12.252#46189/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Apr 20 15:04:29 srv4hai named[30406]: client @0x7f93380d8d80 192.168.12.252#46189/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Apr 20 15:04:29 srv4hai named[30406]: client @0x7f93380d8d80 192.168.12.252#46189/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Apr 20 15:04:29 srv4hai named[30406]: client @0x7f93380d8d80 192.168.12.252#46189/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Apr 20 15:04:29 srv4hai dhcpd[30231]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Apr 20 15:04:29 srv4hai dhcpd[30231]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Apr 20 15:04:29 srv4hai named[30406]: client @0x7f93380d8d80 192.168.12.252#46189/key rndc-key: signer "rndc-key" approved
Apr 20 15:04:29 srv4hai named[30406]: client @0x7f93380d8d80 192.168.12.252#46189/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Apr 20 15:04:29 srv4hai named[30406]: client @0x7f93380d8d80 192.168.12.252#46189/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Apr 20 15:04:29 srv4hai named[30406]: client @0x7f93380d8d80 192.168.12.252#46189/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Apr 20 15:04:29 srv4hai named[30406]: client @0x7f93380d8d80 192.168.12.252#46189/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Apr 20 15:04:29 srv4hai named[30406]: client @0x7f93380d8d80 192.168.12.252#46189/key rndc-key: signer "rndc-key" approved
Apr 20 15:04:29 srv4hai named[30406]: client @0x7f93380d8d80 192.168.12.252#46189/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Apr 20 15:04:29 srv4hai named[30406]: client @0x7f93380d8d80 192.168.12.252#46189/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Apr 20 15:04:29 srv4hai named[30406]: client @0x7f93380d8d80 192.168.12.252#46189/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Apr 20 15:04:29 srv4hai named[30406]: client @0x7f93380d8d80 192.168.12.252#46189/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Apr 20 15:04:29 srv4hai named[30406]: client @0x7f93380d8d80 192.168.12.252#46189/key rndc-key: signer "rndc-key" approved
Apr 20 15:04:29 srv4hai named[30406]: client @0x7f93380d8d80 192.168.12.252#46189/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Apr 20 15:04:29 srv4hai named[30406]: client @0x7f93380d8d80 192.168.12.252#46189/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.
Apr 20 15:04:29 srv4hai named[30406]: client @0x7f93380d8d80 192.168.12.252#46189/key rndc-key: signer "rndc-key" approved
Apr 20 15:04:29 srv4hai named[30406]: client @0x7f93380d8d80 192.168.12.252#46189/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Apr 20 15:04:29 srv4hai named[30406]: client @0x7f93380d8d80 192.168.12.252#46189/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.
Apr 20 15:04:29 srv4hai dhcpd[30231]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Apr 20 15:04:29 srv4hai dhcpd[30231]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Apr 20 15:04:29 srv4hai dhcpd[30231]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Apr 20 15:04:29 srv4hai named[30406]: client @0x7f93380d8d80 192.168.12.252#46189/key rndc-key: signer "rndc-key" approved
Apr 20 15:04:29 srv4hai named[30406]: client @0x7f93380d8d80 192.168.12.252#46189/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Apr 20 15:04:29 srv4hai named[30406]: client @0x7f93380d8d80 192.168.12.252#46189/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.
Apr 20 15:04:29 srv4hai dhcpd[30231]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Apr 20 15:04:29 srv4hai named[30406]: client @0x7f93380d8d80 192.168.12.252#46189/key rndc-key: signer "rndc-key" approved
Apr 20 15:04:29 srv4hai named[30406]: client @0x7f93380d8d80 192.168.12.252#46189/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Apr 20 15:04:29 srv4hai named[30406]: client @0x7f93380d8d80 192.168.12.252#46189/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.
Apr 20 15:04:29 srv4hai dhcpd[30231]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Apr 20 15:04:29 srv4hai dhcpd[30231]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Apr 20 15:05:00 srv4hai mqtt_process[18960]: SHELLY - shellyType: 'shelly-PM-mini' not handled for 'shelly-49'/'49-TBD'!!
Apr 20 15:05:00 srv4hai mqtt_process[18985]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 20 15:05:00 srv4hai mqtt_process[19010]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 20 15:05:01 srv4hai CRON[19036]: (root) CMD (/etc/linetest/linetest.sh)
Apr 20 15:05:01 srv4hai ping_SP[16125]: SHELLY (1)- ping 192.168.12.62 1 not answered (1) @~1745154301 - 'ping_SP_1'
Apr 20 15:05:20 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=19064, secured, session=<0z5VZzUzDLkAAAAAAAAAAAAAAAAAAAAB>
Apr 20 15:05:20 srv4hai dovecot: imap(miglincit)<19064><0z5VZzUzDLkAAAAAAAAAAAAAAAAAAAAB>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr 20 15:05:21 srv4hai activate_scenario[19066]: SHELLY scenario: 'buero_UM(buero_um)' started
Apr 20 15:05:21 srv4hai activate_scenario[19066]: SHELLY dayState='day' <--> DayTime='checked' NightTime='checked' flag 'execute* set as ' - shelly-40:'TB Licht'

finished