activate_scenario.sh
Tue Feb 27 22:53:02 CET 2024
scenario: bedlight_tom
source: 192.168.12.112
vorher: 22:53:02.500
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: 22:53:02.536
Dauer: 34 msec
phName: 'shelly-12:'Schlafzimmer Licht''
urls : 1
vorher : 22:53:02.426
nachher: 22:53:02.542
Dauer : 118 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/02/27//scene_bedlight_tom_20240227_225302.txt'
Feb 27 22:50:01 srv4hai CRON[13278]: (root) CMD (/etc/linetest/linetest.sh) Feb 27 22:50:01 srv4hai CRON[13279]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh) Feb 27 22:50:01 srv4hai meter.sh: SHELLY meter.sh started Feb 27 22:50:10 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster': OFFLINE, resp. not answering within connect-timeout 2.500000s Feb 27 22:50:12 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter': OFFLINE, resp. not answering within connect-timeout 2.500000s Feb 27 22:50:15 srv4hai meter.sh: SHELLY 'shelly-37/Wetter 1': OFFLINE, resp. not answering within connect-timeout 2.500000s Feb 27 22:50:17 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen': OFFLINE, resp. not answering within connect-timeout 2.500000s Feb 27 22:50:20 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon': OFFLINE, resp. not answering within connect-timeout 2.500000s Feb 27 22:50:23 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht': OFFLINE, resp. not answering within connect-timeout 2.500000s Feb 27 22:50:25 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED': OFFLINE, resp. not answering within connect-timeout 2.500000s Feb 27 22:50:28 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss': OFFLINE, resp. not answering within connect-timeout 2.500000s Feb 27 22:50:30 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD': OFFLINE, resp. not answering within connect-timeout 2.500000s Feb 27 22:50:33 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3': OFFLINE, resp. not answering within connect-timeout 2.500000s Feb 27 22:50:35 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD': OFFLINE, resp. not answering within connect-timeout 2.500000s Feb 27 22:50:36 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets). Feb 27 22:50:37 srv4hai fetchmail[1651]: 38890 messages (38890 seen) for tmiglinci at mail.akis.at (-1081195270 octets). Feb 27 22:50:38 srv4hai fetchmail[1651]: 9943 messages (9943 seen) for srozum at mail.akis.at (1201015575 octets). Feb 27 22:50:38 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD': OFFLINE, resp. not answering within connect-timeout 2.500000s Feb 27 22:50:38 srv4hai fetchmail[1651]: 21902 messages (21902 seen) for mrozum at mail.akis.at (-538249285 octets). Feb 27 22:50:38 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets). Feb 27 22:50:41 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD': OFFLINE, resp. not answering within connect-timeout 2.500000s Feb 27 22:50:43 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test': OFFLINE, resp. not answering within connect-timeout 2.500000s Feb 27 22:50:46 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN': OFFLINE, resp. not answering within connect-timeout 2.500000s Feb 27 22:50:48 srv4hai ping_SP[25998]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1709070648 - 'ping_SP_1' Feb 27 22:50:48 srv4hai ping_SP[25998]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Feb 27 22:50:49 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417': OFFLINE, resp. not answering within connect-timeout 2.500000s Feb 27 22:50:51 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem': OFFLINE, resp. not answering within connect-timeout 2.500000s Feb 27 22:50:52 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=13816, secured, session= Feb 27 22:50:52 srv4hai dovecot: imap(miglincit)<13816> : Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Feb 27 22:50:54 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722': OFFLINE, resp. not answering within connect-timeout 2.500000s Feb 27 22:50:56 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD': OFFLINE, resp. not answering within connect-timeout 2.500000s Feb 27 22:50:59 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD': OFFLINE, resp. not answering within connect-timeout 2.500000s Feb 27 22:50:59 srv4hai ping_SP[31033]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1709070659 - 'ping_SP_0' Feb 27 22:50:59 srv4hai ping_SP[31033]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Feb 27 22:51:01 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD': OFFLINE, resp. not answering within connect-timeout 2.500000s Feb 27 22:51:01 srv4hai meter.sh: SHELLY meter.sh ended Feb 27 22:51:01 srv4hai CRON[13861]: (root) CMD (/etc/linetest/linetest.sh) Feb 27 22:51:01 srv4hai postfix/pickup[889]: D3DB260244: uid=33 from= Feb 27 22:51:01 srv4hai postfix/cleanup[13859]: D3DB260244: message-id=<20240227215101.D3DB260244@mail.viehai.at> Feb 27 22:51:01 srv4hai postfix/qmgr[28610]: D3DB260244: from= , size=654, nrcpt=1 (queue active) Feb 27 22:51:01 srv4hai postfix/local[13866]: D3DB260244: to= , orig_to= , relay=local, delay=0.04, delays=0.03/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Feb 27 22:51:01 srv4hai postfix/qmgr[28610]: D3DB260244: removed Feb 27 22:51:07 srv4hai postfix/smtpd[13872]: connect from unknown[45.128.96.239] Feb 27 22:51:07 srv4hai postfix/smtpd[13872]: warning: unknown[45.128.96.239]: SASL LOGIN authentication failed: Invalid authentication mechanism Feb 27 22:51:07 srv4hai postfix/smtpd[13872]: disconnect from unknown[45.128.96.239] ehlo=1 auth=0/1 quit=1 commands=2/3 Feb 27 22:52:01 srv4hai ping_SP[25998]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1709070721 - 'ping_SP_1' Feb 27 22:52:01 srv4hai ping_SP[25998]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Feb 27 22:52:01 srv4hai CRON[13925]: (root) CMD (/etc/linetest/linetest.sh) Feb 27 22:52:13 srv4hai ping_SP[31033]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1709070733 - 'ping_SP_0' Feb 27 22:52:13 srv4hai ping_SP[31033]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Feb 27 22:52:32 srv4hai dhcpd[5037]: DHCPDISCOVER from 34:94:54:71:bc:cf via enp2s0 Feb 27 22:52:32 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.142 to 34:94:54:71:bc:cf via enp2s0 Feb 27 22:52:32 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Feb 27 22:52:32 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.142 Feb 27 22:52:32 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-42 Feb 27 22:52:32 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.142 (192.168.12.252) from 34:94:54:71:bc:cf via enp2s0 Feb 27 22:52:32 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.142 to 34:94:54:71:bc:cf via enp2s0 Feb 27 22:52:32 srv4hai named[14530]: client @0x7fc320116080 192.168.12.252#44671/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-42.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Feb 27 22:52:32 srv4hai named[14530]: client @0x7fc3286bc350 192.168.12.252#49013/key rndc-key: signer "rndc-key" approved Feb 27 22:52:32 srv4hai named[14530]: client @0x7fc3286bc350 192.168.12.252#49013/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-42.viehai.at' TXT Feb 27 22:52:32 srv4hai named[14530]: client @0x7fc3286bc350 192.168.12.252#49013/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-42.viehai.at' TXT "009725012a308142e411b9d6a121917f19" Feb 27 22:52:32 srv4hai named[14530]: client @0x7fc3286bc350 192.168.12.252#49013/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-42.viehai.at' A Feb 27 22:52:32 srv4hai named[14530]: client @0x7fc3286bc350 192.168.12.252#49013/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-42.viehai.at' A 192.168.12.142 Feb 27 22:52:32 srv4hai dhcpd[5037]: Added new forward map from shelly-42.viehai.at to 192.168.12.142 Feb 27 22:52:32 srv4hai named[14530]: client @0x7fc32869f410 192.168.12.252#52731/key rndc-key: signer "rndc-key" approved Feb 27 22:52:32 srv4hai named[14530]: client @0x7fc32869f410 192.168.12.252#52731/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '142.12.168.192.in-addr.arpa' PTR Feb 27 22:52:32 srv4hai named[14530]: client @0x7fc32869f410 192.168.12.252#52731/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '142.12.168.192.in-addr.arpa' PTR shelly-42.viehai.at. Feb 27 22:52:32 srv4hai dhcpd[5037]: Added reverse map from 142.12.168.192.in-addr.arpa. to shelly-42.viehai.at Feb 27 22:52:32 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-42' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf' Feb 27 22:52:33 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-42' - shIP/2:'192.168.12.142' Feb 27 22:52:33 srv4hai conf_shelly.sh: SHELLY: usage/name 'Stehlampe dimmbar' already set for '192.168.12.142' Feb 27 22:52:33 srv4hai conf_shelly.sh: SHELLY:'shelly-42' 'conf(0)' - allready transmitted - skipping Feb 27 22:52:33 srv4hai conf_shelly.sh: SHELLY:'shelly-42' 'conf(1)' - allready transmitted - skipping Feb 27 22:52:33 srv4hai conf_shelly.sh: SHELLY:'shelly-42' 'conf(2)' - allready transmitted - skipping Feb 27 22:52:34 srv4hai conf_shelly.sh: SHELLY:'shelly-42' out:0 ON : MISSING Feb 27 22:52:34 srv4hai conf_shelly.sh: SHELLY:'shelly-42' out:0 OFF: MISSING Feb 27 22:52:58 srv4hai activate_scenario[14068]: SHELLY scenario: 'offDownstairs(offdownstairs)' started Feb 27 22:52:58 srv4hai activate_scenario[14068]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-23:'Licht Sekretär' Feb 27 22:52:58 srv4hai activate_scenario[14068]: SHELLY scenario: 'offDownstairs(offdownstairs)' TO BE EXECUTED, shelly-23:'Licht Sekretär' Feb 27 22:52:58 srv4hai postfix/pickup[889]: 1BC6060244: uid=33 from= Feb 27 22:52:58 srv4hai postfix/cleanup[14121]: 1BC6060244: message-id=<20240227215258.1BC6060244@mail.viehai.at> Feb 27 22:52:58 srv4hai postfix/qmgr[28610]: 1BC6060244: from= , size=10742, nrcpt=1 (queue active) Feb 27 22:52:58 srv4hai activate_scenario[14068]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-01'-'Wandlicht beim Esstisch' --> '0?turn=off' Feb 27 22:52:58 srv4hai proc_url[14139]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/27/_0.log' - shellyUsage:'Wandlicht beim Esstisch' - scUrl:'http://192.168.12.101/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär'' Feb 27 22:52:58 srv4hai postfix/local[14134]: 1BC6060244: to= , orig_to= , relay=local, delay=0.03, delays=0.02/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null") Feb 27 22:52:58 srv4hai postfix/cleanup[14121]: 216BC60245: message-id=<20240227215258.216BC60245@mail.viehai.at> Feb 27 22:52:58 srv4hai postfix/bounce[14135]: 1BC6060244: sender non-delivery notification: 216BC60245 Feb 27 22:52:58 srv4hai postfix/qmgr[28610]: 216BC60245: from=<>, size=12661, nrcpt=1 (queue active) Feb 27 22:52:58 srv4hai postfix/qmgr[28610]: 1BC6060244: removed Feb 27 22:52:58 srv4hai activate_scenario[14068]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-02'-'Balkon-Licht' --> '0?turn=off' Feb 27 22:52:58 srv4hai proc_url[14151]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/27/_1.log' - shellyUsage:'Balkon-Licht' - scUrl:'http://192.168.12.102/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär'' Feb 27 22:52:58 srv4hai postfix/local[14134]: 216BC60245: to= , relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Feb 27 22:52:58 srv4hai postfix/qmgr[28610]: 216BC60245: removed Feb 27 22:52:58 srv4hai activate_scenario[14068]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=off' Feb 27 22:52:58 srv4hai proc_url[14162]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/27/_2.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär'' Feb 27 22:52:58 srv4hai activate_scenario[14068]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-05'-'Stehlampe Anne hell' --> '0?turn=off' Feb 27 22:52:58 srv4hai proc_url[14173]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/27/_3.log' - shellyUsage:'Stehlampe Anne hell' - scUrl:'http://192.168.12.105/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär'' Feb 27 22:52:58 srv4hai activate_scenario[14068]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-06'-'Fernsehlampe klein' --> '0?turn=off' Feb 27 22:52:58 srv4hai proc_url[14194]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/27/_4.log' - shellyUsage:'Fernsehlampe klein' - scUrl:'http://192.168.12.106/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär'' Feb 27 22:52:58 srv4hai activate_scenario[14068]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-10'-'WZ Bücherregal' --> '0?turn=off' Feb 27 22:52:58 srv4hai proc_url[14205]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/27/_5.log' - shellyUsage:'WZ Bücherregal' - scUrl:'http://192.168.12.110/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär'' Feb 27 22:52:58 srv4hai activate_scenario[14068]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-16'-'Küche Licht Naßzeile' --> '0?turn=off&brightness=70' Feb 27 22:52:58 srv4hai proc_url[14216]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/27/_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'' Feb 27 22:52:58 srv4hai activate_scenario[14068]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-16'-'Küche Licht Naßzeile' --> '1?turn=off&brightness=70' Feb 27 22:52:58 srv4hai proc_url[14251]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/27/_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'' Feb 27 22:52:58 srv4hai activate_scenario[14068]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-17'-'Küche Licht Herdzeile' --> '0?turn=off&brightness=50' Feb 27 22:52:58 srv4hai proc_url[14262]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/27/_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'' Feb 27 22:52:58 srv4hai activate_scenario[14068]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-17'-'Küche Licht Herdzeile' --> '1?turn=off&brightness=50' Feb 27 22:52:58 srv4hai proc_url[14280]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/27/_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'' Feb 27 22:52:58 srv4hai activate_scenario[14068]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-19'-'Fernsehlampe groß' --> '0?turn=off' Feb 27 22:52:58 srv4hai proc_url[14294]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/27/_10.log' - shellyUsage:'Fernsehlampe groß' - scUrl:'http://192.168.12.119/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär'' Feb 27 22:52:58 srv4hai activate_scenario[14068]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-22'-'WC' --> '0?turn=off' Feb 27 22:52:58 srv4hai proc_url[14307]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/27/_11.log' - shellyUsage:'WC' - scUrl:'http://192.168.12.122/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär'' Feb 27 22:52:58 srv4hai activate_scenario[14068]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-23'-'Licht Sekretär' --> '0?turn=off' Feb 27 22:52:58 srv4hai proc_url[14320]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/27/_12.log' - shellyUsage:'Licht Sekretär' - scUrl:'http://192.168.12.123/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär'' Feb 27 22:52:58 srv4hai activate_scenario[14068]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-25'-'Küchenlicht' --> '0?turn=off' Feb 27 22:52:58 srv4hai proc_url[14331]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/27/_13.log' - shellyUsage:'Küchenlicht' - scUrl:'http://192.168.12.125/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär'' Feb 27 22:52:58 srv4hai activate_scenario[14068]: SHELLY scenario: 'offDownstairs(offdownstairs)' took 297 msec, shelly-23:'Licht Sekretär' Feb 27 22:53:01 srv4hai CRON[14500]: (root) CMD (/etc/linetest/linetest.sh) Feb 27 22:53:02 srv4hai activate_scenario[14505]: SHELLY scenario: 'bedlight_tom(bedlight_tom)' started Feb 27 22:53:02 srv4hai activate_scenario[14505]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-12:'Schlafzimmer Licht'
finished