activate_scenario.sh
Mon Feb 5 11:30:19 CET 2024
scenario: welcomeLight
phoneName: 0

'day' <--> DayTime=checked , NightTime=unchecked
-> execution of scenario
-> sending email(s) to 'thomas@miglinci.name'

scenario: 'Willkommen-Licht EIN-schalten' - 'welcomeLight' - 'welcomelight'

Licht Vorzimmer (/srv/www/viehai/shelly/log_scenarios/2024/02/05/_0.log)

vorher: 11:30:19.860

http://192.168.12.103/relay/0?turn=on
  "ison": true,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "overpower": false,
  "source": "http"

nachher: 11:30:19.993
Dauer: 133 msec phName: 'phoneName:'0''


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

vorher: 11:30:19.877

http://192.168.12.116/white/0?turn=on&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": 18,
  "overpower": false

nachher: 11:30:20.003
Dauer: 127 msec phName: 'phoneName:'0''


Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/02/05/_2.log)

vorher: 11:30:19.894

http://192.168.12.116/white/1?turn=on&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": 18,
  "overpower": false

nachher: 11:30:20.003
Dauer: 109 msec phName: 'phoneName:'0''


Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/02/05/_3.log)

vorher: 11:30:19.908

http://192.168.12.117/white/0?turn=on&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": 13.21,
  "overpower": false

nachher: 11:30:19.934
Dauer: 26 msec phName: 'phoneName:'0''


Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/02/05/_4.log)

vorher: 11:30:19.922

http://192.168.12.117/white/1?turn=on&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": 13.21,
  "overpower": false

nachher: 11:30:19.954
Dauer: 32 msec phName: 'phoneName:'0''


scenario: 'Willkommen-Licht EIN-schalten' - 'welcomeLight' - 'welcomelight'

urls : 5
vorher : 11:30:19.828
nachher: 11:30:20.013
Dauer : 186 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/02/05//scene_welcomeLight_20240205_113019.txt'


syslog

