activate_scenario.sh
Thu Feb 6 10:14: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/06/_0.log)

vorher: 10:14:41.195

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: 10:14:41.243
Dauer: 47 msec phName: 'origin:'dhcpcommit.sh-pchai7x''


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

urls : 1
vorher : 10:14:41.146
nachher: 10:14:41.249
Dauer : 104 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/02/06//scene_pcON_20250206_101441.txt'


syslog

Feb  6 10:11:00 srv4hai common[18741]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  6 10:11:00 srv4hai common[18765]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  6 10:11:00 srv4hai common[18789]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  6 10:11:01 srv4hai CRON[18814]: (root) CMD (/etc/linetest/linetest.sh)
Feb  6 10:11:27 srv4hai ping_SP[27550]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1738833087 - 'ping_SP_0'
Feb  6 10:11:27 srv4hai ping_SP[27550]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  6 10:11:40 srv4hai common[18846]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  6 10:11:40 srv4hai common[18870]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  6 10:11:46 srv4hai dhcpd[4995]: DHCPDISCOVER from 44:17:93:a5:8a:e4 via enp2s0
Feb  6 10:11:46 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Feb  6 10:11:46 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Feb  6 10:11:46 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.147
Feb  6 10:11:46 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-47
Feb  6 10:11:46 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.147 (192.168.12.252) from 44:17:93:a5:8a:e4 via enp2s0
Feb  6 10:11:46 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Feb  6 10:11:46 srv4hai named[30406]: client @0x7f93380d8d80 192.168.12.252#56153/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-47.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb  6 10:11:46 srv4hai named[30406]: client @0x7f935012c1c0 192.168.12.252#50589/key rndc-key: signer "rndc-key" approved
Feb  6 10:11:46 srv4hai named[30406]: client @0x7f935012c1c0 192.168.12.252#50589/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' TXT
Feb  6 10:11:46 srv4hai named[30406]: client @0x7f935012c1c0 192.168.12.252#50589/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' TXT "31f97534415d36e3a13ec57b0310c0867f"
Feb  6 10:11:46 srv4hai named[30406]: client @0x7f935012c1c0 192.168.12.252#50589/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' A
Feb  6 10:11:46 srv4hai named[30406]: client @0x7f935012c1c0 192.168.12.252#50589/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' A 192.168.12.147
Feb  6 10:11:46 srv4hai dhcpd[4995]: Added new forward map from shelly-47.viehai.at to 192.168.12.147
Feb  6 10:11:46 srv4hai named[30406]: client @0x7f93100d6a50 192.168.12.252#48227/key rndc-key: signer "rndc-key" approved
Feb  6 10:11:46 srv4hai named[30406]: client @0x7f93100d6a50 192.168.12.252#48227/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '147.12.168.192.in-addr.arpa' PTR
Feb  6 10:11:46 srv4hai named[30406]: client @0x7f93100d6a50 192.168.12.252#48227/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  6 10:11:46 srv4hai dhcpd[4995]: Added reverse map from 147.12.168.192.in-addr.arpa. to shelly-47.viehai.at
Feb  6 10:11:46 srv4hai common[18899]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Feb  6 10:11:46 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-47' - shIP/2:'' perform:'conf'
Feb  6 10:11:47 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-47' - shIP/2:'192.168.12.147'
Feb  6 10:11:47 srv4hai mosquitto[29419]: New connection from 192.168.12.147 on port 1883.
Feb  6 10:11:47 srv4hai mosquitto[29419]: New client connected from 192.168.12.147 as shellyplus1-441793a58ae4 (c1, k60, u'shmqtt').
Feb  6 10:11:47 srv4hai conf_shelly.sh: SHELLY: usage/name 'GB Schreibtischlampe links' already set for '192.168.12.147'
Feb  6 10:11:47 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(0)' - allready transmitted - skipping
Feb  6 10:11:47 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(1)' - allready transmitted - skipping
Feb  6 10:11:47 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(2)' - allready transmitted - skipping
Feb  6 10:11:47 srv4hai common[18963]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  6 10:11:47 srv4hai common[18987]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  6 10:12:00 srv4hai common[19035]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  6 10:12:00 srv4hai common[19059]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  6 10:12:00 srv4hai common[19083]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  6 10:12:01 srv4hai CRON[19108]: (root) CMD (/etc/linetest/linetest.sh)
Feb  6 10:12:03 srv4hai postfix/smtpd[19113]: connect from unknown[45.144.212.200]
Feb  6 10:12:03 srv4hai postfix/smtpd[19113]: warning: unknown[45.144.212.200]: SASL LOGIN authentication failed: Invalid authentication mechanism
Feb  6 10:12:03 srv4hai postfix/smtpd[19113]: lost connection after AUTH from unknown[45.144.212.200]
Feb  6 10:12:03 srv4hai postfix/smtpd[19113]: disconnect from unknown[45.144.212.200] ehlo=1 auth=0/1 commands=1/2
Feb  6 10:12:07 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=19117, secured, session=<3dXeonUt2pMAAAAAAAAAAAAAAAAAAAAB>
Feb  6 10:12:07 srv4hai dovecot: imap(miglincit)<19117><3dXeonUt2pMAAAAAAAAAAAAAAAAAAAAB>: 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  6 10:12:23 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Feb  6 10:12:24 srv4hai fetchmail[1651]: 63049 messages (63046 seen) for tmiglinci at mail.akis.at (878954351 octets).
Feb  6 10:12:24 srv4hai postfix/smtpd[19113]: connect from localhost[127.0.0.1]
Feb  6 10:12:24 srv4hai postfix/smtpd[19113]: AB7D96345A: client=localhost[127.0.0.1]
Feb  6 10:12:24 srv4hai postfix/cleanup[19120]: AB7D96345A: message-id=<79984433-622d-4d33-82b3-4557e29118d4@datadialog.net>
Feb  6 10:12:24 srv4hai postfix/qmgr[8566]: AB7D96345A: from=, size=67584, nrcpt=1 (queue active)
Feb  6 10:12:24 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:63047 of 63049 (67342 octets) not flushed
Feb  6 10:12:24 srv4hai postfix/local[19121]: AB7D96345A: to=, relay=local, delay=0.12, delays=0.09/0.02/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Feb  6 10:12:24 srv4hai postfix/qmgr[8566]: AB7D96345A: removed
Feb  6 10:12:24 srv4hai postfix/smtpd[19113]: C738D6345A: client=localhost[127.0.0.1]
Feb  6 10:12:24 srv4hai postfix/cleanup[19120]: C738D6345A: message-id=<67a47c71.5d0a0220.1f068a.2803@mx.google.com>
Feb  6 10:12:24 srv4hai postfix/qmgr[8566]: C738D6345A: from=, size=19312, nrcpt=1 (queue active)
Feb  6 10:12:24 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:63048 of 63049 (19030 octets) not flushed
Feb  6 10:12:24 srv4hai postfix/local[19121]: C738D6345A: to=, relay=local, delay=0.07, delays=0.05/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Feb  6 10:12:24 srv4hai postfix/qmgr[8566]: C738D6345A: removed
Feb  6 10:12:24 srv4hai postfix/smtpd[19113]: DD7266345A: client=localhost[127.0.0.1]
Feb  6 10:12:24 srv4hai postfix/cleanup[19120]: DD7266345A: message-id=<0b31228844185665d826b5a9dca97878@freilaender.at>
Feb  6 10:12:24 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:63049 of 63049 (9010 octets) not flushed
Feb  6 10:12:24 srv4hai postfix/qmgr[8566]: DD7266345A: from=, size=9292, nrcpt=1 (queue active)
Feb  6 10:12:24 srv4hai postfix/local[19121]: DD7266345A: to=, relay=local, delay=0.06, delays=0.05/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Feb  6 10:12:24 srv4hai postfix/qmgr[8566]: DD7266345A: removed
Feb  6 10:12:24 srv4hai postfix/smtpd[19113]: disconnect from localhost[127.0.0.1] ehlo=1 mail=3 rcpt=3 data=3 quit=1 commands=11
Feb  6 10:12:25 srv4hai fetchmail[1651]: 11505 messages (11505 seen) for srozum at mail.akis.at (1367407205 octets).
Feb  6 10:12:25 srv4hai fetchmail[1651]: 28770 messages (28770 seen) for mrozum at mail.akis.at (629191326 octets).
Feb  6 10:12:26 srv4hai fetchmail[1651]: 1162 messages (1162 seen) for admin@bastelstube.wien at pop3.world4you.com (52206525 octets).
Feb  6 10:12:30 srv4hai ping_SP[27550]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1738833150 - 'ping_SP_0'
Feb  6 10:12:30 srv4hai ping_SP[27550]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  6 10:12:34 srv4hai postfix/smtpd[19113]: connect from unknown[45.144.212.200]
Feb  6 10:12:34 srv4hai postfix/smtpd[19113]: warning: unknown[45.144.212.200]: SASL LOGIN authentication failed: Invalid authentication mechanism
Feb  6 10:12:34 srv4hai postfix/smtpd[19113]: lost connection after AUTH from unknown[45.144.212.200]
Feb  6 10:12:34 srv4hai postfix/smtpd[19113]: disconnect from unknown[45.144.212.200] ehlo=1 auth=0/1 commands=1/2
Feb  6 10:12:40 srv4hai common[19147]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  6 10:12:40 srv4hai common[19171]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  6 10:12:59 srv4hai common[19196]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  6 10:12:59 srv4hai common[19220]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  6 10:13:00 srv4hai common[19244]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  6 10:13:01 srv4hai CRON[19269]: (root) CMD (/etc/linetest/linetest.sh)
Feb  6 10:13:13 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=19276, secured, session=
Feb  6 10:13:14 srv4hai dovecot: imap(miglincit)<19276>: Logged out in=408626 out=1645068 deleted=0 expunged=0 trashed=0 hdr_count=262 hdr_bytes=93775 body_count=0 body_bytes=0
Feb  6 10:13:19 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=19279, secured, session=<6lswp3Ut7JMAAAAAAAAAAAAAAAAAAAAB>
Feb  6 10:13:19 srv4hai dovecot: imap(miglincit)<19279><6lswp3Ut7JMAAAAAAAAAAAAAAAAAAAAB>: Logged out in=443 out=61738 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=527 body_count=1 body_bytes=59498
Feb  6 10:13:22 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=19281, secured, session=
Feb  6 10:13:22 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=19283, secured, session=
Feb  6 10:13:22 srv4hai dovecot: imap(miglincit)<19283>: Logged out in=397 out=2683 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=480 body_count=1 body_bytes=523
Feb  6 10:13:22 srv4hai dovecot: imap(miglincit)<19281>: Logged out in=606 out=33225 deleted=0 expunged=0 trashed=1 hdr_count=1 hdr_bytes=296 body_count=0 body_bytes=0
Feb  6 10:13:33 srv4hai ping_SP[27550]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1738833213 - 'ping_SP_0'
Feb  6 10:13:33 srv4hai ping_SP[27550]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  6 10:13:39 srv4hai nmbd[2172]: [2025/02/06 10:13:39.711170,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Feb  6 10:13:39 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Feb  6 10:13:39 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Feb  6 10:13:39 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Feb  6 10:13:40 srv4hai common[19309]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  6 10:13:40 srv4hai common[19333]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  6 10:14:00 srv4hai common[19359]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  6 10:14:00 srv4hai common[19383]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  6 10:14:00 srv4hai common[19407]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  6 10:14:01 srv4hai CRON[19432]: (root) CMD (/etc/linetest/linetest.sh)
Feb  6 10:14:06 srv4hai postfix/smtpd[19113]: connect from unknown[92.118.39.64]
Feb  6 10:14:10 srv4hai postfix/smtpd[19113]: warning: unknown[92.118.39.64]: SASL PLAIN authentication failed: 
Feb  6 10:14:10 srv4hai postfix/smtpd[19113]: disconnect from unknown[92.118.39.64] ehlo=1 auth=0/1 quit=1 commands=2/3
Feb  6 10:14:36 srv4hai ping_SP[27550]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1738833276 - 'ping_SP_0'
Feb  6 10:14:36 srv4hai ping_SP[27550]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  6 10:14:40 srv4hai common[19459]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  6 10:14:40 srv4hai common[19483]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  6 10:14:41 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Feb  6 10:14:41 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.10
Feb  6 10:14:41 srv4hai dhcpd[4995]: execute_statement argv[2] = pchai7x
Feb  6 10:14:41 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.10 from 70:54:d2:7b:fe:a7 via enp2s0
Feb  6 10:14:41 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.10 to 70:54:d2:7b:fe:a7 via enp2s0
Feb  6 10:14:41 srv4hai named[30406]: client @0x7f93506df2d0 192.168.12.252#59661/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: pchai7x.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb  6 10:14:41 srv4hai named[30406]: client @0x7f933001df50 192.168.12.252#42931/key rndc-key: signer "rndc-key" approved
Feb  6 10:14:41 srv4hai named[30406]: client @0x7f933001df50 192.168.12.252#42931/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' TXT
Feb  6 10:14:41 srv4hai named[30406]: client @0x7f933001df50 192.168.12.252#42931/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' TXT "001e3ad86ca86e10b8e2aaf2e2ade54f52"
Feb  6 10:14:41 srv4hai named[30406]: client @0x7f933001df50 192.168.12.252#42931/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' A
Feb  6 10:14:41 srv4hai named[30406]: client @0x7f933001df50 192.168.12.252#42931/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' A 192.168.12.10
Feb  6 10:14:41 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.10'(10) device 'pchai7x'
Feb  6 10:14:41 srv4hai dhcpd[4995]: Added new forward map from pchai7x.viehai.at to 192.168.12.10
Feb  6 10:14:41 srv4hai named[30406]: client @0x7f93506682d0 192.168.12.252#34889/key rndc-key: signer "rndc-key" approved
Feb  6 10:14:41 srv4hai named[30406]: client @0x7f93506682d0 192.168.12.252#34889/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '10.12.168.192.in-addr.arpa' PTR
Feb  6 10:14:41 srv4hai named[30406]: client @0x7f93506682d0 192.168.12.252#34889/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  6 10:14:41 srv4hai dhcpd[4995]: Added reverse map from 10.12.168.192.in-addr.arpa. to pchai7x.viehai.at
Feb  6 10:14:41 srv4hai activate_scenario[19513]: SHELLY scenario: 'pcON(pcon)' started
Feb  6 10:14:41 srv4hai activate_scenario[19513]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - origin:'dhcpcommit.sh-pchai7x'

finished