activate_scenario.sh
Sat Mar 1 18:54:56 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/03/01/_0.log)

vorher: 18:54:56.161

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:54:56.264
Dauer: 103 msec phName: 'origin:'dhcpcommit.sh-pchai7x''


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

urls : 1
vorher : 18:54:56.101
nachher: 18:54:56.276
Dauer : 176 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/03/01//scene_pcON_20250301_185456.txt'


syslog

Mar  1 18:51:00 srv4hai common[25478]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Mar  1 18:51:00 srv4hai common[25502]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Mar  1 18:51:01 srv4hai CRON[25527]: (root) CMD (/etc/linetest/linetest.sh)
Mar  1 18:51:03 srv4hai ping_SP[4027]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1740851463 - 'ping_SP_1'
Mar  1 18:51:03 srv4hai ping_SP[4027]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Mar  1 18:51:13 srv4hai common[25546]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Mar  1 18:51:13 srv4hai common[25570]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Mar  1 18:51:41 srv4hai ping_SP[30688]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1740851501 - 'ping_SP_0'
Mar  1 18:51:41 srv4hai ping_SP[30688]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar  1 18:51:59 srv4hai common[25626]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Mar  1 18:51:59 srv4hai common[25651]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Mar  1 18:52:00 srv4hai common[25676]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Mar  1 18:52:01 srv4hai CRON[25701]: (root) CMD (/etc/linetest/linetest.sh)
Mar  1 18:52:13 srv4hai common[25713]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Mar  1 18:52:13 srv4hai common[25737]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Mar  1 18:52:16 srv4hai kernel: [86829600.324610] CPU4: Package temperature above threshold, cpu clock throttled (total events = 123799938)
Mar  1 18:52:16 srv4hai kernel: [86829600.324611] CPU5: Package temperature above threshold, cpu clock throttled (total events = 123799938)
Mar  1 18:52:16 srv4hai kernel: [86829600.324613] CPU6: Package temperature above threshold, cpu clock throttled (total events = 123799938)
Mar  1 18:52:16 srv4hai kernel: [86829600.324614] CPU3: Package temperature above threshold, cpu clock throttled (total events = 123799938)
Mar  1 18:52:16 srv4hai kernel: [86829600.324615] CPU2: Package temperature above threshold, cpu clock throttled (total events = 123799938)
Mar  1 18:52:16 srv4hai kernel: [86829600.324616] CPU7: Package temperature above threshold, cpu clock throttled (total events = 123799938)
Mar  1 18:52:16 srv4hai kernel: [86829600.324617] CPU0: Package temperature above threshold, cpu clock throttled (total events = 123799938)
Mar  1 18:52:16 srv4hai kernel: [86829600.324619] CPU1: Package temperature above threshold, cpu clock throttled (total events = 123799938)
Mar  1 18:52:16 srv4hai kernel: [86829600.325630] CPU4: Package temperature/speed normal
Mar  1 18:52:16 srv4hai kernel: [86829600.325631] CPU3: Package temperature/speed normal
Mar  1 18:52:16 srv4hai kernel: [86829600.325632] CPU6: Package temperature/speed normal
Mar  1 18:52:16 srv4hai kernel: [86829600.325633] CPU7: Package temperature/speed normal
Mar  1 18:52:16 srv4hai kernel: [86829600.325634] CPU2: Package temperature/speed normal
Mar  1 18:52:16 srv4hai kernel: [86829600.325635] CPU5: Package temperature/speed normal
Mar  1 18:52:16 srv4hai kernel: [86829600.325636] CPU0: Package temperature/speed normal
Mar  1 18:52:16 srv4hai kernel: [86829600.325637] CPU1: Package temperature/speed normal
Mar  1 18:52:16 srv4hai ping_SP[4027]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1740851536 - 'ping_SP_1'
Mar  1 18:52:16 srv4hai ping_SP[4027]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Mar  1 18:52:51 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Mar  1 18:52:52 srv4hai fetchmail[1651]: 64748 messages (64748 seen) for tmiglinci at mail.akis.at (1000021740 octets).
Mar  1 18:52:53 srv4hai fetchmail[1651]: 11612 messages (11612 seen) for srozum at mail.akis.at (1375331880 octets).
Mar  1 18:52:53 srv4hai fetchmail[1651]: 29278 messages (29278 seen) for mrozum at mail.akis.at (733812837 octets).
Mar  1 18:52:54 srv4hai fetchmail[1651]: 1164 messages (1164 seen) for admin@bastelstube.wien at pop3.world4you.com (52226354 octets).
Mar  1 18:52:54 srv4hai ping_SP[30688]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1740851574 - 'ping_SP_0'
Mar  1 18:52:54 srv4hai ping_SP[30688]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar  1 18:52:59 srv4hai common[25804]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Mar  1 18:53:00 srv4hai common[25828]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Mar  1 18:53:00 srv4hai common[25852]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Mar  1 18:53:01 srv4hai CRON[25877]: (root) CMD (/etc/linetest/linetest.sh)
Mar  1 18:53:08 srv4hai activate_scenario[25883]: SHELLY scenario: 'buero_UM(buero_um)' started
Mar  1 18:53:08 srv4hai activate_scenario[25883]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht'
Mar  1 18:53:09 srv4hai activate_scenario[25883]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'TB Licht'
Mar  1 18:53:09 srv4hai postfix/pickup[4166]: 0836263463: uid=33 from=
Mar  1 18:53:09 srv4hai postfix/cleanup[25937]: 0836263463: message-id=<20250301175309.0836263463@mail.viehai.at>
Mar  1 18:53:09 srv4hai postfix/qmgr[8566]: 0836263463: from=, size=8216, nrcpt=1 (queue active)
Mar  1 18:53:09 srv4hai postfix/local[25950]: 0836263463: to=, orig_to=, relay=local, delay=0.06, delays=0.03/0.01/0/0.02, dsn=5.1.1, status=bounced (unknown user: "null")
Mar  1 18:53:09 srv4hai postfix/cleanup[25937]: 12D3263464: message-id=<20250301175309.12D3263464@mail.viehai.at>
Mar  1 18:53:09 srv4hai activate_scenario[25883]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'TB Regallicht' --> '0?turn=toggle'
Mar  1 18:53:09 srv4hai postfix/qmgr[8566]: 12D3263464: from=<>, size=10095, nrcpt=1 (queue active)
Mar  1 18:53:09 srv4hai postfix/bounce[25951]: 0836263463: sender non-delivery notification: 12D3263464
Mar  1 18:53:09 srv4hai postfix/qmgr[8566]: 0836263463: removed
Mar  1 18:53:09 srv4hai proc_url[25957]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2025/03/01/_0.log' - shellyUsage:'TB Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=toggle' - phName:'shelly-40:'TB Licht''
Mar  1 18:53:09 srv4hai postfix/local[25950]: 12D3263464: to=, relay=local, delay=0.03, delays=0.01/0/0/0.03, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Mar  1 18:53:09 srv4hai postfix/qmgr[8566]: 12D3263464: removed
Mar  1 18:53:09 srv4hai activate_scenario[25883]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'TB Licht' --> '0?turn=toggle'
Mar  1 18:53:09 srv4hai proc_url[25969]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2025/03/01/_1.log' - shellyUsage:'TB Licht' - scUrl:'http://192.168.12.140/relay/0?turn=toggle' - phName:'shelly-40:'TB Licht''
Mar  1 18:53:09 srv4hai activate_scenario[25883]: SHELLY scenario: 'buero_UM(buero_um)' took 153 msec, shelly-40:'TB Licht'
Mar  1 18:53:13 srv4hai common[26009]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Mar  1 18:53:13 srv4hai common[26033]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Mar  1 18:53:19 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=26061, secured, session=
Mar  1 18:53:19 srv4hai dovecot: imap(miglincit)<26061>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar  1 18:53:30 srv4hai ping_SP[4027]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1740851610 - 'ping_SP_1'
Mar  1 18:53:30 srv4hai ping_SP[4027]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Mar  1 18:53:38 srv4hai mosquitto[29419]: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
Mar  1 18:53:40 srv4hai kernel: [86829684.980665] CPU5: Core temperature above threshold, cpu clock throttled (total events = 102265798)
Mar  1 18:53:40 srv4hai kernel: [86829684.980666] CPU1: Core temperature above threshold, cpu clock throttled (total events = 102265798)
Mar  1 18:53:51 srv4hai postfix/anvil[24981]: statistics: max connection rate 1/60s for (smtp:192.3.98.131) at Mar  1 18:48:44
Mar  1 18:53:51 srv4hai postfix/anvil[24981]: statistics: max connection count 1 for (smtp:192.3.98.131) at Mar  1 18:48:44
Mar  1 18:53:51 srv4hai postfix/anvil[24981]: statistics: max cache size 2 at Mar  1 18:48:57
Mar  1 18:53:59 srv4hai common[26096]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Mar  1 18:54:00 srv4hai common[26120]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Mar  1 18:54:00 srv4hai common[26144]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Mar  1 18:54:01 srv4hai CRON[26169]: (root) CMD (/etc/linetest/linetest.sh)
Mar  1 18:54:07 srv4hai ping_SP[30688]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1740851647 - 'ping_SP_0'
Mar  1 18:54:07 srv4hai ping_SP[30688]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar  1 18:54:13 srv4hai common[26191]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Mar  1 18:54:13 srv4hai common[26215]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Mar  1 18:54:16 srv4hai common[26240]: SHELLY common.sh inkludiert von ./bt_scan.sh
Mar  1 18:54:26 srv4hai bt_scan[26240]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Mar  1 18:54:26 srv4hai bt_scan[26240]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Mar  1 18:54:26 srv4hai common[26271]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Mar  1 18:54:26 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1740851666-1740851656
Mar  1 18:54:26 srv4hai check_presence[26271]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Mar  1 18:54:26 srv4hai check_presence[26271]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Mar  1 18:54:26 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'10'=1740851666-1740851656
Mar  1 18:54:26 srv4hai check_presence[26271]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Mar  1 18:54:26 srv4hai check_presence[26271]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Mar  1 18:54:26 srv4hai check_presence[26271]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (__/LIVE)' - anyPresent: 'true' - otherPresent:'true'
Mar  1 18:54:27 srv4hai check_presence[26271]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_buero_UM) - sceneOFF(offAll)
Mar  1 18:54:27 srv4hai check_presence[26271]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Mar  1 18:54:43 srv4hai ping_SP[4027]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1740851683 - 'ping_SP_1'
Mar  1 18:54:43 srv4hai ping_SP[4027]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Mar  1 18:54:55 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Mar  1 18:54:55 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.10
Mar  1 18:54:55 srv4hai dhcpd[4995]: execute_statement argv[2] = pchai7x
Mar  1 18:54:55 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.10 from 70:54:d2:7b:fe:a7 via enp2s0
Mar  1 18:54:55 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.10 to 70:54:d2:7b:fe:a7 via enp2s0
Mar  1 18:54:55 srv4hai named[30406]: client @0x7f933806a720 192.168.12.252#41587/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: pchai7x.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Mar  1 18:54:55 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.10'(10) device 'pchai7x'
Mar  1 18:54:55 srv4hai named[30406]: client @0x7f932c0c3e90 192.168.12.252#41261/key rndc-key: signer "rndc-key" approved
Mar  1 18:54:55 srv4hai named[30406]: client @0x7f932c0c3e90 192.168.12.252#41261/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' TXT
Mar  1 18:54:55 srv4hai named[30406]: client @0x7f932c0c3e90 192.168.12.252#41261/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' TXT "001e3ad86ca86e10b8e2aaf2e2ade54f52"
Mar  1 18:54:55 srv4hai named[30406]: client @0x7f932c0c3e90 192.168.12.252#41261/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' A
Mar  1 18:54:55 srv4hai named[30406]: client @0x7f932c0c3e90 192.168.12.252#41261/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' A 192.168.12.10
Mar  1 18:54:55 srv4hai dhcpd[4995]: Added new forward map from pchai7x.viehai.at to 192.168.12.10
Mar  1 18:54:55 srv4hai named[30406]: client @0x7f931c067c00 192.168.12.252#40763/key rndc-key: signer "rndc-key" approved
Mar  1 18:54:55 srv4hai named[30406]: client @0x7f931c067c00 192.168.12.252#40763/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '10.12.168.192.in-addr.arpa' PTR
Mar  1 18:54:55 srv4hai named[30406]: client @0x7f931c067c00 192.168.12.252#40763/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.
Mar  1 18:54:55 srv4hai dhcpd[4995]: Added reverse map from 10.12.168.192.in-addr.arpa. to pchai7x.viehai.at
Mar  1 18:54:56 srv4hai activate_scenario[26411]: SHELLY scenario: 'pcON(pcon)' started
Mar  1 18:54:56 srv4hai activate_scenario[26411]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - origin:'dhcpcommit.sh-pchai7x'

finished