activate_scenario.sh
Mon Mar 24 08:12: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/03/24/_0.log)

vorher: 08:12:41.741

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: 08:12:41.781
Dauer: 40 msec phName: 'origin:'dhcpcommit.sh-pchai7x''


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

urls : 1
vorher : 08:12:41.686
nachher: 08:12:41.793
Dauer : 108 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/03/24//scene_pcON_20250324_081241.txt'


syslog

Mar 24 08:09:00 srv4hai common[22540]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Mar 24 08:09:00 srv4hai mqtt_process[22540]: SHELLY - shellyType: 'shelly-PM-mini' not handled !!
Mar 24 08:09:01 srv4hai CRON[22567]: (root) CMD (/etc/linetest/linetest.sh)
Mar 24 08:09:01 srv4hai CRON[22568]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Mar 24 08:09:01 srv4hai systemd[1]: Starting Clean php session files...
Mar 24 08:09:01 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Mar 24 08:09:01 srv4hai systemd[1]: Started Clean php session files.
Mar 24 08:09:01 srv4hai ping_SP[18641]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1742800141 - 'ping_SP_0'
Mar 24 08:09:01 srv4hai ping_SP[18641]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar 24 08:09:09 srv4hai postfix/smtpd[22687]: connect from unknown[213.209.150.124]
Mar 24 08:09:09 srv4hai postfix/smtpd[22687]: warning: unknown[213.209.150.124]: SASL LOGIN authentication failed: Invalid authentication mechanism
Mar 24 08:09:09 srv4hai postfix/smtpd[22687]: lost connection after AUTH from unknown[213.209.150.124]
Mar 24 08:09:09 srv4hai postfix/smtpd[22687]: disconnect from unknown[213.209.150.124] ehlo=1 auth=0/1 commands=1/2
Mar 24 08:09:17 srv4hai dhcpd[4995]: DHCPDISCOVER from 08:d1:f9:0c:8d:a4 via enp2s0
Mar 24 08:09:17 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.148 to 08:d1:f9:0c:8d:a4 via enp2s0
Mar 24 08:09:17 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Mar 24 08:09:17 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.148
Mar 24 08:09:17 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-48
Mar 24 08:09:17 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.148 (192.168.12.252) from 08:d1:f9:0c:8d:a4 via enp2s0
Mar 24 08:09:17 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.148 to 08:d1:f9:0c:8d:a4 via enp2s0
Mar 24 08:09:17 srv4hai named[30406]: client @0x7f932c0ce020 192.168.12.252#44791/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-48.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Mar 24 08:09:17 srv4hai named[30406]: client @0x7f935011da30 192.168.12.252#46619/key rndc-key: signer "rndc-key" approved
Mar 24 08:09:17 srv4hai named[30406]: client @0x7f935011da30 192.168.12.252#46619/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-48.viehai.at' TXT
Mar 24 08:09:17 srv4hai named[30406]: client @0x7f935011da30 192.168.12.252#46619/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-48.viehai.at' TXT "318bdef6b0c325cbb432843d88422b77e8"
Mar 24 08:09:17 srv4hai named[30406]: client @0x7f935011da30 192.168.12.252#46619/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-48.viehai.at' A
Mar 24 08:09:17 srv4hai named[30406]: client @0x7f935011da30 192.168.12.252#46619/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-48.viehai.at' A 192.168.12.148
Mar 24 08:09:17 srv4hai dhcpd[4995]: Added new forward map from shelly-48.viehai.at to 192.168.12.148
Mar 24 08:09:17 srv4hai named[30406]: client @0x7f93380a5c40 192.168.12.252#60537/key rndc-key: signer "rndc-key" approved
Mar 24 08:09:17 srv4hai named[30406]: client @0x7f93380a5c40 192.168.12.252#60537/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '148.12.168.192.in-addr.arpa' PTR
Mar 24 08:09:17 srv4hai named[30406]: client @0x7f93380a5c40 192.168.12.252#60537/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '148.12.168.192.in-addr.arpa' PTR shelly-48.viehai.at.
Mar 24 08:09:17 srv4hai dhcpd[4995]: Added reverse map from 148.12.168.192.in-addr.arpa. to shelly-48.viehai.at
Mar 24 08:09:17 srv4hai common[22691]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Mar 24 08:09:17 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-48' - shIP/2:'' perform:'conf'
Mar 24 08:09:18 srv4hai mosquitto[29419]: New connection from 192.168.12.148 on port 1883.
Mar 24 08:09:18 srv4hai mosquitto[29419]: Client shellyblugw-08d1f90c8da4 already connected, closing old connection.
Mar 24 08:09:18 srv4hai mosquitto[29419]: Socket error on client shellyblugw-08d1f90c8da4, disconnecting.
Mar 24 08:09:18 srv4hai mosquitto[29419]: New client connected from 192.168.12.148 as shellyblugw-08d1f90c8da4 (c1, k60, u'shmqtt').
Mar 24 08:09:18 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-48' - shIP/2:'192.168.12.148'
Mar 24 08:09:19 srv4hai common[22714]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Mar 24 08:09:19 srv4hai conf_shelly.sh: SHELLY: usage/name 'BT GW 1' already set for '192.168.12.148'
Mar 24 08:09:19 srv4hai mqtt_process[22714]: SHELLY - shellyType: 'shelly-blu-gw' not handled !!
Mar 24 08:09:19 srv4hai common[22744]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Mar 24 08:09:19 srv4hai mqtt_process[22744]: SHELLY - shellyType: 'shelly-blu-gw' not handled !!
Mar 24 08:09:19 srv4hai common[22769]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Mar 24 08:09:19 srv4hai mqtt_process[22769]: SHELLY - shellyType: 'shelly-blu-gw' not handled !!
Mar 24 08:09:19 srv4hai common[22794]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Mar 24 08:09:19 srv4hai mqtt_process[22794]: SHELLY - shellyType: 'shelly-blu-gw' not handled !!
Mar 24 08:09:26 srv4hai common[22839]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Mar 24 08:09:26 srv4hai mqtt_process[22839]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Mar 24 08:09:26 srv4hai common[22864]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Mar 24 08:09:26 srv4hai mqtt_process[22864]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Mar 24 08:09:53 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=22898, secured, session=
Mar 24 08:09:53 srv4hai dovecot: imap(miglincit)<22898>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar 24 08:09:59 srv4hai common[22901]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Mar 24 08:09:59 srv4hai mqtt_process[22901]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Mar 24 08:09:59 srv4hai common[22926]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Mar 24 08:09:59 srv4hai mqtt_process[22926]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Mar 24 08:10:00 srv4hai common[22951]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Mar 24 08:10:00 srv4hai mqtt_process[22951]: SHELLY - shellyType: 'shelly-PM-mini' not handled !!
Mar 24 08:10:01 srv4hai CRON[22982]: (root) CMD (/etc/linetest/linetest.sh)
Mar 24 08:10:01 srv4hai CRON[22983]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Mar 24 08:10:01 srv4hai common[22986]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Mar 24 08:10:01 srv4hai meter.sh: SHELLY meter.sh started
Mar 24 08:10:01 srv4hai meter.sh: SHELLY 'shelly-29/KÜ Schalter Herdzeile' - type: 'shelly-i3' ignoring
Mar 24 08:10:01 srv4hai common[23083]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Mar 24 08:10:01 srv4hai check_shelly.sh: SHELLY last scenery executed: 'homeOffice'
Mar 24 08:10:01 srv4hai check_shelly.sh: SHELLY found '5' active shelly outputs
Mar 24 08:10:01 srv4hai meter.sh: SHELLY meter.sh ended
Mar 24 08:10:01 srv4hai postfix/pickup[15321]: B6A6E63463: uid=33 from=
Mar 24 08:10:01 srv4hai postfix/cleanup[23108]: B6A6E63463: message-id=<20250324071001.B6A6E63463@mail.viehai.at>
Mar 24 08:10:01 srv4hai postfix/qmgr[8566]: B6A6E63463: from=, size=661, nrcpt=1 (queue active)
Mar 24 08:10:01 srv4hai postfix/local[23110]: B6A6E63463: 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)
Mar 24 08:10:01 srv4hai postfix/qmgr[8566]: B6A6E63463: removed
Mar 24 08:10:04 srv4hai ping_SP[18641]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1742800204 - 'ping_SP_0'
Mar 24 08:10:04 srv4hai ping_SP[18641]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar 24 08:10:14 srv4hai kernel: [88778301.383444] CPU5: Core temperature above threshold, cpu clock throttled (total events = 425116840)
Mar 24 08:10:14 srv4hai kernel: [88778301.383445] CPU1: Core temperature above threshold, cpu clock throttled (total events = 425116840)
Mar 24 08:10:26 srv4hai common[23136]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Mar 24 08:10:26 srv4hai mqtt_process[23136]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Mar 24 08:10:26 srv4hai common[23161]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Mar 24 08:10:26 srv4hai mqtt_process[23161]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Mar 24 08:10:51 srv4hai postfix/anvil[8335]: statistics: max connection rate 1/60s for (smtp:195.211.191.226) at Mar 24 08:00:52
Mar 24 08:10:51 srv4hai postfix/anvil[8335]: statistics: max connection count 1 for (smtp:195.211.191.226) at Mar 24 08:00:52
Mar 24 08:10:51 srv4hai postfix/anvil[8335]: statistics: max cache size 2 at Mar 24 08:05:50
Mar 24 08:10:52 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Mar 24 08:10:53 srv4hai fetchmail[1651]: 66313 messages (66312 seen) for tmiglinci at mail.akis.at (1152946013 octets).
Mar 24 08:10:53 srv4hai postfix/smtpd[23197]: connect from localhost[127.0.0.1]
Mar 24 08:10:53 srv4hai postfix/smtpd[23197]: ABA606345A: client=localhost[127.0.0.1]
Mar 24 08:10:53 srv4hai postfix/cleanup[23108]: ABA606345A: message-id=<6320e574-2cff-4abf-9ef2-850a335536c4@alibaba.com>
Mar 24 08:10:53 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:66313 of 66313 (4916 octets) not flushed
Mar 24 08:10:53 srv4hai postfix/qmgr[8566]: ABA606345A: from=, size=5199, nrcpt=1 (queue active)
Mar 24 08:10:53 srv4hai postfix/local[23110]: ABA606345A: to=, relay=local, delay=0.05, delays=0.05/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Mar 24 08:10:53 srv4hai postfix/qmgr[8566]: ABA606345A: removed
Mar 24 08:10:53 srv4hai postfix/smtpd[23197]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Mar 24 08:10:54 srv4hai fetchmail[1651]: 11733 messages (11733 seen) for srozum at mail.akis.at (1385415908 octets).
Mar 24 08:10:54 srv4hai fetchmail[1651]: 29782 messages (29782 seen) for mrozum at mail.akis.at (821450189 octets).
Mar 24 08:10:55 srv4hai fetchmail[1651]: 1165 messages (1165 seen) for admin@bastelstube.wien at pop3.world4you.com (52250978 octets).
Mar 24 08:11:00 srv4hai common[23201]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Mar 24 08:11:00 srv4hai mqtt_process[23201]: SHELLY - shellyType: 'shelly-PM-mini' not handled !!
Mar 24 08:11:00 srv4hai common[23226]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Mar 24 08:11:00 srv4hai mqtt_process[23226]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Mar 24 08:11:00 srv4hai common[23251]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Mar 24 08:11:00 srv4hai mqtt_process[23251]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Mar 24 08:11:01 srv4hai CRON[23280]: (root) CMD (/etc/linetest/linetest.sh)
Mar 24 08:11:08 srv4hai ping_SP[18641]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1742800268 - 'ping_SP_0'
Mar 24 08:11:08 srv4hai ping_SP[18641]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar 24 08:11:26 srv4hai common[23311]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Mar 24 08:11:26 srv4hai mqtt_process[23311]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Mar 24 08:11:26 srv4hai common[23336]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Mar 24 08:11:26 srv4hai mqtt_process[23336]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Mar 24 08:11:41 srv4hai mosquitto[29419]: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
Mar 24 08:11:57 srv4hai postfix/smtpd[23197]: connect from mail.shadowserver.org[154.9.2.12]
Mar 24 08:11:58 srv4hai postfix/smtpd[23197]: B5C766004E: client=mail.shadowserver.org[154.9.2.12]
Mar 24 08:11:58 srv4hai postfix/cleanup[23108]: B5C766004E: message-id=<20250324071010.5eyeb-autoreports@shadowserver.org>
Mar 24 08:11:58 srv4hai postfix/qmgr[8566]: B5C766004E: from=, size=4555, nrcpt=1 (queue active)
Mar 24 08:11:58 srv4hai postfix/smtpd[23197]: disconnect from mail.shadowserver.org[154.9.2.12] ehlo=2 starttls=1 mail=1 rcpt=1 data=1 quit=1 commands=7
Mar 24 08:11:58 srv4hai postfix/local[23110]: B5C766004E: to=, orig_to=, relay=local, delay=0.19, delays=0.18/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Mar 24 08:11:58 srv4hai postfix/qmgr[8566]: B5C766004E: removed
Mar 24 08:11:59 srv4hai common[23369]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Mar 24 08:11:59 srv4hai mqtt_process[23369]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Mar 24 08:11:59 srv4hai common[23394]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Mar 24 08:11:59 srv4hai mqtt_process[23394]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Mar 24 08:12:00 srv4hai common[23419]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Mar 24 08:12:00 srv4hai mqtt_process[23419]: SHELLY - shellyType: 'shelly-PM-mini' not handled !!
Mar 24 08:12:01 srv4hai CRON[23445]: (root) CMD (/etc/linetest/linetest.sh)
Mar 24 08:12:11 srv4hai ping_SP[18641]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1742800331 - 'ping_SP_0'
Mar 24 08:12:11 srv4hai ping_SP[18641]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar 24 08:12:22 srv4hai postfix/smtpd[23197]: connect from unknown[213.209.150.124]
Mar 24 08:12:22 srv4hai postfix/smtpd[23197]: warning: unknown[213.209.150.124]: SASL LOGIN authentication failed: Invalid authentication mechanism
Mar 24 08:12:22 srv4hai postfix/smtpd[23197]: lost connection after AUTH from unknown[213.209.150.124]
Mar 24 08:12:22 srv4hai postfix/smtpd[23197]: disconnect from unknown[213.209.150.124] ehlo=1 auth=0/1 commands=1/2
Mar 24 08:12:26 srv4hai common[23481]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Mar 24 08:12:26 srv4hai mqtt_process[23481]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Mar 24 08:12:26 srv4hai common[23506]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Mar 24 08:12:26 srv4hai mqtt_process[23506]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Mar 24 08:12:41 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Mar 24 08:12:41 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.10
Mar 24 08:12:41 srv4hai dhcpd[4995]: execute_statement argv[2] = pchai7x
Mar 24 08:12:41 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.10 from 70:54:d2:7b:fe:a7 via enp2s0
Mar 24 08:12:41 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.10 to 70:54:d2:7b:fe:a7 via enp2s0
Mar 24 08:12:41 srv4hai named[30406]: client @0x7f934c09fdf0 192.168.12.252#34361/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: pchai7x.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Mar 24 08:12:41 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.10'(10) device 'pchai7x'
Mar 24 08:12:41 srv4hai named[30406]: client @0x7f933806a720 192.168.12.252#39961/key rndc-key: signer "rndc-key" approved
Mar 24 08:12:41 srv4hai named[30406]: client @0x7f933806a720 192.168.12.252#39961/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' TXT
Mar 24 08:12:41 srv4hai named[30406]: client @0x7f933806a720 192.168.12.252#39961/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' TXT "001e3ad86ca86e10b8e2aaf2e2ade54f52"
Mar 24 08:12:41 srv4hai named[30406]: client @0x7f933806a720 192.168.12.252#39961/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' A
Mar 24 08:12:41 srv4hai named[30406]: client @0x7f933806a720 192.168.12.252#39961/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' A 192.168.12.10
Mar 24 08:12:41 srv4hai dhcpd[4995]: Added new forward map from pchai7x.viehai.at to 192.168.12.10
Mar 24 08:12:41 srv4hai named[30406]: client @0x7f932c088690 192.168.12.252#44993/key rndc-key: signer "rndc-key" approved
Mar 24 08:12:41 srv4hai named[30406]: client @0x7f932c088690 192.168.12.252#44993/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '10.12.168.192.in-addr.arpa' PTR
Mar 24 08:12:41 srv4hai named[30406]: client @0x7f932c088690 192.168.12.252#44993/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 24 08:12:41 srv4hai dhcpd[4995]: Added reverse map from 10.12.168.192.in-addr.arpa. to pchai7x.viehai.at
Mar 24 08:12:41 srv4hai activate_scenario[23538]: SHELLY scenario: 'pcON(pcon)' started
Mar 24 08:12:41 srv4hai activate_scenario[23538]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - origin:'dhcpcommit.sh-pchai7x'

finished