activate_scenario.sh
Fri Aug 9 19:19:13 CEST 2024
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'

Thomas Schreibtischlampe (/srv/www/viehai/shelly/log_scenarios/2024/08/09/_0.log)

vorher: 19:19:13.823

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: 19:19:13.854
Dauer: 30 msec phName: 'shelly-0:'''


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

urls : 1
vorher : 19:19:13.803
nachher: 19:19:13.861
Dauer : 59 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/08/09//scene_pcOFF_20240809_191913.txt'


syslog

Aug  9 19:16:01 srv4hai CRON[16599]: (root) CMD (/etc/linetest/linetest.sh)
Aug  9 19:16:11 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Aug  9 19:16:12 srv4hai fetchmail[1651]: 49772 messages (49772 seen) for tmiglinci at mail.akis.at (-173506436 octets).
Aug  9 19:16:12 srv4hai fetchmail[1651]: 10566 messages (10566 seen) for srozum at mail.akis.at (1270289795 octets).
Aug  9 19:16:13 srv4hai fetchmail[1651]: 25228 messages (25228 seen) for mrozum at mail.akis.at (106878368 octets).
Aug  9 19:16:13 srv4hai fetchmail[1651]: 1139 messages (1139 seen) for admin@bastelstube.wien at pop3.world4you.com (51570784 octets).
Aug  9 19:16:20 srv4hai ping_SP[14318]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1723223780 - 'ping_SP_0'
Aug  9 19:16:20 srv4hai ping_SP[14318]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Aug  9 19:17:01 srv4hai CRON[16631]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Aug  9 19:17:01 srv4hai CRON[16632]: (root) CMD (/etc/linetest/linetest.sh)
Aug  9 19:17:03 srv4hai dhcpd[30731]: uid lease 192.168.12.40 for client ec:da:3b:c6:1d:3c is duplicate on 192.168.12.0/24
Aug  9 19:17:03 srv4hai dhcpd[30731]: DHCPDISCOVER from ec:da:3b:c6:1d:3c via enp2s0
Aug  9 19:17:03 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.150 to ec:da:3b:c6:1d:3c via enp2s0
Aug  9 19:17:03 srv4hai dhcpd[30731]: uid lease 192.168.12.40 for client ec:da:3b:c6:1d:3c is duplicate on 192.168.12.0/24
Aug  9 19:17:03 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Aug  9 19:17:03 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.150
Aug  9 19:17:03 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-50
Aug  9 19:17:03 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.150 (192.168.12.252) from ec:da:3b:c6:1d:3c via enp2s0
Aug  9 19:17:03 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.150 to ec:da:3b:c6:1d:3c via enp2s0
Aug  9 19:17:03 srv4hai named[30406]: client @0x7f931006ae50 192.168.12.252#37835/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-50.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Aug  9 19:17:03 srv4hai named[30406]: client @0x7f93100971e0 192.168.12.252#50511/key rndc-key: signer "rndc-key" approved
Aug  9 19:17:03 srv4hai named[30406]: client @0x7f93100971e0 192.168.12.252#50511/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-50.viehai.at' TXT
Aug  9 19:17:03 srv4hai named[30406]: client @0x7f93100971e0 192.168.12.252#50511/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-50.viehai.at' TXT "31ddfcf6e79cbbdf4e55e03247020075f9"
Aug  9 19:17:03 srv4hai named[30406]: client @0x7f93100971e0 192.168.12.252#50511/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-50.viehai.at' A
Aug  9 19:17:03 srv4hai named[30406]: client @0x7f93100971e0 192.168.12.252#50511/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-50.viehai.at' A 192.168.12.150
Aug  9 19:17:03 srv4hai dhcpd[30731]: Added new forward map from shelly-50.viehai.at to 192.168.12.150
Aug  9 19:17:03 srv4hai named[30406]: client @0x7f934c037ed0 192.168.12.252#43261/key rndc-key: signer "rndc-key" approved
Aug  9 19:17:03 srv4hai named[30406]: client @0x7f934c037ed0 192.168.12.252#43261/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '150.12.168.192.in-addr.arpa' PTR
Aug  9 19:17:03 srv4hai named[30406]: client @0x7f934c037ed0 192.168.12.252#43261/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '150.12.168.192.in-addr.arpa' PTR shelly-50.viehai.at.
Aug  9 19:17:03 srv4hai dhcpd[30731]: Added reverse map from 150.12.168.192.in-addr.arpa. to shelly-50.viehai.at
Aug  9 19:17:03 srv4hai common[16639]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Aug  9 19:17:03 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-50' - shIP/2:'' perform:'conf'
Aug  9 19:17:04 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-50' - shIP/2:'192.168.12.150'
Aug  9 19:17:04 srv4hai conf_shelly.sh: SHELLY: usage/name '50-TBD' already set for '192.168.12.150'
Aug  9 19:17:04 srv4hai mosquitto[18551]: New connection from 192.168.12.150 on port 1883.
Aug  9 19:17:04 srv4hai mosquitto[18551]: Client shellypmminig3-ecda3bc61d3c already connected, closing old connection.
Aug  9 19:17:04 srv4hai mosquitto[18551]: Socket error on client shellypmminig3-ecda3bc61d3c, disconnecting.
Aug  9 19:17:04 srv4hai mosquitto[18551]: New client connected from 192.168.12.150 as shellypmminig3-ecda3bc61d3c (c1, k60, u'shmqtt').
Aug  9 19:17:04 srv4hai conf_shelly.sh: SHELLY:'shelly-50' no WebHook
Aug  9 19:17:31 srv4hai mosquitto[18551]: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
Aug  9 19:17:34 srv4hai ping_SP[14318]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1723223854 - 'ping_SP_0'
Aug  9 19:17:34 srv4hai ping_SP[14318]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Aug  9 19:18:01 srv4hai CRON[16734]: (root) CMD (/etc/linetest/linetest.sh)
Aug  9 19:18:04 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=16741, secured, session=
Aug  9 19:18:04 srv4hai dovecot: imap(miglincit)<16741>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Aug  9 19:18:20 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=16743, secured, session=
Aug  9 19:18:20 srv4hai dovecot: imap(miglincit)<16743>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Aug  9 19:18:48 srv4hai ping_SP[14318]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1723223928 - 'ping_SP_0'
Aug  9 19:18:48 srv4hai ping_SP[14318]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Aug  9 19:18:49 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=16770, secured, session=
Aug  9 19:18:49 srv4hai dovecot: imap(miglincit)<16770>: Logged out in=443 out=38731 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=459 body_count=1 body_bytes=36578
Aug  9 19:18:50 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=16772, secured, session=
Aug  9 19:18:50 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=16774, secured, session=
Aug  9 19:18:50 srv4hai dovecot: imap(miglincit)<16774>: Logged out in=397 out=18613 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=458 body_count=1 body_bytes=16476
Aug  9 19:18:50 srv4hai dovecot: imap(miglincit)<16772>: Logged out in=606 out=30801 deleted=0 expunged=0 trashed=1 hdr_count=1 hdr_bytes=387 body_count=0 body_bytes=0
Aug  9 19:19:01 srv4hai CRON[16776]: (root) CMD (/etc/linetest/linetest.sh)
Aug  9 19:19:13 srv4hai dovecot: imap(miglincit)<24688>: Logged out in=12823 out=1762738 deleted=0 expunged=0 trashed=0 hdr_count=32 hdr_bytes=10488 body_count=32 body_bytes=1627251
Aug  9 19:19:13 srv4hai activate_scenario[16783]: SHELLY scenario: 'pcOFF(pcoff)' started
Aug  9 19:19:13 srv4hai activate_scenario[16783]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-0:''

finished