activate_scenario.sh
Tue Apr 1 07:09:14 CEST 2025
scenario: buero_UM
source: 192.168.12.140

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

scenario: 'Büro UM-schalten' - 'buero_UM' - 'buero_um'

TB Regallicht (/srv/www/viehai/shelly/log_scenarios/2025/04/01/_0.log)

vorher: 07:09:14.670

http://192.168.12.108/relay/0?turn=toggle
  "ison": true,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 07:09:14.713
Dauer: 43 msec phName: 'shelly-40:'TB Licht''


TB Licht (/srv/www/viehai/shelly/log_scenarios/2025/04/01/_1.log)

vorher: 07:09:14.701

http://192.168.12.140/relay/0?turn=toggle
  "ison": true,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 07:09:14.780
Dauer: 79 msec phName: 'shelly-40:'TB Licht''


scenario: 'Büro UM-schalten' - 'buero_UM' - 'buero_um'

urls : 2
vorher : 07:09:14.610
nachher: 07:09:14.820
Dauer : 210 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/04/01//scene_buero_UM_20250401_070914.txt'


syslog

Apr  1 07:06:00 srv4hai mqtt_process[31533]: SHELLY - shellyType: 'shelly-PM-mini' not handled !!
Apr  1 07:06:00 srv4hai mqtt_process[31558]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Apr  1 07:06:00 srv4hai mqtt_process[31583]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Apr  1 07:06:01 srv4hai CRON[31611]: (root) CMD (/etc/linetest/linetest.sh)
Apr  1 07:06:02 srv4hai ping_SP[23447]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1743483962 - 'ping_SP_0'
Apr  1 07:06:02 srv4hai ping_SP[23447]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr  1 07:06:09 srv4hai mqtt_process[31636]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Apr  1 07:06:09 srv4hai mqtt_process[31661]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Apr  1 07:06:42 srv4hai postfix/smtpd[31520]: connect from consec.cert.at[83.136.38.178]
Apr  1 07:06:42 srv4hai postfix/smtpd[31520]: lost connection after STARTTLS from consec.cert.at[83.136.38.178]
Apr  1 07:06:42 srv4hai postfix/smtpd[31520]: disconnect from consec.cert.at[83.136.38.178] ehlo=1 starttls=1 commands=2
Apr  1 07:07:00 srv4hai mqtt_process[31704]: SHELLY - shellyType: 'shelly-PM-mini' not handled !!
Apr  1 07:07:00 srv4hai mqtt_process[31729]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Apr  1 07:07:00 srv4hai mqtt_process[31754]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Apr  1 07:07:01 srv4hai CRON[31780]: (root) CMD (/etc/linetest/linetest.sh)
Apr  1 07:07:06 srv4hai ping_SP[23447]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1743484026 - 'ping_SP_0'
Apr  1 07:07:06 srv4hai ping_SP[23447]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr  1 07:07:09 srv4hai mqtt_process[31808]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Apr  1 07:07:09 srv4hai mqtt_process[31833]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Apr  1 07:07:26 srv4hai postfix/smtpd[31520]: connect from unknown[195.211.191.226]
Apr  1 07:07:26 srv4hai postfix/smtpd[31520]: warning: unknown[195.211.191.226]: SASL LOGIN authentication failed: Invalid authentication mechanism
Apr  1 07:07:26 srv4hai postfix/smtpd[31520]: lost connection after AUTH from unknown[195.211.191.226]
Apr  1 07:07:26 srv4hai postfix/smtpd[31520]: disconnect from unknown[195.211.191.226] ehlo=1 auth=0/1 commands=1/2
Apr  1 07:08:00 srv4hai mqtt_process[31868]: SHELLY - shellyType: 'shelly-PM-mini' not handled !!
Apr  1 07:08:00 srv4hai mqtt_process[31893]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Apr  1 07:08:00 srv4hai mqtt_process[31918]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Apr  1 07:08:01 srv4hai CRON[31944]: (root) CMD (/etc/linetest/linetest.sh)
Apr  1 07:08:09 srv4hai ping_SP[23447]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1743484089 - 'ping_SP_0'
Apr  1 07:08:09 srv4hai ping_SP[23447]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr  1 07:08:09 srv4hai mqtt_process[31970]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Apr  1 07:08:09 srv4hai mqtt_process[31995]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Apr  1 07:08:25 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=32027, secured, session=
Apr  1 07:08:25 srv4hai dovecot: imap(miglincit)<32027>: 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  1 07:08:29 srv4hai dhcpd[30231]: DHCPDISCOVER from 30:83:98:8c:05:9d via enp2s0
Apr  1 07:08:29 srv4hai dhcpd[30231]: DHCPOFFER on 192.168.12.123 to 30:83:98:8c:05:9d via enp2s0
Apr  1 07:08:29 srv4hai dhcpd[30231]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Apr  1 07:08:29 srv4hai dhcpd[30231]: execute_statement argv[1] = 192.168.12.123
Apr  1 07:08:29 srv4hai dhcpd[30231]: execute_statement argv[2] = shelly-23
Apr  1 07:08:29 srv4hai dhcpd[30231]: DHCPREQUEST for 192.168.12.123 (192.168.12.252) from 30:83:98:8c:05:9d via enp2s0
Apr  1 07:08:29 srv4hai dhcpd[30231]: DHCPACK on 192.168.12.123 to 30:83:98:8c:05:9d via enp2s0
Apr  1 07:08:29 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#35019/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-23.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Apr  1 07:08:29 srv4hai named[30406]: client @0x7f933004a8d0 192.168.12.252#33245/key rndc-key: signer "rndc-key" approved
Apr  1 07:08:29 srv4hai named[30406]: client @0x7f933004a8d0 192.168.12.252#33245/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-23.viehai.at' TXT
Apr  1 07:08:29 srv4hai named[30406]: client @0x7f933004a8d0 192.168.12.252#33245/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-23.viehai.at' TXT "0067c4eae5f3400bd02ff9ebe320262416"
Apr  1 07:08:29 srv4hai named[30406]: client @0x7f933004a8d0 192.168.12.252#33245/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-23.viehai.at' A
Apr  1 07:08:29 srv4hai named[30406]: client @0x7f933004a8d0 192.168.12.252#33245/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-23.viehai.at' A 192.168.12.123
Apr  1 07:08:29 srv4hai dhcpd[30231]: Added new forward map from shelly-23.viehai.at to 192.168.12.123
Apr  1 07:08:29 srv4hai named[30406]: client @0x7f932c0ce020 192.168.12.252#37815/key rndc-key: signer "rndc-key" approved
Apr  1 07:08:29 srv4hai named[30406]: client @0x7f932c0ce020 192.168.12.252#37815/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '123.12.168.192.in-addr.arpa' PTR
Apr  1 07:08:29 srv4hai named[30406]: client @0x7f932c0ce020 192.168.12.252#37815/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '123.12.168.192.in-addr.arpa' PTR shelly-23.viehai.at.
Apr  1 07:08:29 srv4hai dhcpd[30231]: Added reverse map from 123.12.168.192.in-addr.arpa. to shelly-23.viehai.at
Apr  1 07:08:29 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-23' - shIP/2:'' perform:'conf'
Apr  1 07:08:30 srv4hai mosquitto[29419]: New connection from 192.168.12.123 on port 1883.
Apr  1 07:08:30 srv4hai mosquitto[29419]: Client shelly1-3083988C059D already connected, closing old connection.
Apr  1 07:08:30 srv4hai mosquitto[29419]: Socket error on client shelly1-3083988C059D, disconnecting.
Apr  1 07:08:30 srv4hai mosquitto[29419]: New client connected from 192.168.12.123 as shelly1-3083988C059D (c1, k60, u'shmqtt').
Apr  1 07:08:30 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-23' - shIP/2:'192.168.12.123'
Apr  1 07:08:30 srv4hai conf_shelly.sh: SHELLY: usage/name 'WZ Licht Sofa' already set for '192.168.12.123'
Apr  1 07:08:30 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(0)' - allready transmitted - skipping
Apr  1 07:08:30 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(1)' - allready transmitted - skipping
Apr  1 07:08:30 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(2)' - allready transmitted - skipping
Apr  1 07:08:30 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(3)' - allready transmitted - skipping
Apr  1 07:08:30 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(4)' - allready transmitted - skipping
Apr  1 07:08:30 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(5)' - allready transmitted - skipping
Apr  1 07:09:00 srv4hai mqtt_process[32162]: SHELLY - shellyType: 'shelly-PM-mini' not handled !!
Apr  1 07:09:00 srv4hai mqtt_process[32187]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Apr  1 07:09:00 srv4hai mqtt_process[32212]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Apr  1 07:09:01 srv4hai systemd[1]: Starting Clean php session files...
Apr  1 07:09:01 srv4hai CRON[32265]: (root) CMD (/etc/linetest/linetest.sh)
Apr  1 07:09:01 srv4hai CRON[32266]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Apr  1 07:09:01 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Apr  1 07:09:01 srv4hai systemd[1]: Started Clean php session files.
Apr  1 07:09:09 srv4hai mqtt_process[32342]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Apr  1 07:09:09 srv4hai mqtt_process[32367]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Apr  1 07:09:12 srv4hai ping_SP[23447]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1743484152 - 'ping_SP_0'
Apr  1 07:09:12 srv4hai ping_SP[23447]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr  1 07:09:14 srv4hai activate_scenario[32410]: SHELLY scenario: 'buero_UM(buero_um)' started
Apr  1 07:09:14 srv4hai activate_scenario[32410]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht'

finished