activate_scenario.sh
Sat Apr 13 08:47:02 CEST 2024
scenario: nasszeile_um
source: 192.168.12.128

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

scenario: 'Nasszeile UM-schalten' - 'nasszeile_um' - 'nasszeile_um'

Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/04/13/_0.log)

vorher: 08:47:02.942

http://192.168.12.116/white/0?turn=toggle&brightness=25
  "ison": true,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 25,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 08:47:03.010
Dauer: 68 msec phName: 'shelly-28:'Schalter Nasszeile''


Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/04/13/_1.log)

vorher: 08:47:02.962

http://192.168.12.116/white/1?turn=toggle&brightness=25
  "ison": true,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 25,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 08:47:03.010
Dauer: 48 msec phName: 'shelly-28:'Schalter Nasszeile''


scenario: 'Nasszeile UM-schalten' - 'nasszeile_um' - 'nasszeile_um'

urls : 2
vorher : 08:47:02.903
nachher: 08:47:03.019
Dauer : 117 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/13//scene_nasszeile_um_20240413_084702.txt'


syslog

Apr 13 08:44:01 srv4hai CRON[13822]: (root) CMD (/etc/linetest/linetest.sh)
Apr 13 08:44:26 srv4hai nmbd[30864]: [2024/04/13 08:44:26.487611,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Apr 13 08:44:26 srv4hai nmbd[30864]:   find_domain_master_name_query_fail:
Apr 13 08:44:26 srv4hai nmbd[30864]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Apr 13 08:44:26 srv4hai nmbd[30864]:   Unable to sync browse lists in this workgroup.
Apr 13 08:44:43 srv4hai ping_SP[22043]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1712990683 - 'ping_SP_1'
Apr 13 08:44:43 srv4hai ping_SP[22043]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Apr 13 08:44:53 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=13859, secured, session=
Apr 13 08:44:53 srv4hai dovecot: imap(miglincit)<13859>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr 13 08:45:01 srv4hai CRON[13863]: (root) CMD (/etc/linetest/linetest.sh)
Apr 13 08:45:42 srv4hai common[13873]: SHELLY common.sh inkludiert von ./bt_scan.sh
Apr 13 08:45:43 srv4hai dhcpd[28085]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Apr 13 08:45:43 srv4hai dhcpd[28085]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Apr 13 08:45:43 srv4hai dhcpd[28085]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Apr 13 08:45:43 srv4hai dhcpd[28085]: execute_statement argv[1] = 192.168.12.61
Apr 13 08:45:43 srv4hai dhcpd[28085]: execute_statement argv[2] = fpThomas
Apr 13 08:45:43 srv4hai common[13885]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Apr 13 08:45:52 srv4hai postfix/smtpd[13902]: connect from unknown[87.121.105.109]
Apr 13 08:45:52 srv4hai postfix/smtpd[13902]: warning: unknown[87.121.105.109]: SASL LOGIN authentication failed: Invalid authentication mechanism
Apr 13 08:45:52 srv4hai postfix/smtpd[13902]: disconnect from unknown[87.121.105.109] ehlo=1 auth=0/1 quit=1 commands=2/3
Apr 13 08:45:52 srv4hai bt_scan[13873]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Apr 13 08:45:52 srv4hai bt_scan[13873]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61'
Apr 13 08:45:52 srv4hai common[13923]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Apr 13 08:45:52 srv4hai ping_SP[13923]: SHELLY ping_SP.sh started from bt_scan
Apr 13 08:45:52 srv4hai common[13941]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Apr 13 08:45:53 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Apr 13 08:45:53 srv4hai dhcpd[28085]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Apr 13 08:45:53 srv4hai dhcpd[28085]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Apr 13 08:45:53 srv4hai dhcpd[28085]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Apr 13 08:45:53 srv4hai dhcpd[28085]: execute_statement argv[1] = 192.168.12.61
Apr 13 08:45:53 srv4hai dhcpd[28085]: execute_statement argv[2] = fpThomas
Apr 13 08:45:53 srv4hai common[13961]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Apr 13 08:45:53 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'16'=1712990753-1712990737
Apr 13 08:45:53 srv4hai check_presence[13941]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.TRY} and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Apr 13 08:45:53 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'16'=1712990753-1712990737
Apr 13 08:45:53 srv4hai check_presence[13941]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Apr 13 08:45:53 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'16'=1712990753-1712990737
Apr 13 08:45:53 srv4hai check_presence[13941]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Apr 13 08:45:53 srv4hai check_presence[13941]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(BT/__) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Apr 13 08:45:53 srv4hai check_presence[13941]: SHELLY (ping_SP__bt_scan)-(0)-coming: activate_scenario.shtml: vorraumOn
Apr 13 08:45:53 srv4hai activate_scenario[14082]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Apr 13 08:45:53 srv4hai activate_scenario[14082]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'
Apr 13 08:45:53 srv4hai activate_scenario[14082]: SHELLY scenario: 'vorraumOn(vorraumon)' TO BE EXECUTED, phoneName:'0'
Apr 13 08:45:53 srv4hai postfix/pickup[1869]: 921B16022F: uid=33 from=
Apr 13 08:45:53 srv4hai postfix/cleanup[14132]: 921B16022F: message-id=<20240413064553.921B16022F@mail.viehai.at>
Apr 13 08:45:53 srv4hai postfix/qmgr[15291]: 921B16022F: from=, size=6829, nrcpt=1 (queue active)
Apr 13 08:45:53 srv4hai activate_scenario[14082]: SHELLY: scenario: 'vorraumOn(vorraumon)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=on'
Apr 13 08:45:53 srv4hai proc_url[14149]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/13/_0.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=on' - phName:'phoneName:'0''
Apr 13 08:45:53 srv4hai activate_scenario[14082]: SHELLY scenario: 'vorraumOn(vorraumon)' took 91 msec, phoneName:'0'
Apr 13 08:45:53 srv4hai ping_SP[13923]: SHELLY check_presence.sh coming 0 ping_SP__bt_scan
Apr 13 08:45:53 srv4hai ping_SP[13923]: SHELLY - running process-id(13923): '13923 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 bt_scan#01213961 /bin/bash /srv/www/viehai/shelly/smartphone.sh 192.168.12.61 fpThomas' - 'ping_SP_0' - exiting ==============
Apr 13 08:45:54 srv4hai postfix/relay/smtp[14145]: 921B16022F: to=, relay=mx04.nic.name[209.131.160.34]:25, delay=1.2, delays=0.04/0.01/0.91/0.28, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 9853A8015F)
Apr 13 08:45:54 srv4hai postfix/qmgr[15291]: 921B16022F: removed
Apr 13 08:45:57 srv4hai ping_SP[22043]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1712990757 - 'ping_SP_1'
Apr 13 08:45:57 srv4hai ping_SP[22043]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Apr 13 08:46:01 srv4hai CRON[14198]: (root) CMD (/etc/linetest/linetest.sh)
Apr 13 08:46:03 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Apr 13 08:46:03 srv4hai dhcpd[28085]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Apr 13 08:46:03 srv4hai dhcpd[28085]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Apr 13 08:46:03 srv4hai dhcpd[28085]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Apr 13 08:46:03 srv4hai dhcpd[28085]: execute_statement argv[1] = 192.168.12.61
Apr 13 08:46:03 srv4hai dhcpd[28085]: execute_statement argv[2] = fpThomas
Apr 13 08:46:03 srv4hai named[15509]: client @0x7f931c100b10 192.168.12.252#52197/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Apr 13 08:46:03 srv4hai common[14211]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Apr 13 08:46:13 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Apr 13 08:46:13 srv4hai dhcpd[28085]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Apr 13 08:46:13 srv4hai dhcpd[28085]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Apr 13 08:46:13 srv4hai dhcpd[28085]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Apr 13 08:46:13 srv4hai dhcpd[28085]: execute_statement argv[1] = 192.168.12.61
Apr 13 08:46:13 srv4hai dhcpd[28085]: execute_statement argv[2] = fpThomas
Apr 13 08:46:13 srv4hai named[15509]: client @0x7f931c100b10 192.168.12.252#52197/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Apr 13 08:46:13 srv4hai named[15509]: client @0x7f930c03c330 192.168.12.252#60845/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Apr 13 08:46:13 srv4hai common[14231]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Apr 13 08:46:23 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Apr 13 08:46:23 srv4hai dhcpd[28085]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Apr 13 08:46:23 srv4hai dhcpd[28085]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Apr 13 08:46:23 srv4hai named[15509]: client @0x7f931c100b10 192.168.12.252#52197/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Apr 13 08:46:23 srv4hai named[15509]: client @0x7f931c100b10 192.168.12.252#52197/key rndc-key: signer "rndc-key" approved
Apr 13 08:46:23 srv4hai named[15509]: client @0x7f931c100b10 192.168.12.252#52197/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Apr 13 08:46:23 srv4hai named[15509]: client @0x7f931c100b10 192.168.12.252#52197/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Apr 13 08:46:23 srv4hai named[15509]: client @0x7f931c100b10 192.168.12.252#52197/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Apr 13 08:46:23 srv4hai named[15509]: client @0x7f931c100b10 192.168.12.252#52197/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Apr 13 08:46:23 srv4hai named[15509]: client @0x7f931c100b10 192.168.12.252#52197/key rndc-key: signer "rndc-key" approved
Apr 13 08:46:23 srv4hai named[15509]: client @0x7f931c100b10 192.168.12.252#52197/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Apr 13 08:46:23 srv4hai dhcpd[28085]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Apr 13 08:46:23 srv4hai named[15509]: client @0x7f931c100b10 192.168.12.252#52197/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Apr 13 08:46:23 srv4hai named[15509]: client @0x7f931c100b10 192.168.12.252#52197/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Apr 13 08:46:23 srv4hai named[15509]: client @0x7f931c100b10 192.168.12.252#52197/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Apr 13 08:46:23 srv4hai dhcpd[28085]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Apr 13 08:46:23 srv4hai named[15509]: client @0x7f931c100b10 192.168.12.252#52197/key rndc-key: signer "rndc-key" approved
Apr 13 08:46:23 srv4hai named[15509]: client @0x7f931c100b10 192.168.12.252#52197/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Apr 13 08:46:23 srv4hai named[15509]: client @0x7f931c100b10 192.168.12.252#52197/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Apr 13 08:46:23 srv4hai named[15509]: client @0x7f931c100b10 192.168.12.252#52197/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Apr 13 08:46:23 srv4hai named[15509]: client @0x7f931c100b10 192.168.12.252#52197/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Apr 13 08:46:23 srv4hai named[15509]: client @0x7f931c100b10 192.168.12.252#52197/key rndc-key: signer "rndc-key" approved
Apr 13 08:46:23 srv4hai named[15509]: client @0x7f931c100b10 192.168.12.252#52197/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Apr 13 08:46:23 srv4hai dhcpd[28085]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Apr 13 08:46:23 srv4hai named[15509]: client @0x7f931c100b10 192.168.12.252#52197/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Apr 13 08:46:23 srv4hai named[15509]: client @0x7f931c100b10 192.168.12.252#52197/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Apr 13 08:46:23 srv4hai named[15509]: client @0x7f931c100b10 192.168.12.252#52197/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Apr 13 08:46:23 srv4hai named[15509]: client @0x7f931c100b10 192.168.12.252#52197/key rndc-key: signer "rndc-key" approved
Apr 13 08:46:23 srv4hai named[15509]: client @0x7f931c100b10 192.168.12.252#52197/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Apr 13 08:46:23 srv4hai dhcpd[28085]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Apr 13 08:46:23 srv4hai named[15509]: client @0x7f931c100b10 192.168.12.252#52197/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 13 08:46:23 srv4hai named[15509]: client @0x7f931c100b10 192.168.12.252#52197/key rndc-key: signer "rndc-key" approved
Apr 13 08:46:23 srv4hai named[15509]: client @0x7f931c100b10 192.168.12.252#52197/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Apr 13 08:46:23 srv4hai dhcpd[28085]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Apr 13 08:46:23 srv4hai named[15509]: client @0x7f931c100b10 192.168.12.252#52197/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 13 08:46:23 srv4hai named[15509]: client @0x7f931c100b10 192.168.12.252#52197/key rndc-key: signer "rndc-key" approved
Apr 13 08:46:23 srv4hai dhcpd[28085]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Apr 13 08:46:23 srv4hai named[15509]: client @0x7f931c100b10 192.168.12.252#52197/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Apr 13 08:46:23 srv4hai named[15509]: client @0x7f931c100b10 192.168.12.252#52197/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 13 08:46:23 srv4hai named[15509]: client @0x7f931c100b10 192.168.12.252#52197/key rndc-key: signer "rndc-key" approved
Apr 13 08:46:23 srv4hai named[15509]: client @0x7f931c100b10 192.168.12.252#52197/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Apr 13 08:46:23 srv4hai named[15509]: client @0x7f931c100b10 192.168.12.252#52197/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 13 08:46:23 srv4hai dhcpd[28085]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Apr 13 08:46:23 srv4hai dhcpd[28085]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Apr 13 08:47:01 srv4hai CRON[14263]: (root) CMD (/etc/linetest/linetest.sh)
Apr 13 08:47:02 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Apr 13 08:47:02 srv4hai activate_scenario[14268]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' started
Apr 13 08:47:02 srv4hai activate_scenario[14268]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-28:'Schalter Nasszeile'

finished