activate_scenario.sh
Tue Jul 9 23:04:44 CEST 2024
scenario: offDownstairs
source: 192.168.12.123

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

scenario: 'Licht Unten AUS-schalten' - 'offDownstairs' - 'offdownstairs'

Wandlicht beim Esstisch (/srv/www/viehai/shelly/log_scenarios/2024/07/09/_0.log)

vorher: 23:04:44.559

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

nachher: 23:04:44.634
Dauer: 75 msec phName: 'shelly-23:'Licht Sekretär''


Balkon-Licht (/srv/www/viehai/shelly/log_scenarios/2024/07/09/_1.log)

vorher: 23:04:44.586

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

nachher: 23:04:44.630
Dauer: 44 msec phName: 'shelly-23:'Licht Sekretär''


Licht Vorzimmer (/srv/www/viehai/shelly/log_scenarios/2024/07/09/_2.log)

vorher: 23:04:44.612

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

nachher: 23:04:44.751
Dauer: 139 msec phName: 'shelly-23:'Licht Sekretär''


Stehlampe Anne hell (/srv/www/viehai/shelly/log_scenarios/2024/07/09/_3.log)

vorher: 23:04:44.639

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

nachher: 23:04:44.747
Dauer: 107 msec phName: 'shelly-23:'Licht Sekretär''


Fernsehlampe klein (/srv/www/viehai/shelly/log_scenarios/2024/07/09/_4.log)

vorher: 23:04:44.659

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

nachher: 23:04:44.751
Dauer: 92 msec phName: 'shelly-23:'Licht Sekretär''


WZ Bücherregal (/srv/www/viehai/shelly/log_scenarios/2024/07/09/_5.log)

vorher: 23:04:44.672

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

nachher: 23:04:44.746
Dauer: 75 msec phName: 'shelly-23:'Licht Sekretär''


Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/07/09/_6.log)

vorher: 23:04:44.685

http://192.168.12.116/white/0?turn=off&brightness=70
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 70,
  "transition": 0,
  "power": 12.24,
  "overpower": false

nachher: 23:04:44.744
Dauer: 59 msec phName: 'shelly-23:'Licht Sekretär''


Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/07/09/_7.log)

vorher: 23:04:44.697

http://192.168.12.116/white/1?turn=off&brightness=70
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 70,
  "transition": 0,
  "power": 12.24,
  "overpower": false

nachher: 23:04:44.760
Dauer: 64 msec phName: 'shelly-23:'Licht Sekretär''


Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/07/09/_8.log)

vorher: 23:04:44.710

http://192.168.12.117/white/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,
  "power": 0,
  "overpower": false

nachher: 23:04:44.746
Dauer: 36 msec phName: 'shelly-23:'Licht Sekretär''


Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/07/09/_9.log)

vorher: 23:04:44.724

http://192.168.12.117/white/1?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,
  "power": 0,
  "overpower": false

nachher: 23:04:44.779
Dauer: 55 msec phName: 'shelly-23:'Licht Sekretär''


Fernsehlampe groß (/srv/www/viehai/shelly/log_scenarios/2024/07/09/_10.log)

vorher: 23:04:44.736

http://192.168.12.119/relay/0?turn=off

        

nachher: 23:04:47.795
Dauer: 3059 msec phName: 'shelly-23:'Licht Sekretär''


WC (/srv/www/viehai/shelly/log_scenarios/2024/07/09/_11.log)

vorher: 23:04:44.752

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

nachher: 23:04:44.784
Dauer: 30 msec phName: 'shelly-23:'Licht Sekretär''


Licht Sekretär (/srv/www/viehai/shelly/log_scenarios/2024/07/09/_12.log)

vorher: 23:04:44.770

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

nachher: 23:04:44.805
Dauer: 35 msec phName: 'shelly-23:'Licht Sekretär''


Küchenlicht (/srv/www/viehai/shelly/log_scenarios/2024/07/09/_13.log)

vorher: 23:04:44.782

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

nachher: 23:04:44.827
Dauer: 45 msec phName: 'shelly-23:'Licht Sekretär''


scenario: 'Licht Unten AUS-schalten' - 'offDownstairs' - 'offdownstairs'

urls : 14
vorher : 23:04:44.501
nachher: 23:04:47.805
Dauer : 3305 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/09//scene_offDownstairs_20240709_230444.txt'


