Elektroda.com
Elektroda.com
X
Elektroda.com

Tuya LSPA9 smart socket - teardown, OpenBeken flashing guide for CB2S, BL0942

p.kaczmarek2 10740 34
This content has been translated flag-pl » flag-en View the original version here.
  • #31
    p.kaczmarek2
    Level 28  
    Update:
    You no longer need to type these lines into your startup commands:
    Code:

    VREF 15987.125000
    PREF -683.023987
    IREF 272302.687500

    The calibration is remembered automatically .
  • #32
    omelchuk890
    Level 9  
    @p.kaczmarek2
    Do I understand correctly - the "autoexec.bat" file is not needed now, the system somehow automatically saves the coefficients after entering the VoltageSet and the rest commands?
    Otherwise I get this picture.
    Tuya LSPA9 smart socket - teardown, OpenBeken flashing guide for CB2S, BL0942
    I have sorted out the energystats team.
    Failed to start ntp for "NTP driver is not started, daily stats disbled"
    Found the information here https://github.com/openshwprojects/OpenBK7231T_App/search?p=2&q=CMD_RegisterCommand
    But with an argument in the form of a url does not work for me
    Code:
    Debug:CMD:loglevel set 6
    
    Debug:API:POST to api/cmnd
    Debug:CMD:cmd [ntp_setServer belgim.by]
    Error:CMD:cmd ntp_setServer NOT found (args belgim.by)
  • #33
    p.kaczmarek2
    Level 28  
    omelchuk890 wrote:
    @p.kaczmarek2
    Do I understand correctly - the "autoexec.bat" file is not needed now, the system somehow automatically saves the coefficients after entering the VoltageSet and the rest commands?

    Yes. It is autosaved.

    omelchuk890 wrote:

    Otherwise I get this picture.
    Tuya LSPA9 smart socket - teardown, OpenBeken flashing guide for CB2S, BL0942


    How do you have both BL0937 and BL0942 drivers running? Something is very wrong. There is no such device. Please revise your autoexec.bat and determine which chip is really your plug using.


    omelchuk890 wrote:

    Failed to start ntp for "NTP driver is not started, daily stats disbled"
    Found the information here https://github.com/openshwprojects/OpenBK7231T_App/search?p=2&q=CMD_RegisterCommand
    But with an argument in the form of a url does not work for me
    Code:
    Debug:CMD:loglevel set 6
    
    Debug:API:POST to api/cmnd
    Debug:CMD:cmd [ntp_setServer belgim.by]
    Error:CMD:cmd ntp_setServer NOT found (args belgim.by)

    I think you first need to do "startDriver NTP". Driver-related commands are only added after driver is started.

    I can see that you have no NTP running.