activate_scenario.sh
Mon Apr 14 12:46:08 CEST 2025
scenario: homeOffice
source: 192.168.12.140

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

scenario: 'Home-Office' - 'homeOffice' - 'homeoffice'

WZ Licht Esstisch (/srv/www/viehai/shelly/log_scenarios/2025/04/14/_0.log)

vorher: 12:46:08.779

http://192.168.12.101/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started_at": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 12:46:08.802
Dauer: 23 msec phName: 'shelly-40:'TB Licht''


Balkon Licht (/srv/www/viehai/shelly/log_scenarios/2025/04/14/_1.log)

vorher: 12:46:08.812

http://192.168.12.102/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "overpower": false,
  "source": "http"

nachher: 12:46:09.079
Dauer: 267 msec phName: 'shelly-40:'TB Licht''


VZ Licht (/srv/www/viehai/shelly/log_scenarios/2025/04/14/_2.log)

vorher: 12:46:08.854

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

nachher: 12:46:08.885
Dauer: 31 msec phName: 'shelly-40:'TB Licht''


WZ Stehlampe hell (/srv/www/viehai/shelly/log_scenarios/2025/04/14/_3.log)

vorher: 12:46:08.894

http://192.168.12.105/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 12:46:08.927
Dauer: 33 msec phName: 'shelly-40:'TB Licht''


WZ Licht Fernsehlampe klein (/srv/www/viehai/shelly/log_scenarios/2025/04/14/_4.log)

vorher: 12:46:08.939

http://192.168.12.106/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 12:46:08.971
Dauer: 32 msec phName: 'shelly-40:'TB Licht''


SZ Nachtkästchen Thomas (/srv/www/viehai/shelly/log_scenarios/2025/04/14/_5.log)

vorher: 12:46:08.982

http://192.168.12.107/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 12:46:09.038
Dauer: 56 msec phName: 'shelly-40:'TB Licht''


TB Regallicht (/srv/www/viehai/shelly/log_scenarios/2025/04/14/_6.log)

vorher: 12:46:09.026

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

nachher: 12:46:09.082
Dauer: 55 msec phName: 'shelly-40:'TB Licht''


GB Licht (/srv/www/viehai/shelly/log_scenarios/2025/04/14/_7.log)

vorher: 12:46:09.069

http://192.168.12.109/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 12:46:09.128
Dauer: 59 msec phName: 'shelly-40:'TB Licht''


WZ Licht Bücherregal (/srv/www/viehai/shelly/log_scenarios/2025/04/14/_8.log)

vorher: 12:46:09.118

http://192.168.12.110/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 12:46:09.233
Dauer: 116 msec phName: 'shelly-40:'TB Licht''


SZ Licht (/srv/www/viehai/shelly/log_scenarios/2025/04/14/_9.log)

vorher: 12:46:09.164

http://192.168.12.112/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 12:46:09.230
Dauer: 66 msec phName: 'shelly-40:'TB Licht''


KÜ Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2025/04/14/_10.log)

vorher: 12:46:09.205

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": 0,
  "overpower": false

nachher: 12:46:09.348
Dauer: 147 msec phName: 'shelly-40:'TB Licht''


KÜ Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2025/04/14/_11.log)

vorher: 12:46:09.238

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": 0,
  "overpower": false

nachher: 12:46:09.354
Dauer: 100 msec phName: 'shelly-40:'TB Licht''


KÜ Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2025/04/14/_12.log)

vorher: 12:46:09.296

http://192.168.12.117/white/0?turn=off&brightness=50
  "ison": false,
  "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: 12:46:09.327
Dauer: 31 msec phName: 'shelly-40:'TB Licht''


KÜ Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2025/04/14/_13.log)

vorher: 12:46:09.336

http://192.168.12.117/white/1?turn=off&brightness=50
  "ison": false,
  "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: 12:46:09.381
Dauer: 45 msec phName: 'shelly-40:'TB Licht''


