This is because the WiFi module is the one who starts the transaction after it's power on event.
This is because the WiFi module is the one who starts the transaction after it's power on event.
Czy wolisz polską wersję strony elektroda?
Nie, dziękuję Przekieruj mnie tamQuote:There is no seconds timer on this device, right?
Quote:It's a pity U8 has its markings erased (BTW, @auntlydia, Are they also erased in your units?)
Quote:Also, @auntlydia: Which voltage did you use when you flashed OBK?
Info:TuyaMCU:TUYAMCU received: 55 AA 00 01 00 24 7B 22 70 22 3A 22 78 6C 6B 33 6D 74 70 6A 6F 31 7A 6B 6D 64 76 68 22 2C 22 76 22 3A 22 31 2E 30 2E 30 22 7D 10
Info:TuyaMCU:TuyaMCU_ProcessIncoming[ver=0]: processing command 1 (QueryProductInformation) with 43 bytes
Info:TuyaMCU:TuyaMCU_ParseQueryProductInformation: received {"p":"xlk3mtpjo1zkmdvh","v":"1.0.0"}auntlydia wrote:Quote:It's a pity U8 has its markings erased (BTW, @auntlydia, Are they also erased in your units?)
Do you mean that all the values are reset when the device uses power?
Consulte el final de este mensaje para obtener más detalles sobre cómo invocar a la depuración
Just-In-Time (JIT) en lugar de a este cuadro de diálogo.
************** Texto de la excepción **************
System.ArgumentOutOfRangeException: El índice estaba fuera del intervalo. Debe ser un valor no negativo e inferior al tamaño de la colección.
Nombre del parámetro: index
en System.ThrowHelper.ThrowArgumentOutOfRangeException()
en System.Collections.Generic.List`1.get_Item(Int32 index)
en TuyaMCUAnalyzer.FormTuyaMCUAnalyzer.parseDPData(List`1 p, Int32 ofs)
en TuyaMCUAnalyzer.FormTuyaMCUAnalyzer.displayPacket(List`1 p)
en TuyaMCUAnalyzer.FormTuyaMCUAnalyzer.refresh()
en System.Windows.Forms.Control.OnTextChanged(EventArgs e)
en System.Windows.Forms.TextBoxBase.WmReflectCommand(Message& m)
en System.Windows.Forms.RichTextBox.WmReflectCommand(Message& m)
en System.Windows.Forms.RichTextBox.WndProc(Message& m)
en System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Ensamblados cargados **************
mscorlib
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.9174 (WinRelRS6.050727-9100)
Código base: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
TuyaMCUAnalyzer
Versión del ensamblado: 1.0.0.0
Versión Win32: 1.0.0.0
Código base: file:///D:/Archivos%20de%20programa%20(portable)/TuyaMCUAnalyzer-v0.4/TuyaMCUAnalyzer.exe
----------------------------------------
System.Windows.Forms
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.9149 (WinRelRS6.050727-9100)
Código base: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.9171 (WinRelRS6.050727-9100)
Código base: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.9149 (WinRelRS6.050727-9100)
Código base: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
mscorlib.resources
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.9174 (WinRelRS6.050727-9100)
Código base: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
System.Windows.Forms.resources
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.9149 (WinRelRS6.050727-9100)
Código base: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_es_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
************** Depuración JIT **************
Para habilitar la depuración Just In Time (JIT), el archivo de configuración de esta
aplicación o equipo (machine.config) debe tener el
valor jitDebugging establecido en la sección system.windows.forms.
La aplicación también se debe compilar con la depuración
habilitada
Por ejemplo:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
Cuando esté habilitada la depuración JIT, cualquier excepción no controlada
se enviará al depurador JIT registrado en el equipo
en lugar de controlarlo mediante el cuadro de diálogo.p.kaczmarek2 wrote:Are you the same person who reported it here?
55 AA 00 08 00 0C 000303030303030904000100 33
HEADER VER=00 QueryInitStatus LEN INVALID date dpId=9 Enum V=0 CHK
morgan_flint wrote:I also tried TuyaMCU Analyzer, but got some errors:
p.kaczmarek2 wrote:Or... maybe C vs F setting? We could try changing that in the app.
mkmunichmk wrote:You could do me a favour and use TuyaMCU Analyzer to record. Please let me know, if this works.
morgan_flint wrote:I hit "Open ports" it closes
p.kaczmarek2 wrote:No measurement interval setting.
mkmunichmk wrote:morgan_flint wrote:I hit "Open ports" it closes
As menu item "Open Ports" is directly opening both serial ports configured in Settings, I would guess, that Port Settings->UART0 and UART1 need to be configured first.
p.kaczmarek2 wrote:Maybe, just maybe, executing a tuyaMcu_sendQueryState command may cause more dpIDs to be sent, but as far as I know, it would only work on non-battery powered models. So I wouldn't bet on that.
MnM1 wrote:Try and follow the steps in here for creating the Tuya IoT account and adding or creating a new project in there:
https://www.home-assistant.io/integrations/tuya/
MnM1 wrote:Hi @morgan_flint - unfortunately I don't have that device.
I was just giving out the links to help you create a Tuya IoT account and project
DeDaMrAz wrote:But if that setting is not available in the phone app it is unlikely that it is avaliable/active on that device.
morgan_flint wrote:Is it worth trying to send something from similar products as I said before, or could I brick the device?
MnM1 wrote:If you have flashed the device to OBK the Tuya IoT won't be able to send anything to the device
TL;DR: “Flashing succeeds 100 % when CEN, RX and TX are isolated” and the Wi-Fi module stays powered just 18 s per cycle [Elektroda, spin55, post #20804765] Unit switch is dpID 9; send
55AA001000070101090400010026to force °C [Elektroda, smoeller95s, post #21550660] Battery life rises from 3 days to 6 weeks after v1.17.302 fix [Elektroda, morgan_flint, post #20796796]
Why it matters: correct pinout, dpIDs and flags avoid soft-brick loops and halve power drain.
• MCU board rev V3.7 (2023-11-06) uses step-down RT8008-like regulator, 2.3–3.6 V out [Elektroda, bogovik, post #21007162] • Default Tuya baud: 9 600 bps; do not force 115 200 on battery models [Elektroda, bogovik, post #21007162] • Wi-Fi on-time: 10–18 s (after dpCache fix) [Elektroda, p.kaczmarek2, post #20796796] • Battery thresholds: High ≥ 4 V, Medium 4–3.1 V, Low < 3.1 V [Elektroda, morgan_flint, post #20804228] • dpIDs: 1 Temp, 2 RH, 3 Batt-state, 4 Batt-%, 9 Unit, 10–13 limits, 14–15 alarms, 17–20 report/sensitivity [Elektroda, divadiow, post #21357234]
ntp_setServer 217.147.223.78 and keep ntp_timeZoneOfs correct. Each failed packet logs NTP_SendRequest: Unable to send message [Elektroda, spin55, post #21074156]delay_s 2uartSendHex 55AA00100007010109040001002600 gives °C; 01 gives °F [Elektroda, smoeller95s, post #21550660]temperature_div10 splits the MCU value and HA divides it again, giving 2.2 °C instead of 22 °C [Elektroda, p.kaczmarek2, post #21377733]setChannelType 4 BatteryLevelPercentlinkTuyaMCUOutputToChannel 4 val 4SetStartValue <ch> -1 and add 1 at the end of linkTuyaMCUOutputToChannel … to include it in the dpCache reply packet 0x10 [Elektroda, p.kaczmarek2, post #21385904]