activate_scenario.sh
Sat Feb 22 19:11:37 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/22/_0.log)

vorher: 19:11:37.903

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: 19:11:37.936
Dauer: 32 msec phName: 'origin:'dhcpcommit.sh-pchai7x''


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

urls : 1
vorher : 19:11:37.874
nachher: 19:11:37.943
Dauer : 68 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/02/22//scene_pcON_20250222_191137.txt'


syslog

Feb 22 19:08:00 srv4hai common[15547]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 22 19:08:00 srv4hai common[15571]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 22 19:08:00 srv4hai common[15596]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 22 19:08:01 srv4hai CRON[15624]: (root) CMD (/etc/linetest/linetest.sh)
Feb 22 19:08:10 srv4hai ping_SP[12654]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1740247690 - 'ping_SP_1'
Feb 22 19:08:10 srv4hai ping_SP[12654]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 22 19:08:28 srv4hai common[15650]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 22 19:08:28 srv4hai common[15674]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 22 19:08:42 srv4hai ping_SP[28314]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1740247722 - 'ping_SP_0'
Feb 22 19:08:42 srv4hai ping_SP[28314]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 22 19:08:42 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=15720, secured, session=
Feb 22 19:08:42 srv4hai dovecot: imap(miglincit)<15720>: 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 22 19:08:59 srv4hai common[15727]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 22 19:08:59 srv4hai common[15751]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 22 19:09:00 srv4hai common[15775]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 22 19:09:01 srv4hai systemd[1]: Starting Clean php session files...
Feb 22 19:09:01 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Feb 22 19:09:01 srv4hai systemd[1]: Started Clean php session files.
Feb 22 19:09:02 srv4hai CRON[15922]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Feb 22 19:09:02 srv4hai CRON[15923]: (root) CMD (/etc/linetest/linetest.sh)
Feb 22 19:09:23 srv4hai ping_SP[12654]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1740247763 - 'ping_SP_1'
Feb 22 19:09:23 srv4hai ping_SP[12654]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 22 19:09:28 srv4hai common[15965]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 22 19:09:28 srv4hai common[15989]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 22 19:09:55 srv4hai ping_SP[28314]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1740247795 - 'ping_SP_0'
Feb 22 19:09:55 srv4hai ping_SP[28314]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 22 19:10:00 srv4hai common[16044]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 22 19:10:00 srv4hai common[16069]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 22 19:10:00 srv4hai common[16093]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 22 19:10:00 srv4hai kernel: [86225857.606619] CPU5: Core temperature/speed normal
Feb 22 19:10:00 srv4hai kernel: [86225857.606619] CPU1: Core temperature/speed normal
Feb 22 19:10:01 srv4hai CRON[16120]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Feb 22 19:10:01 srv4hai CRON[16121]: (root) CMD (/etc/linetest/linetest.sh)
Feb 22 19:10:01 srv4hai common[16122]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Feb 22 19:10:01 srv4hai meter.sh: SHELLY meter.sh started
Feb 22 19:10:01 srv4hai meter.sh: SHELLY 'shelly-29/KÜ Schalter Herdzeile' - type: 'shelly-i3' ignoring
Feb 22 19:10:01 srv4hai meter.sh: SHELLY 'shelly-28/KÜ Schalter Nasszeile' - type: 'shelly-i3' ignoring
Feb 22 19:10:05 srv4hai meter.sh: SHELLY 'shelly-54/GB Kugellampe':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 19:10:06 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Feb 22 19:10:06 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Feb 22 19:10:06 srv4hai meter.sh: SHELLY 'shelly-37/TB Klima' - type: 'shelly-ht' ignoring
Feb 22 19:10:06 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Feb 22 19:10:06 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Feb 22 19:10:09 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 19:10:11 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 19:10:11 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Feb 22 19:10:11 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Feb 22 19:10:11 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Feb 22 19:10:11 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Feb 22 19:10:11 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Feb 22 19:10:12 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Feb 22 19:10:12 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Feb 22 19:10:12 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Feb 22 19:10:12 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Feb 22 19:10:12 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Feb 22 19:10:12 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Feb 22 19:10:12 srv4hai meter.sh: SHELLY 'shelly-01a/WZ Licht Esstisch - 20241208 kein WLAN' - status: 'defect' ignoring
Feb 22 19:10:12 srv4hai meter.sh: SHELLY 'shelly-43/43-tbd' - status: 'OOS' ignoring
Feb 22 19:10:12 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Feb 22 19:10:12 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Feb 22 19:10:16 srv4hai meter.sh: SHELLY 'shelly-50/50-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 19:10:16 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Feb 22 19:10:18 srv4hai meter.sh: SHELLY 'shelly-99/99-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 22 19:10:18 srv4hai common[17151]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Feb 22 19:10:18 srv4hai check_shelly.sh: SHELLY last scenery executed: 'nasszeile_um'
Feb 22 19:10:18 srv4hai check_shelly.sh: SHELLY found '6' active shelly outputs
Feb 22 19:10:18 srv4hai meter.sh: SHELLY meter.sh ended
Feb 22 19:10:28 srv4hai common[17179]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 22 19:10:28 srv4hai common[17203]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 22 19:10:36 srv4hai ping_SP[12654]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1740247836 - 'ping_SP_1'
Feb 22 19:10:36 srv4hai ping_SP[12654]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 22 19:10:59 srv4hai common[17256]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 22 19:10:59 srv4hai common[17280]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 22 19:11:00 srv4hai common[17304]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 22 19:11:01 srv4hai CRON[17329]: (root) CMD (/etc/linetest/linetest.sh)
Feb 22 19:11:08 srv4hai ping_SP[28314]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1740247868 - 'ping_SP_0'
Feb 22 19:11:08 srv4hai ping_SP[28314]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 22 19:11:21 srv4hai kernel: [86225938.681621] CPU2: Package temperature/speed normal
Feb 22 19:11:21 srv4hai kernel: [86225938.681622] CPU5: Package temperature/speed normal
Feb 22 19:11:21 srv4hai kernel: [86225938.681622] CPU6: Package temperature/speed normal
Feb 22 19:11:21 srv4hai kernel: [86225938.681623] CPU1: Package temperature/speed normal
Feb 22 19:11:21 srv4hai kernel: [86225938.681651] CPU4: Package temperature/speed normal
Feb 22 19:11:21 srv4hai kernel: [86225938.681652] CPU0: Package temperature/speed normal
Feb 22 19:11:21 srv4hai kernel: [86225938.681653] CPU7: Package temperature/speed normal
Feb 22 19:11:21 srv4hai kernel: [86225938.681654] CPU3: Package temperature/speed normal
Feb 22 19:11:26 srv4hai activate_scenario[17358]: SHELLY scenario: 'buero_UM(buero_um)' started
Feb 22 19:11:26 srv4hai activate_scenario[17358]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht'
Feb 22 19:11:26 srv4hai activate_scenario[17358]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'TB Licht'
Feb 22 19:11:26 srv4hai postfix/pickup[24707]: 1CD9763463: uid=33 from=
Feb 22 19:11:26 srv4hai postfix/cleanup[17412]: 1CD9763463: message-id=<20250222181126.1CD9763463@mail.viehai.at>
Feb 22 19:11:26 srv4hai postfix/qmgr[8566]: 1CD9763463: from=, size=9268, nrcpt=1 (queue active)
Feb 22 19:11:26 srv4hai activate_scenario[17358]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'TB Regallicht' --> '0?turn=toggle'
Feb 22 19:11:26 srv4hai proc_url[17430]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2025/02/22/_0.log' - shellyUsage:'TB Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=toggle' - phName:'shelly-40:'TB Licht''
Feb 22 19:11:26 srv4hai postfix/local[17425]: 1CD9763463: to=, orig_to=, relay=local, delay=0.05, delays=0.03/0.01/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Feb 22 19:11:26 srv4hai postfix/cleanup[17412]: 24C8263464: message-id=<20250222181126.24C8263464@mail.viehai.at>
Feb 22 19:11:26 srv4hai postfix/bounce[17426]: 1CD9763463: sender non-delivery notification: 24C8263464
Feb 22 19:11:26 srv4hai postfix/qmgr[8566]: 24C8263464: from=<>, size=11147, nrcpt=1 (queue active)
Feb 22 19:11:26 srv4hai postfix/qmgr[8566]: 1CD9763463: removed
Feb 22 19:11:26 srv4hai postfix/local[17425]: 24C8263464: to=, relay=local, delay=0.01, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Feb 22 19:11:26 srv4hai postfix/qmgr[8566]: 24C8263464: removed
Feb 22 19:11:26 srv4hai activate_scenario[17358]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'TB Licht' --> '0?turn=toggle'
Feb 22 19:11:26 srv4hai proc_url[17442]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2025/02/22/_1.log' - shellyUsage:'TB Licht' - scUrl:'http://192.168.12.140/relay/0?turn=toggle' - phName:'shelly-40:'TB Licht''
Feb 22 19:11:26 srv4hai activate_scenario[17358]: SHELLY scenario: 'buero_UM(buero_um)' took 102 msec, shelly-40:'TB Licht'
Feb 22 19:11:28 srv4hai common[17484]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 22 19:11:28 srv4hai common[17508]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 22 19:11:36 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Feb 22 19:11:37 srv4hai fetchmail[1651]: 64246 messages (64246 seen) for tmiglinci at mail.akis.at (962031027 octets).
Feb 22 19:11:37 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Feb 22 19:11:37 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.10
Feb 22 19:11:37 srv4hai dhcpd[4995]: execute_statement argv[2] = pchai7x
Feb 22 19:11:37 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.10 from 70:54:d2:7b:fe:a7 via enp2s0
Feb 22 19:11:37 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.10 to 70:54:d2:7b:fe:a7 via enp2s0
Feb 22 19:11:37 srv4hai named[30406]: client @0x7f931c03b370 192.168.12.252#40275/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: pchai7x.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 22 19:11:37 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.10'(10) device 'pchai7x'
Feb 22 19:11:37 srv4hai named[30406]: client @0x7f931c0a07f0 192.168.12.252#34863/key rndc-key: signer "rndc-key" approved
Feb 22 19:11:37 srv4hai named[30406]: client @0x7f931c0a07f0 192.168.12.252#34863/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' TXT
Feb 22 19:11:37 srv4hai named[30406]: client @0x7f931c0a07f0 192.168.12.252#34863/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' TXT "001e3ad86ca86e10b8e2aaf2e2ade54f52"
Feb 22 19:11:37 srv4hai named[30406]: client @0x7f931c0a07f0 192.168.12.252#34863/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' A
Feb 22 19:11:37 srv4hai named[30406]: client @0x7f931c0a07f0 192.168.12.252#34863/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' A 192.168.12.10
Feb 22 19:11:37 srv4hai dhcpd[4995]: Added new forward map from pchai7x.viehai.at to 192.168.12.10
Feb 22 19:11:37 srv4hai named[30406]: client @0x7f935011da30 192.168.12.252#46653/key rndc-key: signer "rndc-key" approved
Feb 22 19:11:37 srv4hai named[30406]: client @0x7f935011da30 192.168.12.252#46653/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '10.12.168.192.in-addr.arpa' PTR
Feb 22 19:11:37 srv4hai named[30406]: client @0x7f935011da30 192.168.12.252#46653/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 22 19:11:37 srv4hai dhcpd[4995]: Added reverse map from 10.12.168.192.in-addr.arpa. to pchai7x.viehai.at
Feb 22 19:11:37 srv4hai activate_scenario[17543]: SHELLY scenario: 'pcON(pcon)' started
Feb 22 19:11:37 srv4hai activate_scenario[17543]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - origin:'dhcpcommit.sh-pchai7x'

finished