Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Shutter] Fix PowerON #22548

Open
wants to merge 4 commits into
base: development
Choose a base branch
from
Open

[Shutter] Fix PowerON #22548

wants to merge 4 commits into from

Conversation

SteWers
Copy link
Contributor

@SteWers SteWers commented Nov 25, 2024

Description:

I have on some devices, not on all, the problem, that both shutter relais are switches on after power on. This doesn't happen after a software restart. This PR fixes the problem.
@stefanbode: Please have a look at it, if I did it the right way.

Checklist:

  • The pull request is done against the latest development branch
  • Only relevant files were touched
  • Only one feature/fix was added per PR and the code change compiles without warnings
  • The code change is tested and works with Tasmota core ESP8266 V.2.7.8
  • The code change is tested and works with Tasmota core ESP32 V.3.1.0.241117
  • I accept the CLA.

@stefanbode
Copy link
Contributor

Let’s keep this on hold. Here you disable the power switch on restart. May be a good idea if shutters defined and a shutter relay but should not kick in in any other situation. I do not understand why this happens NOW. It was not an issue the last 5 years.

@SteWers
Copy link
Contributor Author

SteWers commented Nov 26, 2024

I think, that this happens since a few month. After a power outage, I recognised it, but I thought it was caused by my hardware module. While testing the UI fix I saw this on the test device (D1 mini with only a shutter configured). On other devices it does not happen. Very crazy. Will do some further tests.

@stefanbode
Copy link
Contributor

The normal PowerOn behavior is to restore the old value. This might be a bit bad for a shutter. Therefore you can configure it be OFF on restart. Additionally please be aware INTERLOCK ON is set to avoid crazy stuff of both relay ON

@SteWers
Copy link
Contributor Author

SteWers commented Nov 27, 2024

First: "Interlock":"ON","Groups":"1,2" of course because it's needed for the shutter. "PowerOnState":0 is set since I reconized the problem a few month ago. Didn't help.

Meanwhile I did some tests. The problem only occurs when shutter is enabled (SO80 1). If it is disabled everything behaves normal.

Setup for testing:

  • SO80 1
  • No shutter relay configured (ShutterRelay<x> 0). It is not needed to reproduce the problem.

Observations:

  • Relays configured at the GPIOs 2, 5, 12, 14 and 16 are ON after powering up the device
  • PowerOnState 0 is ignored completly

Tested with 14.3.0 and 14.3.0.7. Same behavior in both version and I think it is much older.

I enhanced the condition in FUNC_SET_POWER to match only on PowerOn:

if (TasmotaGlobal.last_source == SRC_RESTART && ResetReasonPowerOn()) break;

When you think, this could be the way, I'll commit it to the PR.

@stefanbode
Copy link
Contributor

Thanks for all the investigation efforts. We can curate the symptoms but I would better understand the root cause and fix this. If there is no shutterrelay defined it should not matter is so80 is 0 or 1. why should it mess with relay 1 and 2 if the shutterrelay can also be anything else. this is crazy first. Do both relays go ON even with the interlock defined? I did not get this. It should be absolutely impossible. There is a setoption where Tasmota reads the state of the relay and want to set it. This is default and I disabled it on shutters as far as I remember.

@SteWers
Copy link
Contributor Author

SteWers commented Nov 27, 2024

I totally agree with you to find the root cause. Both relays go ON even when interlock is activated.
Your hint with the setoption was the right way. I think you mean SO63. When I set it to 1 the problem is away. I read about it, but as the documentation only refers to warm start, I haven't tested with it. I'll do some tests tomorrow and close the PR.
It would be nice, if you investigate why it isn't set, when shutter is enabled. Interesting interaction between SO80 and SO63...

@SteWers
Copy link
Contributor Author

SteWers commented Nov 27, 2024

Found this #18670. Same problem also solved with SO63. An integration in the shutter driver is desirable.

@SteWers SteWers closed this Nov 27, 2024
@SteWers SteWers deleted the Shutter-1 branch November 27, 2024 20:46
@SteWers SteWers restored the Shutter-1 branch November 27, 2024 21:01
@SteWers
Copy link
Contributor Author

SteWers commented Nov 27, 2024

Let's do it in this way.

