activate_scenario.sh
Mon Apr 28 09:11:47 CEST 2025
scenario: homeOffice
source: 192.168.12.140

dayState='day' <--> DayTime='checked' NightTime='checked' flag 'execute* set as '
-> execution of scenario

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

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

vorher: 09:11:47.829

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: 09:11:47.868
Dauer: 39 msec phName: 'shelly-40:'TB Licht''


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

vorher: 09:11:47.888

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: 09:11:47.922
Dauer: 34 msec phName: 'shelly-40:'TB Licht''


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

vorher: 09:11:47.907

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: 09:11:47.941
Dauer: 34 msec phName: 'shelly-40:'TB Licht''


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

vorher: 09:11:47.947

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

nachher: 09:11:47.977
Dauer: 30 msec phName: 'shelly-40:'TB Licht''


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

vorher: 09:11:48.005

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

nachher: 09:11:48.042
Dauer: 37 msec phName: 'shelly-40:'TB Licht''


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

vorher: 09:11:48.051

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: 09:11:48.092
Dauer: 41 msec phName: 'shelly-40:'TB Licht''


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

vorher: 09:11:48.076

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: 09:11:48.131
Dauer: 54 msec phName: 'shelly-40:'TB Licht''


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

vorher: 09:11:48.122

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: 09:11:48.291
Dauer: 180 msec phName: 'shelly-40:'TB Licht''


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

vorher: 09:11:48.164

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

nachher: 09:11:48.194
Dauer: 30 msec phName: 'shelly-40:'TB Licht''


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

vorher: 09:11:48.201

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: 09:11:48.296
Dauer: 92 msec phName: 'shelly-40:'TB Licht''


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

vorher: 09:11:48.242

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: 09:11:48.387
Dauer: 145 msec phName: 'shelly-40:'TB Licht''


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

vorher: 09:11:48.280

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: 09:11:48.384
Dauer: 114 msec phName: 'shelly-40:'TB Licht''


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

vorher: 09:11:48.330

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: 09:11:48.384
Dauer: 54 msec phName: 'shelly-40:'TB Licht''


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

vorher: 09:11:48.368

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: 09:11:48.407
Dauer: 39 msec phName: 'shelly-40:'TB Licht''


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

vorher: 09:11:48.420

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: 09:11:48.481
Dauer: 51 msec phName: 'shelly-40:'TB Licht''


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

vorher: 09:11:48.458

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: 09:11:48.491
Dauer: 33 msec phName: 'shelly-40:'TB Licht''


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

vorher: 09:11:48.521

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: 09:11:48.585
Dauer: 63 msec phName: 'shelly-40:'TB Licht''


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

vorher: 09:11:48.559

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: 09:11:48.605
Dauer: 56 msec phName: 'shelly-40:'TB Licht''


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

vorher: 09:11:48.590

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: 09:11:48.634
Dauer: 46 msec phName: 'shelly-40:'TB Licht''


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

vorher: 09:11:48.650

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: 09:11:48.732
Dauer: 83 msec phName: 'shelly-40:'TB Licht''


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

vorher: 09:11:48.669

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: 09:11:48.725
Dauer: 56 msec phName: 'shelly-40:'TB Licht''


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

urls : 21
vorher : 09:11:47.780
nachher: 09:11:48.759
Dauer : 977 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/04/28//scene_homeOffice_20250428_091147.txt'


syslog

