activate_scenario.sh
Sun Dec 15 21:55:16 CET 2024
scenario: bedlight_tom
source: 192.168.12.112

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

scenario: 'Nachttischlampe Thomas UM-schalten' - 'bedlight_tom' - 'bedlight_tom'

SZ Nachtkästchen Thomas (/srv/www/viehai/shelly/log_scenarios/2024/12/15/_0.log)

vorher: 21:55:16.828

http://192.168.12.107/relay/0?turn=toggle
  "ison": true,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 21:55:16.950
Dauer: 122 msec phName: 'shelly-12:'SZ Licht''


scenario: 'Nachttischlampe Thomas UM-schalten' - 'bedlight_tom' - 'bedlight_tom'

urls : 1
vorher : 21:55:16.808
nachher: 21:55:16.985
Dauer : 174 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/12/15//scene_bedlight_tom_20241215_215516.txt'


syslog

Dec 15 21:52:01 srv4hai CRON[4449]: (root) CMD (/etc/linetest/linetest.sh)
Dec 15 21:52:04 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=4457, secured, session=
Dec 15 21:52:04 srv4hai dovecot: imap(miglincit)<4457>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Dec 15 21:52:05 srv4hai ping_SP[21917]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1734295925 - 'ping_SP_0'
Dec 15 21:52:05 srv4hai ping_SP[21917]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 15 21:52:12 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883.
Dec 15 21:52:12 srv4hai mosquitto[29419]: Socket error on client , disconnecting.
Dec 15 21:52:59 srv4hai mosquitto[29419]: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
Dec 15 21:53:01 srv4hai CRON[4494]: (root) CMD (/etc/linetest/linetest.sh)
Dec 15 21:53:11 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883.
Dec 15 21:53:11 srv4hai mosquitto[29419]: Socket error on client , disconnecting.
Dec 15 21:53:11 srv4hai ping_SP[13571]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1734295991 - 'ping_SP_1'
Dec 15 21:53:11 srv4hai ping_SP[13571]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Dec 15 21:53:18 srv4hai ping_SP[21917]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1734295998 - 'ping_SP_0'
Dec 15 21:53:18 srv4hai ping_SP[21917]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 15 21:53:38 srv4hai postfix/smtpd[4554]: connect from unknown[80.94.95.239]
Dec 15 21:53:41 srv4hai postfix/smtpd[4554]: warning: unknown[80.94.95.239]: SASL LOGIN authentication failed: Invalid authentication mechanism
Dec 15 21:53:42 srv4hai postfix/smtpd[4554]: disconnect from unknown[80.94.95.239] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Dec 15 21:54:01 srv4hai CRON[4562]: (root) CMD (/etc/linetest/linetest.sh)
Dec 15 21:54:09 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883.
Dec 15 21:54:09 srv4hai mosquitto[29419]: Socket error on client , disconnecting.
Dec 15 21:54:24 srv4hai dhcpd[4995]: DHCPDISCOVER from 08:3a:8d:d0:46:5a via enp2s0
Dec 15 21:54:24 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0
Dec 15 21:54:24 srv4hai ping_SP[13571]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1734296064 - 'ping_SP_1'
Dec 15 21:54:24 srv4hai ping_SP[13571]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Dec 15 21:54:26 srv4hai dhcpd[4995]: DHCPDISCOVER from 08:3a:8d:d0:46:5a via enp2s0
Dec 15 21:54:26 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0
Dec 15 21:54:26 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Dec 15 21:54:26 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.5
Dec 15 21:54:26 srv4hai dhcpd[4995]: execute_statement argv[2] = btscan1
Dec 15 21:54:26 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.5 (192.168.12.252) from 08:3a:8d:d0:46:5a via enp2s0
Dec 15 21:54:26 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0
Dec 15 21:54:26 srv4hai named[30406]: client @0x7f935062dc00 192.168.12.252#47961/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: btscan1.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Dec 15 21:54:26 srv4hai named[30406]: client @0x7f93480daa40 192.168.12.252#58509/key rndc-key: signer "rndc-key" approved
Dec 15 21:54:26 srv4hai named[30406]: client @0x7f93480daa40 192.168.12.252#58509/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'btscan1.viehai.at' TXT
Dec 15 21:54:26 srv4hai named[30406]: client @0x7f93480daa40 192.168.12.252#58509/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'btscan1.viehai.at' TXT "000118916176265854cff71f762ffe0635"
Dec 15 21:54:26 srv4hai named[30406]: client @0x7f93480daa40 192.168.12.252#58509/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'btscan1.viehai.at' A
Dec 15 21:54:26 srv4hai named[30406]: client @0x7f93480daa40 192.168.12.252#58509/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'btscan1.viehai.at' A 192.168.12.5
Dec 15 21:54:26 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.5'(5) device 'btscan1'
Dec 15 21:54:26 srv4hai dhcpd[4995]: Added new forward map from btscan1.viehai.at to 192.168.12.5
Dec 15 21:54:26 srv4hai named[30406]: client @0x7f931c01da50 192.168.12.252#55325/key rndc-key: signer "rndc-key" approved
Dec 15 21:54:26 srv4hai named[30406]: client @0x7f931c01da50 192.168.12.252#55325/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '5.12.168.192.in-addr.arpa' PTR
Dec 15 21:54:26 srv4hai named[30406]: client @0x7f931c01da50 192.168.12.252#55325/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '5.12.168.192.in-addr.arpa' PTR btscan1.viehai.at.
Dec 15 21:54:26 srv4hai dhcpd[4995]: Added reverse map from 5.12.168.192.in-addr.arpa. to btscan1.viehai.at
Dec 15 21:54:26 srv4hai dhcpcommit.sh: SHELLY device 'btscan1' known and accepted
Dec 15 21:54:31 srv4hai ping_SP[21917]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1734296071 - 'ping_SP_0'
Dec 15 21:54:31 srv4hai ping_SP[21917]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 15 21:54:52 srv4hai common[4624]: SHELLY common.sh inkludiert von ./bt_scan.sh
Dec 15 21:55:01 srv4hai CRON[4643]: (root) CMD (/etc/linetest/linetest.sh)
Dec 15 21:55:02 srv4hai bt_scan[4624]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Dec 15 21:55:02 srv4hai bt_scan[4624]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Dec 15 21:55:02 srv4hai common[4665]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Dec 15 21:55:03 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1734296103-1734296092
Dec 15 21:55:03 srv4hai check_presence[4665]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Dec 15 21:55:03 srv4hai check_presence[4665]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Dec 15 21:55:03 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'11'=1734296103-1734296092
Dec 15 21:55:03 srv4hai check_presence[4665]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Dec 15 21:55:03 srv4hai check_presence[4665]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Dec 15 21:55:03 srv4hai common.sh: SHELLY: BTstatus[2]:'null' dweetAge:'11'=1734296103-1734296092
Dec 15 21:55:03 srv4hai check_presence[4665]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and null//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Dec 15 21:55:03 srv4hai check_presence[4665]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Dec 15 21:55:03 srv4hai check_presence[4665]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_nasszeile_um) - sceneOFF(offAll)
Dec 15 21:55:03 srv4hai check_presence[4665]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Dec 15 21:55:04 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883.
Dec 15 21:55:04 srv4hai mosquitto[29419]: Socket error on client , disconnecting.
Dec 15 21:55:04 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=4815, secured, session=
Dec 15 21:55:04 srv4hai dovecot: imap(miglincit)<4815>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Dec 15 21:55:11 srv4hai activate_scenario[4818]: SHELLY scenario: 'offDownstairs(offdownstairs)' started
Dec 15 21:55:11 srv4hai activate_scenario[4818]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-23:'WZ Licht Sofa'
Dec 15 21:55:11 srv4hai activate_scenario[4818]: SHELLY scenario: 'offDownstairs(offdownstairs)' TO BE EXECUTED, shelly-23:'WZ Licht Sofa'
Dec 15 21:55:12 srv4hai postfix/pickup[27159]: 00CEF63463: uid=33 from=
Dec 15 21:55:12 srv4hai postfix/cleanup[4871]: 00CEF63463: message-id=<20241215205512.00CEF63463@mail.viehai.at>
Dec 15 21:55:12 srv4hai postfix/qmgr[8566]: 00CEF63463: from=, size=8964, nrcpt=1 (queue active)
Dec 15 21:55:12 srv4hai postfix/local[4884]: 00CEF63463: to=, orig_to=, relay=local, delay=0.08, delays=0.05/0.01/0/0.02, dsn=5.1.1, status=bounced (unknown user: "null")
Dec 15 21:55:12 srv4hai activate_scenario[4818]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-01'-'WZ Licht Esstisch' --> '0?turn=off'
Dec 15 21:55:12 srv4hai postfix/cleanup[4871]: 0EBA463464: message-id=<20241215205512.0EBA463464@mail.viehai.at>
Dec 15 21:55:12 srv4hai proc_url[4889]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/12/15/_0.log' - shellyUsage:'WZ Licht Esstisch' - scUrl:'http://192.168.12.101/relay/0?turn=off' - phName:'shelly-23:'WZ Licht Sofa''
Dec 15 21:55:12 srv4hai postfix/bounce[4885]: 00CEF63463: sender non-delivery notification: 0EBA463464
Dec 15 21:55:12 srv4hai postfix/qmgr[8566]: 0EBA463464: from=<>, size=10843, nrcpt=1 (queue active)
Dec 15 21:55:12 srv4hai postfix/qmgr[8566]: 00CEF63463: removed
Dec 15 21:55:12 srv4hai postfix/local[4884]: 0EBA463464: to=, relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Dec 15 21:55:12 srv4hai postfix/qmgr[8566]: 0EBA463464: removed
Dec 15 21:55:12 srv4hai activate_scenario[4818]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-02'-'Balkon Licht' --> '0?turn=off'
Dec 15 21:55:12 srv4hai proc_url[4901]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/12/15/_1.log' - shellyUsage:'Balkon Licht' - scUrl:'http://192.168.12.102/relay/0?turn=off' - phName:'shelly-23:'WZ Licht Sofa''
Dec 15 21:55:12 srv4hai activate_scenario[4818]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-03'-'VZ Licht' --> '0?turn=off'
Dec 15 21:55:12 srv4hai proc_url[4922]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/12/15/_2.log' - shellyUsage:'VZ Licht' - scUrl:'http://192.168.12.103/relay/0?turn=off' - phName:'shelly-23:'WZ Licht Sofa''
Dec 15 21:55:12 srv4hai activate_scenario[4818]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-05'-'WZ Stehlampe hell' --> '0?turn=off'
Dec 15 21:55:12 srv4hai proc_url[4933]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/12/15/_3.log' - shellyUsage:'WZ Stehlampe hell' - scUrl:'http://192.168.12.105/relay/0?turn=off' - phName:'shelly-23:'WZ Licht Sofa''
Dec 15 21:55:12 srv4hai proc_url[4889]: SHELLY: status invalid - length:'9'
Dec 15 21:55:12 srv4hai activate_scenario[4818]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-06'-'WZ Licht Fernsehlampe klein' --> '0?turn=off'
Dec 15 21:55:12 srv4hai proc_url[4952]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/12/15/_4.log' - shellyUsage:'WZ Licht Fernsehlampe klein' - scUrl:'http://192.168.12.106/relay/0?turn=off' - phName:'shelly-23:'WZ Licht Sofa''
Dec 15 21:55:12 srv4hai activate_scenario[4818]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-10'-'WZ Licht Bücherregal' --> '0?turn=off'
Dec 15 21:55:12 srv4hai proc_url[4966]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/12/15/_5.log' - shellyUsage:'WZ Licht Bücherregal' - scUrl:'http://192.168.12.110/relay/0?turn=off' - phName:'shelly-23:'WZ Licht Sofa''
Dec 15 21:55:12 srv4hai activate_scenario[4818]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-16'-'KÜ Licht Naßzeile' --> '0?turn=off&brightness=50'
Dec 15 21:55:12 srv4hai proc_url[4987]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/12/15/_6.log' - shellyUsage:'KÜ Licht Naßzeile' - scUrl:'http://192.168.12.116/white/0?turn=off&brightness=50' - phName:'shelly-23:'WZ Licht Sofa''
Dec 15 21:55:12 srv4hai activate_scenario[4818]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-16'-'KÜ Licht Naßzeile' --> '1?turn=off&brightness=50'
Dec 15 21:55:12 srv4hai proc_url[5009]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/12/15/_7.log' - shellyUsage:'KÜ Licht Naßzeile' - scUrl:'http://192.168.12.116/white/1?turn=off&brightness=50' - phName:'shelly-23:'WZ Licht Sofa''
Dec 15 21:55:12 srv4hai activate_scenario[4818]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-17'-'KÜ Licht Herdzeile' --> '0?turn=off&brightness=50'
Dec 15 21:55:12 srv4hai proc_url[5022]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/12/15/_8.log' - shellyUsage:'KÜ Licht Herdzeile' - scUrl:'http://192.168.12.117/white/0?turn=off&brightness=50' - phName:'shelly-23:'WZ Licht Sofa''
Dec 15 21:55:12 srv4hai activate_scenario[4818]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-17'-'KÜ Licht Herdzeile' --> '1?turn=off&brightness=50'
Dec 15 21:55:12 srv4hai proc_url[5043]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/12/15/_9.log' - shellyUsage:'KÜ Licht Herdzeile' - scUrl:'http://192.168.12.117/white/1?turn=off&brightness=50' - phName:'shelly-23:'WZ Licht Sofa''
Dec 15 21:55:12 srv4hai activate_scenario[4818]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-19'-'GB Fernsehlampe' --> '0?turn=off'
Dec 15 21:55:12 srv4hai proc_url[5058]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/12/15/_10.log' - shellyUsage:'GB Fernsehlampe' - scUrl:'http://192.168.12.119/relay/0?turn=off' - phName:'shelly-23:'WZ Licht Sofa''
Dec 15 21:55:12 srv4hai activate_scenario[4818]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-22'-'WC Licht' --> '0?turn=off'
Dec 15 21:55:12 srv4hai proc_url[5073]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/12/15/_11.log' - shellyUsage:'WC Licht' - scUrl:'http://192.168.12.122/relay/0?turn=off' - phName:'shelly-23:'WZ Licht Sofa''
Dec 15 21:55:12 srv4hai activate_scenario[4818]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-23'-'WZ Licht Sofa' --> '0?turn=off'
Dec 15 21:55:12 srv4hai proc_url[5120]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/12/15/_12.log' - shellyUsage:'WZ Licht Sofa' - scUrl:'http://192.168.12.123/relay/0?turn=off' - phName:'shelly-23:'WZ Licht Sofa''
Dec 15 21:55:12 srv4hai activate_scenario[4818]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-25'-'KÜ Licht' --> '0?turn=off'
Dec 15 21:55:12 srv4hai proc_url[5131]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/12/15/_13.log' - shellyUsage:'KÜ Licht' - scUrl:'http://192.168.12.125/relay/0?turn=off' - phName:'shelly-23:'WZ Licht Sofa''
Dec 15 21:55:12 srv4hai activate_scenario[4818]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-52'-'WZ ovale Lampe' --> '0?turn=off'
Dec 15 21:55:12 srv4hai proc_url[5162]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/12/15/_14.log' - shellyUsage:'WZ ovale Lampe' - scUrl:'http://192.168.12.152/relay/0?turn=off' - phName:'shelly-23:'WZ Licht Sofa''
Dec 15 21:55:12 srv4hai activate_scenario[4818]: SHELLY scenario: 'offDownstairs(offdownstairs)' took 334 msec, shelly-23:'WZ Licht Sofa'
Dec 15 21:55:12 srv4hai proc_url[5162]: SHELLY: status invalid - length:'9'
Dec 15 21:55:16 srv4hai activate_scenario[5268]: SHELLY scenario: 'bedlight_tom(bedlight_tom)' started
Dec 15 21:55:16 srv4hai activate_scenario[5268]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-12:'SZ Licht'

finished