activate_scenario.sh
Wed Jun 5 23:05:40 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/06/05/_0.log)

vorher: 23:05:40.335

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: 23:05:40.366
Dauer: 31 msec phName: 'shelly-12:'Schlafzimmer Licht''


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

urls : 1
vorher : 23:05:40.317
nachher: 23:05:40.374
Dauer : 57 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/06/05//scene_bedlight_tom_20240605_230540.txt'


syslog

Jun  5 23:02:01 srv4hai CRON[23107]: (root) CMD (/etc/linetest/linetest.sh)
Jun  5 23:02:30 srv4hai ping_SP[11673]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1717621350 - 'ping_SP_0'
Jun  5 23:02:30 srv4hai ping_SP[11673]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jun  5 23:03:01 srv4hai CRON[23140]: (root) CMD (/etc/linetest/linetest.sh)
Jun  5 23:03:04 srv4hai postfix/smtpd[23145]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jun  5 23:03:04 srv4hai postfix/smtpd[23145]: connect from unknown[109.206.237.17]
Jun  5 23:03:04 srv4hai postfix/smtpd[23145]: warning: unknown[109.206.237.17]: SASL LOGIN authentication failed: Invalid authentication mechanism
Jun  5 23:03:04 srv4hai postfix/smtpd[23145]: disconnect from unknown[109.206.237.17] ehlo=1 auth=0/1 quit=1 commands=2/3
Jun  5 23:03:26 srv4hai common[23150]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jun  5 23:03:36 srv4hai bt_scan[23150]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Jun  5 23:03:36 srv4hai bt_scan[23150]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Jun  5 23:03:36 srv4hai common[23191]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jun  5 23:03:36 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1717621416-1717621406
Jun  5 23:03:36 srv4hai check_presence[23191]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Jun  5 23:03:36 srv4hai check_presence[23191]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Jun  5 23:03:36 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'10'=1717621416-1717621406
Jun  5 23:03:36 srv4hai check_presence[23191]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Jun  5 23:03:36 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'10'=1717621416-1717621406
Jun  5 23:03:36 srv4hai check_presence[23191]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Jun  5 23:03:36 srv4hai check_presence[23191]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Jun  5 23:03:37 srv4hai check_presence[23191]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_buero_UM) - sceneOFF(offAll)
Jun  5 23:03:37 srv4hai check_presence[23191]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Jun  5 23:03:43 srv4hai ping_SP[11673]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1717621423 - 'ping_SP_0'
Jun  5 23:03:43 srv4hai ping_SP[11673]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jun  5 23:04:01 srv4hai CRON[23354]: (root) CMD (/etc/linetest/linetest.sh)
Jun  5 23:04:56 srv4hai ping_SP[11673]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1717621496 - 'ping_SP_0'
Jun  5 23:04:56 srv4hai ping_SP[11673]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jun  5 23:05:01 srv4hai CRON[23385]: (root) CMD (/etc/linetest/linetest.sh)
Jun  5 23:05:39 srv4hai activate_scenario[23395]: SHELLY scenario: 'offDownstairs(offdownstairs)' started
Jun  5 23:05:39 srv4hai activate_scenario[23395]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-23:'Licht Sekretär'
Jun  5 23:05:39 srv4hai activate_scenario[23395]: SHELLY scenario: 'offDownstairs(offdownstairs)' TO BE EXECUTED, shelly-23:'Licht Sekretär'
Jun  5 23:05:39 srv4hai postfix/pickup[19308]: A830360197: uid=33 from=
Jun  5 23:05:39 srv4hai postfix/cleanup[23448]: A830360197: message-id=<20240605210539.A830360197@mail.viehai.at>
Jun  5 23:05:39 srv4hai postfix/qmgr[31004]: A830360197: from=, size=4192, nrcpt=1 (queue active)
Jun  5 23:05:39 srv4hai postfix/local[23461]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jun  5 23:05:39 srv4hai activate_scenario[23395]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-01'-'Wandlicht beim Esstisch' --> '0?turn=off'
Jun  5 23:05:39 srv4hai proc_url[23466]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/06/05/_0.log' - shellyUsage:'Wandlicht beim Esstisch' - scUrl:'http://192.168.12.101/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär''
Jun  5 23:05:39 srv4hai postfix/local[23461]: A830360197: to=, orig_to=, relay=local, delay=0.04, delays=0.02/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Jun  5 23:05:39 srv4hai postfix/cleanup[23448]: AE383601BE: message-id=<20240605210539.AE383601BE@mail.viehai.at>
Jun  5 23:05:39 srv4hai postfix/bounce[23462]: A830360197: sender non-delivery notification: AE383601BE
Jun  5 23:05:39 srv4hai postfix/qmgr[31004]: AE383601BE: from=<>, size=6114, nrcpt=1 (queue active)
Jun  5 23:05:39 srv4hai postfix/qmgr[31004]: A830360197: removed
Jun  5 23:05:39 srv4hai postfix/local[23461]: AE383601BE: to=, relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jun  5 23:05:39 srv4hai postfix/qmgr[31004]: AE383601BE: removed
Jun  5 23:05:39 srv4hai activate_scenario[23395]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-02'-'Balkon-Licht' --> '0?turn=off'
Jun  5 23:05:39 srv4hai proc_url[23478]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/06/05/_1.log' - shellyUsage:'Balkon-Licht' - scUrl:'http://192.168.12.102/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär''
Jun  5 23:05:39 srv4hai activate_scenario[23395]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=off'
Jun  5 23:05:39 srv4hai proc_url[23489]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/06/05/_2.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär''
Jun  5 23:05:39 srv4hai activate_scenario[23395]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-05'-'Stehlampe Anne hell' --> '0?turn=off'
Jun  5 23:05:39 srv4hai proc_url[23500]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/06/05/_3.log' - shellyUsage:'Stehlampe Anne hell' - scUrl:'http://192.168.12.105/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär''
Jun  5 23:05:39 srv4hai activate_scenario[23395]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-06'-'Fernsehlampe klein' --> '0?turn=off'
Jun  5 23:05:39 srv4hai proc_url[23518]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/06/05/_4.log' - shellyUsage:'Fernsehlampe klein' - scUrl:'http://192.168.12.106/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär''
Jun  5 23:05:39 srv4hai activate_scenario[23395]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-10'-'WZ Bücherregal' --> '0?turn=off'
Jun  5 23:05:39 srv4hai proc_url[23549]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/06/05/_5.log' - shellyUsage:'WZ Bücherregal' - scUrl:'http://192.168.12.110/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär''
Jun  5 23:05:39 srv4hai activate_scenario[23395]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-16'-'Küche Licht Naßzeile' --> '0?turn=off&brightness=70'
Jun  5 23:05:39 srv4hai proc_url[23563]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/06/05/_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''
Jun  5 23:05:39 srv4hai activate_scenario[23395]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-16'-'Küche Licht Naßzeile' --> '1?turn=off&brightness=70'
Jun  5 23:05:39 srv4hai proc_url[23576]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/06/05/_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''
Jun  5 23:05:39 srv4hai activate_scenario[23395]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-17'-'Küche Licht Herdzeile' --> '0?turn=off&brightness=50'
Jun  5 23:05:39 srv4hai proc_url[23599]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/06/05/_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''
Jun  5 23:05:39 srv4hai activate_scenario[23395]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-17'-'Küche Licht Herdzeile' --> '1?turn=off&brightness=50'
Jun  5 23:05:39 srv4hai proc_url[23622]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/06/05/_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''
Jun  5 23:05:39 srv4hai activate_scenario[23395]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-19'-'Fernsehlampe groß' --> '0?turn=off'
Jun  5 23:05:39 srv4hai proc_url[23633]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/06/05/_10.log' - shellyUsage:'Fernsehlampe groß' - scUrl:'http://192.168.12.119/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär''
Jun  5 23:05:39 srv4hai activate_scenario[23395]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-22'-'WC' --> '0?turn=off'
Jun  5 23:05:39 srv4hai proc_url[23644]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/06/05/_11.log' - shellyUsage:'WC' - scUrl:'http://192.168.12.122/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär''
Jun  5 23:05:39 srv4hai activate_scenario[23395]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-23'-'Licht Sekretär' --> '0?turn=off'
Jun  5 23:05:39 srv4hai proc_url[23675]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/06/05/_12.log' - shellyUsage:'Licht Sekretär' - scUrl:'http://192.168.12.123/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär''
Jun  5 23:05:39 srv4hai activate_scenario[23395]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-25'-'Küchenlicht' --> '0?turn=off'
Jun  5 23:05:39 srv4hai proc_url[23698]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/06/05/_13.log' - shellyUsage:'Küchenlicht' - scUrl:'http://192.168.12.125/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär''
Jun  5 23:05:40 srv4hai activate_scenario[23754]: SHELLY scenario: 'bedlight_tom(bedlight_tom)' started
Jun  5 23:05:40 srv4hai activate_scenario[23754]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-12:'Schlafzimmer Licht'

finished