activate_scenario.sh
Sun Apr 21 15:17:31 CEST 2024
scenario: LOG_gehen
source: 192.168.12.103

'day' <--> DayTime=checked , NightTime=checked
-> execution of scenario
-> sending email(s) to ''

scenario: 'LOG_AUS' - 'LOG_gehen' - 'log_gehen'

scenario: 'LOG_AUS' - 'LOG_gehen' - 'log_gehen'

urls : 0
vorher : 15:17:31.108
nachher: 15:17:31.114
Dauer : 6 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/21//scene_LOG_gehen_20240421_151731.txt'


syslog

Apr 21 15:14:01 srv4hai CRON[4411]: (root) CMD (/etc/linetest/linetest.sh)
Apr 21 15:14:22 srv4hai ping_SP[17610]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1713705262 - 'ping_SP_1'
Apr 21 15:14:22 srv4hai ping_SP[17610]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Apr 21 15:14:32 srv4hai nmbd[30864]: [2024/04/21 15:14:32.538009,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Apr 21 15:14:32 srv4hai nmbd[30864]:   find_domain_master_name_query_fail:
Apr 21 15:14:32 srv4hai nmbd[30864]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Apr 21 15:14:32 srv4hai nmbd[30864]:   Unable to sync browse lists in this workgroup.
Apr 21 15:15:01 srv4hai CRON[4455]: (root) CMD (/etc/linetest/linetest.sh)
Apr 21 15:15:37 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=4484, secured, session=
Apr 21 15:15:37 srv4hai dovecot: imap(miglincit)<4484>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr 21 15:15:45 srv4hai ping_SP[17610]: SHELLY (1)- ping 192.168.12.62 1 not answered (1) @~1713705345 - 'ping_SP_1'
Apr 21 15:16:01 srv4hai CRON[4517]: (root) CMD (/etc/linetest/linetest.sh)
Apr 21 15:16:05 srv4hai dhcpd[22856]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0
Apr 21 15:16:05 srv4hai dhcpd[22856]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Apr 21 15:16:05 srv4hai dhcpd[22856]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Apr 21 15:16:05 srv4hai dhcpd[22856]: execute_statement argv[1] = 192.168.12.139
Apr 21 15:16:05 srv4hai dhcpd[22856]: execute_statement argv[2] = shelly-39
Apr 21 15:16:05 srv4hai dhcpd[22856]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0
Apr 21 15:16:05 srv4hai dhcpd[22856]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Apr 21 15:16:05 srv4hai named[15509]: client @0x7f930c088170 192.168.12.252#44749/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Apr 21 15:16:05 srv4hai named[15509]: client @0x7f931c6d4af0 192.168.12.252#54071/key rndc-key: signer "rndc-key" approved
Apr 21 15:16:05 srv4hai named[15509]: client @0x7f931c6d4af0 192.168.12.252#54071/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT
Apr 21 15:16:05 srv4hai named[15509]: client @0x7f931c6d4af0 192.168.12.252#54071/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7"
Apr 21 15:16:05 srv4hai named[15509]: client @0x7f931c6d4af0 192.168.12.252#54071/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A
Apr 21 15:16:05 srv4hai named[15509]: client @0x7f931c6d4af0 192.168.12.252#54071/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139
Apr 21 15:16:05 srv4hai dhcpd[22856]: Added new forward map from shelly-39.viehai.at to 192.168.12.139
Apr 21 15:16:05 srv4hai named[15509]: client @0x7f931c157870 192.168.12.252#46907/key rndc-key: signer "rndc-key" approved
Apr 21 15:16:05 srv4hai named[15509]: client @0x7f931c157870 192.168.12.252#46907/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR
Apr 21 15:16:05 srv4hai named[15509]: client @0x7f931c157870 192.168.12.252#46907/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '139.12.168.192.in-addr.arpa' PTR shelly-39.viehai.at.
Apr 21 15:16:05 srv4hai dhcpd[22856]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at
Apr 21 15:16:05 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Apr 21 15:16:05 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Apr 21 15:16:05 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Apr 21 15:16:05 srv4hai conf_shelly.sh: SHELLY:'shelly-39' 'conf(0)' - 'settings/actions?index=0&name=report_url&enabled=true&urls[]=http://www.viehai.at/shelly/ht_shelly.shtml?gen=2&temp=${ev.tC}&hum=${status["humidity:0"].rH}&id=${config.sys.device.mac}'
Apr 21 15:16:05 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-cmd: 'curl --connect-timeout 3 --silent -X -POST -d 'settings/actions?index=0&name=report_url&enabled=true&urls[]=http://www.viehai.at/shelly/ht_shelly.shtml?gen=2&temp=${ev.tC}&hum=${status["humidity:0"].rH}&id=${config.sys.device.mac}' http://192.168.12.139/rpc | jq -r '.''
Apr 21 15:16:05 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Apr 21 15:16:05 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook
Apr 21 15:16:06 srv4hai common[4568]: SHELLY common.sh inkludiert von ./ht_shelly.sh
Apr 21 15:16:06 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=13.600000&hum=40.600000&id=C049EF8AC9D8&batt=100&volt=6.670000
Apr 21 15:16:06 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/04/shelly-39_20240421.csv'
Apr 21 15:16:06 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Apr 21 15:16:06 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Apr 21 15:16:06 srv4hai conf_shelly.sh: SHELLY:'shelly-39' 'conf(0)' - 'settings/actions?index=0&name=report_url&enabled=true&urls[]=http://www.viehai.at/shelly/ht_shelly.shtml?gen=2&temp=${ev.tC}&hum=${status["humidity:0"].rH}&id=${config.sys.device.mac}'
Apr 21 15:16:06 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-cmd: 'curl --connect-timeout 3 --silent -X -POST -d 'settings/actions?index=0&name=report_url&enabled=true&urls[]=http://www.viehai.at/shelly/ht_shelly.shtml?gen=2&temp=${ev.tC}&hum=${status["humidity:0"].rH}&id=${config.sys.device.mac}' http://192.168.12.139/rpc | jq -r '.''
Apr 21 15:16:06 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Apr 21 15:16:06 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook
Apr 21 15:16:06 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 13.6° - 40.6%
Apr 21 15:16:06 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 13.6°/12.5° - 40.6%/40% - SAVED
Apr 21 15:16:06 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: batt='100'°
Apr 21 15:16:07 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: dweetIO='{#012  "this": "succeeded",#012  "by": "dweeting",#012  "the": "dweet",#012  "with": {#012    "thing": "viehai-39",#012    "created": "2024-04-21T13:16:07.078Z",#012    "content": {#012      "temp": 13.6,#012      "hum": 40.6,#012      "batt": 100,#012      "csvF": "shelly-39_20240421.csv"#012    },#012    "transaction": "7f967804-750f-43c5-b114-d46fddcad0b0"#012  }#012}'°
Apr 21 15:16:11 srv4hai ping_SP[17610]: SHELLY (1)- ping 192.168.12.62 2 not answered (1) @~1713705371 - 'ping_SP_1'
Apr 21 15:16:37 srv4hai ping_SP[17610]: SHELLY (1)- ping 192.168.12.62 3 not answered (1) @~1713705397 - 'ping_SP_1'
Apr 21 15:17:01 srv4hai CRON[4732]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Apr 21 15:17:01 srv4hai CRON[4733]: (root) CMD (/etc/linetest/linetest.sh)
Apr 21 15:17:04 srv4hai ping_SP[17610]: SHELLY (1)- ping 192.168.12.62 4 not answered (1) @~1713705424 - 'ping_SP_1'
Apr 21 15:17:30 srv4hai ping_SP[17610]: SHELLY (1)- ping 192.168.12.62 5 not answered (1) @~1713705450 - 'ping_SP_1'
Apr 21 15:17:30 srv4hai ping_SP[17610]: SHELLY (1)- ping 192.168.12.62 5 not answered - abort (17610) @~1713705450 - rm 'ping_SP_1'
Apr 21 15:17:30 srv4hai common[4775]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Apr 21 15:17:30 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'0'=1713705450-1713705450
Apr 21 15:17:30 srv4hai check_presence[4775]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.DEAD and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Apr 21 15:17:30 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'0'=1713705450-1713705450
Apr 21 15:17:30 srv4hai check_presence[4775]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Apr 21 15:17:30 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_not_set' dweetAge:'0'=1713705450-1713705450
Apr 21 15:17:30 srv4hai check_presence[4775]: 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
Apr 21 15:17:30 srv4hai check_presence[4775]: SHELLY (ping_SP__NO_ping)-(1) what: 'presence' - persPresent: '(__/__) (__/__) (__/__)' - anyPresent: 'false' - otherPresent:'false'
Apr 21 15:17:30 srv4hai check_presence[4775]: SHELLY (ping_SP__NO_ping)-(1)-presence: activate_scenario.shtml: offAll
Apr 21 15:17:30 srv4hai postfix/pickup[2734]: D12566022F: uid=33 from=
Apr 21 15:17:30 srv4hai postfix/cleanup[4879]: D12566022F: message-id=<20240421131730.D12566022F@mail.viehai.at>
Apr 21 15:17:30 srv4hai postfix/qmgr[15291]: D12566022F: from=, size=9572, nrcpt=1 (queue active)
Apr 21 15:17:30 srv4hai activate_scenario[4887]: SHELLY scenario: 'offAll(offall)' started
Apr 21 15:17:30 srv4hai activate_scenario[4887]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'kanaDaham'
Apr 21 15:17:30 srv4hai activate_scenario[4887]: SHELLY scenario: 'offAll(offall)' TO BE EXECUTED, phoneName:'kanaDaham'
Apr 21 15:17:30 srv4hai postfix/pickup[2734]: DF1ED60230: uid=33 from=
Apr 21 15:17:30 srv4hai postfix/cleanup[4879]: DF1ED60230: message-id=<20240421131730.DF1ED60230@mail.viehai.at>
Apr 21 15:17:30 srv4hai postfix/qmgr[15291]: DF1ED60230: from=, size=10392, nrcpt=1 (queue active)
Apr 21 15:17:30 srv4hai activate_scenario[4887]: SHELLY: scenario: 'offAll(offall)'-'shelly-01'-'Wandlicht beim Esstisch' --> '0?turn=off'
Apr 21 15:17:30 srv4hai proc_url[4954]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/21/_0.log' - shellyUsage:'Wandlicht beim Esstisch' - scUrl:'http://192.168.12.101/relay/0?turn=off' - phName:'phoneName:'kanaDaham''
Apr 21 15:17:30 srv4hai postfix/local[4946]: DF1ED60230: to=, orig_to=, relay=local, delay=0.03, delays=0.01/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Apr 21 15:17:30 srv4hai postfix/cleanup[4879]: E538060249: message-id=<20240421131730.E538060249@mail.viehai.at>
Apr 21 15:17:30 srv4hai postfix/bounce[4950]: DF1ED60230: sender non-delivery notification: E538060249
Apr 21 15:17:30 srv4hai postfix/qmgr[15291]: E538060249: from=<>, size=12274, nrcpt=1 (queue active)
Apr 21 15:17:30 srv4hai postfix/qmgr[15291]: DF1ED60230: removed
Apr 21 15:17:30 srv4hai activate_scenario[4887]: SHELLY: scenario: 'offAll(offall)'-'shelly-02'-'Balkon-Licht' --> '0?turn=off'
Apr 21 15:17:30 srv4hai proc_url[4966]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/21/_1.log' - shellyUsage:'Balkon-Licht' - scUrl:'http://192.168.12.102/relay/0?turn=off' - phName:'phoneName:'kanaDaham''
Apr 21 15:17:30 srv4hai postfix/local[4946]: E538060249: to=, relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr 21 15:17:30 srv4hai postfix/qmgr[15291]: E538060249: removed
Apr 21 15:17:30 srv4hai activate_scenario[4887]: SHELLY: scenario: 'offAll(offall)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=off'
Apr 21 15:17:30 srv4hai proc_url[4977]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/21/_2.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=off' - phName:'phoneName:'kanaDaham''
Apr 21 15:17:30 srv4hai activate_scenario[4887]: SHELLY: scenario: 'offAll(offall)'-'shelly-04'-'Badezimmer' --> '0?turn=off'
Apr 21 15:17:30 srv4hai proc_url[4998]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/21/_3.log' - shellyUsage:'Badezimmer' - scUrl:'http://192.168.12.104/relay/0?turn=off' - phName:'phoneName:'kanaDaham''
Apr 21 15:17:30 srv4hai activate_scenario[4887]: SHELLY: scenario: 'offAll(offall)'-'shelly-05'-'Stehlampe Anne hell' --> '0?turn=off'
Apr 21 15:17:30 srv4hai proc_url[5019]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/21/_4.log' - shellyUsage:'Stehlampe Anne hell' - scUrl:'http://192.168.12.105/relay/0?turn=off' - phName:'phoneName:'kanaDaham''
Apr 21 15:17:31 srv4hai activate_scenario[4887]: SHELLY: scenario: 'offAll(offall)'-'shelly-06'-'Fernsehlampe klein' --> '0?turn=off'
Apr 21 15:17:31 srv4hai proc_url[5030]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/21/_5.log' - shellyUsage:'Fernsehlampe klein' - scUrl:'http://192.168.12.106/relay/0?turn=off' - phName:'phoneName:'kanaDaham''
Apr 21 15:17:31 srv4hai activate_scenario[4887]: SHELLY: scenario: 'offAll(offall)'-'shelly-07'-'Nachtkästchen Lampe Thomas' --> '0?turn=off'
Apr 21 15:17:31 srv4hai proc_url[5051]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/21/_6.log' - shellyUsage:'Nachtkästchen Lampe Thomas' - scUrl:'http://192.168.12.107/relay/0?turn=off' - phName:'phoneName:'kanaDaham''
Apr 21 15:17:31 srv4hai activate_scenario[4887]: SHELLY: scenario: 'offAll(offall)'-'shelly-08'-'Thomas Büro Regallicht' --> '0?turn=off'
Apr 21 15:17:31 srv4hai proc_url[5084]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/21/_7.log' - shellyUsage:'Thomas Büro Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=off' - phName:'phoneName:'kanaDaham''
Apr 21 15:17:31 srv4hai activate_scenario[4887]: SHELLY: scenario: 'offAll(offall)'-'shelly-09'-'Sophie Licht' --> '0?turn=off'
Apr 21 15:17:31 srv4hai proc_url[5107]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/21/_8.log' - shellyUsage:'Sophie Licht' - scUrl:'http://192.168.12.109/relay/0?turn=off' - phName:'phoneName:'kanaDaham''
Apr 21 15:17:31 srv4hai activate_scenario[4887]: SHELLY: scenario: 'offAll(offall)'-'shelly-10'-'WZ Bücherregal' --> '0?turn=off'
Apr 21 15:17:31 srv4hai proc_url[5123]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/21/_9.log' - shellyUsage:'WZ Bücherregal' - scUrl:'http://192.168.12.110/relay/0?turn=off' - phName:'phoneName:'kanaDaham''
Apr 21 15:17:31 srv4hai activate_scenario[4887]: SHELLY: scenario: 'offAll(offall)'-'shelly-12'-'Schlafzimmer Licht' --> '0?turn=off'
Apr 21 15:17:31 srv4hai proc_url[5140]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/21/_10.log' - shellyUsage:'Schlafzimmer Licht' - scUrl:'http://192.168.12.112/relay/0?turn=off' - phName:'phoneName:'kanaDaham''
Apr 21 15:17:31 srv4hai activate_scenario[4887]: SHELLY: scenario: 'offAll(offall)'-'shelly-15'-'15-Test Weiss' --> '0?turn=off&brightness=50'
Apr 21 15:17:31 srv4hai proc_url[5185]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/21/_11.log' - shellyUsage:'15-Test Weiss' - scUrl:'http://192.168.12.115/white/0?turn=off&brightness=50' - phName:'phoneName:'kanaDaham''
Apr 21 15:17:31 srv4hai activate_scenario[5117]: SHELLY scenario: 'LOG_gehen(log_gehen)' started
Apr 21 15:17:31 srv4hai activate_scenario[5117]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-03:'Licht Vorzimmer'
Apr 21 15:17:31 srv4hai activate_scenario[4887]: SHELLY: scenario: 'offAll(offall)'-'shelly-15'-'15-Test Weiss' --> '1?turn=off&brightness=50'
Apr 21 15:17:31 srv4hai proc_url[5209]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/21/_12.log' - shellyUsage:'15-Test Weiss' - scUrl:'http://192.168.12.115/white/1?turn=off&brightness=50' - phName:'phoneName:'kanaDaham''

finished