activate_scenario.sh
Tue Sep 24 10:47:40 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/09/24/_0.log)

vorher: 10:47:40.593

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

nachher: 10:47:40.685
Dauer: 91 msec phName: 'shelly-28:'Schalter Nasszeile''


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

vorher: 10:47:40.606

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

nachher: 10:47:40.684
Dauer: 78 msec phName: 'shelly-28:'Schalter Nasszeile''


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

urls : 2
vorher : 10:47:40.574
nachher: 10:47:40.693
Dauer : 119 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/09/24//scene_nasszeile_um_20240924_104740.txt'


syslog

Sep 24 10:44:01 srv4hai CRON[20592]: (root) CMD (/etc/linetest/linetest.sh)
Sep 24 10:45:00 srv4hai smartd[27489]: Device: /dev/sda [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 50 to 51
Sep 24 10:45:01 srv4hai CRON[20601]: (root) CMD (/etc/linetest/linetest.sh)
Sep 24 10:45:32 srv4hai dhcpd[30731]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0
Sep 24 10:45:32 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Sep 24 10:45:32 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Sep 24 10:45:32 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.139
Sep 24 10:45:32 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-39
Sep 24 10:45:32 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0
Sep 24 10:45:32 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Sep 24 10:45:32 srv4hai named[30406]: client @0x7f93480026a0 192.168.12.252#33607/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Sep 24 10:45:32 srv4hai named[30406]: client @0x7f934c0aebf0 192.168.12.252#47255/key rndc-key: signer "rndc-key" approved
Sep 24 10:45:32 srv4hai named[30406]: client @0x7f934c0aebf0 192.168.12.252#47255/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT
Sep 24 10:45:32 srv4hai named[30406]: client @0x7f934c0aebf0 192.168.12.252#47255/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7"
Sep 24 10:45:32 srv4hai named[30406]: client @0x7f934c0aebf0 192.168.12.252#47255/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A
Sep 24 10:45:32 srv4hai named[30406]: client @0x7f934c0aebf0 192.168.12.252#47255/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139
Sep 24 10:45:32 srv4hai dhcpd[30731]: Added new forward map from shelly-39.viehai.at to 192.168.12.139
Sep 24 10:45:32 srv4hai named[30406]: client @0x7f932c0cbfc0 192.168.12.252#37467/key rndc-key: signer "rndc-key" approved
Sep 24 10:45:32 srv4hai named[30406]: client @0x7f932c0cbfc0 192.168.12.252#37467/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR
Sep 24 10:45:32 srv4hai named[30406]: client @0x7f932c0cbfc0 192.168.12.252#37467/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.
Sep 24 10:45:32 srv4hai dhcpd[30731]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at
Sep 24 10:45:32 srv4hai common[20609]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Sep 24 10:45:32 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' perform:'conf'
Sep 24 10:45:32 srv4hai common[20622]: SHELLY common.sh inkludiert von ./ht_shelly.sh
Sep 24 10:45:32 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=17.600000&hum=73.200000&id=C049EF8AC9D8&batt=100&volt=6.210000
Sep 24 10:45:32 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/09/shelly-39_20240924.csv'
Sep 24 10:45:32 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Sep 24 10:45:32 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Sep 24 10:45:32 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}'
Sep 24 10:45:32 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 '.''
Sep 24 10:45:32 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Sep 24 10:45:32 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook
Sep 24 10:45:32 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 17.6° - 73.2%
Sep 24 10:45:32 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 17.6°/18.1° - 73.2%/72.9% - SAVED
Sep 24 10:45:32 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: batt='100'°
Sep 24 10:45:33 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-09-24T08:45:33.051Z",#012    "content": {#012      "temp": 17.6,#012      "hum": 73.2,#012      "batt": 100,#012      "csvF": "shelly-39_20240924.csv"#012    },#012    "transaction": "04bccff7-0728-4da5-80a1-23f205ed0bcf"#012  }#012}'°
Sep 24 10:45:33 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Sep 24 10:45:33 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Sep 24 10:45:33 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}'
Sep 24 10:45:33 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 '.''
Sep 24 10:45:33 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Sep 24 10:45:33 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook
Sep 24 10:46:01 srv4hai CRON[20776]: (root) CMD (/etc/linetest/linetest.sh)
Sep 24 10:46:19 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=20785, secured, session=
Sep 24 10:46:19 srv4hai dovecot: imap(miglincit)<20785>: Logged out in=137 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep 24 10:46:28 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Sep 24 10:47:00 srv4hai fetchmail[1651]: 52955 messages (52955 seen) for tmiglinci at mail.akis.at (57006496 octets).
Sep 24 10:47:01 srv4hai CRON[20789]: (root) CMD (/etc/linetest/linetest.sh)
Sep 24 10:47:09 srv4hai fetchmail[1651]: 10765 messages (10765 seen) for srozum at mail.akis.at (1305390131 octets).
Sep 24 10:47:27 srv4hai fetchmail[1651]: 26108 messages (26108 seen) for mrozum at mail.akis.at (243599442 octets).
Sep 24 10:47:28 srv4hai fetchmail[1651]: 1144 messages (1144 seen) for admin@bastelstube.wien at pop3.world4you.com (51909737 octets).
Sep 24 10:47:40 srv4hai activate_scenario[20797]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' started
Sep 24 10:47:40 srv4hai activate_scenario[20797]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-28:'Schalter Nasszeile'

finished