Feb  5 11:27:02 srv4hai CRON[14970]: (root) CMD (/etc/linetest/linetest.sh)
Feb  5 11:27:02 srv4hai ping_SP[14313]: SHELLY (0)- ping 192.168.12.61 1 not answered (1) @~1707128822 - 'ping_SP_0'
Feb  5 11:27:22 srv4hai ping_SP[14313]: SHELLY (0)- ping 192.168.12.61 2 not answered (1) @~1707128842 - 'ping_SP_0'
Feb  5 11:27:31 srv4hai postfix/anvil[14249]: statistics: max connection rate 1/60s for (smtp:194.33.191.29) at Feb  5 11:24:11
Feb  5 11:27:31 srv4hai postfix/anvil[14249]: statistics: max connection count 1 for (smtp:194.33.191.29) at Feb  5 11:24:11
Feb  5 11:27:31 srv4hai postfix/anvil[14249]: statistics: max cache size 1 at Feb  5 11:24:11
Feb  5 11:27:33 srv4hai ping_SP[14313]: SHELLY (0) - ping 192.168.12.61 3 sucessfully  @~1707128853 - 'ping_SP_0'
Feb  5 11:27:33 srv4hai ping_SP[14313]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  5 11:27:56 srv4hai trace_events[15041]: SHELLY trace_events.sh inkludiert: TRCF:'/srv/www/viehai/shelly/meter/trace_20240205.txt'
Feb  5 11:27:56 srv4hai activate_scenario[15041]: SHELLY scenario: 'sekr_UM(sekr_um)' started
Feb  5 11:27:56 srv4hai activate_scenario[15041]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-01:'Wandlicht beim Esstisch'
Feb  5 11:27:56 srv4hai activate_scenario[15041]: SHELLY scenario: 'sekr_UM(sekr_um)' TO BE EXECUTED, shelly-01:'Wandlicht beim Esstisch'
Feb  5 11:27:56 srv4hai postfix/pickup[8799]: ED02F60244: uid=33 from=
Feb  5 11:27:56 srv4hai postfix/cleanup[15096]: ED02F60244: message-id=<20240205102756.ED02F60244@mail.viehai.at>
Feb  5 11:27:56 srv4hai postfix/qmgr[28610]: ED02F60244: from=, size=43252, nrcpt=1 (queue active)
Feb  5 11:27:57 srv4hai activate_scenario[15041]: SHELLY: scenario: 'sekr_UM(sekr_um)'-'shelly-23'-'Licht Sekretär' --> '0?turn=toggle'
Feb  5 11:27:57 srv4hai postfix/local[15107]: ED02F60244: to=, orig_to=, relay=local, delay=0.08, delays=0.05/0.01/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Feb  5 11:27:57 srv4hai postfix/cleanup[15096]: 04F6160245: message-id=<20240205102757.04F6160245@mail.viehai.at>
Feb  5 11:27:57 srv4hai proc_url[15114]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/05/_0.log' - shellyUsage:'Licht Sekretär' - scUrl:'http://192.168.12.123/relay/0?turn=toggle' - phName:'shelly-01:'Wandlicht beim Esstisch''
Feb  5 11:27:57 srv4hai postfix/bounce[15110]: ED02F60244: sender non-delivery notification: 04F6160245
Feb  5 11:27:57 srv4hai postfix/qmgr[28610]: 04F6160245: from=<>, size=45131, nrcpt=1 (queue active)
Feb  5 11:27:57 srv4hai postfix/qmgr[28610]: ED02F60244: removed
Feb  5 11:27:57 srv4hai postfix/local[15107]: 04F6160245: to=, relay=local, delay=0.03, delays=0.02/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Feb  5 11:27:57 srv4hai postfix/qmgr[28610]: 04F6160245: removed
Feb  5 11:27:57 srv4hai activate_scenario[15041]: SHELLY scenario: 'sekr_UM(sekr_um)' took 97 msec, shelly-01:'Wandlicht beim Esstisch'
Feb  5 11:28:01 srv4hai CRON[15144]: (root) CMD (/etc/linetest/linetest.sh)
Feb  5 11:28:01 srv4hai trace_events[15149]: SHELLY trace_events.sh inkludiert: TRCF:'/srv/www/viehai/shelly/meter/trace_20240205.txt'
Feb  5 11:28:01 srv4hai bt_scan[15149]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' found: 'No'
Feb  5 11:28:01 srv4hai bt_scan[15149]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Feb  5 11:28:01 srv4hai trace_events[15177]: SHELLY trace_events.sh inkludiert: TRCF:'/srv/www/viehai/shelly/meter/trace_20240205.txt'
Feb  5 11:28:01 srv4hai check_presence[15177]: SHELLY ()-(bt_scan) what: 'presence' - persPresent: '(__/IP) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Feb  5 11:28:01 srv4hai check_presence[15177]: SHELLY ()-(bt_scan)-presence: NOT activate_scenario.shtml: offAll
Feb  5 11:28:13 srv4hai ping_SP[14313]: SHELLY (0)- ping 192.168.12.61 1 not answered (1) @~1707128893 - 'ping_SP_0'
Feb  5 11:28:23 srv4hai ping_SP[14313]: SHELLY (0) - ping 192.168.12.61 2 sucessfully  @~1707128903 - 'ping_SP_0'
Feb  5 11:28:23 srv4hai ping_SP[14313]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  5 11:28:37 srv4hai nmbd[30864]: [2024/02/05 11:28:37.448055,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Feb  5 11:28:37 srv4hai nmbd[30864]:   find_domain_master_name_query_fail:
Feb  5 11:28:37 srv4hai nmbd[30864]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Feb  5 11:28:37 srv4hai nmbd[30864]:   Unable to sync browse lists in this workgroup.
Feb  5 11:29:01 srv4hai CRON[15258]: (root) CMD (/etc/linetest/linetest.sh)
Feb  5 11:29:03 srv4hai ping_SP[14313]: SHELLY (0)- ping 192.168.12.61 1 not answered (1) @~1707128943 - 'ping_SP_0'
Feb  5 11:29:23 srv4hai ping_SP[14313]: SHELLY (0)- ping 192.168.12.61 2 not answered (1) @~1707128963 - 'ping_SP_0'
Feb  5 11:29:43 srv4hai ping_SP[14313]: SHELLY (0)- ping 192.168.12.61 3 not answered (1) @~1707128983 - 'ping_SP_0'
Feb  5 11:30:01 srv4hai CRON[15329]: (root) CMD (/etc/linetest/linetest.sh)
Feb  5 11:30:01 srv4hai CRON[15330]: (root) CMD ([ -x /etc/init.d/anacron ] && if [ ! -d /run/systemd/system ]; then /usr/sbin/invoke-rc.d anacron start >/dev/null; fi)
Feb  5 11:30:01 srv4hai CRON[15331]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Feb  5 11:30:01 srv4hai meter.sh: SHELLY meter.sh started
Feb  5 11:30:03 srv4hai ping_SP[14313]: SHELLY (0)- ping 192.168.12.61 4 not answered (1) @~1707129003 - 'ping_SP_0'
Feb  5 11:30:19 srv4hai dhcpd[5037]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Feb  5 11:30:19 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Feb  5 11:30:19 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Feb  5 11:30:19 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.61
Feb  5 11:30:19 srv4hai dhcpd[5037]: execute_statement argv[2] = fpThomas
Feb  5 11:30:19 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas'
Feb  5 11:30:19 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Feb  5 11:30:19 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Feb  5 11:30:19 srv4hai named[14530]: client @0x7fc3286d9600 192.168.12.252#56407/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb  5 11:30:19 srv4hai named[14530]: client @0x7fc3080657b0 192.168.12.252#36785/key rndc-key: signer "rndc-key" approved
Feb  5 11:30:19 srv4hai named[14530]: client @0x7fc3080657b0 192.168.12.252#36785/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Feb  5 11:30:19 srv4hai named[14530]: client @0x7fc3080657b0 192.168.12.252#36785/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Feb  5 11:30:19 srv4hai named[14530]: client @0x7fc3080657b0 192.168.12.252#36785/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Feb  5 11:30:19 srv4hai named[14530]: client @0x7fc3080657b0 192.168.12.252#36785/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Feb  5 11:30:19 srv4hai dhcpd[5037]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Feb  5 11:30:19 srv4hai named[14530]: client @0x7fc32865edd0 192.168.12.252#37653/key rndc-key: signer "rndc-key" approved
Feb  5 11:30:19 srv4hai named[14530]: client @0x7fc32865edd0 192.168.12.252#37653/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Feb  5 11:30:19 srv4hai named[14530]: client @0x7fc32865edd0 192.168.12.252#37653/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.
Feb  5 11:30:19 srv4hai dhcpd[5037]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Feb  5 11:30:19 srv4hai ping_SP[15662]: SHELLY ping_SP.sh started from smartphone - trcF:'/srv/www/viehai/shelly/meter/trc_15662.txt'
Feb  5 11:30:19 srv4hai check_presence[15668]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/IP) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Feb  5 11:30:19 srv4hai check_presence[15668]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: welcomeLight
Feb  5 11:30:19 srv4hai trace_events[15685]: SHELLY trace_events.sh inkludiert: TRCF:'/srv/www/viehai/shelly/meter/trace_20240205.txt'
Feb  5 11:30:19 srv4hai activate_scenario[15685]: SHELLY scenario: 'welcomeLight(welcomelight)' started
Feb  5 11:30:19 srv4hai activate_scenario[15685]: SHELLY dayState='day' <--> DayTime=checked NightTime=unchecked - phoneName:'0'

finished