activate_scenario.sh
Mon Jul 22 23:40:03 CEST 2024
scenario: bedlight_tom
source: 192.168.12.112
vorher: 23:40:03.651
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:40:03.704
Dauer: 53 msec
phName: 'shelly-12:'Schlafzimmer Licht''
urls : 1
vorher : 23:40:03.629
nachher: 23:40:03.710
Dauer : 82 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/22//scene_bedlight_tom_20240722_234003.txt'
Jul 22 23:37:01 srv4hai CRON[29005]: (root) CMD (/etc/linetest/linetest.sh) Jul 22 23:37:17 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=29012, secured, session= Jul 22 23:37:17 srv4hai dovecot: imap(miglincit)<29012> : Logged out in=290 out=1640 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Jul 22 23:37:28 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets). Jul 22 23:37:29 srv4hai fetchmail[1651]: 49171 messages (49171 seen) for tmiglinci at mail.akis.at (-225737291 octets). Jul 22 23:37:29 srv4hai fetchmail[1651]: 10494 messages (10494 seen) for srozum at mail.akis.at (1263129436 octets). Jul 22 23:37:30 srv4hai fetchmail[1651]: 24887 messages (24887 seen) for mrozum at mail.akis.at (61593716 octets). Jul 22 23:37:30 srv4hai fetchmail[1651]: 1139 messages (1139 seen) for admin@bastelstube.wien at pop3.world4you.com (51570784 octets). Jul 22 23:37:32 srv4hai ping_SP[15063]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1721684252 - 'ping_SP_1' Jul 22 23:37:32 srv4hai ping_SP[15063]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Jul 22 23:37:39 srv4hai ping_SP[22811]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1721684259 - 'ping_SP_0' Jul 22 23:37:39 srv4hai ping_SP[22811]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Jul 22 23:38:01 srv4hai CRON[29062]: (root) CMD (/etc/linetest/linetest.sh) Jul 22 23:38:45 srv4hai ping_SP[15063]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1721684325 - 'ping_SP_1' Jul 22 23:38:45 srv4hai ping_SP[15063]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Jul 22 23:38:53 srv4hai ping_SP[22811]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1721684333 - 'ping_SP_0' Jul 22 23:38:53 srv4hai ping_SP[22811]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Jul 22 23:39:01 srv4hai CRON[29119]: (root) CMD ( [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi) Jul 22 23:39:01 srv4hai CRON[29120]: (root) CMD (/etc/linetest/linetest.sh) Jul 22 23:39:01 srv4hai systemd[1]: Starting Clean php session files... Jul 22 23:39:02 srv4hai systemd[1]: phpsessionclean.service: Succeeded. Jul 22 23:39:02 srv4hai systemd[1]: Started Clean php session files. Jul 22 23:39:57 srv4hai dhcpd[30731]: DHCPDISCOVER from e0:98:06:a9:f3:81 via enp2s0 Jul 22 23:39:57 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.104 to e0:98:06:a9:f3:81 via enp2s0 Jul 22 23:39:57 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Jul 22 23:39:57 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.104 Jul 22 23:39:57 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-04 Jul 22 23:39:57 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.104 (192.168.12.252) from e0:98:06:a9:f3:81 via enp2s0 Jul 22 23:39:57 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.104 to e0:98:06:a9:f3:81 via enp2s0 Jul 22 23:39:57 srv4hai named[30406]: client @0x7f934c037ed0 192.168.12.252#46663/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-04.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Jul 22 23:39:57 srv4hai named[30406]: client @0x7f931c01da50 192.168.12.252#53923/key rndc-key: signer "rndc-key" approved Jul 22 23:39:57 srv4hai named[30406]: client @0x7f931c01da50 192.168.12.252#53923/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-04.viehai.at' TXT Jul 22 23:39:57 srv4hai named[30406]: client @0x7f931c01da50 192.168.12.252#53923/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-04.viehai.at' TXT "008d1b202806eda236ba1bc6f43dd868cf" Jul 22 23:39:57 srv4hai named[30406]: client @0x7f931c01da50 192.168.12.252#53923/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-04.viehai.at' A Jul 22 23:39:57 srv4hai named[30406]: client @0x7f931c01da50 192.168.12.252#53923/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-04.viehai.at' A 192.168.12.104 Jul 22 23:39:57 srv4hai dhcpd[30731]: Added new forward map from shelly-04.viehai.at to 192.168.12.104 Jul 22 23:39:57 srv4hai named[30406]: client @0x7f931c04a000 192.168.12.252#40721/key rndc-key: signer "rndc-key" approved Jul 22 23:39:57 srv4hai named[30406]: client @0x7f931c04a000 192.168.12.252#40721/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '104.12.168.192.in-addr.arpa' PTR Jul 22 23:39:57 srv4hai named[30406]: client @0x7f931c04a000 192.168.12.252#40721/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '104.12.168.192.in-addr.arpa' PTR shelly-04.viehai.at. Jul 22 23:39:57 srv4hai dhcpd[30731]: Added reverse map from 104.12.168.192.in-addr.arpa. to shelly-04.viehai.at Jul 22 23:39:57 srv4hai common[29242]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh Jul 22 23:39:57 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-04' - shIP/2:'' perform:'conf' Jul 22 23:39:58 srv4hai mosquitto[18551]: New connection from 192.168.12.104 on port 1883. Jul 22 23:39:58 srv4hai mosquitto[18551]: Client shelly1pm-E09806A9F381 already connected, closing old connection. Jul 22 23:39:58 srv4hai mosquitto[18551]: Socket error on client shelly1pm-E09806A9F381, disconnecting. Jul 22 23:39:58 srv4hai mosquitto[18551]: New client connected from 192.168.12.104 as shelly1pm-E09806A9F381 (c1, k60, u'shmqtt'). Jul 22 23:39:58 srv4hai ping_SP[15063]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1721684398 - 'ping_SP_1' Jul 22 23:39:58 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-04' - shIP/2:'192.168.12.104' Jul 22 23:39:58 srv4hai ping_SP[15063]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Jul 22 23:39:58 srv4hai conf_shelly.sh: SHELLY: usage/name 'Badezimmer' already set for '192.168.12.104' Jul 22 23:39:58 srv4hai conf_shelly.sh: SHELLY:'shelly-04' 'conf(0)' - allready transmitted - skipping Jul 22 23:39:58 srv4hai conf_shelly.sh: SHELLY:'shelly-04' 'conf(1)' - allready transmitted - skipping Jul 22 23:39:58 srv4hai conf_shelly.sh: SHELLY:'shelly-04' 'conf(2)' - allready transmitted - skipping Jul 22 23:39:58 srv4hai conf_shelly.sh: SHELLY:'shelly-04' 'conf(3)' - allready transmitted - skipping Jul 22 23:39:58 srv4hai conf_shelly.sh: SHELLY:'shelly-04' 'conf(4)' - allready transmitted - skipping Jul 22 23:39:58 srv4hai conf_shelly.sh: SHELLY:'shelly-04' 'conf(5)' - allready transmitted - skipping Jul 22 23:39:59 srv4hai conf_shelly.sh: SHELLY:'shelly-04' out:0 ON : MISSING Jul 22 23:39:59 srv4hai conf_shelly.sh: SHELLY:'shelly-04' out:0 OFF: MISSING Jul 22 23:40:00 srv4hai activate_scenario[29397]: SHELLY scenario: 'offDownstairs(offdownstairs)' started Jul 22 23:40:00 srv4hai activate_scenario[29397]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-23:'Licht Sekretär' Jul 22 23:40:00 srv4hai activate_scenario[29397]: SHELLY scenario: 'offDownstairs(offdownstairs)' TO BE EXECUTED, shelly-23:'Licht Sekretär' Jul 22 23:40:00 srv4hai postfix/pickup[29450]: 494726018A: uid=33 from= Jul 22 23:40:00 srv4hai postfix/cleanup[29454]: 494726018A: message-id=<20240722214000.494726018A@mail.viehai.at> Jul 22 23:40:00 srv4hai postfix/qmgr[8566]: 494726018A: from= , size=7702, nrcpt=1 (queue active) Jul 22 23:40:00 srv4hai postfix/local[29464]: warning: database /etc/aliases.db is older than source file /etc/aliases Jul 22 23:40:00 srv4hai activate_scenario[29397]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-01'-'Wandlicht beim Esstisch' --> '0?turn=off' Jul 22 23:40:00 srv4hai proc_url[29469]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/07/22/_0.log' - shellyUsage:'Wandlicht beim Esstisch' - scUrl:'http://192.168.12.101/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär'' Jul 22 23:40:00 srv4hai postfix/local[29464]: 494726018A: to= , orig_to= , relay=local, delay=0.05, delays=0.02/0/0/0.02, dsn=5.1.1, status=bounced (unknown user: "null") Jul 22 23:40:00 srv4hai postfix/cleanup[29454]: 5088A6018B: message-id=<20240722214000.5088A6018B@mail.viehai.at> Jul 22 23:40:00 srv4hai activate_scenario[29397]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-02'-'Balkon-Licht' --> '0?turn=off' Jul 22 23:40:00 srv4hai proc_url[29480]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/07/22/_1.log' - shellyUsage:'Balkon-Licht' - scUrl:'http://192.168.12.102/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär'' Jul 22 23:40:00 srv4hai postfix/bounce[29468]: 494726018A: sender non-delivery notification: 5088A6018B Jul 22 23:40:00 srv4hai postfix/qmgr[8566]: 5088A6018B: from=<>, size=9624, nrcpt=1 (queue active) Jul 22 23:40:00 srv4hai postfix/qmgr[8566]: 494726018A: removed Jul 22 23:40:00 srv4hai postfix/local[29464]: 5088A6018B: to= , relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Jul 22 23:40:00 srv4hai postfix/qmgr[8566]: 5088A6018B: removed Jul 22 23:40:00 srv4hai activate_scenario[29397]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=off' Jul 22 23:40:00 srv4hai proc_url[29492]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/07/22/_2.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär'' Jul 22 23:40:00 srv4hai activate_scenario[29397]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-05'-'Stehlampe Anne hell' --> '0?turn=off' Jul 22 23:40:00 srv4hai proc_url[29513]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/07/22/_3.log' - shellyUsage:'Stehlampe Anne hell' - scUrl:'http://192.168.12.105/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär'' Jul 22 23:40:00 srv4hai activate_scenario[29397]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-06'-'Fernsehlampe klein' --> '0?turn=off' Jul 22 23:40:00 srv4hai proc_url[29524]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/07/22/_4.log' - shellyUsage:'Fernsehlampe klein' - scUrl:'http://192.168.12.106/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär'' Jul 22 23:40:00 srv4hai activate_scenario[29397]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-10'-'WZ Bücherregal' --> '0?turn=off' Jul 22 23:40:00 srv4hai proc_url[29535]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/07/22/_5.log' - shellyUsage:'WZ Bücherregal' - scUrl:'http://192.168.12.110/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär'' Jul 22 23:40:00 srv4hai activate_scenario[29397]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-16'-'Küche Licht Naßzeile' --> '0?turn=off&brightness=70' Jul 22 23:40:00 srv4hai proc_url[29548]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/07/22/_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'' Jul 22 23:40:00 srv4hai activate_scenario[29397]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-16'-'Küche Licht Naßzeile' --> '1?turn=off&brightness=70' Jul 22 23:40:00 srv4hai proc_url[29568]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/07/22/_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'' Jul 22 23:40:00 srv4hai activate_scenario[29397]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-17'-'Küche Licht Herdzeile' --> '0?turn=off&brightness=50' Jul 22 23:40:00 srv4hai proc_url[29580]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/07/22/_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'' Jul 22 23:40:00 srv4hai activate_scenario[29397]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-17'-'Küche Licht Herdzeile' --> '1?turn=off&brightness=50' Jul 22 23:40:00 srv4hai proc_url[29591]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/07/22/_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'' Jul 22 23:40:00 srv4hai activate_scenario[29397]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-19'-'Fernsehlampe groß' --> '0?turn=off' Jul 22 23:40:00 srv4hai proc_url[29602]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/07/22/_10.log' - shellyUsage:'Fernsehlampe groß' - scUrl:'http://192.168.12.119/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär'' Jul 22 23:40:00 srv4hai activate_scenario[29397]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-22'-'WC' --> '0?turn=off' Jul 22 23:40:00 srv4hai proc_url[29633]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/07/22/_11.log' - shellyUsage:'WC' - scUrl:'http://192.168.12.122/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär'' Jul 22 23:40:00 srv4hai activate_scenario[29397]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-23'-'Licht Sekretär' --> '0?turn=off' Jul 22 23:40:00 srv4hai proc_url[29686]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/07/22/_12.log' - shellyUsage:'Licht Sekretär' - scUrl:'http://192.168.12.123/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär'' Jul 22 23:40:00 srv4hai activate_scenario[29397]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-25'-'Küchenlicht' --> '0?turn=off' Jul 22 23:40:00 srv4hai proc_url[29707]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/07/22/_13.log' - shellyUsage:'Küchenlicht' - scUrl:'http://192.168.12.125/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär'' Jul 22 23:40:00 srv4hai activate_scenario[29397]: SHELLY scenario: 'offDownstairs(offdownstairs)' took 301 msec, shelly-23:'Licht Sekretär' Jul 22 23:40:01 srv4hai CRON[29833]: (root) CMD (/etc/linetest/linetest.sh) Jul 22 23:40:01 srv4hai CRON[29834]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh) Jul 22 23:40:01 srv4hai common[29835]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh Jul 22 23:40:01 srv4hai meter.sh: SHELLY meter.sh started Jul 22 23:40:02 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring Jul 22 23:40:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring Jul 22 23:40:03 srv4hai activate_scenario[30066]: SHELLY scenario: 'bedlight_tom(bedlight_tom)' started Jul 22 23:40:03 srv4hai activate_scenario[30066]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-12:'Schlafzimmer Licht'
finished