activate_scenario.sh
Fri Feb 7 13:05:59 CET 2025
scenario: pcOFF
source: 192.168.12.10

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

scenario: 'Schreibtisch Thomas AUS-schalten' - 'pcOFF' - 'pcoff'

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

vorher: 13:05:59.262

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

nachher: 13:05:59.286
Dauer: 24 msec phName: 'shelly-0:'''


scenario: 'Schreibtisch Thomas AUS-schalten' - 'pcOFF' - 'pcoff'

urls : 1
vorher : 13:05:59.234
nachher: 13:05:59.293
Dauer : 59 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/02/07//scene_pcOFF_20250207_130559.txt'


syslog

Feb  7 13:02:00 srv4hai common[4679]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  7 13:02:01 srv4hai CRON[4704]: (root) CMD (/etc/linetest/linetest.sh)
Feb  7 13:02:38 srv4hai common[4718]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  7 13:02:38 srv4hai common[4742]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  7 13:02:51 srv4hai dhcpd[4995]: DHCPDISCOVER from 44:17:93:a5:8a:e4 via enp2s0
Feb  7 13:02:51 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Feb  7 13:02:51 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Feb  7 13:02:51 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.147
Feb  7 13:02:51 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-47
Feb  7 13:02:51 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.147 (192.168.12.252) from 44:17:93:a5:8a:e4 via enp2s0
Feb  7 13:02:51 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Feb  7 13:02:51 srv4hai named[30406]: client @0x7f932c05b620 192.168.12.252#46069/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-47.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb  7 13:02:51 srv4hai named[30406]: client @0x7f93506a3ad0 192.168.12.252#41563/key rndc-key: signer "rndc-key" approved
Feb  7 13:02:51 srv4hai named[30406]: client @0x7f93506a3ad0 192.168.12.252#41563/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' TXT
Feb  7 13:02:51 srv4hai named[30406]: client @0x7f93506a3ad0 192.168.12.252#41563/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' TXT "31f97534415d36e3a13ec57b0310c0867f"
Feb  7 13:02:51 srv4hai named[30406]: client @0x7f93506a3ad0 192.168.12.252#41563/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' A
Feb  7 13:02:51 srv4hai named[30406]: client @0x7f93506a3ad0 192.168.12.252#41563/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' A 192.168.12.147
Feb  7 13:02:51 srv4hai dhcpd[4995]: Added new forward map from shelly-47.viehai.at to 192.168.12.147
Feb  7 13:02:51 srv4hai named[30406]: client @0x7f935062dc00 192.168.12.252#56831/key rndc-key: signer "rndc-key" approved
Feb  7 13:02:51 srv4hai named[30406]: client @0x7f935062dc00 192.168.12.252#56831/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '147.12.168.192.in-addr.arpa' PTR
Feb  7 13:02:51 srv4hai named[30406]: client @0x7f935062dc00 192.168.12.252#56831/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '147.12.168.192.in-addr.arpa' PTR shelly-47.viehai.at.
Feb  7 13:02:51 srv4hai dhcpd[4995]: Added reverse map from 147.12.168.192.in-addr.arpa. to shelly-47.viehai.at
Feb  7 13:02:51 srv4hai common[4773]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Feb  7 13:02:51 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-47' - shIP/2:'' perform:'conf'
Feb  7 13:02:52 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-47' - shIP/2:'192.168.12.147'
Feb  7 13:02:52 srv4hai mosquitto[29419]: New connection from 192.168.12.147 on port 1883.
Feb  7 13:02:52 srv4hai mosquitto[29419]: Client shellyplus1-441793a58ae4 already connected, closing old connection.
Feb  7 13:02:52 srv4hai mosquitto[29419]: Socket error on client shellyplus1-441793a58ae4, disconnecting.
Feb  7 13:02:52 srv4hai mosquitto[29419]: New client connected from 192.168.12.147 as shellyplus1-441793a58ae4 (c1, k60, u'shmqtt').
Feb  7 13:02:52 srv4hai conf_shelly.sh: SHELLY: usage/name 'GB Schreibtischlampe links' already set for '192.168.12.147'
Feb  7 13:02:52 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(0)' - allready transmitted - skipping
Feb  7 13:02:52 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(1)' - allready transmitted - skipping
Feb  7 13:02:52 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(2)' - allready transmitted - skipping
Feb  7 13:02:52 srv4hai common[4841]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  7 13:02:53 srv4hai common[4865]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  7 13:02:53 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=4891, secured, session=
Feb  7 13:02:53 srv4hai dovecot: imap(miglincit)<4891>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb  7 13:02:59 srv4hai common[4908]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  7 13:02:59 srv4hai common[4932]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  7 13:03:00 srv4hai common[4956]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  7 13:03:01 srv4hai CRON[4981]: (root) CMD (/etc/linetest/linetest.sh)
Feb  7 13:03:01 srv4hai ping_SP[4829]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1738929781 - 'ping_SP_0'
Feb  7 13:03:01 srv4hai ping_SP[4829]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  7 13:03:38 srv4hai common[5006]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  7 13:03:38 srv4hai common[5030]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  7 13:03:41 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Feb  7 13:03:42 srv4hai fetchmail[1651]: 63140 messages (63140 seen) for tmiglinci at mail.akis.at (886961577 octets).
Feb  7 13:03:43 srv4hai fetchmail[1651]: 11509 messages (11508 seen) for srozum at mail.akis.at (1367777689 octets).
Feb  7 13:03:43 srv4hai postfix/smtpd[5054]: connect from localhost[127.0.0.1]
Feb  7 13:03:43 srv4hai postfix/smtpd[5054]: 467006000F: client=localhost[127.0.0.1]
Feb  7 13:03:43 srv4hai postfix/cleanup[5057]: 467006000F: message-id=
Feb  7 13:03:43 srv4hai fetchmail[1651]: reading message srozum@mail.akis.at:11509 of 11509 (58116 octets) not flushed
Feb  7 13:03:43 srv4hai postfix/qmgr[8566]: 467006000F: from=, size=58355, nrcpt=1 (queue active)
Feb  7 13:03:43 srv4hai postfix/smtpd[5054]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Feb  7 13:03:43 srv4hai postfix/local[5058]: 467006000F: to=, relay=local, delay=0.09, delays=0.06/0.02/0/0.02, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Feb  7 13:03:43 srv4hai postfix/qmgr[8566]: 467006000F: removed
Feb  7 13:03:44 srv4hai fetchmail[1651]: 28803 messages (28801 seen) for mrozum at mail.akis.at (633308862 octets).
Feb  7 13:03:44 srv4hai postfix/smtpd[5054]: connect from localhost[127.0.0.1]
Feb  7 13:03:44 srv4hai postfix/smtpd[5054]: 16E466000F: client=localhost[127.0.0.1]
Feb  7 13:03:44 srv4hai postfix/cleanup[5057]: 16E466000F: message-id=<3740923c.BAAABqAYHIwAAAAAAAAAAsXfQLIAAYCs_m0AAAAAACIOggBnpfYl@mailjet.com>
Feb  7 13:03:44 srv4hai fetchmail[1651]: reading message mrozum@mail.akis.at:28802 of 28803 (210707 octets) not flushed
Feb  7 13:03:44 srv4hai postfix/qmgr[8566]: 16E466000F: from=, size=210918, nrcpt=1 (queue active)
Feb  7 13:03:44 srv4hai postfix/local[5058]: 16E466000F: to=, relay=local, delay=0.12, delays=0.1/0/0/0.02, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Feb  7 13:03:44 srv4hai postfix/qmgr[8566]: 16E466000F: removed
Feb  7 13:03:44 srv4hai postfix/smtpd[5054]: 35E646000F: client=localhost[127.0.0.1]
Feb  7 13:03:44 srv4hai postfix/cleanup[5057]: 35E646000F: message-id=<1f3d6300-7b3b-40fe-beaa-8b4bee1bc784@ind1s01mta1080.xt.local>
Feb  7 13:03:44 srv4hai fetchmail[1651]: reading message mrozum@mail.akis.at:28803 of 28803 (103105 octets) not flushed
Feb  7 13:03:44 srv4hai postfix/qmgr[8566]: 35E646000F: from=, size=103551, nrcpt=1 (queue active)
Feb  7 13:03:44 srv4hai postfix/smtpd[5054]: disconnect from localhost[127.0.0.1] ehlo=1 mail=2 rcpt=2 data=2 quit=1 commands=8
Feb  7 13:03:44 srv4hai postfix/local[5058]: 35E646000F: to=, relay=local, delay=0.09, delays=0.07/0/0/0.02, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Feb  7 13:03:44 srv4hai postfix/qmgr[8566]: 35E646000F: removed
Feb  7 13:03:44 srv4hai fetchmail[1651]: 1162 messages (1162 seen) for admin@bastelstube.wien at pop3.world4you.com (52206525 octets).
Feb  7 13:03:51 srv4hai postfix/smtpd[5054]: warning: hostname 107-174-68-151-host.colocrossing.com does not resolve to address 107.174.68.151: Name or service not known
Feb  7 13:03:51 srv4hai postfix/smtpd[5054]: connect from unknown[107.174.68.151]
Feb  7 13:03:56 srv4hai postfix/smtpd[5054]: warning: unknown[107.174.68.151]: SASL PLAIN authentication failed: 
Feb  7 13:03:56 srv4hai postfix/smtpd[5054]: disconnect from unknown[107.174.68.151] ehlo=1 auth=0/1 quit=1 commands=2/3
Feb  7 13:04:00 srv4hai common[5067]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  7 13:04:00 srv4hai common[5091]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  7 13:04:00 srv4hai common[5115]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  7 13:04:01 srv4hai CRON[5140]: (root) CMD (/etc/linetest/linetest.sh)
Feb  7 13:04:01 srv4hai postfix/anvil[29247]: statistics: max connection rate 2/60s for (smtp:45.144.212.200) at Feb  7 12:56:56
Feb  7 13:04:01 srv4hai postfix/anvil[29247]: statistics: max connection count 1 for (smtp:23.94.59.160) at Feb  7 12:55:28
Feb  7 13:04:01 srv4hai postfix/anvil[29247]: statistics: max cache size 7 at Feb  7 12:58:18
Feb  7 13:04:14 srv4hai ping_SP[4829]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1738929854 - 'ping_SP_0'
Feb  7 13:04:14 srv4hai ping_SP[4829]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  7 13:04:27 srv4hai postfix/smtpd[5054]: connect from unknown[92.118.39.66]
Feb  7 13:04:31 srv4hai postfix/smtpd[5054]: warning: unknown[92.118.39.66]: SASL PLAIN authentication failed: 
Feb  7 13:04:31 srv4hai postfix/smtpd[5054]: disconnect from unknown[92.118.39.66] ehlo=1 auth=0/1 quit=1 commands=2/3
Feb  7 13:04:38 srv4hai common[5174]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  7 13:04:38 srv4hai common[5198]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  7 13:04:59 srv4hai common[5223]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  7 13:04:59 srv4hai common[5247]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  7 13:05:00 srv4hai common[5271]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  7 13:05:01 srv4hai CRON[5296]: (root) CMD (/etc/linetest/linetest.sh)
Feb  7 13:05:06 srv4hai postfix/smtpd[5054]: connect from unknown[45.144.212.200]
Feb  7 13:05:06 srv4hai postfix/smtpd[5054]: warning: unknown[45.144.212.200]: SASL LOGIN authentication failed: Invalid authentication mechanism
Feb  7 13:05:06 srv4hai postfix/smtpd[5054]: lost connection after AUTH from unknown[45.144.212.200]
Feb  7 13:05:06 srv4hai postfix/smtpd[5054]: disconnect from unknown[45.144.212.200] ehlo=1 auth=0/1 commands=1/2
Feb  7 13:05:27 srv4hai ping_SP[4829]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1738929927 - 'ping_SP_0'
Feb  7 13:05:27 srv4hai ping_SP[4829]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  7 13:05:38 srv4hai common[5325]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  7 13:05:38 srv4hai common[5349]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  7 13:05:43 srv4hai postfix/smtpd[5054]: connect from unknown[45.144.212.200]
Feb  7 13:05:43 srv4hai postfix/smtpd[5054]: warning: unknown[45.144.212.200]: SASL LOGIN authentication failed: Invalid authentication mechanism
Feb  7 13:05:43 srv4hai postfix/smtpd[5054]: lost connection after AUTH from unknown[45.144.212.200]
Feb  7 13:05:43 srv4hai postfix/smtpd[5054]: disconnect from unknown[45.144.212.200] ehlo=1 auth=0/1 commands=1/2
Feb  7 13:05:52 srv4hai mosquitto[29419]: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
Feb  7 13:05:54 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=5378, secured, session=<1xY0Lowt0rMAAAAAAAAAAAAAAAAAAAAB>
Feb  7 13:05:54 srv4hai dovecot: imap(miglincit)<5378><1xY0Lowt0rMAAAAAAAAAAAAAAAAAAAAB>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb  7 13:05:59 srv4hai activate_scenario[5380]: SHELLY scenario: 'pcOFF(pcoff)' started
Feb  7 13:05:59 srv4hai activate_scenario[5380]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-0:''

finished