activate_scenario.sh
Thu Feb 13 07:51:41 CET 2025
scenario: pcON
origin: dhcpcommit.sh-pchai7x

'day' <--> 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/13/_0.log)

vorher: 07:51:41.437

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: 07:51:41.484
Dauer: 47 msec phName: 'origin:'dhcpcommit.sh-pchai7x''


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

urls : 1
vorher : 07:51:41.389
nachher: 07:51:41.491
Dauer : 104 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/02/13//scene_pcON_20250213_075141.txt'


syslog

Feb 13 07:48:00 srv4hai common[28546]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 13 07:48:00 srv4hai common[28570]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 13 07:48:00 srv4hai common[28594]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 13 07:48:01 srv4hai CRON[28620]: (root) CMD (/etc/linetest/linetest.sh)
Feb 13 07:48:25 srv4hai common[28629]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 13 07:48:26 srv4hai common[28654]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 13 07:48:55 srv4hai ping_SP[1713]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1739429335 - 'ping_SP_0'
Feb 13 07:48:55 srv4hai ping_SP[1713]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 13 07:48:57 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=28706, secured, session=
Feb 13 07:48:57 srv4hai dovecot: imap(miglincit)<28706>: Logged out in=137 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 13 07:48:59 srv4hai common[28707]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 13 07:48:59 srv4hai common[28731]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 13 07:48:59 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Feb 13 07:49:00 srv4hai common[28755]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 13 07:49:00 srv4hai fetchmail[1651]: 63534 messages (63533 seen) for tmiglinci at mail.akis.at (914195208 octets).
Feb 13 07:49:00 srv4hai postfix/smtpd[28779]: connect from localhost[127.0.0.1]
Feb 13 07:49:00 srv4hai postfix/smtpd[28779]: 70BA16004E: client=localhost[127.0.0.1]
Feb 13 07:49:00 srv4hai postfix/cleanup[28782]: 70BA16004E: message-id=<8f9cd56aaca0119f22e3ed50cb2a03f8@swift.generated>
Feb 13 07:49:00 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:63534 of 63534 (46790 octets) not flushed
Feb 13 07:49:00 srv4hai postfix/qmgr[8566]: 70BA16004E: from=, size=47047, nrcpt=1 (queue active)
Feb 13 07:49:00 srv4hai postfix/smtpd[28779]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Feb 13 07:49:00 srv4hai postfix/local[28783]: 70BA16004E: to=, relay=local, delay=0.1, delays=0.07/0.02/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Feb 13 07:49:00 srv4hai postfix/qmgr[8566]: 70BA16004E: removed
Feb 13 07:49:00 srv4hai fetchmail[1651]: 11536 messages (11536 seen) for srozum at mail.akis.at (1369516287 octets).
Feb 13 07:49:01 srv4hai CRON[28786]: (root) CMD (/etc/linetest/linetest.sh)
Feb 13 07:49:01 srv4hai fetchmail[1651]: 28918 messages (28918 seen) for mrozum at mail.akis.at (655301940 octets).
Feb 13 07:49:02 srv4hai fetchmail[1651]: 1162 messages (1162 seen) for admin@bastelstube.wien at pop3.world4you.com (52206525 octets).
Feb 13 07:49:19 srv4hai postfix/smtpd[28779]: connect from unknown[195.211.191.55]
Feb 13 07:49:19 srv4hai postfix/smtpd[28779]: warning: unknown[195.211.191.55]: SASL LOGIN authentication failed: Invalid authentication mechanism
Feb 13 07:49:19 srv4hai postfix/smtpd[28779]: disconnect from unknown[195.211.191.55] ehlo=1 auth=0/1 quit=1 commands=2/3
Feb 13 07:49:25 srv4hai common[28792]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 13 07:49:26 srv4hai common[28816]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 13 07:49:58 srv4hai ping_SP[1713]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1739429398 - 'ping_SP_0'
Feb 13 07:49:58 srv4hai ping_SP[1713]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 13 07:49:59 srv4hai common[28869]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 13 07:49:59 srv4hai common[28893]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 13 07:50:00 srv4hai common[28917]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 13 07:50:01 srv4hai CRON[28943]: (root) CMD (/etc/linetest/linetest.sh)
Feb 13 07:50:01 srv4hai CRON[28944]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Feb 13 07:50:01 srv4hai common[28945]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Feb 13 07:50:01 srv4hai meter.sh: SHELLY meter.sh started
Feb 13 07:50:02 srv4hai meter.sh: SHELLY 'shelly-29/KÜ Schalter Herdzeile' - type: 'shelly-i3' ignoring
Feb 13 07:50:02 srv4hai meter.sh: SHELLY 'shelly-28/KÜ Schalter Nasszeile' - type: 'shelly-i3' ignoring
Feb 13 07:50:08 srv4hai meter.sh: SHELLY 'shelly-54/GB Kugellampe':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 13 07:50:08 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Feb 13 07:50:08 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Feb 13 07:50:08 srv4hai meter.sh: SHELLY 'shelly-37/TB Klima' - type: 'shelly-ht' ignoring
Feb 13 07:50:08 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Feb 13 07:50:08 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Feb 13 07:50:11 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 13 07:50:14 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 13 07:50:14 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Feb 13 07:50:14 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Feb 13 07:50:14 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Feb 13 07:50:14 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Feb 13 07:50:14 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Feb 13 07:50:14 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Feb 13 07:50:14 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Feb 13 07:50:14 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Feb 13 07:50:14 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Feb 13 07:50:14 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Feb 13 07:50:14 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Feb 13 07:50:14 srv4hai meter.sh: SHELLY 'shelly-01a/WZ Licht Esstisch - 20241208 kein WLAN' - status: 'DFC' ignoring
Feb 13 07:50:14 srv4hai meter.sh: SHELLY 'shelly-43/43-tbd' - status: 'OOS' ignoring
Feb 13 07:50:14 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Feb 13 07:50:15 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Feb 13 07:50:17 srv4hai meter.sh: SHELLY 'shelly-50/50-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 13 07:50:17 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Feb 13 07:50:20 srv4hai meter.sh: SHELLY 'shelly-99/99-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 13 07:50:20 srv4hai common[29968]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Feb 13 07:50:20 srv4hai check_shelly.sh: SHELLY last scenery executed: 'homeOffice'
Feb 13 07:50:20 srv4hai check_shelly.sh: SHELLY found '7' active shelly outputs
Feb 13 07:50:20 srv4hai meter.sh: SHELLY meter.sh ended
Feb 13 07:50:25 srv4hai common[29991]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 13 07:50:26 srv4hai common[30015]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 13 07:51:00 srv4hai common[30050]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 13 07:51:00 srv4hai common[30074]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 13 07:51:00 srv4hai common[30098]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 13 07:51:01 srv4hai ping_SP[1713]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1739429461 - 'ping_SP_0'
Feb 13 07:51:01 srv4hai ping_SP[1713]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 13 07:51:01 srv4hai CRON[30140]: (root) CMD (/etc/linetest/linetest.sh)
Feb 13 07:51:25 srv4hai common[30150]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 13 07:51:26 srv4hai common[30174]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 13 07:51:41 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Feb 13 07:51:41 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.10
Feb 13 07:51:41 srv4hai dhcpd[4995]: execute_statement argv[2] = pchai7x
Feb 13 07:51:41 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.10 from 70:54:d2:7b:fe:a7 via enp2s0
Feb 13 07:51:41 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.10 to 70:54:d2:7b:fe:a7 via enp2s0
Feb 13 07:51:41 srv4hai named[30406]: client @0x7f934c037ed0 192.168.12.252#36701/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: pchai7x.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 13 07:51:41 srv4hai named[30406]: client @0x7f93480cbdb0 192.168.12.252#52655/key rndc-key: signer "rndc-key" approved
Feb 13 07:51:41 srv4hai named[30406]: client @0x7f93480cbdb0 192.168.12.252#52655/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' TXT
Feb 13 07:51:41 srv4hai named[30406]: client @0x7f93480cbdb0 192.168.12.252#52655/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' TXT "001e3ad86ca86e10b8e2aaf2e2ade54f52"
Feb 13 07:51:41 srv4hai named[30406]: client @0x7f93480cbdb0 192.168.12.252#52655/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' A
Feb 13 07:51:41 srv4hai named[30406]: client @0x7f93480cbdb0 192.168.12.252#52655/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' A 192.168.12.10
Feb 13 07:51:41 srv4hai dhcpd[4995]: Added new forward map from pchai7x.viehai.at to 192.168.12.10
Feb 13 07:51:41 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.10'(10) device 'pchai7x'
Feb 13 07:51:41 srv4hai named[30406]: client @0x7f93300b2620 192.168.12.252#53479/key rndc-key: signer "rndc-key" approved
Feb 13 07:51:41 srv4hai named[30406]: client @0x7f93300b2620 192.168.12.252#53479/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '10.12.168.192.in-addr.arpa' PTR
Feb 13 07:51:41 srv4hai named[30406]: client @0x7f93300b2620 192.168.12.252#53479/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 13 07:51:41 srv4hai dhcpd[4995]: Added reverse map from 10.12.168.192.in-addr.arpa. to pchai7x.viehai.at
Feb 13 07:51:41 srv4hai activate_scenario[30208]: SHELLY scenario: 'pcON(pcon)' started
Feb 13 07:51:41 srv4hai activate_scenario[30208]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - origin:'dhcpcommit.sh-pchai7x'

finished