@SteWers SteWers reopened this Nov 27, 2024
Integrate only when USE_SHUTTER is defined
@arendst
Copy link
Owner

arendst commented Nov 28, 2024

Before merging this I suggest to move ShutterInit() from FUNC_PRE_INIT to FUNC_INIT and see if this solves the issue.

By moving it to FUNC_INIT it is executed AFTER the Initial power state is set. This may well solve the issue observed.

Pls give it a try.

00:00:00.001 HDW: ESP8266EX
00:00:00.010 UFS: FlashFS mounted with 1984 kB free
00:00:00.070-026 CFG: Loaded from File, Count 340
00:00:00.075-026 QPC: Count 1
00:00:00.084-026 ROT: Mode 1
00:00:00.085-026 SHT: Use defaults
00:00:00.086-026 SHT: About to load settings from file /.drvset027
00:00:00.091-026 SRC: Restart
00:00:00.092-026 595: Output 1 to 32 use POWER1 to POWER32
00:00:00.095-026 Project tasmota - 32ch1 Version 14.3.0.7(theo)-2_7_8(2024-11-28T12:00:41)
00:00:00.101-026 SHT: ShutterMode: 1
00:00:00.105-026 SHT: Shtr1 min realpos_chg: 2000, min tilt_chg 2
00:00:00.110-026 SHT: Shtr1 Openvel 1000, Closevel: 1000
00:00:00.116-026 SHT: Shtr1 Init. Pos 106000, Inv 0, Locked 0, Endstop enab 0, webButt inv 0, Motordel: 0
00:00:00.124-026 SHT: ShutterMode: 1
00:00:00.128-026 SHT: Shtr2 min realpos_chg: 2000, min tilt_chg 2
00:00:00.134-026 SHT: Shtr2 Openvel 1000, Closevel: 1000
00:00:00.139-026 SHT: Shtr2 Init. Pos 82000, Inv 0, Locked 0, Endstop enab 0, webButt inv 0, Motordel: 0
00:00:00.148-026 SHT: ShutterMode: 1
00:00:00.151-026 SHT: Shtr3 min realpos_chg: 2000, min tilt_chg 2
00:00:00.157-026 SHT: Shtr3 Openvel 1000, Closevel: 1000
00:00:00.162-026 SHT: Shtr3 Init. Pos 52000, Inv 0, Locked 0, Endstop enab 0, webButt inv 0, Motordel: 0
00:00:00.171-026 SHT: ShutterMode: 1
00:00:00.175-026 SHT: Shtr4 min realpos_chg: 2000, min tilt_chg 2
00:00:00.181-026 SHT: Shtr4 Openvel 1000, Closevel: 1000
00:00:00.186-026 SHT: Shtr4 Init. Pos 132000, Inv 0, Locked 0, Endstop enab 0, webButt inv 0, Motordel: 0
00:00:00.195-026 SHT: ShutterMode: 1
00:00:00.198-026 SHT: Shtr5 min realpos_chg: 2000, min tilt_chg 2
00:00:00.204-026 SHT: Shtr5 Openvel 1000, Closevel: 1000
00:00:00.209-026 SHT: Shtr5 Init. Pos 96000, Inv 0, Locked 0, Endstop enab 0, webButt inv 0, Motordel: 0
00:00:00.218-026 SHT: ShutterMode: 1
00:00:00.222-026 SHT: Shtr6 min realpos_chg: 2000, min tilt_chg 2
00:00:00.227-026 SHT: Shtr6 Openvel 1000, Closevel: 1000
00:00:00.233-026 SHT: Shtr6 Init. Pos 148000, Inv 0, Locked 0, Endstop enab 0, webButt inv 0, Motordel: 0
00:00:00.242-026 SHT: ShutterMode: 1
00:00:00.245-026 SHT: Shtr7 min realpos_chg: 2000, min tilt_chg 2
00:00:00.251-026 SHT: Shtr7 Openvel 1000, Closevel: 1000
00:00:00.256-026 SHT: Shtr7 Init. Pos 18000, Inv 0, Locked 0, Endstop enab 0, webButt inv 0, Motordel: 0
00:00:00.265-026 SHT: ShutterMode: 1
00:00:00.269-026 SHT: Shtr8 min realpos_chg: 2000, min tilt_chg 2
00:00:00.274-026 SHT: Shtr8 Openvel 1000, Closevel: 1000
00:00:00.280-026 SHT: Shtr8 Init. Pos 148000, Inv 0, Locked 0, Endstop enab 0, webButt inv 0, Motordel: 0
00:00:00.289-026 SHT: ShutterMode: 1
00:00:00.292-026 SHT: Shtr9 min realpos_chg: 2000, min tilt_chg 2
00:00:00.298-026 SHT: Shtr9 Openvel 1000, Closevel: 1000
00:00:00.303-026 SHT: Shtr9 Init. Pos 120000, Inv 0, Locked 0, Endstop enab 0, webButt inv 0, Motordel: 0
00:00:00.312-026 SHT: ShutterMode: 1
00:00:00.316-026 SHT: Shtr10 min realpos_chg: 2000, min tilt_chg 2
00:00:00.322-026 SHT: Shtr10 Openvel 1000, Closevel: 1000
00:00:00.327-026 SHT: Shtr10 Init. Pos 42000, Inv 0, Locked 0, Endstop enab 0, webButt inv 0, Motordel: 0
00:00:00.336-026 SHT: ShutterMode: 1
00:00:00.339-026 SHT: Shtr11 min realpos_chg: 2000, min tilt_chg 2
00:00:00.345-026 SHT: Shtr11 Openvel 1000, Closevel: 1000
00:00:00.351-026 SHT: Shtr11 Init. Pos 94000, Inv 0, Locked 0, Endstop enab 0, webButt inv 0, Motordel: 0
00:00:00.359-026 SHT: ShutterMode: 1
00:00:00.363-026 SHT: Shtr12 min realpos_chg: 2000, min tilt_chg 2
00:00:00.369-026 SHT: Shtr12 Openvel 1000, Closevel: 1000
00:00:00.374-026 SHT: Shtr12 Init. Pos 116000, Inv 0, Locked 0, Endstop enab 0, webButt inv 0, Motordel: 0
00:00:00.383-026 SHT: ShutterMode: 1
00:00:00.387-026 SHT: Shtr13 min realpos_chg: 2000, min tilt_chg 2
00:00:00.393-026 SHT: Shtr13 Openvel 1000, Closevel: 1000
00:00:00.398-026 SHT: Shtr13 Init. Pos 38000, Inv 0, Locked 0, Endstop enab 0, webButt inv 0, Motordel: 0
00:00:00.407-026 SHT: ShutterMode: 1
00:00:00.411-026 SHT: Shtr14 min realpos_chg: 2000, min tilt_chg 2
00:00:00.416-026 SHT: Shtr14 Openvel 1000, Closevel: 1000
00:00:00.422-026 SHT: Shtr14 Init. Pos 66000, Inv 0, Locked 0, Endstop enab 0, webButt inv 0, Motordel: 0
00:00:00.431-026 SHT: ShutterMode: 1
00:00:00.434-026 SHT: Shtr15 min realpos_chg: 2000, min tilt_chg 2
00:00:00.440-026 SHT: Shtr15 Openvel 1000, Closevel: 1000
00:00:00.445-026 SHT: Shtr15 Init. Pos 116000, Inv 0, Locked 0, Endstop enab 0, webButt inv 0, Motordel: 0
00:00:00.455-026 SHT: ShutterMode: 1
00:00:00.458-026 SHT: Shtr16 min realpos_chg: 2000, min tilt_chg 2
00:00:00.464-026 SHT: Shtr16 Openvel 1000, Closevel: 1000
00:00:00.469-026 SHT: Shtr16 Init. Pos 72000, Inv 0, Locked 0, Endstop enab 0, webButt inv 0, Motordel: 0
00:00:00.732-026 WIF: Attempting connection...
00:00:02.001-026 WIF: Connecting to AP1 indebuurt_IoT Channel 11 BSSId 18:E8:29:CA:17:C1 in mode 11n as 32ch1...
00:00:03.516-026 WIF: Connected
00:00:03.768-023 HTP: Web server active on 32ch1 with IP address 192.168.2.132
00:00:04.297-022 RTC: UTC 2024-11-28T11:01:53Z, DST 2024-03-31T02:00:00, STD 2024-10-27T03:00:00
12:01:53.000-023 RTC: Synced by NTP
12:01:53.467-023 MQT: Attempting connection...
12:01:53.489-022 MQT: Connected
12:01:53.493-019 MQT: tele/32ch1/LWT = Online (retained)
12:01:53.496-019 MQT: Subscribe to cmnd/32ch1/#
12:01:53.499-019 MQT: Subscribe to cmnd/tasmotas/#
12:01:53.502-019 MQT: Subscribe to cmnd/DVES_058477_fb/#
12:01:53.507-019 MQT: tele/32ch1/INFO1 = {"Info1":{"Module":"Generic","Version":"14.3.0.7(theo)","FallbackTopic":"cmnd/DVES_058477_fb/","GroupTopic":"cmnd/tasmotas/"}}
12:01:53.520-019 MQT: tele/32ch1/INFO2 = {"Info2":{"WebServerMode":"Admin","Hostname":"32ch1","IPAddress":"192.168.2.132"}}
12:01:53.530-019 MQT: tele/32ch1/INFO3 = {"Info3":{"RestartReason":"Software/System restart","BootCount":66}}
12:01:53.543-021 MQT: stat/32ch1/RESULT = {"POWER1":"OFF"}
12:01:53.547-019 MQT: stat/32ch1/RESULT = {"POWER2":"OFF"}
12:01:53.550-019 MQT: stat/32ch1/RESULT = {"POWER3":"OFF"}
12:01:53.557-021 MQT: stat/32ch1/RESULT = {"POWER4":"OFF"}
12:01:53.561-019 MQT: stat/32ch1/RESULT = {"POWER5":"OFF"}
12:01:53.566-019 MQT: stat/32ch1/RESULT = {"POWER6":"OFF"}
12:01:53.571-019 MQT: stat/32ch1/RESULT = {"POWER7":"OFF"}
12:01:53.576-019 MQT: stat/32ch1/RESULT = {"POWER8":"OFF"}
12:01:53.581-019 MQT: stat/32ch1/RESULT = {"POWER9":"OFF"}
12:01:53.588-019 MQT: stat/32ch1/RESULT = {"POWER10":"OFF"}
12:01:53.593-019 MQT: stat/32ch1/RESULT = {"POWER11":"OFF"}
12:01:53.598-018 MQT: stat/32ch1/RESULT = {"POWER12":"OFF"}
12:01:53.604-020 MQT: stat/32ch1/RESULT = {"POWER13":"OFF"}
12:01:53.609-020 MQT: stat/32ch1/RESULT = {"POWER14":"OFF"}
12:01:53.614-018 MQT: stat/32ch1/RESULT = {"POWER15":"OFF"}
12:01:53.618-018 MQT: stat/32ch1/RESULT = {"POWER16":"OFF"}
12:01:53.623-018 MQT: stat/32ch1/RESULT = {"POWER17":"OFF"}
12:01:53.629-018 MQT: stat/32ch1/RESULT = {"POWER18":"OFF"}
12:01:53.634-018 MQT: stat/32ch1/RESULT = {"POWER19":"OFF"}
12:01:53.639-018 MQT: stat/32ch1/RESULT = {"POWER20":"OFF"}
12:01:53.645-018 MQT: stat/32ch1/RESULT = {"POWER21":"OFF"}
12:01:53.650-018 MQT: stat/32ch1/RESULT = {"POWER22":"OFF"}
12:01:53.657-020 MQT: stat/32ch1/RESULT = {"POWER23":"OFF"}
12:01:53.662-020 MQT: stat/32ch1/RESULT = {"POWER24":"OFF"}
12:01:53.667-020 MQT: stat/32ch1/RESULT = {"POWER25":"OFF"}
12:01:53.673-020 MQT: stat/32ch1/RESULT = {"POWER26":"OFF"}
12:01:53.678-020 MQT: stat/32ch1/RESULT = {"POWER27":"OFF"}
12:01:53.684-020 MQT: stat/32ch1/RESULT = {"POWER28":"OFF"}
12:01:53.689-020 MQT: stat/32ch1/RESULT = {"POWER29":"OFF"}
12:01:53.694-020 MQT: stat/32ch1/RESULT = {"POWER30":"OFF"}
12:01:53.699-020 MQT: stat/32ch1/RESULT = {"POWER31":"OFF"}
12:01:54.001-020 MQT: stat/32ch1/RESULT = {"POWER32":"OFF"}
12:01:56.251-021 QPC: Reset
12:01:58.248-021 APP: Boot Count 66
12:01:58.261-018 MQT: tele/32ch1/STATE = {"Time":"2024-11-28T12:01:58","Uptime":"0T00:00:10","UptimeSec":10,"Heap":21,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"POWER1":"OFF","POWER2":"OFF","POWER3":"OFF","POWER4":"OFF","POWER5":"OFF","POWER6":"OFF","POWER7":"OFF","POWER8":"OFF","POWER9":"OFF","POWER10":"OFF","POWER11":"OFF","POWER12":"OFF","POWER13":"OFF","POWER14":"OFF","POWER15":"OFF","POWER16":"OFF","POWER17":"OFF","POWER18":"OFF","POWER19":"OFF","POWER20":"OFF","POWER21":"OFF","POWER22":"OFF","POWER23":"OFF","POWER24":"OFF","POWER25":"OFF","POWER26":"OFF","POWER27":"OFF","POWER28":"OFF","POWER29":"OFF","POWER30":"OFF","POWER31":"OFF","POWER32":"OFF","Wifi":{"AP":1,"SSId":"indebuurt_IoT","BSSId":"18:E8:29:CA:17:C1","Channel":11,"Mode":"11n","RSSI":100,"Signal":-26,"LinkCount":1,"Downtime":"0T00:00:04"}}
12:01:58.342-017 MQT: tele/32ch1/SENSOR = {"Time":"2024-11-28T12:01:58","Shutter1":{"Position":53,"Direction":0,"Target":53,"Tilt":0},"Shutter2":{"Position":41,"Direction":0,"Target":41,"Tilt":0},"Shutter3":{"Position":26,"Direction":0,"Target":26,"Tilt":0},"Shutter4":{"Position":66,"Direction":0,"Target":66,"Tilt":0},"Shutter5":{"Position":48,"Direction":0,"Target":48,"Tilt":0},"Shutter6":{"Position":74,"Direction":0,"Target":74,"Tilt":0},"Shutter7":{"Position":9,"Direction":0,"Target":9,"Tilt":0},"Shutter8":{"Position":74,"Direction":0,"Target":74,"Tilt":0},"Shutter9":{"Position":60,"Direction":0,"Target":60,"Tilt":0},"Shutter10":{"Position":21,"Direction":0,"Target":21,"Tilt":0},"Shutter11":{"Position":47,"Direction":0,"Target":47,"Tilt":0},"Shutter12":{"Position":58,"Direction":0,"Target":58,"Tilt":0},"Shutter13":{"Position":19,"Direction":0,"Target":19,"Tilt":0},"Shutter14":{"Position":33,"Direction":0,"Target":33,"Tilt":0},"Shutter15":{"Position":58,"Direction":0,"Target":58,"Tilt":0},"Shutter16":{"Position":36,"Direction":0,"Target":36,"Tilt":0}}
12:01:58.548-020 CFG: Saved to flash at 3FB, Count 341, Bytes 4096
12:02:58.247-020 SRC: WebGui from 192.168.2.1
12:02:58.250-020 CMD: Grp 0, Cmd 'SHUTTERPOSITION', Idx 7, Len 2, Pld 69, Data '69'
12:02:58.255-020 SRC: Shutter
12:02:58.261-017 MQT: stat/32ch1/RESULT = {"POWER13":"ON"}
12:02:58.264-017 SHT: Shtr7 Real 18000, Start 18000, Stop 138000, Dir 1, Delay 0, Rtc 0.00 [s], Freq 0, PWM 0, Tilt 0
12:02:58.270-017 MQT: stat/32ch1/RESULT = {"Shutter7":{"Position":9,"Direction":1,"Target":69,"Tilt":0}}
12:02:58.349-020 SHT: Shtr7 Real 18000, Start 18000, Stop 138000, Dir 1, Delay 0, Rtc 0.05 [s], Freq 0, PWM 0, Tilt 0
12:02:58.358-017 MQT: stat/32ch1/RESULT = {"Shutter1":{"Position":53,"Direction":0,"Target":53,"Tilt":0},"Shutter2":{"Position":41,"Direction":0,"Target":41,"Tilt":0},"Shutter3":{"Position":26,"Direction":0,"Target":26,"Tilt":0},"Shutter4":{"Position":66,"Direction":0,"Target":66,"Tilt":0},"Shutter5":{"Position":48,"Direction":0,"Target":48,"Tilt":0},"Shutter6":{"Position":74,"Direction":0,"Target":74,"Tilt":0},"Shutter7":{"Position":9,"Direction":1,"Target":69,"Tilt":0},"Shutter8":{"Position":74,"Direction":0,"Target":74,"Tilt":0},"Shutter9":{"Position":60,"Direction":0,"Target":60,"Tilt":0},"Shutter10":{"Position":21,"Direction":0,"Target":21,"Tilt":0},"Shutter11":{"Position":47,"Direction":0,"Target":47,"Tilt":0},"Shutter12":{"Position":58,"Direction":0,"Target":58,"Tilt":0},"Shutter13":{"Position":19,"Direction":0,"Target":19,"Tilt":0},"Shutter14":{"Position":33,"Direction":0,"Target":33,"Tilt":0},"Shutter15":{"Position":58,"Direction":0,"Target":58,"Tilt":0},"Shutter16":{"Position":36,"Direction":0,"Target":36,"Tilt":0}}
12:02:59.257-020 SHT: Shtr7 Real 37000, Start 18000, Stop 138000, Dir 1, Delay 0, Rtc 1.00 [s], Freq 0, PWM 0, Tilt 0
12:02:59.267-017 MQT: stat/32ch1/RESULT = {"Shutter1":{"Position":53,"Direction":0,"Target":53,"Tilt":0},"Shutter2":{"Position":41,"Direction":0,"Target":41,"Tilt":0},"Shutter3":{"Position":26,"Direction":0,"Target":26,"Tilt":0},"Shutter4":{"Position":66,"Direction":0,"Target":66,"Tilt":0},"Shutter5":{"Position":48,"Direction":0,"Target":48,"Tilt":0},"Shutter6":{"Position":74,"Direction":0,"Target":74,"Tilt":0},"Shutter7":{"Position":19,"Direction":1,"Target":69,"Tilt":0},"Shutter8":{"Position":74,"Direction":0,"Target":74,"Tilt":0},"Shutter9":{"Position":60,"Direction":0,"Target":60,"Tilt":0},"Shutter10":{"Position":21,"Direction":0,"Target":21,"Tilt":0},"Shutter11":{"Position":47,"Direction":0,"Target":47,"Tilt":0},"Shutter12":{"Position":58,"Direction":0,"Target":58,"Tilt":0},"Shutter13":{"Position":19,"Direction":0,"Target":19,"Tilt":0},"Shutter14":{"Position":33,"Direction":0,"Target":33,"Tilt":0},"Shutter15":{"Position":58,"Direction":0,"Target":58,"Tilt":0},"Shutter16":{"Position":36,"Direction":0,"Target":36,"Tilt":0}}
12:03:00.293-020 SHT: Shtr7 Real 57000, Start 18000, Stop 138000, Dir 1, Delay 0, Rtc 2.00 [s], Freq 0, PWM 0, Tilt 0
12:03:00.302-017 MQT: stat/32ch1/RESULT = {"Shutter1":{"Position":53,"Direction":0,"Target":53,"Tilt":0},"Shutter2":{"Position":41,"Direction":0,"Target":41,"Tilt":0},"Shutter3":{"Position":26,"Direction":0,"Target":26,"Tilt":0},"Shutter4":{"Position":66,"Direction":0,"Target":66,"Tilt":0},"Shutter5":{"Position":48,"Direction":0,"Target":48,"Tilt":0},"Shutter6":{"Position":74,"Direction":0,"Target":74,"Tilt":0},"Shutter7":{"Position":29,"Direction":1,"Target":69,"Tilt":0},"Shutter8":{"Position":74,"Direction":0,"Target":74,"Tilt":0},"Shutter9":{"Position":60,"Direction":0,"Target":60,"Tilt":0},"Shutter10":{"Position":21,"Direction":0,"Target":21,"Tilt":0},"Shutter11":{"Position":47,"Direction":0,"Target":47,"Tilt":0},"Shutter12":{"Position":58,"Direction":0,"Target":58,"Tilt":0},"Shutter13":{"Position":19,"Direction":0,"Target":19,"Tilt":0},"Shutter14":{"Position":33,"Direction":0,"Target":33,"Tilt":0},"Shutter15":{"Position":58,"Direction":0,"Target":58,"Tilt":0},"Shutter16":{"Position":36,"Direction":0,"Target":36,"Tilt":0}}
12:03:01.271-020 SHT: Shtr7 Real 77000, Start 18000, Stop 138000, Dir 1, Delay 0, Rtc 3.00 [s], Freq 0, PWM 0, Tilt 0
12:03:01.282-017 MQT: stat/32ch1/RESULT = {"Shutter1":{"Position":53,"Direction":0,"Target":53,"Tilt":0},"Shutter2":{"Position":41,"Direction":0,"Target":41,"Tilt":0},"Shutter3":{"Position":26,"Direction":0,"Target":26,"Tilt":0},"Shutter4":{"Position":66,"Direction":0,"Target":66,"Tilt":0},"Shutter5":{"Position":48,"Direction":0,"Target":48,"Tilt":0},"Shutter6":{"Position":74,"Direction":0,"Target":74,"Tilt":0},"Shutter7":{"Position":39,"Direction":1,"Target":69,"Tilt":0},"Shutter8":{"Position":74,"Direction":0,"Target":74,"Tilt":0},"Shutter9":{"Position":60,"Direction":0,"Target":60,"Tilt":0},"Shutter10":{"Position":21,"Direction":0,"Target":21,"Tilt":0},"Shutter11":{"Position":47,"Direction":0,"Target":47,"Tilt":0},"Shutter12":{"Position":58,"Direction":0,"Target":58,"Tilt":0},"Shutter13":{"Position":19,"Direction":0,"Target":19,"Tilt":0},"Shutter14":{"Position":33,"Direction":0,"Target":33,"Tilt":0},"Shutter15":{"Position":58,"Direction":0,"Target":58,"Tilt":0},"Shutter16":{"Position":36,"Direction":0,"Target":36,"Tilt":0}}
12:03:02.258-020 SHT: Shtr7 Real 97000, Start 18000, Stop 138000, Dir 1, Delay 0, Rtc 4.00 [s], Freq 0, PWM 0, Tilt 0
12:03:02.267-017 MQT: stat/32ch1/RESULT = {"Shutter1":{"Position":53,"Direction":0,"Target":53,"Tilt":0},"Shutter2":{"Position":41,"Direction":0,"Target":41,"Tilt":0},"Shutter3":{"Position":26,"Direction":0,"Target":26,"Tilt":0},"Shutter4":{"Position":66,"Direction":0,"Target":66,"Tilt":0},"Shutter5":{"Position":48,"Direction":0,"Target":48,"Tilt":0},"Shutter6":{"Position":74,"Direction":0,"Target":74,"Tilt":0},"Shutter7":{"Position":49,"Direction":1,"Target":69,"Tilt":0},"Shutter8":{"Position":74,"Direction":0,"Target":74,"Tilt":0},"Shutter9":{"Position":60,"Direction":0,"Target":60,"Tilt":0},"Shutter10":{"Position":21,"Direction":0,"Target":21,"Tilt":0},"Shutter11":{"Position":47,"Direction":0,"Target":47,"Tilt":0},"Shutter12":{"Position":58,"Direction":0,"Target":58,"Tilt":0},"Shutter13":{"Position":19,"Direction":0,"Target":19,"Tilt":0},"Shutter14":{"Position":33,"Direction":0,"Target":33,"Tilt":0},"Shutter15":{"Position":58,"Direction":0,"Target":58,"Tilt":0},"Shutter16":{"Position":36,"Direction":0,"Target":36,"Tilt":0}}
12:03:03.296-020 SHT: Shtr7 Real 117000, Start 18000, Stop 138000, Dir 1, Delay 0, Rtc 5.00 [s], Freq 0, PWM 0, Tilt 0
12:03:03.305-017 MQT: stat/32ch1/RESULT = {"Shutter1":{"Position":53,"Direction":0,"Target":53,"Tilt":0},"Shutter2":{"Position":41,"Direction":0,"Target":41,"Tilt":0},"Shutter3":{"Position":26,"Direction":0,"Target":26,"Tilt":0},"Shutter4":{"Position":66,"Direction":0,"Target":66,"Tilt":0},"Shutter5":{"Position":48,"Direction":0,"Target":48,"Tilt":0},"Shutter6":{"Position":74,"Direction":0,"Target":74,"Tilt":0},"Shutter7":{"Position":59,"Direction":1,"Target":69,"Tilt":0},"Shutter8":{"Position":74,"Direction":0,"Target":74,"Tilt":0},"Shutter9":{"Position":60,"Direction":0,"Target":60,"Tilt":0},"Shutter10":{"Position":21,"Direction":0,"Target":21,"Tilt":0},"Shutter11":{"Position":47,"Direction":0,"Target":47,"Tilt":0},"Shutter12":{"Position":58,"Direction":0,"Target":58,"Tilt":0},"Shutter13":{"Position":19,"Direction":0,"Target":19,"Tilt":0},"Shutter14":{"Position":33,"Direction":0,"Target":33,"Tilt":0},"Shutter15":{"Position":58,"Direction":0,"Target":58,"Tilt":0},"Shutter16":{"Position":36,"Direction":0,"Target":36,"Tilt":0}}
12:03:04.281-020 SHT: Shtr7 Real 137000, Start 18000, Stop 138000, Dir 1, Delay 0, Rtc 6.00 [s], Freq 0, PWM 0, Tilt 0
12:03:04.290-017 MQT: stat/32ch1/RESULT = {"Shutter1":{"Position":53,"Direction":0,"Target":53,"Tilt":0},"Shutter2":{"Position":41,"Direction":0,"Target":41,"Tilt":0},"Shutter3":{"Position":26,"Direction":0,"Target":26,"Tilt":0},"Shutter4":{"Position":66,"Direction":0,"Target":66,"Tilt":0},"Shutter5":{"Position":48,"Direction":0,"Target":48,"Tilt":0},"Shutter6":{"Position":74,"Direction":0,"Target":74,"Tilt":0},"Shutter7":{"Position":69,"Direction":1,"Target":69,"Tilt":0},"Shutter8":{"Position":74,"Direction":0,"Target":74,"Tilt":0},"Shutter9":{"Position":60,"Direction":0,"Target":60,"Tilt":0},"Shutter10":{"Position":21,"Direction":0,"Target":21,"Tilt":0},"Shutter11":{"Position":47,"Direction":0,"Target":47,"Tilt":0},"Shutter12":{"Position":58,"Direction":0,"Target":58,"Tilt":0},"Shutter13":{"Position":19,"Direction":0,"Target":19,"Tilt":0},"Shutter14":{"Position":33,"Direction":0,"Target":33,"Tilt":0},"Shutter15":{"Position":58,"Direction":0,"Target":58,"Tilt":0},"Shutter16":{"Position":36,"Direction":0,"Target":36,"Tilt":0}}
12:03:04.380-018 SHT: Stop 7 Mode 0 time 122, last source 23
12:03:04.382-018 SRC: Shutter
12:03:04.388-018 MQT: stat/32ch1/RESULT = {"POWER13":"OFF"}
12:03:04.391-018 SHT: Shtr7 Real 139000, Start 139000, Stop 138000, Dir 0, Delay 0, Rtc 6.10 [s], Freq 0, PWM 0, Tilt 0
12:03:04.400-018 MQT: stat/32ch1/RESULT = {"Shutter7":{"Position":70,"Direction":0,"Target":69,"Tilt":0}}
12:03:05.307-020 SHT: About to save settings to file /.drvset027

@SteWers
Copy link
Contributor Author

SteWers commented Nov 28, 2024

I tried your suggestion but unfortunately it doesn't solve the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants