activate_scenario.sh
Mon Apr 14 11:09:02 CEST 2025
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Ü Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2025/04/14/_0.log)

vorher: 11:09:02.201

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: 11:09:02.258
Dauer: 58 msec phName: 'shelly-28:'KÜ Schalter Nasszeile''


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

vorher: 11:09:02.237

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: 11:09:02.279
Dauer: 43 msec phName: 'shelly-28:'KÜ Schalter Nasszeile''


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

urls : 2
vorher : 11:09:02.150
nachher: 11:09:02.292
Dauer : 143 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/04/14//scene_nasszeile_um_20250414_110902.txt'


syslog

Apr 14 11:06:00 srv4hai mqtt_process[31892]: SHELLY - shellyType: 'shelly-PM-mini' not handled for 'shelly-49'/'49-TBD'!!
Apr 14 11:06:01 srv4hai CRON[31920]: (root) CMD (/etc/linetest/linetest.sh)
Apr 14 11:06:26 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=31943, secured, session=
Apr 14 11:06:26 srv4hai dovecot: imap(miglincit)<31943>: Logged out in=2221 out=173945 deleted=0 expunged=0 trashed=0 hdr_count=279 hdr_bytes=94321 body_count=0 body_bytes=0
Apr 14 11:06:38 srv4hai kernel: [90599707.405888] CPU5: Core temperature/speed normal
Apr 14 11:06:38 srv4hai kernel: [90599707.405889] CPU1: Core temperature/speed normal
Apr 14 11:06:42 srv4hai mqtt_process[31958]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 14 11:06:42 srv4hai mqtt_process[31983]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 14 11:07:00 srv4hai mqtt_process[32017]: SHELLY - shellyType: 'shelly-PM-mini' not handled for 'shelly-49'/'49-TBD'!!
Apr 14 11:07:00 srv4hai mqtt_process[32042]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 14 11:07:00 srv4hai mqtt_process[32067]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 14 11:07:01 srv4hai CRON[32095]: (root) CMD (/etc/linetest/linetest.sh)
Apr 14 11:07:34 srv4hai named[30406]: resolver priming query complete
Apr 14 11:07:36 srv4hai named[30406]: resolver priming query complete
Apr 14 11:07:38 srv4hai named[30406]: resolver priming query complete
Apr 14 11:07:41 srv4hai dhcpd[30231]: DHCPDISCOVER from 08:3a:8d:d0:46:5a via enp2s0
Apr 14 11:07:41 srv4hai dhcpd[30231]: DHCPOFFER on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0
Apr 14 11:07:41 srv4hai dhcpd[30231]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Apr 14 11:07:41 srv4hai dhcpd[30231]: execute_statement argv[1] = 192.168.12.5
Apr 14 11:07:41 srv4hai dhcpd[30231]: execute_statement argv[2] = btscan1
Apr 14 11:07:41 srv4hai dhcpd[30231]: DHCPREQUEST for 192.168.12.5 (192.168.12.252) from 08:3a:8d:d0:46:5a via enp2s0
Apr 14 11:07:41 srv4hai dhcpd[30231]: DHCPACK on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0
Apr 14 11:07:41 srv4hai named[30406]: client @0x7f93300d0220 192.168.12.252#53989/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: btscan1.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Apr 14 11:07:41 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.5'(5) device 'btscan1'
Apr 14 11:07:41 srv4hai named[30406]: client @0x7f934809f520 192.168.12.252#44027/key rndc-key: signer "rndc-key" approved
Apr 14 11:07:41 srv4hai named[30406]: client @0x7f934809f520 192.168.12.252#44027/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'btscan1.viehai.at' TXT
Apr 14 11:07:41 srv4hai named[30406]: client @0x7f934809f520 192.168.12.252#44027/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'btscan1.viehai.at' TXT "000118916176265854cff71f762ffe0635"
Apr 14 11:07:41 srv4hai named[30406]: client @0x7f934809f520 192.168.12.252#44027/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'btscan1.viehai.at' A
Apr 14 11:07:41 srv4hai named[30406]: client @0x7f934809f520 192.168.12.252#44027/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'btscan1.viehai.at' A 192.168.12.5
Apr 14 11:07:41 srv4hai dhcpd[30231]: Added new forward map from btscan1.viehai.at to 192.168.12.5
Apr 14 11:07:41 srv4hai named[30406]: client @0x7f933806a720 192.168.12.252#52631/key rndc-key: signer "rndc-key" approved
Apr 14 11:07:41 srv4hai named[30406]: client @0x7f933806a720 192.168.12.252#52631/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '5.12.168.192.in-addr.arpa' PTR
Apr 14 11:07:41 srv4hai named[30406]: client @0x7f933806a720 192.168.12.252#52631/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '5.12.168.192.in-addr.arpa' PTR btscan1.viehai.at.
Apr 14 11:07:41 srv4hai dhcpd[30231]: Added reverse map from 5.12.168.192.in-addr.arpa. to btscan1.viehai.at
Apr 14 11:07:41 srv4hai dhcpcommit.sh: SHELLY device 'btscan1' known and accepted
Apr 14 11:07:42 srv4hai named[30406]: resolver priming query complete
Apr 14 11:07:42 srv4hai mqtt_process[32131]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 14 11:07:42 srv4hai mqtt_process[32156]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 14 11:07:59 srv4hai mqtt_process[32197]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 14 11:07:59 srv4hai mqtt_process[32222]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 14 11:08:00 srv4hai mqtt_process[32247]: SHELLY - shellyType: 'shelly-PM-mini' not handled for 'shelly-49'/'49-TBD'!!
Apr 14 11:08:01 srv4hai CRON[32273]: (root) CMD (/etc/linetest/linetest.sh)
Apr 14 11:08:14 srv4hai named[30406]: resolver priming query complete
Apr 14 11:08:24 srv4hai named[30406]: resolver priming query complete
Apr 14 11:08:37 srv4hai dovecot: imap(miglincit)<28027>: Logged out in=2044560 out=20160014 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr 14 11:08:37 srv4hai dovecot: imap(miglincit)<28022>: Logged out in=13955 out=2976982 deleted=0 expunged=0 trashed=0 hdr_count=20 hdr_bytes=8670 body_count=20 body_bytes=2841780
Apr 14 11:08:37 srv4hai dovecot: imap(miglincit)<28024>: Logged out in=2056946 out=22153918 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr 14 11:08:37 srv4hai dovecot: imap(miglincit)<28025>: Logged out in=2049223 out=21622559 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr 14 11:08:37 srv4hai dovecot: imap(miglincit)<28028>: Logged out in=2057955 out=21124281 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr 14 11:08:40 srv4hai activate_scenario[32305]: SHELLY scenario: 'pcOFF(pcoff)' started
Apr 14 11:08:40 srv4hai activate_scenario[32305]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-0:''
Apr 14 11:08:40 srv4hai activate_scenario[32305]: SHELLY scenario: 'pcOFF(pcoff)' TO BE EXECUTED, shelly-0:''
Apr 14 11:08:40 srv4hai postfix/pickup[25910]: 3D73563463: uid=33 from=
Apr 14 11:08:40 srv4hai postfix/cleanup[32359]: 3D73563463: message-id=<20250414090840.3D73563463@mail.viehai.at>
Apr 14 11:08:40 srv4hai postfix/qmgr[8566]: 3D73563463: from=, size=11726, nrcpt=1 (queue active)
Apr 14 11:08:40 srv4hai postfix/local[32372]: 3D73563463: to=, orig_to=, relay=local, delay=0.05, delays=0.03/0.01/0/0.02, dsn=5.1.1, status=bounced (unknown user: "null")
Apr 14 11:08:40 srv4hai postfix/cleanup[32359]: 471B963464: message-id=<20250414090840.471B963464@mail.viehai.at>
Apr 14 11:08:40 srv4hai postfix/qmgr[8566]: 471B963464: from=<>, size=13608, nrcpt=1 (queue active)
Apr 14 11:08:40 srv4hai postfix/bounce[32373]: 3D73563463: sender non-delivery notification: 471B963464
Apr 14 11:08:40 srv4hai postfix/qmgr[8566]: 3D73563463: removed
Apr 14 11:08:40 srv4hai postfix/local[32372]: 471B963464: to=, relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr 14 11:08:40 srv4hai postfix/qmgr[8566]: 471B963464: removed
Apr 14 11:08:40 srv4hai activate_scenario[32305]: SHELLY: scenario: 'pcOFF(pcoff)'-'shelly-20'-'TB Schreibtischlampe' --> '0?turn=off'
Apr 14 11:08:40 srv4hai proc_url[32378]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2025/04/14/_0.log' - shellyUsage:'TB Schreibtischlampe' - scUrl:'http://192.168.12.120/relay/0?turn=off' - phName:'shelly-0:'''
Apr 14 11:08:40 srv4hai activate_scenario[32305]: SHELLY scenario: 'pcOFF(pcoff)' took 102 msec, shelly-0:''
Apr 14 11:08:42 srv4hai mqtt_process[32406]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 14 11:08:42 srv4hai mqtt_process[32431]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 14 11:08:47 srv4hai bt_scan[32462]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Apr 14 11:08:47 srv4hai bt_scan[32462]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61'
Apr 14 11:08:47 srv4hai ping_SP[32493]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Apr 14 11:08:47 srv4hai common.sh: SHELLY: BTstatus[0]:'NO_BTdweet' dweetAge:''=-
Apr 14 11:08:47 srv4hai check_presence[32514]: 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 14 11:08:47 srv4hai check_presence[32514]: SHELLY (ping_SP__bt_scan_existing_IP)-(0) found '/srv/www/viehai/shelly/meter/ping_SP_0.TRY' for what: 'presence'
Apr 14 11:08:47 srv4hai common.sh: SHELLY: BTstatus[1]:'NO_BTdweet' dweetAge:''=-
Apr 14 11:08:47 srv4hai check_presence[32514]: 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 11:08:47 srv4hai check_presence[32514]: SHELLY (ping_SP__bt_scan_existing_IP)-(0) what: 'presence' - persPresent: '(__/TRY) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Apr 14 11:08:47 srv4hai check_presence[32514]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_pcOFF) - sceneOFF(offAll)
Apr 14 11:08:47 srv4hai check_presence[32514]: SHELLY (ping_SP__bt_scan_existing_IP)-(0)-presence: NOT activate_scenario.shtml: offAll
Apr 14 11:08:47 srv4hai ping_SP[32493]: SHELLY check_presence.sh coming 0 ping_SP__bt_scan
Apr 14 11:08:47 srv4hai ping_SP[32493]: SHELLY - new process for '192.168.12.61' - '/srv/www/viehai/shelly/meter/ping_SP_0' @~1744621727
Apr 14 11:08:59 srv4hai mqtt_process[32614]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 14 11:09:00 srv4hai mqtt_process[32639]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 14 11:09:00 srv4hai mqtt_process[32666]: SHELLY - shellyType: 'shelly-PM-mini' not handled for 'shelly-49'/'49-TBD'!!
Apr 14 11:09:01 srv4hai systemd[1]: Starting Clean php session files...
Apr 14 11:09:01 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Apr 14 11:09:01 srv4hai systemd[1]: Started Clean php session files.
Apr 14 11:09:01 srv4hai CRON[319]: (root) CMD (/etc/linetest/linetest.sh)
Apr 14 11:09:01 srv4hai CRON[320]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Apr 14 11:09:02 srv4hai activate_scenario[325]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' started
Apr 14 11:09:02 srv4hai activate_scenario[325]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-28:'KÜ Schalter Nasszeile'

finished