GB Fernsehlampe (/srv/www/viehai/shelly/log_scenarios/2025/04/14/_14.log)

vorher: 12:46:09.396

http://192.168.12.119/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 12:46:09.581
Dauer: 188 msec phName: 'shelly-40:'TB Licht''


WZ Licht Sofa (/srv/www/viehai/shelly/log_scenarios/2025/04/14/_15.log)

vorher: 12:46:09.436

http://192.168.12.123/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 12:46:09.529
Dauer: 92 msec phName: 'shelly-40:'TB Licht''


Empore Licht (/srv/www/viehai/shelly/log_scenarios/2025/04/14/_16.log)

vorher: 12:46:09.479

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

nachher: 12:46:09.570
Dauer: 93 msec phName: 'shelly-40:'TB Licht''


KÜ Licht (/srv/www/viehai/shelly/log_scenarios/2025/04/14/_17.log)

vorher: 12:46:09.517

http://192.168.12.125/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 12:46:09.569
Dauer: 52 msec phName: 'shelly-40:'TB Licht''


TB Licht (/srv/www/viehai/shelly/log_scenarios/2025/04/14/_18.log)

vorher: 12:46:09.557

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

nachher: 12:46:09.595
Dauer: 38 msec phName: 'shelly-40:'TB Licht''


WZ ovale Lampe (/srv/www/viehai/shelly/log_scenarios/2025/04/14/_19.log)

vorher: 12:46:09.602

http://192.168.12.152/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started_at": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 12:46:09.626
Dauer: 30 msec phName: 'shelly-40:'TB Licht''


GB Schreibtischlampe rechts (/srv/www/viehai/shelly/log_scenarios/2025/04/14/_20.log)

vorher: 12:46:09.642

http://192.168.12.155/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started_at": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 12:46:09.673
Dauer: 31 msec phName: 'shelly-40:'TB Licht''


scenario: 'Home-Office' - 'homeOffice' - 'homeoffice'

urls : 21
vorher : 12:46:08.724
nachher: 12:46:09.705
Dauer : 981 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/04/14//scene_homeOffice_20250414_124608.txt'


syslog

