activate_scenario.sh
Sun Dec 1 20:14:29 CET 2024
scenario: SophieZimmerOFF
source: 192.168.12.61

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

scenario: 'Grete Büro AUS-schalten' - 'SophieZimmerOFF' - 'sophiezimmeroff'

GB Licht (/srv/www/viehai/shelly/log_scenarios/2024/12/01/_0.log)

vorher: 20:14:29.935

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

nachher: 20:14:29.956
Dauer: 21 msec phName: 'source:'192.168.12.61''


GB Fernsehlampe (/srv/www/viehai/shelly/log_scenarios/2024/12/01/_1.log)

vorher: 20:14:29.952

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

nachher: 20:14:30.008
Dauer: 56 msec phName: 'source:'192.168.12.61''


GB Stehlampe braun (/srv/www/viehai/shelly/log_scenarios/2024/12/01/_2.log)

vorher: 20:14:29.967

http://192.168.12.142/light/0?turn=off&brightness=50
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0

nachher: 20:14:30.007
Dauer: 40 msec phName: 'source:'192.168.12.61''


GB Schreibtischlampe links (/srv/www/viehai/shelly/log_scenarios/2024/12/01/_3.log)

vorher: 20:14:29.982

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

nachher: 20:14:30.050
Dauer: 69 msec phName: 'source:'192.168.12.61''


GB Sofalampe (/srv/www/viehai/shelly/log_scenarios/2024/12/01/_4.log)

vorher: 20:14:29.997

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

nachher: 20:14:30.024
Dauer: 27 msec phName: 'source:'192.168.12.61''


GB Kugellampe (/srv/www/viehai/shelly/log_scenarios/2024/12/01/_5.log)

vorher: 20:14:30.010

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

nachher: 20:14:30.052
Dauer: 42 msec phName: 'source:'192.168.12.61''


scenario: 'Grete Büro AUS-schalten' - 'SophieZimmerOFF' - 'sophiezimmeroff'

urls : 6
vorher : 20:14:29.914
nachher: 20:14:30.060
Dauer : 146 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/12/01//scene_SophieZimmerOFF_20241201_201429.txt'


syslog

