activate_scenario.sh
Wed Aug 7 19:59:58 CEST 2024
scenario: nasszeile_um
source: 192.168.12.128

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

scenario: 'Nasszeile UM-schalten' - 'nasszeile_um' - 'nasszeile_um'

Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/08/07/_0.log)

vorher: 19:59:58.586

http://192.168.12.116/white/0?turn=toggle&brightness=25
  "ison": true,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 25,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 19:59:58.609
Dauer: 23 msec phName: 'shelly-28:'Schalter Nasszeile''


Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/08/07/_1.log)

vorher: 19:59:58.601

http://192.168.12.116/white/1?turn=toggle&brightness=25
  "ison": true,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 25,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 19:59:58.628
Dauer: 27 msec phName: 'shelly-28:'Schalter Nasszeile''


scenario: 'Nasszeile UM-schalten' - 'nasszeile_um' - 'nasszeile_um'

urls : 2
vorher : 19:59:58.534
nachher: 19:59:58.634
Dauer : 102 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/08/07//scene_nasszeile_um_20240807_195958.txt'


syslog

Aug  7 19:56:01 srv4hai CRON[17947]: (root) CMD (/etc/linetest/linetest.sh)
Aug  7 19:56:11 srv4hai postfix/smtpd[17910]: connect from unknown[178.215.236.236]
Aug  7 19:56:11 srv4hai postfix/smtpd[17910]: warning: unknown[178.215.236.236]: SASL LOGIN authentication failed: Invalid authentication mechanism
Aug  7 19:56:11 srv4hai postfix/smtpd[17910]: lost connection after AUTH from unknown[178.215.236.236]
Aug  7 19:56:11 srv4hai postfix/smtpd[17910]: disconnect from unknown[178.215.236.236] ehlo=1 auth=0/1 commands=1/2
Aug  7 19:56:35 srv4hai nmbd[2172]: [2024/08/07 19:56:35.500070,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Aug  7 19:56:35 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Aug  7 19:56:35 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Aug  7 19:56:35 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Aug  7 19:56:57 srv4hai ping_SP[26490]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1723053417 - 'ping_SP_1'
Aug  7 19:56:57 srv4hai ping_SP[26490]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Aug  7 19:57:01 srv4hai CRON[17977]: (root) CMD (/etc/linetest/linetest.sh)
Aug  7 19:58:01 srv4hai CRON[17995]: (root) CMD (/etc/linetest/linetest.sh)
Aug  7 19:58:03 srv4hai dhcpd[30731]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0
Aug  7 19:58:03 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Aug  7 19:58:03 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Aug  7 19:58:03 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.139
Aug  7 19:58:03 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-39
Aug  7 19:58:03 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0
Aug  7 19:58:03 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Aug  7 19:58:03 srv4hai named[30406]: client @0x7f9310079c50 192.168.12.252#34231/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Aug  7 19:58:03 srv4hai named[30406]: client @0x7f935011da30 192.168.12.252#50849/key rndc-key: signer "rndc-key" approved
Aug  7 19:58:03 srv4hai named[30406]: client @0x7f935011da30 192.168.12.252#50849/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT
Aug  7 19:58:03 srv4hai named[30406]: client @0x7f935011da30 192.168.12.252#50849/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7"
Aug  7 19:58:03 srv4hai named[30406]: client @0x7f935011da30 192.168.12.252#50849/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A
Aug  7 19:58:03 srv4hai named[30406]: client @0x7f935011da30 192.168.12.252#50849/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139
Aug  7 19:58:03 srv4hai dhcpd[30731]: Added new forward map from shelly-39.viehai.at to 192.168.12.139
Aug  7 19:58:03 srv4hai named[30406]: client @0x7f9348048e40 192.168.12.252#49965/key rndc-key: signer "rndc-key" approved
Aug  7 19:58:03 srv4hai named[30406]: client @0x7f9348048e40 192.168.12.252#49965/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR
Aug  7 19:58:03 srv4hai named[30406]: client @0x7f9348048e40 192.168.12.252#49965/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.
Aug  7 19:58:03 srv4hai dhcpd[30731]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at
Aug  7 19:58:03 srv4hai common[18002]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Aug  7 19:58:03 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' perform:'conf'
Aug  7 19:58:03 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Aug  7 19:58:03 srv4hai common[18017]: SHELLY common.sh inkludiert von ./ht_shelly.sh
Aug  7 19:58:03 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=28.600000&hum=46.700000&id=C049EF8AC9D8&batt=100&volt=6.690000
Aug  7 19:58:03 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/08/shelly-39_20240807.csv'
Aug  7 19:58:03 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Aug  7 19:58:03 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Aug  7 19:58:03 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}'
Aug  7 19:58:03 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Aug  7 19:58:03 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}'
Aug  7 19:58:03 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 '.''
Aug  7 19:58:03 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Aug  7 19:58:03 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 '.''
Aug  7 19:58:03 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Aug  7 19:58:03 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook
Aug  7 19:58:03 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook
Aug  7 19:58:03 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 28.6° - 46.7%
Aug  7 19:58:03 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 28.6°/29.1° - 46.7%/45.5% - SAVED
Aug  7 19:58:03 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: batt='100'°
Aug  7 19:58:03 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-08-07T17:58:03.853Z",#012    "content": {#012      "temp": 28.6,#012      "hum": 46.7,#012      "batt": 100,#012      "csvF": "shelly-39_20240807.csv"#012    },#012    "transaction": "cc97098f-0a7c-491d-8852-884543b3dff7"#012  }#012}'°
Aug  7 19:58:11 srv4hai ping_SP[26490]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1723053491 - 'ping_SP_1'
Aug  7 19:58:11 srv4hai ping_SP[26490]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Aug  7 19:58:48 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Aug  7 19:58:49 srv4hai fetchmail[1651]: 49609 messages (49608 seen) for tmiglinci at mail.akis.at (-185857031 octets).
Aug  7 19:58:49 srv4hai postfix/smtpd[18182]: connect from localhost[127.0.0.1]
Aug  7 19:58:49 srv4hai postfix/smtpd[18182]: 44A75631BE: client=localhost[127.0.0.1]
Aug  7 19:58:49 srv4hai postfix/cleanup[18185]: 44A75631BE: message-id=<010201912dfcdbb8-644cb446-832c-4b26-bda2-1ac8fe422df7-000000@eu-west-1.amazonses.com>
Aug  7 19:58:49 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:49609 of 49609 (132662 octets) not flushed
Aug  7 19:58:49 srv4hai postfix/qmgr[8566]: 44A75631BE: from=, size=132886, nrcpt=1 (queue active)
Aug  7 19:58:49 srv4hai postfix/smtpd[18182]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Aug  7 19:58:49 srv4hai postfix/local[18186]: 44A75631BE: to=, relay=local, delay=0.12, delays=0.09/0.02/0/0.02, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Aug  7 19:58:49 srv4hai postfix/qmgr[8566]: 44A75631BE: removed
Aug  7 19:58:49 srv4hai fetchmail[1651]: 10553 messages (10553 seen) for srozum at mail.akis.at (1267998156 octets).
Aug  7 19:58:50 srv4hai fetchmail[1651]: 25194 messages (25194 seen) for mrozum at mail.akis.at (100322184 octets).
Aug  7 19:58:50 srv4hai fetchmail[1651]: 1139 messages (1139 seen) for admin@bastelstube.wien at pop3.world4you.com (51570784 octets).
Aug  7 19:59:01 srv4hai CRON[18189]: (root) CMD (/etc/linetest/linetest.sh)
Aug  7 19:59:02 srv4hai common[18195]: SHELLY common.sh inkludiert von ./shelly/check_shelly.sh
Aug  7 19:59:02 srv4hai check_shelly.sh: SHELLY last scenery executed: 'vorraumOn'
Aug  7 19:59:02 srv4hai check_shelly.sh: SHELLY found '1' active shelly outputs
Aug  7 19:59:02 srv4hai common[18218]: SHELLY common.sh inkludiert von ./shelly/prep_viehai.sh
Aug  7 19:59:03 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'1'=1723053543-1723053542
Aug  7 19:59:03 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'1'=1723053543-1723053542
Aug  7 19:59:03 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_not_set' dweetAge:'1'=1723053543-1723053542
Aug  7 19:59:24 srv4hai ping_SP[26490]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1723053564 - 'ping_SP_1'
Aug  7 19:59:24 srv4hai ping_SP[26490]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Aug  7 19:59:31 srv4hai postfix/anvil[17912]: statistics: max connection rate 1/60s for (smtp:94.141.120.192) at Aug  7 19:54:47
Aug  7 19:59:31 srv4hai postfix/anvil[17912]: statistics: max connection count 1 for (smtp:94.141.120.192) at Aug  7 19:54:47
Aug  7 19:59:31 srv4hai postfix/anvil[17912]: statistics: max cache size 1 at Aug  7 19:54:47
Aug  7 19:59:58 srv4hai activate_scenario[18299]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' started
Aug  7 19:59:58 srv4hai activate_scenario[18299]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-28:'Schalter Nasszeile'

finished