activate_scenario.sh
Fri Feb 28 18:32:42 CET 2025
scenario: pcON
origin: dhcpcommit.sh-pchai7x

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

scenario: 'Schreibtisch Thomas EIN-schalten' - 'pcON' - 'pcon'

TB Schreibtischlampe (/srv/www/viehai/shelly/log_scenarios/2025/02/28/_0.log)

vorher: 18:32:42.615

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

nachher: 18:32:42.648
Dauer: 33 msec phName: 'origin:'dhcpcommit.sh-pchai7x''


scenario: 'Schreibtisch Thomas EIN-schalten' - 'pcON' - 'pcon'

urls : 1
vorher : 18:32:42.563
nachher: 18:32:42.660
Dauer : 97 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/02/28//scene_pcON_20250228_183242.txt'


syslog

Feb 28 18:29:00 srv4hai common[10318]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 28 18:29:00 srv4hai common[10342]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 28 18:29:01 srv4hai CRON[10367]: (root) CMD (/etc/linetest/linetest.sh)
Feb 28 18:29:15 srv4hai common[10372]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 28 18:29:15 srv4hai common[10396]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 28 18:29:19 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=10422, secured, session=
Feb 28 18:29:19 srv4hai dovecot: imap(miglincit)<10422>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 28 18:29:46 srv4hai postfix/anvil[9967]: statistics: max connection rate 1/60s for (smtp:86.54.42.143) at Feb 28 18:26:25
Feb 28 18:29:46 srv4hai postfix/anvil[9967]: statistics: max connection count 1 for (smtp:86.54.42.143) at Feb 28 18:26:25
Feb 28 18:29:46 srv4hai postfix/anvil[9967]: statistics: max cache size 1 at Feb 28 18:26:25
Feb 28 18:29:59 srv4hai common[10435]: SHELLY common.sh inkludiert von ./bt_scan.sh
Feb 28 18:30:00 srv4hai common[10448]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 28 18:30:00 srv4hai common[10472]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 28 18:30:00 srv4hai common[10496]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 28 18:30:01 srv4hai CRON[10524]: (root) CMD ([ -x /etc/init.d/anacron ] && if [ ! -d /run/systemd/system ]; then /usr/sbin/invoke-rc.d anacron start >/dev/null; fi)
Feb 28 18:30:01 srv4hai CRON[10523]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Feb 28 18:30:01 srv4hai CRON[10525]: (root) CMD (/etc/linetest/linetest.sh)
Feb 28 18:30:01 srv4hai common[10526]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Feb 28 18:30:01 srv4hai meter.sh: SHELLY meter.sh started
Feb 28 18:30:01 srv4hai meter.sh: SHELLY 'shelly-29/KÜ Schalter Herdzeile' - type: 'shelly-i3' ignoring
Feb 28 18:30:01 srv4hai common[10626]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Feb 28 18:30:01 srv4hai check_shelly.sh: SHELLY last scenery executed: 'offAll'
Feb 28 18:30:01 srv4hai check_shelly.sh: SHELLY found '1' active shelly outputs
Feb 28 18:30:01 srv4hai meter.sh: SHELLY meter.sh ended
Feb 28 18:30:01 srv4hai postfix/pickup[32037]: EC31663463: uid=33 from=
Feb 28 18:30:01 srv4hai postfix/cleanup[10651]: EC31663463: message-id=<20250228173001.EC31663463@mail.viehai.at>
Feb 28 18:30:01 srv4hai postfix/qmgr[8566]: EC31663463: from=, size=661, nrcpt=1 (queue active)
Feb 28 18:30:01 srv4hai postfix/local[10653]: EC31663463: 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)
Feb 28 18:30:01 srv4hai postfix/qmgr[8566]: EC31663463: removed
Feb 28 18:30:07 srv4hai ping_SP[9292]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1740763807 - 'ping_SP_0'
Feb 28 18:30:07 srv4hai ping_SP[9292]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 28 18:30:09 srv4hai bt_scan[10435]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Feb 28 18:30:09 srv4hai bt_scan[10435]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Feb 28 18:30:09 srv4hai common[10688]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Feb 28 18:30:10 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1740763810-1740763800
Feb 28 18:30:10 srv4hai check_presence[10688]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Feb 28 18:30:10 srv4hai check_presence[10688]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Feb 28 18:30:10 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'10'=1740763810-1740763800
Feb 28 18:30:10 srv4hai check_presence[10688]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Feb 28 18:30:10 srv4hai check_presence[10688]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Feb 28 18:30:10 srv4hai check_presence[10688]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_offAll) - sceneOFF(offAll)
Feb 28 18:30:10 srv4hai check_presence[10688]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Feb 28 18:30:15 srv4hai common[10803]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 28 18:30:15 srv4hai common[10827]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 28 18:30:25 srv4hai systemd[1]: Started Run anacron jobs.
Feb 28 18:30:25 srv4hai anacron[10853]: Anacron 2.3 started on 2025-02-28
Feb 28 18:30:25 srv4hai anacron[10853]: Normal exit (0 jobs run)
Feb 28 18:30:25 srv4hai systemd[1]: anacron.service: Succeeded.
Feb 28 18:30:46 srv4hai activate_scenario[10858]: SHELLY scenario: 'buero_UM(buero_um)' started
Feb 28 18:30:46 srv4hai activate_scenario[10858]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht'
Feb 28 18:30:46 srv4hai activate_scenario[10858]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'TB Licht'
Feb 28 18:30:47 srv4hai postfix/pickup[32037]: 0354063463: uid=33 from=
Feb 28 18:30:47 srv4hai postfix/cleanup[10651]: 0354063463: message-id=<20250228173047.0354063463@mail.viehai.at>
Feb 28 18:30:47 srv4hai postfix/qmgr[8566]: 0354063463: from=, size=9569, nrcpt=1 (queue active)
Feb 28 18:30:47 srv4hai postfix/local[10653]: 0354063463: to=, orig_to=, relay=local, delay=0.03, delays=0.01/0/0/0.02, dsn=5.1.1, status=bounced (unknown user: "null")
Feb 28 18:30:47 srv4hai postfix/cleanup[10651]: 0916263464: message-id=<20250228173047.0916263464@mail.viehai.at>
Feb 28 18:30:47 srv4hai postfix/bounce[10915]: 0354063463: sender non-delivery notification: 0916263464
Feb 28 18:30:47 srv4hai postfix/qmgr[8566]: 0916263464: from=<>, size=11448, nrcpt=1 (queue active)
Feb 28 18:30:47 srv4hai postfix/qmgr[8566]: 0354063463: removed
Feb 28 18:30:47 srv4hai postfix/local[10653]: 0916263464: to=, relay=local, delay=0.02, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Feb 28 18:30:47 srv4hai postfix/qmgr[8566]: 0916263464: removed
Feb 28 18:30:47 srv4hai activate_scenario[10858]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'TB Regallicht' --> '0?turn=toggle'
Feb 28 18:30:47 srv4hai proc_url[10928]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2025/02/28/_0.log' - shellyUsage:'TB Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=toggle' - phName:'shelly-40:'TB Licht''
Feb 28 18:30:47 srv4hai activate_scenario[10858]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'TB Licht' --> '0?turn=toggle'
Feb 28 18:30:47 srv4hai proc_url[10939]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2025/02/28/_1.log' - shellyUsage:'TB Licht' - scUrl:'http://192.168.12.140/relay/0?turn=toggle' - phName:'shelly-40:'TB Licht''
Feb 28 18:30:47 srv4hai activate_scenario[10858]: SHELLY scenario: 'buero_UM(buero_um)' took 189 msec, shelly-40:'TB Licht'
Feb 28 18:31:00 srv4hai common[10982]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 28 18:31:00 srv4hai common[11006]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 28 18:31:00 srv4hai common[11030]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 28 18:31:01 srv4hai CRON[11055]: (root) CMD (/etc/linetest/linetest.sh)
Feb 28 18:31:15 srv4hai common[11068]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 28 18:31:15 srv4hai common[11093]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 28 18:31:20 srv4hai ping_SP[9292]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1740763880 - 'ping_SP_0'
Feb 28 18:31:20 srv4hai ping_SP[9292]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 28 18:32:00 srv4hai common[11144]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 28 18:32:00 srv4hai common[11168]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 28 18:32:00 srv4hai common[11192]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 28 18:32:01 srv4hai CRON[11217]: (root) CMD (/etc/linetest/linetest.sh)
Feb 28 18:32:12 srv4hai kernel: [86741995.144468] CPU4: Package temperature above threshold, cpu clock throttled (total events = 108680077)
Feb 28 18:32:12 srv4hai kernel: [86741995.144470] CPU3: Package temperature above threshold, cpu clock throttled (total events = 108680077)
Feb 28 18:32:12 srv4hai kernel: [86741995.144471] CPU5: Package temperature above threshold, cpu clock throttled (total events = 108680077)
Feb 28 18:32:12 srv4hai kernel: [86741995.144472] CPU7: Package temperature above threshold, cpu clock throttled (total events = 108680077)
Feb 28 18:32:12 srv4hai kernel: [86741995.144474] CPU6: Package temperature above threshold, cpu clock throttled (total events = 108680077)
Feb 28 18:32:12 srv4hai kernel: [86741995.144475] CPU2: Package temperature above threshold, cpu clock throttled (total events = 108680077)
Feb 28 18:32:12 srv4hai kernel: [86741995.144476] CPU0: Package temperature above threshold, cpu clock throttled (total events = 108680077)
Feb 28 18:32:12 srv4hai kernel: [86741995.144477] CPU1: Package temperature above threshold, cpu clock throttled (total events = 108680077)
Feb 28 18:32:15 srv4hai common[11223]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 28 18:32:15 srv4hai common[11247]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 28 18:32:19 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=11273, secured, session=
Feb 28 18:32:19 srv4hai dovecot: imap(miglincit)<11273>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 28 18:32:33 srv4hai ping_SP[9292]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1740763953 - 'ping_SP_0'
Feb 28 18:32:33 srv4hai ping_SP[9292]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 28 18:32:42 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Feb 28 18:32:42 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.10
Feb 28 18:32:42 srv4hai dhcpd[4995]: execute_statement argv[2] = pchai7x
Feb 28 18:32:42 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.10 from 70:54:d2:7b:fe:a7 via enp2s0
Feb 28 18:32:42 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.10 to 70:54:d2:7b:fe:a7 via enp2s0
Feb 28 18:32:42 srv4hai named[30406]: client @0x7f931c03b370 192.168.12.252#35253/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: pchai7x.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 28 18:32:42 srv4hai named[30406]: client @0x7f9338022410 192.168.12.252#47929/key rndc-key: signer "rndc-key" approved
Feb 28 18:32:42 srv4hai named[30406]: client @0x7f9338022410 192.168.12.252#47929/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' TXT
Feb 28 18:32:42 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.10'(10) device 'pchai7x'
Feb 28 18:32:42 srv4hai named[30406]: client @0x7f9338022410 192.168.12.252#47929/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' TXT "001e3ad86ca86e10b8e2aaf2e2ade54f52"
Feb 28 18:32:42 srv4hai named[30406]: client @0x7f9338022410 192.168.12.252#47929/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' A
Feb 28 18:32:42 srv4hai named[30406]: client @0x7f9338022410 192.168.12.252#47929/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' A 192.168.12.10
Feb 28 18:32:42 srv4hai dhcpd[4995]: Added new forward map from pchai7x.viehai.at to 192.168.12.10
Feb 28 18:32:42 srv4hai named[30406]: client @0x7f932c079890 192.168.12.252#59659/key rndc-key: signer "rndc-key" approved
Feb 28 18:32:42 srv4hai named[30406]: client @0x7f932c079890 192.168.12.252#59659/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '10.12.168.192.in-addr.arpa' PTR
Feb 28 18:32:42 srv4hai named[30406]: client @0x7f932c079890 192.168.12.252#59659/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '10.12.168.192.in-addr.arpa' PTR pchai7x.viehai.at.
Feb 28 18:32:42 srv4hai dhcpd[4995]: Added reverse map from 10.12.168.192.in-addr.arpa. to pchai7x.viehai.at
Feb 28 18:32:42 srv4hai activate_scenario[11300]: SHELLY scenario: 'pcON(pcon)' started
Feb 28 18:32:42 srv4hai activate_scenario[11300]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - origin:'dhcpcommit.sh-pchai7x'

finished