activate_scenario.sh
Tue Feb 18 11:38:46 CET 2025
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Ü Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2025/02/18/_0.log)

vorher: 11:38:46.511

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: 11:38:46.535
Dauer: 23 msec phName: 'shelly-28:'KÜ Schalter Nasszeile''


KÜ Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2025/02/18/_1.log)

vorher: 11:38:46.529

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: 11:38:46.571
Dauer: 42 msec phName: 'shelly-28:'KÜ Schalter Nasszeile''


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

urls : 2
vorher : 11:38:46.487
nachher: 11:38:46.577
Dauer : 91 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/02/18//scene_nasszeile_um_20250218_113846.txt'


syslog

Feb 18 11:35:01 srv4hai common[20121]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 18 11:35:01 srv4hai CRON[20146]: (root) CMD (/etc/linetest/linetest.sh)
Feb 18 11:35:37 srv4hai common[20169]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 18 11:35:37 srv4hai common[20193]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 18 11:35:42 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=20219, secured, session=
Feb 18 11:35:42 srv4hai dovecot: imap(miglincit)<20219>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 18 11:35:47 srv4hai ping_SP[10195]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1739874947 - 'ping_SP_1'
Feb 18 11:35:47 srv4hai ping_SP[10195]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 18 11:35:56 srv4hai postfix/smtpd[20237]: warning: hostname federezra.asendgrid.net does not resolve to address 195.211.190.159: Name or service not known
Feb 18 11:35:56 srv4hai postfix/smtpd[20237]: connect from unknown[195.211.190.159]
Feb 18 11:35:56 srv4hai postfix/smtpd[20237]: warning: unknown[195.211.190.159]: SASL LOGIN authentication failed: Invalid authentication mechanism
Feb 18 11:35:56 srv4hai postfix/smtpd[20237]: disconnect from unknown[195.211.190.159] ehlo=1 auth=0/1 quit=1 commands=2/3
Feb 18 11:35:59 srv4hai common[20242]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 18 11:36:00 srv4hai common[20266]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 18 11:36:01 srv4hai common[20290]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 18 11:36:01 srv4hai CRON[20315]: (root) CMD (/etc/linetest/linetest.sh)
Feb 18 11:36:37 srv4hai common[20330]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 18 11:36:37 srv4hai common[20354]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 18 11:36:46 srv4hai postfix/smtpd[20237]: connect from unknown[92.118.39.61]
Feb 18 11:36:50 srv4hai postfix/smtpd[20237]: warning: unknown[92.118.39.61]: SASL PLAIN authentication failed: 
Feb 18 11:36:50 srv4hai postfix/smtpd[20237]: disconnect from unknown[92.118.39.61] ehlo=1 auth=0/1 quit=1 commands=2/3
Feb 18 11:36:59 srv4hai common[20391]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 18 11:36:59 srv4hai common[20415]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 18 11:37:00 srv4hai ping_SP[10195]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1739875020 - 'ping_SP_1'
Feb 18 11:37:00 srv4hai ping_SP[10195]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 18 11:37:01 srv4hai common[20453]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 18 11:37:01 srv4hai CRON[20478]: (root) CMD (/etc/linetest/linetest.sh)
Feb 18 11:37:06 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Feb 18 11:37:07 srv4hai fetchmail[1651]: 63921 messages (63920 seen) for tmiglinci at mail.akis.at (940498554 octets).
Feb 18 11:37:07 srv4hai postfix/smtpd[20237]: connect from localhost[127.0.0.1]
Feb 18 11:37:07 srv4hai postfix/smtpd[20237]: 1E5086345A: client=localhost[127.0.0.1]
Feb 18 11:37:07 srv4hai postfix/cleanup[20484]: 1E5086345A: message-id=
Feb 18 11:37:07 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:63921 of 63921 (61568 octets) not flushed
Feb 18 11:37:07 srv4hai postfix/qmgr[8566]: 1E5086345A: from=, size=61817, nrcpt=1 (queue active)
Feb 18 11:37:07 srv4hai postfix/smtpd[20237]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Feb 18 11:37:07 srv4hai postfix/local[20485]: 1E5086345A: to=, relay=local, delay=0.09, delays=0.07/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Feb 18 11:37:07 srv4hai postfix/qmgr[8566]: 1E5086345A: removed
Feb 18 11:37:07 srv4hai fetchmail[1651]: 11554 messages (11554 seen) for srozum at mail.akis.at (1370920843 octets).
Feb 18 11:37:08 srv4hai fetchmail[1651]: 29022 messages (29022 seen) for mrozum at mail.akis.at (679377312 octets).
Feb 18 11:37:08 srv4hai fetchmail[1651]: 1164 messages (1164 seen) for admin@bastelstube.wien at pop3.world4you.com (52226354 octets).
Feb 18 11:37:35 srv4hai dhcpd[4995]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0
Feb 18 11:37:35 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Feb 18 11:37:35 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Feb 18 11:37:35 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.139
Feb 18 11:37:35 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-39
Feb 18 11:37:35 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0
Feb 18 11:37:35 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Feb 18 11:37:35 srv4hai named[30406]: client @0x7f9338022410 192.168.12.252#53227/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 18 11:37:35 srv4hai named[30406]: client @0x7f93506682d0 192.168.12.252#52049/key rndc-key: signer "rndc-key" approved
Feb 18 11:37:35 srv4hai named[30406]: client @0x7f93506682d0 192.168.12.252#52049/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT
Feb 18 11:37:35 srv4hai named[30406]: client @0x7f93506682d0 192.168.12.252#52049/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7"
Feb 18 11:37:35 srv4hai named[30406]: client @0x7f93506682d0 192.168.12.252#52049/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A
Feb 18 11:37:35 srv4hai named[30406]: client @0x7f93506682d0 192.168.12.252#52049/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139
Feb 18 11:37:35 srv4hai dhcpd[4995]: Added new forward map from shelly-39.viehai.at to 192.168.12.139
Feb 18 11:37:35 srv4hai named[30406]: client @0x7f93480bd120 192.168.12.252#40695/key rndc-key: signer "rndc-key" approved
Feb 18 11:37:35 srv4hai named[30406]: client @0x7f93480bd120 192.168.12.252#40695/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR
Feb 18 11:37:35 srv4hai named[30406]: client @0x7f93480bd120 192.168.12.252#40695/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.
Feb 18 11:37:35 srv4hai dhcpd[4995]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at
Feb 18 11:37:35 srv4hai common[20494]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Feb 18 11:37:35 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' perform:'conf'
Feb 18 11:37:35 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Feb 18 11:37:35 srv4hai common[20513]: SHELLY common.sh inkludiert von ./ht_shelly.sh
Feb 18 11:37:35 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=4.800000&hum=42&id=C049EF8AC9D8&batt=88&volt=5.770000
Feb 18 11:37:35 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2025/02/shelly-39_20250218.csv'
Feb 18 11:37:35 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Feb 18 11:37:35 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Feb 18 11:37:35 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}'
Feb 18 11:37:35 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Feb 18 11:37:35 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}'
Feb 18 11:37:35 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-cmd: 'curl --connect-timeout 3 --silent -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 '.''
Feb 18 11:37:35 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Feb 18 11:37:35 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-cmd: 'curl --connect-timeout 3 --silent -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 '.''
Feb 18 11:37:35 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Feb 18 11:37:35 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 4.8° - 42%
Feb 18 11:37:35 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 4.8°/2.9° - 42%/45.6% - SAVED
Feb 18 11:37:35 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: batt='89'°
Feb 18 11:37:35 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": "2025-02-18T10:37:35.882Z",#012    "content": {#012      "temp": 4.8,#012      "hum": 42,#012      "batt": 89,#012      "csvF": "shelly-39_20250218.csv"#012    },#012    "transaction": "f63a9570-2199-467f-8634-badaaf436c5e"#012  }#012}'°
Feb 18 11:37:37 srv4hai common[20650]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 18 11:37:37 srv4hai common[20674]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 18 11:37:59 srv4hai common[20704]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 18 11:37:59 srv4hai common[20728]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 18 11:38:01 srv4hai common[20755]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 18 11:38:01 srv4hai CRON[20780]: (root) CMD (/etc/linetest/linetest.sh)
Feb 18 11:38:13 srv4hai ping_SP[10195]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1739875093 - 'ping_SP_1'
Feb 18 11:38:13 srv4hai ping_SP[10195]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 18 11:38:37 srv4hai common[20811]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 18 11:38:37 srv4hai common[20835]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 18 11:38:42 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=20861, secured, session=
Feb 18 11:38:42 srv4hai dovecot: imap(miglincit)<20861>: Logged out in=2102 out=163970 deleted=0 expunged=0 trashed=0 hdr_count=262 hdr_bytes=88498 body_count=0 body_bytes=0
Feb 18 11:38:46 srv4hai activate_scenario[20865]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' started
Feb 18 11:38:46 srv4hai activate_scenario[20865]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-28:'KÜ Schalter Nasszeile'

finished