activate_scenario.sh
Wed Aug 7 21:49:42 CEST 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'

Nachtkästchen Lampe Thomas (/srv/www/viehai/shelly/log_scenarios/2024/08/07/_0.log)

vorher: 21:49:43.001

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:49:43.036
Dauer: 35 msec phName: 'shelly-12:'Schlafzimmer Licht''


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

urls : 1
vorher : 21:49:42.961
nachher: 21:49:43.044
Dauer : 85 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/08/07//scene_bedlight_tom_20240807_214942.txt'


syslog

Aug  7 21:46:00 srv4hai mosquitto[18551]: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
Aug  7 21:46:01 srv4hai CRON[5842]: (root) CMD (/etc/linetest/linetest.sh)
Aug  7 21:46:11 srv4hai postfix/smtpd[5761]: connect from unknown[94.141.120.192]
Aug  7 21:46:11 srv4hai postfix/smtpd[5761]: warning: unknown[94.141.120.192]: SASL LOGIN authentication failed: Invalid authentication mechanism
Aug  7 21:46:11 srv4hai postfix/smtpd[5761]: lost connection after AUTH from unknown[94.141.120.192]
Aug  7 21:46:11 srv4hai postfix/smtpd[5761]: disconnect from unknown[94.141.120.192] ehlo=1 auth=0/1 commands=1/2
Aug  7 21:46:39 srv4hai ping_SP[26490]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1723059999 - 'ping_SP_1'
Aug  7 21:46:39 srv4hai ping_SP[26490]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Aug  7 21:46:48 srv4hai common[5874]: SHELLY common.sh inkludiert von ./bt_scan.sh
Aug  7 21:46:54 srv4hai ping_SP[29553]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1723060014 - 'ping_SP_0'
Aug  7 21:46:54 srv4hai ping_SP[29553]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Aug  7 21:46:58 srv4hai bt_scan[5874]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Aug  7 21:46:58 srv4hai bt_scan[5874]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Aug  7 21:46:58 srv4hai common[5925]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Aug  7 21:46:58 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'0'=1723060018-1723060018
Aug  7 21:46:58 srv4hai check_presence[5925]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Aug  7 21:46:58 srv4hai check_presence[5925]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Aug  7 21:46:58 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'0'=1723060018-1723060018
Aug  7 21:46:58 srv4hai check_presence[5925]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Aug  7 21:46:58 srv4hai check_presence[5925]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Aug  7 21:46:58 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_not_set' dweetAge:'0'=1723060018-1723060018
Aug  7 21:46:58 srv4hai check_presence[5925]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Aug  7 21:46:58 srv4hai check_presence[5925]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Aug  7 21:46:58 srv4hai check_presence[5925]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_vorraumOn) - sceneOFF(offAll)
Aug  7 21:46:58 srv4hai check_presence[5925]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Aug  7 21:47:01 srv4hai CRON[6056]: (root) CMD (/etc/linetest/linetest.sh)
Aug  7 21:47:03 srv4hai common[6062]: SHELLY common.sh inkludiert von ./bt_scan.sh
Aug  7 21:47:13 srv4hai bt_scan[6062]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Aug  7 21:47:13 srv4hai bt_scan[6062]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Aug  7 21:47:52 srv4hai ping_SP[26490]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1723060072 - 'ping_SP_1'
Aug  7 21:47:52 srv4hai ping_SP[26490]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Aug  7 21:48:01 srv4hai CRON[6124]: (root) CMD (/etc/linetest/linetest.sh)
Aug  7 21:48:07 srv4hai ping_SP[29553]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1723060087 - 'ping_SP_0'
Aug  7 21:48:07 srv4hai ping_SP[29553]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Aug  7 21:48:47 srv4hai common[6151]: SHELLY common.sh inkludiert von ./bt_scan.sh
Aug  7 21:48:57 srv4hai bt_scan[6151]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Aug  7 21:48:57 srv4hai bt_scan[6151]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Aug  7 21:48:57 srv4hai common[6187]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Aug  7 21:48:57 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1723060137-1723060127
Aug  7 21:48:57 srv4hai check_presence[6187]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Aug  7 21:48:57 srv4hai check_presence[6187]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Aug  7 21:48:57 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'10'=1723060137-1723060127
Aug  7 21:48:57 srv4hai check_presence[6187]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Aug  7 21:48:57 srv4hai check_presence[6187]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Aug  7 21:48:57 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'10'=1723060137-1723060127
Aug  7 21:48:57 srv4hai check_presence[6187]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Aug  7 21:48:57 srv4hai check_presence[6187]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Aug  7 21:48:57 srv4hai check_presence[6187]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_vorraumOn) - sceneOFF(offAll)
Aug  7 21:48:57 srv4hai check_presence[6187]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Aug  7 21:49:01 srv4hai CRON[6336]: (root) CMD (/etc/linetest/linetest.sh)
Aug  7 21:49:05 srv4hai ping_SP[26490]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1723060145 - 'ping_SP_1'
Aug  7 21:49:05 srv4hai ping_SP[26490]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Aug  7 21:49:20 srv4hai ping_SP[29553]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1723060160 - 'ping_SP_0'
Aug  7 21:49:20 srv4hai ping_SP[29553]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Aug  7 21:49:31 srv4hai postfix/anvil[5763]: statistics: max connection rate 1/60s for (smtp:178.215.236.236) at Aug  7 21:45:09
Aug  7 21:49:31 srv4hai postfix/anvil[5763]: statistics: max connection count 1 for (smtp:178.215.236.236) at Aug  7 21:45:09
Aug  7 21:49:31 srv4hai postfix/anvil[5763]: statistics: max cache size 1 at Aug  7 21:45:09
Aug  7 21:49:39 srv4hai activate_scenario[6377]: SHELLY scenario: 'offDownstairs(offdownstairs)' started
Aug  7 21:49:39 srv4hai activate_scenario[6377]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-23:'Licht Sekretär'
Aug  7 21:49:39 srv4hai activate_scenario[6377]: SHELLY scenario: 'offDownstairs(offdownstairs)' TO BE EXECUTED, shelly-23:'Licht Sekretär'
Aug  7 21:49:39 srv4hai postfix/pickup[30288]: 9B8E96345B: uid=33 from=
Aug  7 21:49:39 srv4hai postfix/cleanup[6430]: 9B8E96345B: message-id=<20240807194939.9B8E96345B@mail.viehai.at>
Aug  7 21:49:39 srv4hai postfix/qmgr[8566]: 9B8E96345B: from=, size=7693, nrcpt=1 (queue active)
Aug  7 21:49:39 srv4hai activate_scenario[6377]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-01'-'Wandlicht beim Esstisch' --> '0?turn=off'
Aug  7 21:49:39 srv4hai proc_url[6448]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/08/07/_0.log' - shellyUsage:'Wandlicht beim Esstisch' - scUrl:'http://192.168.12.101/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär''
Aug  7 21:49:39 srv4hai postfix/local[6443]: 9B8E96345B: to=, orig_to=, relay=local, delay=0.04, delays=0.02/0.01/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Aug  7 21:49:39 srv4hai postfix/cleanup[6430]: A21DC6345C: message-id=<20240807194939.A21DC6345C@mail.viehai.at>
Aug  7 21:49:39 srv4hai postfix/bounce[6444]: 9B8E96345B: sender non-delivery notification: A21DC6345C
Aug  7 21:49:39 srv4hai postfix/qmgr[8566]: A21DC6345C: from=<>, size=9615, nrcpt=1 (queue active)
Aug  7 21:49:39 srv4hai postfix/qmgr[8566]: 9B8E96345B: removed
Aug  7 21:49:39 srv4hai postfix/local[6443]: A21DC6345C: to=, relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Aug  7 21:49:39 srv4hai postfix/qmgr[8566]: A21DC6345C: removed
Aug  7 21:49:39 srv4hai activate_scenario[6377]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-02'-'Balkon-Licht' --> '0?turn=off'
Aug  7 21:49:39 srv4hai proc_url[6460]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/08/07/_1.log' - shellyUsage:'Balkon-Licht' - scUrl:'http://192.168.12.102/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär''
Aug  7 21:49:39 srv4hai activate_scenario[6377]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=off'
Aug  7 21:49:39 srv4hai proc_url[6471]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/08/07/_2.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär''
Aug  7 21:49:39 srv4hai activate_scenario[6377]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-05'-'Stehlampe Anne hell' --> '0?turn=off'
Aug  7 21:49:39 srv4hai proc_url[6492]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/08/07/_3.log' - shellyUsage:'Stehlampe Anne hell' - scUrl:'http://192.168.12.105/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär''
Aug  7 21:49:39 srv4hai activate_scenario[6377]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-06'-'Fernsehlampe klein' --> '0?turn=off'
Aug  7 21:49:39 srv4hai proc_url[6510]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/08/07/_4.log' - shellyUsage:'Fernsehlampe klein' - scUrl:'http://192.168.12.106/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär''
Aug  7 21:49:39 srv4hai activate_scenario[6377]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-10'-'WZ Bücherregal' --> '0?turn=off'
Aug  7 21:49:39 srv4hai proc_url[6534]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/08/07/_5.log' - shellyUsage:'WZ Bücherregal' - scUrl:'http://192.168.12.110/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär''
Aug  7 21:49:39 srv4hai activate_scenario[6377]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-16'-'Küche Licht Naßzeile' --> '0?turn=off&brightness=70'
Aug  7 21:49:39 srv4hai proc_url[6555]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/08/07/_6.log' - shellyUsage:'Küche Licht Naßzeile' - scUrl:'http://192.168.12.116/white/0?turn=off&brightness=70' - phName:'shelly-23:'Licht Sekretär''
Aug  7 21:49:39 srv4hai activate_scenario[6377]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-16'-'Küche Licht Naßzeile' --> '1?turn=off&brightness=70'
Aug  7 21:49:39 srv4hai proc_url[6570]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/08/07/_7.log' - shellyUsage:'Küche Licht Naßzeile' - scUrl:'http://192.168.12.116/white/1?turn=off&brightness=70' - phName:'shelly-23:'Licht Sekretär''
Aug  7 21:49:39 srv4hai activate_scenario[6377]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-17'-'Küche Licht Herdzeile' --> '0?turn=off&brightness=50'
Aug  7 21:49:39 srv4hai proc_url[6581]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/08/07/_8.log' - shellyUsage:'Küche Licht Herdzeile' - scUrl:'http://192.168.12.117/white/0?turn=off&brightness=50' - phName:'shelly-23:'Licht Sekretär''
Aug  7 21:49:39 srv4hai activate_scenario[6377]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-17'-'Küche Licht Herdzeile' --> '1?turn=off&brightness=50'
Aug  7 21:49:39 srv4hai proc_url[6617]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/08/07/_9.log' - shellyUsage:'Küche Licht Herdzeile' - scUrl:'http://192.168.12.117/white/1?turn=off&brightness=50' - phName:'shelly-23:'Licht Sekretär''
Aug  7 21:49:39 srv4hai activate_scenario[6377]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-19'-'Fernsehlampe groß' --> '0?turn=off'
Aug  7 21:49:39 srv4hai proc_url[6646]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/08/07/_10.log' - shellyUsage:'Fernsehlampe groß' - scUrl:'http://192.168.12.119/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär''
Aug  7 21:49:39 srv4hai activate_scenario[6377]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-22'-'WC' --> '0?turn=off'
Aug  7 21:49:39 srv4hai proc_url[6669]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/08/07/_11.log' - shellyUsage:'WC' - scUrl:'http://192.168.12.122/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär''
Aug  7 21:49:39 srv4hai activate_scenario[6377]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-23'-'Licht Sekretär' --> '0?turn=off'
Aug  7 21:49:39 srv4hai proc_url[6682]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/08/07/_12.log' - shellyUsage:'Licht Sekretär' - scUrl:'http://192.168.12.123/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär''
Aug  7 21:49:39 srv4hai activate_scenario[6377]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-25'-'Küchenlicht' --> '0?turn=off'
Aug  7 21:49:39 srv4hai proc_url[6705]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/08/07/_13.log' - shellyUsage:'Küchenlicht' - scUrl:'http://192.168.12.125/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär''
Aug  7 21:49:39 srv4hai common[6742]: SHELLY common.sh inkludiert von ./bt_scan.sh
Aug  7 21:49:39 srv4hai activate_scenario[6377]: SHELLY scenario: 'offDownstairs(offdownstairs)' took 278 msec, shelly-23:'Licht Sekretär'
Aug  7 21:49:42 srv4hai activate_scenario[6817]: SHELLY scenario: 'bedlight_tom(bedlight_tom)' started
Aug  7 21:49:42 srv4hai activate_scenario[6817]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-12:'Schlafzimmer Licht'

finished