Dec  1 20:11:01 srv4hai CRON[11598]: (root) CMD (/etc/linetest/linetest.sh)
Dec  1 20:11:21 srv4hai common[11606]: SHELLY common.sh inkludiert von ./bt_scan.sh
Dec  1 20:11:31 srv4hai bt_scan[11606]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Dec  1 20:11:31 srv4hai bt_scan[11606]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Dec  1 20:11:31 srv4hai common[11643]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Dec  1 20:11:32 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1733080292-1733080281
Dec  1 20:11:32 srv4hai check_presence[11643]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Dec  1 20:11:32 srv4hai check_presence[11643]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Dec  1 20:11:32 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'11'=1733080292-1733080281
Dec  1 20:11:32 srv4hai check_presence[11643]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Dec  1 20:11:32 srv4hai check_presence[11643]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Dec  1 20:11:32 srv4hai common.sh: SHELLY: BTstatus[2]:'null' dweetAge:'11'=1733080292-1733080281
Dec  1 20:11:32 srv4hai check_presence[11643]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and null//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Dec  1 20:11:32 srv4hai check_presence[11643]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Dec  1 20:11:33 srv4hai check_presence[11643]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_buero_UM) - sceneOFF(offAll)
Dec  1 20:11:33 srv4hai check_presence[11643]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Dec  1 20:11:47 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=11796, secured, session=
Dec  1 20:11:47 srv4hai dovecot: imap(rozumm)<11796>: Logged out in=92 out=1061 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Dec  1 20:11:50 srv4hai ping_SP[2279]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1733080310 - 'ping_SP_1'
Dec  1 20:11:50 srv4hai ping_SP[2279]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Dec  1 20:11:58 srv4hai postfix/anvil[10378]: statistics: max connection rate 1/60s for (smtp:80.94.95.239) at Dec  1 20:08:37
Dec  1 20:11:58 srv4hai postfix/anvil[10378]: statistics: max connection count 1 for (smtp:80.94.95.239) at Dec  1 20:08:37
Dec  1 20:11:58 srv4hai postfix/anvil[10378]: statistics: max cache size 1 at Dec  1 20:08:37
Dec  1 20:12:01 srv4hai CRON[11824]: (root) CMD (/etc/linetest/linetest.sh)
Dec  1 20:12:06 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=11831, secured, session=
Dec  1 20:12:06 srv4hai dovecot: imap(miglincit)<11831>: Logged out in=625 out=1284 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Dec  1 20:12:06 srv4hai ping_SP[29999]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1733080326 - 'ping_SP_0'
Dec  1 20:12:06 srv4hai ping_SP[29999]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec  1 20:12:29 srv4hai postfix/smtpd[11849]: connect from unknown[80.94.95.239]
Dec  1 20:12:31 srv4hai postfix/smtpd[11849]: warning: unknown[80.94.95.239]: SASL LOGIN authentication failed: Invalid authentication mechanism
Dec  1 20:12:31 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Dec  1 20:12:32 srv4hai postfix/smtpd[11849]: disconnect from unknown[80.94.95.239] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Dec  1 20:12:33 srv4hai fetchmail[1651]: 58198 messages (58198 seen) for tmiglinci at mail.akis.at (488526680 octets).
Dec  1 20:12:34 srv4hai fetchmail[1651]: 11142 messages (11142 seen) for srozum at mail.akis.at (1340814719 octets).
Dec  1 20:12:34 srv4hai fetchmail[1651]: 27601 messages (27601 seen) for mrozum at mail.akis.at (458719820 octets).
Dec  1 20:12:35 srv4hai fetchmail[1651]: 1158 messages (1158 seen) for admin@bastelstube.wien at pop3.world4you.com (52179212 octets).
Dec  1 20:12:44 srv4hai common[11854]: SHELLY common.sh inkludiert von ./bt_scan.sh
Dec  1 20:12:47 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=11868, secured, session=
Dec  1 20:12:47 srv4hai dovecot: imap(rozumm)<11868>: Logged out in=92 out=1061 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Dec  1 20:12:52 srv4hai nmbd[2172]: [2024/12/01 20:12:52.961413,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Dec  1 20:12:52 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Dec  1 20:12:52 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Dec  1 20:12:52 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Dec  1 20:12:53 srv4hai mosquitto[32087]: Socket error on client mqttjs_8cef2969, disconnecting.
Dec  1 20:12:54 srv4hai bt_scan[11854]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Dec  1 20:12:54 srv4hai bt_scan[11854]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Dec  1 20:12:55 srv4hai mosquitto[32087]: Socket error on client mqttjs_1b99c3cc, disconnecting.
Dec  1 20:12:55 srv4hai mosquitto[32087]: Socket error on client mqttjs_73c961c9, disconnecting.
Dec  1 20:13:01 srv4hai CRON[11902]: (root) CMD (/etc/linetest/linetest.sh)
Dec  1 20:13:04 srv4hai ping_SP[2279]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1733080384 - 'ping_SP_1'
Dec  1 20:13:04 srv4hai ping_SP[2279]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Dec  1 20:13:20 srv4hai ping_SP[29999]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1733080400 - 'ping_SP_0'
Dec  1 20:13:20 srv4hai ping_SP[29999]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec  1 20:13:46 srv4hai dhcpd[21239]: uid lease 192.168.12.51 for client cc:8d:a2:5b:90:00 is duplicate on 192.168.12.0/24
Dec  1 20:13:46 srv4hai dhcpd[21239]: DHCPDISCOVER from cc:8d:a2:5b:90:00 via enp2s0
Dec  1 20:13:46 srv4hai dhcpd[21239]: DHCPOFFER on 192.168.12.152 to cc:8d:a2:5b:90:00 via enp2s0
Dec  1 20:13:46 srv4hai dhcpd[21239]: uid lease 192.168.12.51 for client cc:8d:a2:5b:90:00 is duplicate on 192.168.12.0/24
Dec  1 20:13:46 srv4hai dhcpd[21239]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Dec  1 20:13:46 srv4hai dhcpd[21239]: execute_statement argv[1] = 192.168.12.152
Dec  1 20:13:46 srv4hai dhcpd[21239]: execute_statement argv[2] = shelly-52
Dec  1 20:13:46 srv4hai dhcpd[21239]: DHCPREQUEST for 192.168.12.152 (192.168.12.252) from cc:8d:a2:5b:90:00 via enp2s0
Dec  1 20:13:46 srv4hai dhcpd[21239]: DHCPACK on 192.168.12.152 to cc:8d:a2:5b:90:00 via enp2s0
Dec  1 20:13:46 srv4hai named[30406]: client @0x7f934c046b60 192.168.12.252#39409/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-52.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Dec  1 20:13:46 srv4hai named[30406]: client @0x7f9348081920 192.168.12.252#43307/key rndc-key: signer "rndc-key" approved
Dec  1 20:13:46 srv4hai named[30406]: client @0x7f9348081920 192.168.12.252#43307/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-52.viehai.at' TXT
Dec  1 20:13:46 srv4hai named[30406]: client @0x7f9348081920 192.168.12.252#43307/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-52.viehai.at' TXT "31578df257b0aa989faa996200c0f6c957"
Dec  1 20:13:46 srv4hai named[30406]: client @0x7f9348081920 192.168.12.252#43307/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-52.viehai.at' A
Dec  1 20:13:46 srv4hai named[30406]: client @0x7f9348081920 192.168.12.252#43307/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-52.viehai.at' A 192.168.12.152
Dec  1 20:13:46 srv4hai dhcpd[21239]: Added new forward map from shelly-52.viehai.at to 192.168.12.152
Dec  1 20:13:46 srv4hai named[30406]: client @0x7f93506b28d0 192.168.12.252#48813/key rndc-key: signer "rndc-key" approved
Dec  1 20:13:46 srv4hai named[30406]: client @0x7f93506b28d0 192.168.12.252#48813/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '152.12.168.192.in-addr.arpa' PTR
Dec  1 20:13:46 srv4hai named[30406]: client @0x7f93506b28d0 192.168.12.252#48813/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '152.12.168.192.in-addr.arpa' PTR shelly-52.viehai.at.
Dec  1 20:13:46 srv4hai dhcpd[21239]: Added reverse map from 152.12.168.192.in-addr.arpa. to shelly-52.viehai.at
Dec  1 20:13:46 srv4hai common[14024]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Dec  1 20:13:46 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-52' - shIP/2:'' perform:'conf'
Dec  1 20:13:47 srv4hai mosquitto[32087]: New connection from 192.168.12.152 on port 1883.
Dec  1 20:13:47 srv4hai mosquitto[32087]: Client shelly1minig3-cc8da25b9000 already connected, closing old connection.
Dec  1 20:13:47 srv4hai mosquitto[32087]: Socket error on client shelly1minig3-cc8da25b9000, disconnecting.
Dec  1 20:13:47 srv4hai mosquitto[32087]: New client connected from 192.168.12.152 as shelly1minig3-cc8da25b9000 (c1, k60, u'shmqtt').
Dec  1 20:13:47 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-52' - shIP/2:'192.168.12.152'
Dec  1 20:13:47 srv4hai conf_shelly.sh: SHELLY: usage/name 'WZ ovale Lampe' already set for '192.168.12.152'
Dec  1 20:13:47 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=14054, secured, session=
Dec  1 20:13:47 srv4hai dovecot: imap(rozumm)<14054>: Logged out in=92 out=1061 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Dec  1 20:14:01 srv4hai CRON[14302]: (root) CMD (/etc/linetest/linetest.sh)
Dec  1 20:14:17 srv4hai ping_SP[2279]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1733080457 - 'ping_SP_1'
Dec  1 20:14:17 srv4hai ping_SP[2279]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Dec  1 20:14:29 srv4hai activate_scenario[14664]: SHELLY scenario: 'SophieZimmerOFF(sophiezimmeroff)' started
Dec  1 20:14:29 srv4hai activate_scenario[14664]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - source:'192.168.12.61'

finished