activate_scenario.sh
Fri May 31 22:03:55 CEST 2024
scenario: sekr_UM
source: 192.168.12.101
vorher: 22:03:55.549
http://192.168.12.123/relay/0?turn=toggle |
---|
"ison": true, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "http" |
nachher: 22:03:55.580
Dauer: 30 msec
phName: 'shelly-01:'Wandlicht beim Esstisch''
urls : 1
vorher : 22:03:55.525
nachher: 22:03:55.586
Dauer : 62 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/05/31//scene_sekr_UM_20240531_220355.txt'
May 31 22:00:01 srv4hai CRON[18218]: (root) CMD (/etc/linetest/linetest.sh) May 31 22:00:01 srv4hai CRON[18219]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh) May 31 22:00:01 srv4hai common[18220]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh May 31 22:00:01 srv4hai meter.sh: SHELLY meter.sh started May 31 22:00:02 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring May 31 22:00:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring May 31 22:00:05 srv4hai meter.sh: SHELLY 'shelly-05/Stehlampe Anne hell': OFFLINE, resp. not answering within connect-timeout 2.500000s May 31 22:00:08 srv4hai meter.sh: SHELLY 'shelly-19/Fernsehlampe groß': OFFLINE, resp. not answering within connect-timeout 2.500000s May 31 22:00:10 srv4hai activate_scenario[18483]: SHELLY scenario: 'sekr_UM(sekr_um)' started May 31 22:00:10 srv4hai activate_scenario[18483]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-01:'Wandlicht beim Esstisch' May 31 22:00:10 srv4hai activate_scenario[18483]: SHELLY scenario: 'sekr_UM(sekr_um)' TO BE EXECUTED, shelly-01:'Wandlicht beim Esstisch' May 31 22:00:10 srv4hai postfix/pickup[4161]: 3AA8D6018B: uid=33 from=May 31 22:00:10 srv4hai postfix/cleanup[9520]: 3AA8D6018B: message-id=<20240531200010.3AA8D6018B@mail.viehai.at> May 31 22:00:10 srv4hai postfix/qmgr[31004]: 3AA8D6018B: from= , size=55923, nrcpt=1 (queue active) May 31 22:00:10 srv4hai postfix/local[13379]: 3AA8D6018B: to= , orig_to= , relay=local, delay=0.02, delays=0.02/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null") May 31 22:00:10 srv4hai postfix/cleanup[9520]: 3D81860197: message-id=<20240531200010.3D81860197@mail.viehai.at> May 31 22:00:10 srv4hai postfix/bounce[13386]: 3AA8D6018B: sender non-delivery notification: 3D81860197 May 31 22:00:10 srv4hai postfix/qmgr[31004]: 3D81860197: from=<>, size=2354, nrcpt=1 (queue active) May 31 22:00:10 srv4hai postfix/qmgr[31004]: 3AA8D6018B: removed May 31 22:00:10 srv4hai activate_scenario[18483]: SHELLY: scenario: 'sekr_UM(sekr_um)'-'shelly-23'-'Licht Sekretär' --> '0?turn=toggle' May 31 22:00:10 srv4hai postfix/local[9529]: 3D81860197: to= , relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) May 31 22:00:10 srv4hai postfix/qmgr[31004]: 3D81860197: removed May 31 22:00:10 srv4hai proc_url[18552]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/05/31/_0.log' - shellyUsage:'Licht Sekretär' - scUrl:'http://192.168.12.123/relay/0?turn=toggle' - phName:'shelly-01:'Wandlicht beim Esstisch'' May 31 22:00:10 srv4hai activate_scenario[18483]: SHELLY scenario: 'sekr_UM(sekr_um)' took 61 msec, shelly-01:'Wandlicht beim Esstisch' May 31 22:00:10 srv4hai meter.sh: SHELLY 'shelly-06/Fernsehlampe klein': OFFLINE, resp. not answering within connect-timeout 2.500000s May 31 22:00:13 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring May 31 22:00:13 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring May 31 22:00:13 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring May 31 22:00:13 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring May 31 22:00:13 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring May 31 22:00:16 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED': OFFLINE, resp. not answering within connect-timeout 2.500000s May 31 22:00:18 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss': OFFLINE, resp. not answering within connect-timeout 2.500000s May 31 22:00:18 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring May 31 22:00:18 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring May 31 22:00:18 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring May 31 22:00:18 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring May 31 22:00:18 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring May 31 22:00:21 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test': OFFLINE, resp. not answering within connect-timeout 2.500000s May 31 22:00:21 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring May 31 22:00:21 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring May 31 22:00:21 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring May 31 22:00:21 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring May 31 22:00:21 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring May 31 22:00:21 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring May 31 22:00:21 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring May 31 22:00:21 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring May 31 22:00:21 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring May 31 22:00:21 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring May 31 22:00:25 srv4hai mosquitto[18551]: Client shelly1-3083988C059D disconnected. May 31 22:00:26 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht': OFFLINE, resp. not answering within connect-timeout 2.500000s May 31 22:00:26 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring May 31 22:00:26 srv4hai common[19196]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh May 31 22:00:26 srv4hai check_shelly.sh: SHELLY last scenery executed: 'sekr_UM' May 31 22:00:26 srv4hai check_shelly.sh: SHELLY found '4' active shelly outputs May 31 22:00:26 srv4hai meter.sh: SHELLY meter.sh ended May 31 22:00:26 srv4hai dhcpd[30731]: DHCPDISCOVER from 30:83:98:8c:05:9d via enp2s0 May 31 22:00:26 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.123 to 30:83:98:8c:05:9d via enp2s0 May 31 22:00:26 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh May 31 22:00:26 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.123 May 31 22:00:26 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-23 May 31 22:00:26 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.123 (192.168.12.252) from 30:83:98:8c:05:9d via enp2s0 May 31 22:00:26 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.123 to 30:83:98:8c:05:9d via enp2s0 May 31 22:00:26 srv4hai named[30406]: client @0x7f9350157870 192.168.12.252#49043/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-23.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) May 31 22:00:26 srv4hai named[30406]: client @0x7f93480026a0 192.168.12.252#53959/key rndc-key: signer "rndc-key" approved May 31 22:00:26 srv4hai named[30406]: client @0x7f93480026a0 192.168.12.252#53959/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-23.viehai.at' TXT May 31 22:00:26 srv4hai named[30406]: client @0x7f93480026a0 192.168.12.252#53959/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-23.viehai.at' TXT "0067c4eae5f3400bd02ff9ebe320262416" May 31 22:00:26 srv4hai named[30406]: client @0x7f93480026a0 192.168.12.252#53959/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-23.viehai.at' A May 31 22:00:26 srv4hai named[30406]: client @0x7f93480026a0 192.168.12.252#53959/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-23.viehai.at' A 192.168.12.123 May 31 22:00:26 srv4hai dhcpd[30731]: Added new forward map from shelly-23.viehai.at to 192.168.12.123 May 31 22:00:26 srv4hai named[30406]: client @0x7f935012c1c0 192.168.12.252#42635/key rndc-key: signer "rndc-key" approved May 31 22:00:26 srv4hai named[30406]: client @0x7f935012c1c0 192.168.12.252#42635/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '123.12.168.192.in-addr.arpa' PTR May 31 22:00:26 srv4hai named[30406]: client @0x7f935012c1c0 192.168.12.252#42635/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '123.12.168.192.in-addr.arpa' PTR shelly-23.viehai.at. May 31 22:00:26 srv4hai dhcpd[30731]: Added reverse map from 123.12.168.192.in-addr.arpa. to shelly-23.viehai.at May 31 22:00:26 srv4hai common[19220]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh May 31 22:00:27 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-23' - shIP/2:'' perform:'conf' May 31 22:00:27 srv4hai mosquitto[18551]: New connection from 192.168.12.123 on port 1883. May 31 22:00:27 srv4hai mosquitto[18551]: New client connected from 192.168.12.123 as shelly1-3083988C059D (c1, k60, u'shmqtt'). May 31 22:00:28 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-23' - shIP/2:'192.168.12.123' May 31 22:00:28 srv4hai conf_shelly.sh: SHELLY: usage/name 'Licht Sekretär' already set for '192.168.12.123' May 31 22:00:28 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(0)' - allready transmitted - skipping May 31 22:00:28 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(1)' - allready transmitted - skipping May 31 22:00:28 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(2)' - allready transmitted - skipping May 31 22:00:28 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(3)' - allready transmitted - skipping May 31 22:00:28 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(4)' - allready transmitted - skipping May 31 22:00:28 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(5)' - allready transmitted - skipping May 31 22:00:28 srv4hai conf_shelly.sh: SHELLY:'shelly-23' out:0 ON : MISSING May 31 22:00:28 srv4hai conf_shelly.sh: SHELLY:'shelly-23' out:0 OFF: MISSING May 31 22:00:56 srv4hai activate_scenario[19375]: SHELLY scenario: 'sekr_UM(sekr_um)' started May 31 22:00:56 srv4hai activate_scenario[19375]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-01:'Wandlicht beim Esstisch' May 31 22:00:56 srv4hai activate_scenario[19375]: SHELLY scenario: 'sekr_UM(sekr_um)' TO BE EXECUTED, shelly-01:'Wandlicht beim Esstisch' May 31 22:00:56 srv4hai postfix/pickup[4161]: 10C126018B: uid=33 from= May 31 22:00:56 srv4hai postfix/cleanup[9520]: 10C126018B: message-id=<20240531200056.10C126018B@mail.viehai.at> May 31 22:00:56 srv4hai postfix/qmgr[31004]: 10C126018B: from= , size=65096, nrcpt=1 (queue active) May 31 22:00:56 srv4hai postfix/local[13379]: 10C126018B: to= , orig_to= , relay=local, delay=0.02, delays=0.02/0/0/0, dsn=5.1.1, status=bounced (unknown user: "null") May 31 22:00:56 srv4hai postfix/cleanup[9520]: 14E7D60197: message-id=<20240531200056.14E7D60197@mail.viehai.at> May 31 22:00:56 srv4hai activate_scenario[19375]: SHELLY: scenario: 'sekr_UM(sekr_um)'-'shelly-23'-'Licht Sekretär' --> '0?turn=toggle' May 31 22:00:56 srv4hai postfix/bounce[13386]: 10C126018B: sender non-delivery notification: 14E7D60197 May 31 22:00:56 srv4hai postfix/qmgr[31004]: 14E7D60197: from=<>, size=2354, nrcpt=1 (queue active) May 31 22:00:56 srv4hai postfix/qmgr[31004]: 10C126018B: removed May 31 22:00:56 srv4hai proc_url[19442]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/05/31/_0.log' - shellyUsage:'Licht Sekretär' - scUrl:'http://192.168.12.123/relay/0?turn=toggle' - phName:'shelly-01:'Wandlicht beim Esstisch'' May 31 22:00:56 srv4hai postfix/local[9529]: 14E7D60197: to= , relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) May 31 22:00:56 srv4hai postfix/qmgr[31004]: 14E7D60197: removed May 31 22:00:56 srv4hai activate_scenario[19375]: SHELLY scenario: 'sekr_UM(sekr_um)' took 49 msec, shelly-01:'Wandlicht beim Esstisch' May 31 22:01:01 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets). May 31 22:01:01 srv4hai CRON[19475]: (root) CMD (/etc/linetest/linetest.sh) May 31 22:01:02 srv4hai fetchmail[1651]: 45472 messages (45472 seen) for tmiglinci at mail.akis.at (-540714748 octets). May 31 22:01:02 srv4hai fetchmail[1651]: 10278 messages (10278 seen) for srozum at mail.akis.at (1237754626 octets). May 31 22:01:02 srv4hai fetchmail[1651]: 23807 messages (23807 seen) for mrozum at mail.akis.at (-183329679 octets). May 31 22:01:03 srv4hai fetchmail[1651]: 81 messages (81 seen) for admin@bastelstube.wien at pop3.world4you.com (29894386 octets). May 31 22:01:07 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=19484, secured, session= May 31 22:01:07 srv4hai dovecot: imap(miglincit)<19484> : Logged out in=520 out=1284 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 May 31 22:01:48 srv4hai activate_scenario[19505]: SHELLY scenario: 'sekr_UM(sekr_um)' started May 31 22:01:48 srv4hai activate_scenario[19505]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-01:'Wandlicht beim Esstisch' May 31 22:01:48 srv4hai activate_scenario[19505]: SHELLY scenario: 'sekr_UM(sekr_um)' TO BE EXECUTED, shelly-01:'Wandlicht beim Esstisch' May 31 22:01:48 srv4hai postfix/pickup[4161]: 5F3CD6018B: uid=33 from= May 31 22:01:48 srv4hai postfix/cleanup[9520]: 5F3CD6018B: message-id=<20240531200148.5F3CD6018B@mail.viehai.at> May 31 22:01:48 srv4hai postfix/qmgr[31004]: 5F3CD6018B: from= , size=49020, nrcpt=1 (queue active) May 31 22:01:48 srv4hai activate_scenario[19505]: SHELLY: scenario: 'sekr_UM(sekr_um)'-'shelly-23'-'Licht Sekretär' --> '0?turn=toggle' May 31 22:01:48 srv4hai proc_url[19572]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/05/31/_0.log' - shellyUsage:'Licht Sekretär' - scUrl:'http://192.168.12.123/relay/0?turn=toggle' - phName:'shelly-01:'Wandlicht beim Esstisch'' May 31 22:01:48 srv4hai postfix/local[13379]: 5F3CD6018B: to= , orig_to= , relay=local, delay=0.04, delays=0.02/0/0/0.02, dsn=5.1.1, status=bounced (unknown user: "null") May 31 22:01:48 srv4hai postfix/cleanup[9520]: 675A660197: message-id=<20240531200148.675A660197@mail.viehai.at> May 31 22:01:48 srv4hai postfix/bounce[13386]: 5F3CD6018B: sender non-delivery notification: 675A660197 May 31 22:01:48 srv4hai postfix/qmgr[31004]: 675A660197: from=<>, size=50902, nrcpt=1 (queue active) May 31 22:01:48 srv4hai postfix/qmgr[31004]: 5F3CD6018B: removed May 31 22:01:48 srv4hai postfix/local[9529]: 675A660197: to= , relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) May 31 22:01:48 srv4hai postfix/qmgr[31004]: 675A660197: removed May 31 22:01:48 srv4hai activate_scenario[19505]: SHELLY scenario: 'sekr_UM(sekr_um)' took 75 msec, shelly-01:'Wandlicht beim Esstisch' May 31 22:02:01 srv4hai CRON[19607]: (root) CMD (/etc/linetest/linetest.sh) May 31 22:03:01 srv4hai CRON[19647]: (root) CMD (/etc/linetest/linetest.sh) May 31 22:03:55 srv4hai activate_scenario[19681]: SHELLY scenario: 'sekr_UM(sekr_um)' started May 31 22:03:55 srv4hai activate_scenario[19681]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-01:'Wandlicht beim Esstisch'
finished