activate_scenario.sh
Fri Jul 12 17:28:05 CEST 2024
scenario: vorraumOn
phoneName: 0

'day' <--> DayTime=checked , NightTime=checked
-> execution of scenario
-> sending email(s) to 'thomas@miglinci.name'

scenario: 'Vorzimmer EIN' - 'vorraumOn' - 'vorraumon'

Licht Vorzimmer (/srv/www/viehai/shelly/log_scenarios/2024/07/12/_0.log)

vorher: 17:28:05.999

http://192.168.12.103/relay/0?turn=on
  "ison": true,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "overpower": false,
  "source": "http"

nachher: 17:28:06.072
Dauer: 72 msec phName: 'phoneName:'0''


scenario: 'Vorzimmer EIN' - 'vorraumOn' - 'vorraumon'

urls : 1
vorher : 17:28:05.980
nachher: 17:28:06.078
Dauer : 98 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/12//scene_vorraumOn_20240712_172805.txt'


syslog

Jul 12 17:25:01 srv4hai CRON[26362]: (root) CMD (/etc/linetest/linetest.sh)
Jul 12 17:25:03 srv4hai mosquitto[18551]: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
Jul 12 17:25:31 srv4hai ping_SP[20805]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1720797931 - 'ping_SP_1'
Jul 12 17:25:31 srv4hai ping_SP[20805]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 12 17:25:33 srv4hai postfix/anvil[26224]: statistics: max connection rate 1/60s for (smtp:94.154.35.194) at Jul 12 17:22:12
Jul 12 17:25:33 srv4hai postfix/anvil[26224]: statistics: max connection count 1 for (smtp:94.154.35.194) at Jul 12 17:22:12
Jul 12 17:25:33 srv4hai postfix/anvil[26224]: statistics: max cache size 1 at Jul 12 17:22:12
Jul 12 17:26:01 srv4hai CRON[26391]: (root) CMD (/etc/linetest/linetest.sh)
Jul 12 17:26:01 srv4hai dhcpd[30731]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0
Jul 12 17:26:01 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Jul 12 17:26:01 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Jul 12 17:26:01 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.139
Jul 12 17:26:01 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-39
Jul 12 17:26:01 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0
Jul 12 17:26:01 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Jul 12 17:26:01 srv4hai named[30406]: client @0x7f93501490e0 192.168.12.252#46473/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jul 12 17:26:01 srv4hai named[30406]: client @0x7f931002f1e0 192.168.12.252#57821/key rndc-key: signer "rndc-key" approved
Jul 12 17:26:01 srv4hai named[30406]: client @0x7f931002f1e0 192.168.12.252#57821/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT
Jul 12 17:26:01 srv4hai named[30406]: client @0x7f931002f1e0 192.168.12.252#57821/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7"
Jul 12 17:26:01 srv4hai named[30406]: client @0x7f931002f1e0 192.168.12.252#57821/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A
Jul 12 17:26:01 srv4hai named[30406]: client @0x7f931002f1e0 192.168.12.252#57821/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139
Jul 12 17:26:01 srv4hai dhcpd[30731]: Added new forward map from shelly-39.viehai.at to 192.168.12.139
Jul 12 17:26:01 srv4hai named[30406]: client @0x7f9348063d20 192.168.12.252#34043/key rndc-key: signer "rndc-key" approved
Jul 12 17:26:01 srv4hai named[30406]: client @0x7f9348063d20 192.168.12.252#34043/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR
Jul 12 17:26:01 srv4hai named[30406]: client @0x7f9348063d20 192.168.12.252#34043/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.
Jul 12 17:26:01 srv4hai dhcpd[30731]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at
Jul 12 17:26:01 srv4hai common[26396]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Jul 12 17:26:01 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' perform:'conf'
Jul 12 17:26:02 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Jul 12 17:26:02 srv4hai common[26416]: SHELLY common.sh inkludiert von ./ht_shelly.sh
Jul 12 17:26:02 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=29.700000&hum=51.400000&id=C049EF8AC9D8&batt=100&volt=6.770000
Jul 12 17:26:02 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/07/shelly-39_20240712.csv'
Jul 12 17:26:02 srv4hai ht_shelly.sh: SHELLY - 'shelly-39_20240712.csv' modifed 307s ago - EXIT
Jul 12 17:26:02 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Jul 12 17:26:02 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}'
Jul 12 17:26:02 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 '.''
Jul 12 17:26:02 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Jul 12 17:26:03 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook
Jul 12 17:26:17 srv4hai nmbd[2172]: [2024/07/12 17:26:17.347369,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Jul 12 17:26:17 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Jul 12 17:26:17 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Jul 12 17:26:17 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Jul 12 17:26:35 srv4hai ping_SP[20805]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1720797995 - 'ping_SP_1'
Jul 12 17:26:35 srv4hai ping_SP[20805]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 12 17:26:59 srv4hai postfix/smtpd[26517]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jul 12 17:26:59 srv4hai postfix/smtpd[26517]: connect from unknown[178.215.236.182]
Jul 12 17:26:59 srv4hai postfix/smtpd[26517]: warning: unknown[178.215.236.182]: SASL LOGIN authentication failed: Invalid authentication mechanism
Jul 12 17:26:59 srv4hai postfix/smtpd[26517]: disconnect from unknown[178.215.236.182] ehlo=1 auth=0/1 quit=1 commands=2/3
Jul 12 17:27:01 srv4hai CRON[26521]: (root) CMD (/etc/linetest/linetest.sh)
Jul 12 17:27:20 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jul 12 17:27:21 srv4hai fetchmail[1651]: 48557 messages (48557 seen) for tmiglinci at mail.akis.at (-286949814 octets).
Jul 12 17:27:22 srv4hai fetchmail[1651]: 10443 messages (10443 seen) for srozum at mail.akis.at (1253140281 octets).
Jul 12 17:27:22 srv4hai fetchmail[1651]: 24702 messages (24702 seen) for mrozum at mail.akis.at (27859354 octets).
Jul 12 17:27:23 srv4hai fetchmail[1651]: 1139 messages (1139 seen) for admin@bastelstube.wien at pop3.world4you.com (51570784 octets).
Jul 12 17:27:38 srv4hai ping_SP[20805]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1720798058 - 'ping_SP_1'
Jul 12 17:27:38 srv4hai ping_SP[20805]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 12 17:28:01 srv4hai CRON[26553]: (root) CMD (/etc/linetest/linetest.sh)
Jul 12 17:28:05 srv4hai common[26559]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jul 12 17:28:05 srv4hai bt_scan[26559]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Jul 12 17:28:05 srv4hai bt_scan[26559]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61'
Jul 12 17:28:05 srv4hai common[26590]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Jul 12 17:28:05 srv4hai ping_SP[26590]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Jul 12 17:28:05 srv4hai common[26611]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jul 12 17:28:05 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'0'=1720798085-1720798085
Jul 12 17:28:05 srv4hai check_presence[26611]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.TRY} and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Jul 12 17:28:05 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'0'=1720798085-1720798085
Jul 12 17:28:05 srv4hai check_presence[26611]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Jul 12 17:28:05 srv4hai check_presence[26611]: SHELLY (ping_SP__bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming'
Jul 12 17:28:05 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_not_set' dweetAge:'0'=1720798085-1720798085
Jul 12 17:28:05 srv4hai check_presence[26611]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_2.Yes
Jul 12 17:28:05 srv4hai check_presence[26611]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(__/__) (__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jul 12 17:28:05 srv4hai check_presence[26611]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_vorraumOn) - sceneONsmall(vorraumOn)
Jul 12 17:28:05 srv4hai check_presence[26611]: SHELLY (ping_SP__bt_scan)-(0)-coming: activate_scenario.shtml: vorraumOn
Jul 12 17:28:05 srv4hai activate_scenario[26742]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Jul 12 17:28:05 srv4hai activate_scenario[26742]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished