activate_scenario.sh
Wed Oct 9 18:09:24 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/10/09/_0.log)

vorher: 18:09:24.334

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: 18:09:24.376
Dauer: 43 msec phName: 'shelly-0:'''


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

urls : 1
vorher : 18:09:24.315
nachher: 18:09:24.382
Dauer : 67 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/10/09//scene_pcOFF_20241009_180924.txt'


syslog

Oct  9 18:06:01 srv4hai CRON[7781]: (root) CMD (/etc/linetest/linetest.sh)
Oct  9 18:06:07 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=7791, secured, session=
Oct  9 18:06:07 srv4hai dovecot: imap(miglincit)<7791>: Logged out in=29 out=529 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Oct  9 18:06:07 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=7793, secured, session=<0xN9bg0kkOYAAAAAAAAAAAAAAAAAAAAB>
Oct  9 18:06:07 srv4hai dovecot: imap(miglincit)<7793><0xN9bg0kkOYAAAAAAAAAAAAAAAAAAAAB>: Logged out in=44 out=189727 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Oct  9 18:06:08 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=7798, secured, session=
Oct  9 18:06:08 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=7799, secured, session=
Oct  9 18:06:08 srv4hai dovecot: imap(miglincit)<7799>: Logged out in=660 out=50179 deleted=0 expunged=0 trashed=0 hdr_count=62 hdr_bytes=20509 body_count=0 body_bytes=0
Oct  9 18:06:09 srv4hai dovecot: imap(miglincit)<7798>: Logged out in=274183 out=1196138 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Oct  9 18:06:13 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=7803, secured, session=
Oct  9 18:06:13 srv4hai dovecot: imap(miglincit)<7803>: Logged out in=443 out=86888 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=522 body_count=1 body_bytes=84616
Oct  9 18:06:14 srv4hai mosquitto[18551]: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
Oct  9 18:06:16 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=7808, secured, session=
Oct  9 18:06:16 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=7810, secured, session=
Oct  9 18:06:16 srv4hai dovecot: imap(miglincit)<7810>: Logged out in=491 out=8778 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=380 body_count=2 body_bytes=6295
Oct  9 18:06:16 srv4hai dovecot: imap(miglincit)<7808>: Logged out in=648 out=33462 deleted=0 expunged=0 trashed=4 hdr_count=4 hdr_bytes=1201 body_count=0 body_bytes=0
Oct  9 18:06:17 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=7812, secured, session=
Oct  9 18:06:17 srv4hai dovecot: imap(miglincit)<7812>: Logged out in=443 out=24928 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=577 body_count=1 body_bytes=22618
Oct  9 18:06:23 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=7818, secured, session=
Oct  9 18:06:23 srv4hai dovecot: imap(miglincit)<7818>: Logged out in=441 out=19602 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=379 body_count=1 body_bytes=17676
Oct  9 18:06:24 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=7822, secured, session=
Oct  9 18:06:24 srv4hai dovecot: imap(miglincit)<7822>: Logged out in=443 out=6762 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=441 body_count=1 body_bytes=4778
Oct  9 18:06:26 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=7830, secured, session=<1NOmbw0kpOYAAAAAAAAAAAAAAAAAAAAB>
Oct  9 18:06:26 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=7832, secured, session=
Oct  9 18:06:26 srv4hai dovecot: imap(miglincit)<7832>: Logged out in=517 out=4716 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=419 body_count=4 body_bytes=2229
Oct  9 18:06:26 srv4hai dovecot: imap(miglincit)<7830><1NOmbw0kpOYAAAAAAAAAAAAAAAAAAAAB>: Logged out in=732 out=37443 deleted=0 expunged=0 trashed=8 hdr_count=12 hdr_bytes=3489 body_count=0 body_bytes=0
Oct  9 18:06:27 srv4hai ping_SP[30567]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1728489987 - 'ping_SP_0'
Oct  9 18:06:27 srv4hai ping_SP[30567]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Oct  9 18:06:28 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=7851, secured, session=
Oct  9 18:06:28 srv4hai dovecot: imap(miglincit)<7851>: Logged out in=397 out=24835 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=577 body_count=1 body_bytes=22618
Oct  9 18:06:28 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=7853, secured, session=
Oct  9 18:06:28 srv4hai dovecot: imap(miglincit)<7853>: Logged out in=445 out=8701 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=380 body_count=2 body_bytes=6295
Oct  9 18:06:31 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=7857, secured, session=
Oct  9 18:06:31 srv4hai dovecot: imap(miglincit)<7857>: Logged out in=445 out=489971 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=380 body_count=2 body_bytes=487555
Oct  9 18:06:57 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=7870, secured, session=
Oct  9 18:06:57 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=7872, secured, session=
Oct  9 18:06:57 srv4hai dovecot: imap(miglincit)<7872>: Logged out in=397 out=24843 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=577 body_count=1 body_bytes=22618
Oct  9 18:06:57 srv4hai dovecot: imap(miglincit)<7870>: Logged out in=664 out=31376 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=370 body_count=0 body_bytes=0
Oct  9 18:07:01 srv4hai CRON[7877]: (root) CMD (/etc/linetest/linetest.sh)
Oct  9 18:07:10 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=7886, secured, session=<27Y8cg0kvOYAAAAAAAAAAAAAAAAAAAAB>
Oct  9 18:07:10 srv4hai dovecot: imap(miglincit)<7886><27Y8cg0kvOYAAAAAAAAAAAAAAAAAAAAB>: Logged out in=505 out=8030 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=1635 body_count=4 body_bytes=4175
Oct  9 18:07:14 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=7890, secured, session=
Oct  9 18:07:14 srv4hai dovecot: imap(miglincit)<7890>: Logged out in=462 out=4245 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=1635 body_count=3 body_bytes=479
Oct  9 18:07:15 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=7892, secured, session=
Oct  9 18:07:15 srv4hai dovecot: imap(miglincit)<7892>: Logged out in=503 out=65542 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=1635 body_count=4 body_bytes=61680
Oct  9 18:07:30 srv4hai ping_SP[30567]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1728490050 - 'ping_SP_0'
Oct  9 18:07:30 srv4hai ping_SP[30567]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Oct  9 18:07:34 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=7923, secured, session=
Oct  9 18:07:34 srv4hai dovecot: imap(miglincit)<7923>: Logged out in=462 out=4245 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=1635 body_count=3 body_bytes=479
Oct  9 18:07:35 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=7927, secured, session=
Oct  9 18:07:35 srv4hai dovecot: imap(miglincit)<7927>: Logged out in=544 out=2513095 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=1635 body_count=5 body_bytes=2509125
Oct  9 18:08:01 srv4hai CRON[7943]: (root) CMD (/etc/linetest/linetest.sh)
Oct  9 18:08:04 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
Oct  9 18:08:04 srv4hai dhcpd[30731]: DHCPDISCOVER from ec:da:3b:c6:1d:3c via enp2s0
Oct  9 18:08:04 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.150 to ec:da:3b:c6:1d:3c via enp2s0
Oct  9 18:08:04 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
Oct  9 18:08:04 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Oct  9 18:08:04 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.150
Oct  9 18:08:04 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-50
Oct  9 18:08:04 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.150 (192.168.12.252) from ec:da:3b:c6:1d:3c via enp2s0
Oct  9 18:08:04 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.150 to ec:da:3b:c6:1d:3c via enp2s0
Oct  9 18:08:04 srv4hai named[30406]: client @0x7f931c02c6e0 192.168.12.252#44081/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-50.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Oct  9 18:08:04 srv4hai named[30406]: client @0x7f9348072b20 192.168.12.252#43293/key rndc-key: signer "rndc-key" approved
Oct  9 18:08:04 srv4hai named[30406]: client @0x7f9348072b20 192.168.12.252#43293/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-50.viehai.at' TXT
Oct  9 18:08:04 srv4hai named[30406]: client @0x7f9348072b20 192.168.12.252#43293/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-50.viehai.at' TXT "31ddfcf6e79cbbdf4e55e03247020075f9"
Oct  9 18:08:04 srv4hai named[30406]: client @0x7f9348072b20 192.168.12.252#43293/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-50.viehai.at' A
Oct  9 18:08:04 srv4hai named[30406]: client @0x7f9348072b20 192.168.12.252#43293/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-50.viehai.at' A 192.168.12.150
Oct  9 18:08:04 srv4hai dhcpd[30731]: Added new forward map from shelly-50.viehai.at to 192.168.12.150
Oct  9 18:08:04 srv4hai named[30406]: client @0x7f932c0a6290 192.168.12.252#60055/key rndc-key: signer "rndc-key" approved
Oct  9 18:08:04 srv4hai named[30406]: client @0x7f932c0a6290 192.168.12.252#60055/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '150.12.168.192.in-addr.arpa' PTR
Oct  9 18:08:04 srv4hai named[30406]: client @0x7f932c0a6290 192.168.12.252#60055/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.
Oct  9 18:08:04 srv4hai dhcpd[30731]: Added reverse map from 150.12.168.192.in-addr.arpa. to shelly-50.viehai.at
Oct  9 18:08:04 srv4hai common[7949]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Oct  9 18:08:04 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-50' - shIP/2:'' perform:'conf'
Oct  9 18:08:05 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-50' - shIP/2:'192.168.12.150'
Oct  9 18:08:05 srv4hai mosquitto[18551]: New connection from 192.168.12.150 on port 1883.
Oct  9 18:08:05 srv4hai mosquitto[18551]: Client shellypmminig3-ecda3bc61d3c already connected, closing old connection.
Oct  9 18:08:05 srv4hai mosquitto[18551]: Socket error on client shellypmminig3-ecda3bc61d3c, disconnecting.
Oct  9 18:08:05 srv4hai mosquitto[18551]: New client connected from 192.168.12.150 as shellypmminig3-ecda3bc61d3c (c1, k60, u'shmqtt').
Oct  9 18:08:05 srv4hai conf_shelly.sh: SHELLY: usage/name '50-TBD' already set for '192.168.12.150'
Oct  9 18:08:05 srv4hai conf_shelly.sh: SHELLY:'shelly-50' no WebHook
Oct  9 18:08:20 srv4hai postfix/anvil[7260]: statistics: max connection rate 2/60s for (smtp:165.154.235.79) at Oct  9 18:03:33
Oct  9 18:08:20 srv4hai postfix/anvil[7260]: statistics: max connection count 2 for (smtp:165.154.235.79) at Oct  9 18:03:33
Oct  9 18:08:20 srv4hai postfix/anvil[7260]: statistics: max cache size 1 at Oct  9 18:03:33
Oct  9 18:08:33 srv4hai ping_SP[30567]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1728490113 - 'ping_SP_0'
Oct  9 18:08:33 srv4hai ping_SP[30567]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Oct  9 18:09:00 srv4hai systemd[1]: Starting Clean php session files...
Oct  9 18:09:00 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Oct  9 18:09:00 srv4hai systemd[1]: Started Clean php session files.
Oct  9 18:09:01 srv4hai CRON[8153]: (root) CMD (/etc/linetest/linetest.sh)
Oct  9 18:09:01 srv4hai CRON[8154]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Oct  9 18:09:07 srv4hai postfix/smtpd[8163]: connect from unknown[178.215.236.32]
Oct  9 18:09:08 srv4hai postfix/smtpd[8163]: warning: unknown[178.215.236.32]: SASL LOGIN authentication failed: Invalid authentication mechanism
Oct  9 18:09:08 srv4hai postfix/smtpd[8163]: lost connection after AUTH from unknown[178.215.236.32]
Oct  9 18:09:08 srv4hai postfix/smtpd[8163]: disconnect from unknown[178.215.236.32] ehlo=1 auth=0/1 commands=1/2
Oct  9 18:09:08 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=8168, secured, session=
Oct  9 18:09:08 srv4hai dovecot: imap(miglincit)<8168>: Logged out in=611 out=1195 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Oct  9 18:09:24 srv4hai activate_scenario[8179]: SHELLY scenario: 'pcOFF(pcoff)' started
Oct  9 18:09:24 srv4hai activate_scenario[8179]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-0:''

finished