Apr 28 09:08:00 srv4hai mqtt_process[19005]: SHELLY - shellyType: 'shelly-PM-mini' not handled for 'shelly-49'/'49-TBD'!!
Apr 28 09:08:01 srv4hai CRON[19031]: (root) CMD (/etc/linetest/linetest.sh)
Apr 28 09:08:13 srv4hai mqtt_process[19037]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 28 09:08:13 srv4hai mqtt_process[19062]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 28 09:09:00 srv4hai mqtt_process[19099]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 28 09:09:00 srv4hai systemd[1]: Starting Clean php session files...
Apr 28 09:09:00 srv4hai mqtt_process[19124]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 28 09:09:00 srv4hai mqtt_process[19152]: SHELLY - shellyType: 'shelly-PM-mini' not handled for 'shelly-49'/'49-TBD'!!
Apr 28 09:09:00 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Apr 28 09:09:00 srv4hai systemd[1]: Started Clean php session files.
Apr 28 09:09:01 srv4hai CRON[19272]: (root) CMD (/etc/linetest/linetest.sh)
Apr 28 09:09:01 srv4hai CRON[19273]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Apr 28 09:09:13 srv4hai mqtt_process[19279]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 28 09:09:13 srv4hai mqtt_process[19304]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 28 09:09:39 srv4hai mosquitto[29419]: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
Apr 28 09:09:59 srv4hai mqtt_process[19340]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 28 09:09:59 srv4hai mqtt_process[19365]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 28 09:10:00 srv4hai mqtt_process[19390]: SHELLY - shellyType: 'shelly-PM-mini' not handled for 'shelly-49'/'49-TBD'!!
Apr 28 09:10:01 srv4hai CRON[19417]: (root) CMD (/etc/linetest/linetest.sh)
Apr 28 09:10:01 srv4hai CRON[19418]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Apr 28 09:10:01 srv4hai meter.sh: SHELLY meter.sh started
Apr 28 09:10:01 srv4hai meter.sh: SHELLY 'shelly-29/KÜ Schalter Herdzeile' - type: 'shelly-i3' ignoring
Apr 28 09:10:02 srv4hai check_shelly.sh: SHELLY last scenery executed: 'offAll'
Apr 28 09:10:02 srv4hai check_shelly.sh: SHELLY found '1' active shelly outputs
Apr 28 09:10:02 srv4hai meter.sh: SHELLY meter.sh ended
Apr 28 09:10:02 srv4hai postfix/pickup[10444]: 1B34163468: uid=33 from=
Apr 28 09:10:02 srv4hai postfix/cleanup[19543]: 1B34163468: message-id=<20250428071002.1B34163468@mail.viehai.at>
Apr 28 09:10:02 srv4hai postfix/qmgr[8566]: 1B34163468: from=, size=663, nrcpt=1 (queue active)
Apr 28 09:10:02 srv4hai postfix/local[19545]: 1B34163468: to=, orig_to=, relay=local, delay=0.04, delays=0.03/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr 28 09:10:02 srv4hai postfix/qmgr[8566]: 1B34163468: removed
Apr 28 09:10:13 srv4hai mqtt_process[19550]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 28 09:10:13 srv4hai mqtt_process[19576]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 28 09:10:16 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=19605, secured, session=<4kJHYNEzXKUAAAAAAAAAAAAAAAAAAAAB>
Apr 28 09:10:16 srv4hai dovecot: imap(miglincit)<19605><4kJHYNEzXKUAAAAAAAAAAAAAAAAAAAAB>: 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 28 09:10:48 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Apr 28 09:10:49 srv4hai fetchmail[1651]: 68598 messages (68598 seen) for tmiglinci at mail.akis.at (1360049924 octets).
Apr 28 09:10:49 srv4hai fetchmail[1651]: 11881 messages (11881 seen) for srozum at mail.akis.at (1398233042 octets).
Apr 28 09:10:50 srv4hai fetchmail[1651]: 30606 messages (30606 seen) for mrozum at mail.akis.at (978454813 octets).
Apr 28 09:10:50 srv4hai fetchmail[1651]: 1169 messages (1169 seen) for admin@bastelstube.wien at pop3.world4you.com (52284237 octets).
Apr 28 09:10:52 srv4hai bt_scan[19613]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Apr 28 09:10:52 srv4hai bt_scan[19613]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61'
Apr 28 09:10:52 srv4hai ping_SP[19644]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Apr 28 09:10:52 srv4hai common.sh: SHELLY: BTstatus[0]:'NO_BTdweet' dweetAge:''=-
Apr 28 09:10:52 srv4hai check_presence[19665]: SHELLY (0) found /srv/www/viehai/shelly/meter/ping_SP_0.TRY and NO_BTdweet//srv/www/viehai/shelly/meter/BTscan_BTid_0.Yes
Apr 28 09:10:52 srv4hai check_presence[19665]: SHELLY (ping_SP__bt_scan_existing_IP)-(0) found '/srv/www/viehai/shelly/meter/ping_SP_0.TRY' for what: 'presence'
Apr 28 09:10:52 srv4hai common.sh: SHELLY: BTstatus[1]:'NO_BTdweet' dweetAge:''=-
Apr 28 09:10:52 srv4hai check_presence[19665]: 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 28 09:10:52 srv4hai check_presence[19665]: SHELLY (ping_SP__bt_scan_existing_IP)-(0) what: 'presence' - persPresent: '(__/TRY) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Apr 28 09:10:52 srv4hai check_presence[19665]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_offAll) - sceneOFF(offAll)
Apr 28 09:10:52 srv4hai check_presence[19665]: SHELLY (ping_SP__bt_scan_existing_IP)-(0)-presence: NOT activate_scenario.shtml: offAll
Apr 28 09:10:52 srv4hai ping_SP[19644]: SHELLY check_presence.sh coming 0 ping_SP__bt_scan
Apr 28 09:10:52 srv4hai ping_SP[19644]: SHELLY - new process for '192.168.12.61' - '/srv/www/viehai/shelly/meter/ping_SP_0' @~1745824252
Apr 28 09:10:59 srv4hai mqtt_process[19761]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 28 09:10:59 srv4hai mqtt_process[19786]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 28 09:11:00 srv4hai mqtt_process[19811]: SHELLY - shellyType: 'shelly-PM-mini' not handled for 'shelly-49'/'49-TBD'!!
Apr 28 09:11:01 srv4hai CRON[19837]: (root) CMD (/etc/linetest/linetest.sh)
Apr 28 09:11:08 srv4hai ping_SP[19644]: SHELLY (0)- ping 192.168.12.61 0 not answered (1) @~1745824268 - 'ping_SP_0'
Apr 28 09:11:13 srv4hai mqtt_process[19855]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 28 09:11:13 srv4hai mqtt_process[19880]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 28 09:11:26 srv4hai dhcpd[30231]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Apr 28 09:11:26 srv4hai dhcpd[30231]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Apr 28 09:11:26 srv4hai dhcpd[30231]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Apr 28 09:11:26 srv4hai dhcpd[30231]: execute_statement argv[1] = 192.168.12.61
Apr 28 09:11:26 srv4hai dhcpd[30231]: execute_statement argv[2] = fpThomas
Apr 28 09:11:35 srv4hai ping_SP[19644]: SHELLY (0)- ping 192.168.12.61 1 not answered (1) @~1745824295 - 'ping_SP_0'
Apr 28 09:11:36 srv4hai kernel: [91802419.629319] CPU6: Package temperature/speed normal
Apr 28 09:11:36 srv4hai kernel: [91802419.629320] CPU4: Package temperature/speed normal
Apr 28 09:11:36 srv4hai kernel: [91802419.629321] CPU2: Package temperature/speed normal
Apr 28 09:11:36 srv4hai kernel: [91802419.629322] CPU7: Package temperature/speed normal
Apr 28 09:11:36 srv4hai kernel: [91802419.629324] CPU5: Package temperature/speed normal
Apr 28 09:11:36 srv4hai kernel: [91802419.629325] CPU1: Package temperature/speed normal
Apr 28 09:11:36 srv4hai kernel: [91802419.629326] CPU0: Package temperature/speed normal
Apr 28 09:11:36 srv4hai kernel: [91802419.629327] CPU3: Package temperature/speed normal
Apr 28 09:11:36 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Apr 28 09:11:36 srv4hai dhcpd[30231]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Apr 28 09:11:36 srv4hai dhcpd[30231]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Apr 28 09:11:36 srv4hai dhcpd[30231]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Apr 28 09:11:36 srv4hai dhcpd[30231]: execute_statement argv[1] = 192.168.12.61
Apr 28 09:11:36 srv4hai dhcpd[30231]: execute_statement argv[2] = fpThomas
Apr 28 09:11:46 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Apr 28 09:11:46 srv4hai dhcpd[30231]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Apr 28 09:11:46 srv4hai dhcpd[30231]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Apr 28 09:11:46 srv4hai dhcpd[30231]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Apr 28 09:11:46 srv4hai dhcpd[30231]: execute_statement argv[1] = 192.168.12.61
Apr 28 09:11:46 srv4hai dhcpd[30231]: execute_statement argv[2] = fpThomas
Apr 28 09:11:46 srv4hai named[30406]: client @0x7f93506df2d0 192.168.12.252#60969/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Apr 28 09:11:47 srv4hai activate_scenario[19986]: SHELLY scenario: 'homeOffice(homeoffice)' started
Apr 28 09:11:47 srv4hai activate_scenario[19986]: SHELLY dayState='day' <--> DayTime='checked' NightTime='checked' flag 'execute* set as ' - shelly-40:'TB Licht'

finished