activate_scenario.sh
Fri Nov 22 22:28:11 CET 2024
scenario: herdzeile_UM
source: 192.168.12.129

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

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

Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/11/22/_0.log)

vorher: 22:28:11.731

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: 22:28:11.755
Dauer: 25 msec phName: 'shelly-29:'Schalter Herdzeile''


Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/11/22/_1.log)

vorher: 22:28:11.748

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: 22:28:11.811
Dauer: 62 msec phName: 'shelly-29:'Schalter Herdzeile''


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

urls : 2
vorher : 22:28:11.710
nachher: 22:28:11.818
Dauer : 108 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/11/22//scene_herdzeile_UM_20241122_222811.txt'


syslog

Nov 22 22:25:01 srv4hai CRON[11320]: (root) CMD (/etc/linetest/linetest.sh)
Nov 22 22:25:57 srv4hai postfix/anvil[11215]: statistics: max connection rate 1/60s for (smtp:80.94.95.239) at Nov 22 22:22:32
Nov 22 22:25:57 srv4hai postfix/anvil[11215]: statistics: max connection count 1 for (smtp:80.94.95.239) at Nov 22 22:22:32
Nov 22 22:25:57 srv4hai postfix/anvil[11215]: statistics: max cache size 1 at Nov 22 22:22:32
Nov 22 22:26:01 srv4hai CRON[11372]: (root) CMD (/etc/linetest/linetest.sh)
Nov 22 22:26:12 srv4hai postfix/smtpd[11384]: connect from 139-162-133-112.info.cyobs.com[139.162.133.112]
Nov 22 22:26:12 srv4hai postfix/smtpd[11384]: lost connection after CONNECT from 139-162-133-112.info.cyobs.com[139.162.133.112]
Nov 22 22:26:12 srv4hai postfix/smtpd[11384]: disconnect from 139-162-133-112.info.cyobs.com[139.162.133.112] commands=0/0
Nov 22 22:26:23 srv4hai postfix/smtpd[11384]: connect from unknown[80.94.95.239]
Nov 22 22:26:26 srv4hai postfix/smtpd[11384]: warning: unknown[80.94.95.239]: SASL LOGIN authentication failed: Invalid authentication mechanism
Nov 22 22:26:26 srv4hai postfix/smtpd[11384]: disconnect from unknown[80.94.95.239] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Nov 22 22:26:48 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=11410, secured, session=
Nov 22 22:26:48 srv4hai dovecot: imap(miglincit)<11410>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Nov 22 22:27:01 srv4hai CRON[11423]: (root) CMD (/etc/linetest/linetest.sh)
Nov 22 22:27:03 srv4hai common[11429]: SHELLY common.sh inkludiert von ./bt_scan.sh
Nov 22 22:27:03 srv4hai bt_scan[11429]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / shellyIP: '192.168.12.62' - found: 'Yes'
Nov 22 22:27:03 srv4hai bt_scan[11429]: SHELLY - ping_SP.sh started for BTmac: '1' - IPv4: '192.168.12.62'
Nov 22 22:27:03 srv4hai common[11460]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Nov 22 22:27:03 srv4hai ping_SP[11460]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Nov 22 22:27:03 srv4hai common[11481]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Nov 22 22:27:04 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'1'=1732310824-1732310823
Nov 22 22:27:04 srv4hai check_presence[11481]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.DEAD and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Nov 22 22:27:04 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'1'=1732310824-1732310823
Nov 22 22:27:04 srv4hai check_presence[11481]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.TRY} and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Nov 22 22:27:04 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_not_set' dweetAge:'1'=1732310824-1732310823
Nov 22 22:27:04 srv4hai check_presence[11481]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Nov 22 22:27:04 srv4hai check_presence[11481]: SHELLY (ping_SP__bt_scan)-(1) what: 'coming' - persPresent: '(__/__) (__/__) (__/__)' - anyPresent: 'false' - otherPresent:'false'
Nov 22 22:27:04 srv4hai postfix/pickup[29624]: 4512063463: uid=33 from=
Nov 22 22:27:04 srv4hai postfix/cleanup[11585]: 4512063463: message-id=<20241122212704.4512063463@mail.viehai.at>
Nov 22 22:27:04 srv4hai postfix/qmgr[8566]: 4512063463: from=, size=4588, nrcpt=1 (queue active)
Nov 22 22:27:04 srv4hai check_presence[11481]: SHELLY - check 'coming': anyPresent(false) - lScene(scene_offAll) - sceneONsmall(vorraumOn)
Nov 22 22:27:04 srv4hai check_presence[11481]: SHELLY (ping_SP__bt_scan)-(1)-coming: NOT activate_scenario.shtml: vorraumOn
Nov 22 22:27:04 srv4hai ping_SP[11460]: SHELLY check_presence.sh coming 1 ping_SP__bt_scan
Nov 22 22:27:04 srv4hai ping_SP[11460]: SHELLY - new process for '192.168.12.62' - '/srv/www/viehai/shelly//meter/ping_SP_1' @~1732310824
Nov 22 22:27:06 srv4hai dhcpd[21239]: DHCPDISCOVER from f0:39:65:25:8d:c7 via enp2s0
Nov 22 22:27:06 srv4hai dhcpd[21239]: DHCPOFFER on 192.168.12.62 to f0:39:65:25:8d:c7 via enp2s0
Nov 22 22:27:06 srv4hai dhcpd[21239]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Nov 22 22:27:06 srv4hai dhcpd[21239]: execute_statement argv[1] = 192.168.12.62
Nov 22 22:27:06 srv4hai dhcpd[21239]: execute_statement argv[2] = GreteS20
Nov 22 22:27:06 srv4hai common[11626]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Nov 22 22:27:16 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.62' / 'GreteS20' / '1'
Nov 22 22:27:16 srv4hai dhcpd[21239]: DHCPREQUEST for 192.168.12.62 (192.168.12.252) from f0:39:65:25:8d:c7 via enp2s0
Nov 22 22:27:16 srv4hai dhcpd[21239]: DHCPACK on 192.168.12.62 to f0:39:65:25:8d:c7 via enp2s0
Nov 22 22:27:16 srv4hai dhcpd[21239]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Nov 22 22:27:16 srv4hai dhcpd[21239]: execute_statement argv[1] = 192.168.12.62
Nov 22 22:27:16 srv4hai dhcpd[21239]: execute_statement argv[2] = GreteS20
Nov 22 22:27:16 srv4hai common[11657]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Nov 22 22:27:20 srv4hai ping_SP[11460]: SHELLY (1)- ping 192.168.12.62 0 not answered (1) @~1732310840 - 'ping_SP_1'
Nov 22 22:27:26 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.62' / 'GreteS20' / '1'
Nov 22 22:27:26 srv4hai dhcpd[21239]: DHCPREQUEST for 192.168.12.62 (192.168.12.252) from f0:39:65:25:8d:c7 via enp2s0
Nov 22 22:27:26 srv4hai dhcpd[21239]: DHCPACK on 192.168.12.62 to f0:39:65:25:8d:c7 via enp2s0
Nov 22 22:27:26 srv4hai dhcpd[21239]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Nov 22 22:27:26 srv4hai dhcpd[21239]: execute_statement argv[1] = 192.168.12.62
Nov 22 22:27:26 srv4hai dhcpd[21239]: execute_statement argv[2] = GreteS20
Nov 22 22:27:26 srv4hai named[30406]: client @0x7f93480daa40 192.168.12.252#42923/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: GreteS20.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Nov 22 22:27:26 srv4hai common[11695]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Nov 22 22:27:34 srv4hai postfix/relay/smtp[11592]: connect to mx04.nic.name[209.131.160.34]:25: Connection timed out
Nov 22 22:27:35 srv4hai postfix/relay/smtp[11592]: 4512063463: to=, relay=mx02.nic.name[209.131.158.56]:25, delay=31, delays=0.02/0.01/31/0.28, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 15894800F8)
Nov 22 22:27:35 srv4hai postfix/qmgr[8566]: 4512063463: removed
Nov 22 22:27:36 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.62' / 'GreteS20' / '1'
Nov 22 22:27:36 srv4hai dhcpd[21239]: DHCPREQUEST for 192.168.12.62 (192.168.12.252) from f0:39:65:25:8d:c7 via enp2s0
Nov 22 22:27:36 srv4hai dhcpd[21239]: DHCPACK on 192.168.12.62 to f0:39:65:25:8d:c7 via enp2s0
Nov 22 22:27:36 srv4hai dhcpd[21239]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Nov 22 22:27:36 srv4hai dhcpd[21239]: execute_statement argv[1] = 192.168.12.62
Nov 22 22:27:36 srv4hai dhcpd[21239]: execute_statement argv[2] = GreteS20
Nov 22 22:27:36 srv4hai named[30406]: client @0x7f931c09c730 192.168.12.252#36467/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: GreteS20.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Nov 22 22:27:36 srv4hai named[30406]: client @0x7f93480daa40 192.168.12.252#42923/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: GreteS20.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Nov 22 22:27:36 srv4hai common[11726]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Nov 22 22:27:43 srv4hai ping_SP[11460]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1732310863 - 'ping_SP_1'
Nov 22 22:27:43 srv4hai ping_SP[11460]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Nov 22 22:27:46 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.62' / 'GreteS20' / '1'
Nov 22 22:27:46 srv4hai dhcpd[21239]: DHCPREQUEST for 192.168.12.62 (192.168.12.252) from f0:39:65:25:8d:c7 via enp2s0
Nov 22 22:27:46 srv4hai dhcpd[21239]: DHCPACK on 192.168.12.62 to f0:39:65:25:8d:c7 via enp2s0
Nov 22 22:27:46 srv4hai named[30406]: client @0x7f93480daa40 192.168.12.252#42923/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: GreteS20.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Nov 22 22:27:46 srv4hai named[30406]: client @0x7f93480daa40 192.168.12.252#42923/key rndc-key: signer "rndc-key" approved
Nov 22 22:27:46 srv4hai named[30406]: client @0x7f93480daa40 192.168.12.252#42923/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'GreteS20.viehai.at' TXT
Nov 22 22:27:46 srv4hai named[30406]: client @0x7f93480daa40 192.168.12.252#42923/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'GreteS20.viehai.at' TXT "318a9f974c0d8a2868f64397b15c3ed3a0"
Nov 22 22:27:46 srv4hai named[30406]: client @0x7f93480daa40 192.168.12.252#42923/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'GreteS20.viehai.at' A
Nov 22 22:27:46 srv4hai named[30406]: client @0x7f93480daa40 192.168.12.252#42923/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'GreteS20.viehai.at' A 192.168.12.62
Nov 22 22:27:46 srv4hai named[30406]: client @0x7f93480daa40 192.168.12.252#42923/key rndc-key: signer "rndc-key" approved
Nov 22 22:27:46 srv4hai dhcpd[21239]: Added new forward map from GreteS20.viehai.at to 192.168.12.62
Nov 22 22:27:46 srv4hai named[30406]: client @0x7f93480daa40 192.168.12.252#42923/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'GreteS20.viehai.at' TXT
Nov 22 22:27:46 srv4hai named[30406]: client @0x7f93480daa40 192.168.12.252#42923/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'GreteS20.viehai.at' TXT "318a9f974c0d8a2868f64397b15c3ed3a0"
Nov 22 22:27:46 srv4hai named[30406]: client @0x7f93480daa40 192.168.12.252#42923/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'GreteS20.viehai.at' A
Nov 22 22:27:46 srv4hai named[30406]: client @0x7f93480daa40 192.168.12.252#42923/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'GreteS20.viehai.at' A 192.168.12.62
Nov 22 22:27:46 srv4hai named[30406]: client @0x7f93480daa40 192.168.12.252#42923/key rndc-key: signer "rndc-key" approved
Nov 22 22:27:46 srv4hai named[30406]: client @0x7f93480daa40 192.168.12.252#42923/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'GreteS20.viehai.at' TXT
Nov 22 22:27:46 srv4hai dhcpd[21239]: Added new forward map from GreteS20.viehai.at to 192.168.12.62
Nov 22 22:27:46 srv4hai named[30406]: client @0x7f93480daa40 192.168.12.252#42923/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'GreteS20.viehai.at' TXT "318a9f974c0d8a2868f64397b15c3ed3a0"
Nov 22 22:27:46 srv4hai named[30406]: client @0x7f93480daa40 192.168.12.252#42923/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'GreteS20.viehai.at' A
Nov 22 22:27:46 srv4hai named[30406]: client @0x7f93480daa40 192.168.12.252#42923/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'GreteS20.viehai.at' A 192.168.12.62
Nov 22 22:27:46 srv4hai named[30406]: client @0x7f93480daa40 192.168.12.252#42923/key rndc-key: signer "rndc-key" approved
Nov 22 22:27:46 srv4hai dhcpd[21239]: Added new forward map from GreteS20.viehai.at to 192.168.12.62
Nov 22 22:27:46 srv4hai named[30406]: client @0x7f93480daa40 192.168.12.252#42923/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'GreteS20.viehai.at' TXT
Nov 22 22:27:46 srv4hai named[30406]: client @0x7f93480daa40 192.168.12.252#42923/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'GreteS20.viehai.at' TXT "318a9f974c0d8a2868f64397b15c3ed3a0"
Nov 22 22:27:46 srv4hai named[30406]: client @0x7f93480daa40 192.168.12.252#42923/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'GreteS20.viehai.at' A
Nov 22 22:27:46 srv4hai named[30406]: client @0x7f93480daa40 192.168.12.252#42923/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'GreteS20.viehai.at' A 192.168.12.62
Nov 22 22:27:46 srv4hai dhcpd[21239]: Added new forward map from GreteS20.viehai.at to 192.168.12.62
Nov 22 22:27:46 srv4hai named[30406]: client @0x7f93480daa40 192.168.12.252#42923/key rndc-key: signer "rndc-key" approved
Nov 22 22:27:46 srv4hai named[30406]: client @0x7f93480daa40 192.168.12.252#42923/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '62.12.168.192.in-addr.arpa' PTR
Nov 22 22:27:46 srv4hai named[30406]: client @0x7f93480daa40 192.168.12.252#42923/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.
Nov 22 22:27:46 srv4hai dhcpd[21239]: Added reverse map from 62.12.168.192.in-addr.arpa. to GreteS20.viehai.at
Nov 22 22:27:46 srv4hai named[30406]: client @0x7f93480daa40 192.168.12.252#42923/key rndc-key: signer "rndc-key" approved
Nov 22 22:27:46 srv4hai named[30406]: client @0x7f93480daa40 192.168.12.252#42923/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '62.12.168.192.in-addr.arpa' PTR
Nov 22 22:27:46 srv4hai named[30406]: client @0x7f93480daa40 192.168.12.252#42923/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.
Nov 22 22:27:46 srv4hai dhcpd[21239]: Added reverse map from 62.12.168.192.in-addr.arpa. to GreteS20.viehai.at
Nov 22 22:27:46 srv4hai named[30406]: client @0x7f93480daa40 192.168.12.252#42923/key rndc-key: signer "rndc-key" approved
Nov 22 22:27:46 srv4hai named[30406]: client @0x7f93480daa40 192.168.12.252#42923/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '62.12.168.192.in-addr.arpa' PTR
Nov 22 22:27:46 srv4hai named[30406]: client @0x7f93480daa40 192.168.12.252#42923/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.
Nov 22 22:27:46 srv4hai named[30406]: client @0x7f93480daa40 192.168.12.252#42923/key rndc-key: signer "rndc-key" approved
Nov 22 22:27:46 srv4hai named[30406]: client @0x7f93480daa40 192.168.12.252#42923/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '62.12.168.192.in-addr.arpa' PTR
Nov 22 22:27:46 srv4hai named[30406]: client @0x7f93480daa40 192.168.12.252#42923/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.
Nov 22 22:27:46 srv4hai dhcpd[21239]: Added reverse map from 62.12.168.192.in-addr.arpa. to GreteS20.viehai.at
Nov 22 22:27:46 srv4hai dhcpd[21239]: Added reverse map from 62.12.168.192.in-addr.arpa. to GreteS20.viehai.at
Nov 22 22:27:47 srv4hai nmbd[2172]: [2024/11/22 22:27:47.789800,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Nov 22 22:27:47 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Nov 22 22:27:47 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Nov 22 22:27:47 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Nov 22 22:28:01 srv4hai CRON[11778]: (root) CMD (/etc/linetest/linetest.sh)
Nov 22 22:28:11 srv4hai activate_scenario[11788]: SHELLY scenario: 'herdzeile_UM(herdzeile_um)' started
Nov 22 22:28:11 srv4hai activate_scenario[11788]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-29:'Schalter Herdzeile'

finished