syslog

Jul  9 23:01:01 srv4hai CRON[27621]: (root) CMD (/etc/linetest/linetest.sh)
Jul  9 23:01:03 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jul  9 23:01:04 srv4hai fetchmail[1651]: 48329 messages (48329 seen) for tmiglinci at mail.akis.at (-306240028 octets).
Jul  9 23:01:04 srv4hai fetchmail[1651]: 10426 messages (10426 seen) for srozum at mail.akis.at (1251465709 octets).
Jul  9 23:01:05 srv4hai fetchmail[1651]: 24653 messages (24653 seen) for mrozum at mail.akis.at (22815666 octets).
Jul  9 23:01:05 srv4hai fetchmail[1651]: 1139 messages (1139 seen) for admin@bastelstube.wien at pop3.world4you.com (51570784 octets).
Jul  9 23:01:27 srv4hai ping_SP[8691]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1720558887 - 'ping_SP_0'
Jul  9 23:01:27 srv4hai ping_SP[8691]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul  9 23:01:38 srv4hai ping_SP[11475]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1720558898 - 'ping_SP_1'
Jul  9 23:01:38 srv4hai ping_SP[11475]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul  9 23:01:40 srv4hai mosquitto[18551]: Client shelly1-98CDAC2E1CDA has exceeded timeout, disconnecting.
Jul  9 23:01:40 srv4hai mosquitto[18551]: Socket error on client shelly1-98CDAC2E1CDA, disconnecting.
Jul  9 23:01:51 srv4hai postfix/anvil[26343]: statistics: max connection rate 1/60s for (smtp:40.85.153.23) at Jul  9 22:58:31
Jul  9 23:01:51 srv4hai postfix/anvil[26343]: statistics: max connection count 1 for (smtp:40.85.153.23) at Jul  9 22:58:31
Jul  9 23:01:51 srv4hai postfix/anvil[26343]: statistics: max cache size 1 at Jul  9 22:58:31
Jul  9 23:02:01 srv4hai CRON[27726]: (root) CMD (/etc/linetest/linetest.sh)
Jul  9 23:02:40 srv4hai ping_SP[8691]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1720558960 - 'ping_SP_0'
Jul  9 23:02:40 srv4hai ping_SP[8691]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul  9 23:02:51 srv4hai ping_SP[11475]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1720558971 - 'ping_SP_1'
Jul  9 23:02:51 srv4hai ping_SP[11475]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul  9 23:02:54 srv4hai postfix/smtpd[27813]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jul  9 23:02:54 srv4hai postfix/smtpd[27813]: connect from 101.12.63.50.host.secureserver.net[50.63.12.101]
Jul  9 23:02:56 srv4hai postfix/smtpd[27813]: 0937460189: client=101.12.63.50.host.secureserver.net[50.63.12.101], sasl_method=PLAIN, sasl_username=pilsc
Jul  9 23:02:58 srv4hai postfix/cleanup[27820]: 0937460189: message-id=<0577ee45b16af3f8de743d9667a388b027d9ac@pilsc>
Jul  9 23:02:58 srv4hai postfix/qmgr[8566]: 0937460189: from=, size=1519, nrcpt=1 (queue active)
Jul  9 23:02:58 srv4hai postfix/smtpd[27813]: disconnect from 101.12.63.50.host.secureserver.net[50.63.12.101] ehlo=1 auth=1 mail=1 rcpt=1 data=1 quit=1 commands=6
Jul  9 23:03:00 srv4hai postfix/smtp[27825]: 0937460189: to=, relay=hotmail-com.olc.protection.outlook.com[52.101.194.18]:25, delay=5, delays=2.9/0.01/0.44/1.6, dsn=2.6.0, status=sent (250 2.6.0 <0577ee45b16af3f8de743d9667a388b027d9ac@pilsc> [InternalId=9122510537505, Hostname=SE2P216MB1929.KORP216.PROD.OUTLOOK.COM] 8738 bytes in 0.311, 27.385 KB/sec Queued mail for delivery -> 250 2.1.5)
Jul  9 23:03:00 srv4hai postfix/qmgr[8566]: 0937460189: removed
Jul  9 23:03:01 srv4hai CRON[27827]: (root) CMD (/etc/linetest/linetest.sh)
Jul  9 23:03:01 srv4hai named[30406]: validating config-at.iocnt.net/A: no valid signature found
Jul  9 23:03:05 srv4hai dhcpd[30731]: DHCPDISCOVER from 98:cd:ac:2e:1c:da via enp2s0
Jul  9 23:03:05 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.122 to 98:cd:ac:2e:1c:da via enp2s0
Jul  9 23:03:05 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Jul  9 23:03:05 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.122
Jul  9 23:03:05 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-22
Jul  9 23:03:05 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.122 (192.168.12.252) from 98:cd:ac:2e:1c:da via enp2s0
Jul  9 23:03:05 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.122 to 98:cd:ac:2e:1c:da via enp2s0
Jul  9 23:03:05 srv4hai named[30406]: client @0x7f934c037ed0 192.168.12.252#56039/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-22.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jul  9 23:03:05 srv4hai named[30406]: client @0x7f93506770d0 192.168.12.252#38947/key rndc-key: signer "rndc-key" approved
Jul  9 23:03:05 srv4hai named[30406]: client @0x7f93506770d0 192.168.12.252#38947/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-22.viehai.at' TXT
Jul  9 23:03:05 srv4hai named[30406]: client @0x7f93506770d0 192.168.12.252#38947/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-22.viehai.at' TXT "0051fce7ef7edfb3d29643aefa7bc5b7f2"
Jul  9 23:03:05 srv4hai named[30406]: client @0x7f93506770d0 192.168.12.252#38947/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-22.viehai.at' A
Jul  9 23:03:05 srv4hai named[30406]: client @0x7f93506770d0 192.168.12.252#38947/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-22.viehai.at' A 192.168.12.122
Jul  9 23:03:05 srv4hai dhcpd[30731]: Added new forward map from shelly-22.viehai.at to 192.168.12.122
Jul  9 23:03:05 srv4hai named[30406]: client @0x7f93480daa40 192.168.12.252#33737/key rndc-key: signer "rndc-key" approved
Jul  9 23:03:05 srv4hai named[30406]: client @0x7f93480daa40 192.168.12.252#33737/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '122.12.168.192.in-addr.arpa' PTR
Jul  9 23:03:05 srv4hai named[30406]: client @0x7f93480daa40 192.168.12.252#33737/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '122.12.168.192.in-addr.arpa' PTR shelly-22.viehai.at.
Jul  9 23:03:05 srv4hai dhcpd[30731]: Added reverse map from 122.12.168.192.in-addr.arpa. to shelly-22.viehai.at
Jul  9 23:03:05 srv4hai common[27835]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Jul  9 23:03:05 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-22' - shIP/2:'' perform:'conf'
Jul  9 23:03:05 srv4hai grab_shelly.sh: SHELLY 'shelly-22':  OFFLINE, resp. not answering within timeout 1.500000s
Jul  9 23:03:05 srv4hai mosquitto[18551]: New connection from 192.168.12.122 on port 1883.
Jul  9 23:03:05 srv4hai mosquitto[18551]: New client connected from 192.168.12.122 as shelly1-98CDAC2E1CDA (c1, k60, u'shmqtt').
Jul  9 23:03:13 srv4hai common[27859]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jul  9 23:03:23 srv4hai bt_scan[27859]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Jul  9 23:03:23 srv4hai bt_scan[27859]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Jul  9 23:03:23 srv4hai common[27900]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jul  9 23:03:23 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1720559003-1720558993
Jul  9 23:03:23 srv4hai check_presence[27900]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Jul  9 23:03:23 srv4hai check_presence[27900]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Jul  9 23:03:23 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'10'=1720559003-1720558993
Jul  9 23:03:23 srv4hai check_presence[27900]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Jul  9 23:03:23 srv4hai check_presence[27900]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Jul  9 23:03:23 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'10'=1720559003-1720558993
Jul  9 23:03:23 srv4hai check_presence[27900]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.Yes
Jul  9 23:03:23 srv4hai check_presence[27900]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jul  9 23:03:24 srv4hai check_presence[27900]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_vorraumOn) - sceneOFF(offAll)
Jul  9 23:03:24 srv4hai check_presence[27900]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Jul  9 23:03:43 srv4hai postfix/smtpd[27813]: connect from unknown[178.215.236.182]
Jul  9 23:03:43 srv4hai postfix/smtpd[27813]: warning: unknown[178.215.236.182]: SASL LOGIN authentication failed: Invalid authentication mechanism
Jul  9 23:03:43 srv4hai postfix/smtpd[27813]: disconnect from unknown[178.215.236.182] ehlo=1 auth=0/1 quit=1 commands=2/3
Jul  9 23:03:54 srv4hai ping_SP[8691]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1720559034 - 'ping_SP_0'
Jul  9 23:03:54 srv4hai ping_SP[8691]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul  9 23:04:01 srv4hai CRON[28166]: (root) CMD (/etc/linetest/linetest.sh)
Jul  9 23:04:01 srv4hai activate_scenario[28178]: SHELLY scenario: 'bedlight_tom(bedlight_tom)' started
Jul  9 23:04:01 srv4hai activate_scenario[28178]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-12:'Schlafzimmer Licht'
Jul  9 23:04:01 srv4hai activate_scenario[28178]: SHELLY scenario: 'bedlight_tom(bedlight_tom)' TO BE EXECUTED, shelly-12:'Schlafzimmer Licht'
Jul  9 23:04:01 srv4hai postfix/pickup[15038]: CA2E96018B: uid=33 from=
Jul  9 23:04:01 srv4hai postfix/cleanup[27820]: CA2E96018B: message-id=<20240709210401.CA2E96018B@mail.viehai.at>
Jul  9 23:04:01 srv4hai postfix/qmgr[8566]: CA2E96018B: from=, size=10179, nrcpt=1 (queue active)
Jul  9 23:04:01 srv4hai postfix/local[28267]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jul  9 23:04:01 srv4hai activate_scenario[28178]: SHELLY: scenario: 'bedlight_tom(bedlight_tom)'-'shelly-07'-'Nachtkästchen Lampe Thomas' --> '0?turn=toggle'
Jul  9 23:04:01 srv4hai proc_url[28275]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/07/09/_0.log' - shellyUsage:'Nachtkästchen Lampe Thomas' - scUrl:'http://192.168.12.107/relay/0?turn=toggle' - phName:'shelly-12:'Schlafzimmer Licht''
Jul  9 23:04:01 srv4hai postfix/local[28267]: CA2E96018B: to=, orig_to=, relay=local, delay=0.04, delays=0.01/0.01/0/0.02, dsn=5.1.1, status=bounced (unknown user: "null")
Jul  9 23:04:01 srv4hai postfix/cleanup[27820]: D22B1601BE: message-id=<20240709210401.D22B1601BE@mail.viehai.at>
Jul  9 23:04:01 srv4hai postfix/bounce[28271]: CA2E96018B: sender non-delivery notification: D22B1601BE
Jul  9 23:04:01 srv4hai postfix/qmgr[8566]: D22B1601BE: from=<>, size=12061, nrcpt=1 (queue active)
Jul  9 23:04:01 srv4hai postfix/qmgr[8566]: CA2E96018B: removed
Jul  9 23:04:01 srv4hai postfix/local[28267]: D22B1601BE: to=, relay=local, delay=0.01, delays=0/0/0/0, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jul  9 23:04:01 srv4hai postfix/qmgr[8566]: D22B1601BE: removed
Jul  9 23:04:01 srv4hai activate_scenario[28178]: SHELLY scenario: 'bedlight_tom(bedlight_tom)' took 69 msec, shelly-12:'Schlafzimmer Licht'
Jul  9 23:04:05 srv4hai ping_SP[11475]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1720559045 - 'ping_SP_1'
Jul  9 23:04:05 srv4hai ping_SP[11475]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul  9 23:04:29 srv4hai postfix/smtpd[27813]: connect from unknown[185.208.158.235]
Jul  9 23:04:29 srv4hai postfix/smtpd[27813]: warning: unknown[185.208.158.235]: SASL LOGIN authentication failed: Invalid authentication mechanism
Jul  9 23:04:29 srv4hai postfix/smtpd[27813]: disconnect from unknown[185.208.158.235] ehlo=1 auth=0/1 quit=1 commands=2/3
Jul  9 23:04:44 srv4hai activate_scenario[28350]: SHELLY scenario: 'offDownstairs(offdownstairs)' started
Jul  9 23:04:44 srv4hai activate_scenario[28350]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-23:'Licht Sekretär'

finished