Apr 14 12:43:00 srv4hai mqtt_process[22833]: SHELLY - shellyType: 'shelly-PM-mini' not handled for 'shelly-49'/'49-TBD'!!
Apr 14 12:43:00 srv4hai mqtt_process[22858]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 14 12:43:00 srv4hai mqtt_process[22883]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 14 12:43:01 srv4hai CRON[22910]: (root) CMD (/etc/linetest/linetest.sh)
Apr 14 12:43:42 srv4hai mqtt_process[22922]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 14 12:43:42 srv4hai mqtt_process[22947]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 14 12:44:00 srv4hai mqtt_process[22973]: SHELLY - shellyType: 'shelly-PM-mini' not handled for 'shelly-49'/'49-TBD'!!
Apr 14 12:44:00 srv4hai mqtt_process[22998]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 14 12:44:00 srv4hai mqtt_process[23023]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 14 12:44:01 srv4hai CRON[23050]: (root) CMD (/etc/linetest/linetest.sh)
Apr 14 12:44:18 srv4hai nmbd[2172]: [2025/04/14 12:44:18.924770,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Apr 14 12:44:18 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Apr 14 12:44:18 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Apr 14 12:44:18 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Apr 14 12:44:35 srv4hai dhcpd[30231]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Apr 14 12:44:35 srv4hai dhcpd[30231]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Apr 14 12:44:35 srv4hai dhcpd[30231]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Apr 14 12:44:35 srv4hai dhcpd[30231]: execute_statement argv[1] = 192.168.12.61
Apr 14 12:44:35 srv4hai dhcpd[30231]: execute_statement argv[2] = fpThomas
Apr 14 12:44:35 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Apr 14 12:44:35 srv4hai dhcpd[30231]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Apr 14 12:44:35 srv4hai dhcpd[30231]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Apr 14 12:44:35 srv4hai named[30406]: client @0x7f93100d29e0 192.168.12.252#57109/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Apr 14 12:44:35 srv4hai named[30406]: client @0x7f933805ba90 192.168.12.252#50081/key rndc-key: signer "rndc-key" approved
Apr 14 12:44:35 srv4hai named[30406]: client @0x7f933805ba90 192.168.12.252#50081/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Apr 14 12:44:35 srv4hai named[30406]: client @0x7f933805ba90 192.168.12.252#50081/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Apr 14 12:44:35 srv4hai named[30406]: client @0x7f933805ba90 192.168.12.252#50081/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Apr 14 12:44:35 srv4hai named[30406]: client @0x7f933805ba90 192.168.12.252#50081/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Apr 14 12:44:35 srv4hai dhcpd[30231]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Apr 14 12:44:35 srv4hai named[30406]: client @0x7f93501490e0 192.168.12.252#39373/key rndc-key: signer "rndc-key" approved
Apr 14 12:44:35 srv4hai named[30406]: client @0x7f93501490e0 192.168.12.252#39373/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Apr 14 12:44:35 srv4hai named[30406]: client @0x7f93501490e0 192.168.12.252#39373/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 14 12:44:35 srv4hai dhcpd[30231]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Apr 14 12:44:35 srv4hai ping_SP[23079]: SHELLY ping_SP.sh started from smartphone, user:'root'
Apr 14 12:44:42 srv4hai mqtt_process[23114]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 14 12:44:42 srv4hai mqtt_process[23139]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 14 12:44:45 srv4hai common.sh: SHELLY: BTstatus[0]:'NO_BTdweet' dweetAge:''=-
Apr 14 12:44:45 srv4hai check_presence[23174]: SHELLY (0) found /srv/www/viehai/shelly/meter/ping_SP_0.LIVE and NO_BTdweet//srv/www/viehai/shelly/meter/BTscan_BTid_0.No
Apr 14 12:44:45 srv4hai check_presence[23174]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly/meter/ping_SP_0.LIVE' for what: 'coming'
Apr 14 12:44:45 srv4hai common.sh: SHELLY: BTstatus[1]:'NO_BTdweet' dweetAge:''=-
Apr 14 12:44:45 srv4hai check_presence[23174]: SHELLY (1) found /srv/www/viehai/shelly/meter/ping_SP_1.DEAD and NO_BTdweet//srv/www/viehai/shelly/meter/BTscan_BTid_1.No
Apr 14 12:44:45 srv4hai check_presence[23174]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Apr 14 12:44:45 srv4hai bt_scan[23101]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Apr 14 12:44:45 srv4hai bt_scan[23101]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Apr 14 12:44:46 srv4hai check_presence[23174]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_offAll) - sceneONsmall(vorraumOn)
Apr 14 12:44:46 srv4hai check_presence[23174]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn
Apr 14 12:44:46 srv4hai activate_scenario[23280]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Apr 14 12:44:46 srv4hai activate_scenario[23280]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'
Apr 14 12:44:46 srv4hai activate_scenario[23280]: SHELLY scenario: 'vorraumOn(vorraumon)' TO BE EXECUTED, phoneName:'0'
Apr 14 12:44:46 srv4hai postfix/pickup[14003]: 2A9EB63463: uid=33 from=
Apr 14 12:44:46 srv4hai postfix/cleanup[23331]: 2A9EB63463: message-id=<20250414104446.2A9EB63463@mail.viehai.at>
Apr 14 12:44:46 srv4hai postfix/qmgr[8566]: 2A9EB63463: from=, size=10953, nrcpt=1 (queue active)
Apr 14 12:44:46 srv4hai activate_scenario[23280]: SHELLY: scenario: 'vorraumOn(vorraumon)'-'shelly-03'-'VZ Licht' --> '0?turn=on'
Apr 14 12:44:46 srv4hai proc_url[23348]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2025/04/14/_0.log' - shellyUsage:'VZ Licht' - scUrl:'http://192.168.12.103/relay/0?turn=on' - phName:'phoneName:'0''
Apr 14 12:44:46 srv4hai activate_scenario[23280]: SHELLY scenario: 'vorraumOn(vorraumon)' took 92 msec, phoneName:'0'
Apr 14 12:44:46 srv4hai ping_SP[23079]: SHELLY check_presence.sh coming 0 ping_SP__smartphone
Apr 14 12:44:47 srv4hai postfix/relay/smtp[23344]: 2A9EB63463: to=, relay=mx03.nic.name[209.131.161.54]:25, delay=0.84, delays=0.03/0.01/0.55/0.25, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as C8BBA602E3)
Apr 14 12:44:47 srv4hai postfix/qmgr[8566]: 2A9EB63463: removed
Apr 14 12:44:48 srv4hai ping_SP[23079]: SHELLY - new process for '192.168.12.61' - '/srv/www/viehai/shelly/meter/ping_SP_0' @~1744627488
Apr 14 12:45:00 srv4hai mqtt_process[23389]: SHELLY - shellyType: 'shelly-PM-mini' not handled for 'shelly-49'/'49-TBD'!!
Apr 14 12:45:00 srv4hai mqtt_process[23414]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 14 12:45:00 srv4hai mqtt_process[23439]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 14 12:45:01 srv4hai ping_SP[23079]: SHELLY (0) - ping 192.168.12.61 0 sucessfully  @~1744627501 - 'ping_SP_0'
Apr 14 12:45:01 srv4hai ping_SP[23079]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 14 12:45:01 srv4hai CRON[23479]: (root) CMD (/etc/linetest/linetest.sh)
Apr 14 12:45:14 srv4hai kernel: [90605623.393820] CPU1: Package temperature/speed normal
Apr 14 12:45:14 srv4hai kernel: [90605623.393821] CPU6: Package temperature/speed normal
Apr 14 12:45:14 srv4hai kernel: [90605623.393822] CPU4: Package temperature/speed normal
Apr 14 12:45:14 srv4hai kernel: [90605623.393823] CPU0: Package temperature/speed normal
Apr 14 12:45:14 srv4hai kernel: [90605623.393824] CPU7: Package temperature/speed normal
Apr 14 12:45:14 srv4hai kernel: [90605623.393825] CPU3: Package temperature/speed normal
Apr 14 12:45:14 srv4hai kernel: [90605623.393827] CPU5: Package temperature/speed normal
Apr 14 12:45:14 srv4hai kernel: [90605623.393827] CPU2: Package temperature/speed normal
Apr 14 12:45:26 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=23492, secured, session=
Apr 14 12:45:26 srv4hai dovecot: imap(miglincit)<23492>: Logged out in=1836 out=1337 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr 14 12:45:42 srv4hai mqtt_process[23496]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 14 12:45:42 srv4hai mqtt_process[23521]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 14 12:45:54 srv4hai mqtt_process[23547]: SHELLY shMqtt:'shelly1minig3-cc8da26052b8'/'WZ Licht Esstisch' - btn: '{btn}' ignored and  discarded !!
Apr 14 12:46:00 srv4hai mqtt_process[23575]: SHELLY - shellyType: 'shelly-PM-mini' not handled for 'shelly-49'/'49-TBD'!!
Apr 14 12:46:00 srv4hai mqtt_process[23600]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 14 12:46:00 srv4hai mqtt_process[23625]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 14 12:46:01 srv4hai CRON[23653]: (root) CMD (/etc/linetest/linetest.sh)
Apr 14 12:46:08 srv4hai activate_scenario[23663]: SHELLY scenario: 'homeOffice(homeoffice)' started
Apr 14 12:46:08 srv4hai activate_scenario[23663]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht'

finished