logo elektroda
logo elektroda
X
logo elektroda

[BK7231N+BL0942] DIY Smart Mini Switch - WBP-1G - configuration, pinout, program

piratee 10716 37
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #31 20522408
    p.kaczmarek2
    Moderator Smart Home
    From what I can see, it was from him that a pull request appeared to increase the precision of BL0942:
    https://github.com/openshwprojects/OpenBK7231T_App/pull/760
    But I'm just going to verify it.

    Don't forget to turn on PowerSave on this Aubess or else you'll be doing this:
    https://www.elektroda.pl/rtvforum/topic3898805.html
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #32 20522473
    piratee
    Level 13  
    PowerSave run together with energy metering and ntp server? single line command?
  • ADVERTISEMENT
  • #33 20522566
    p.kaczmarek2
    Moderator Smart Home
    Yes, but you can do it in autoexec.bat as well
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #34 20522567
    piratee
    Level 13  
    how to enter the NTP time offset to work after reboot in the block with ntp and bl0942 running?

    ntp_timeZoneOfs +2
  • ADVERTISEMENT
  • #35 20522640
    p.kaczmarek2
    Moderator Smart Home
    Normally in the backlog, rather without +, just:
    
    ntp_timeZoneOfs 2
    

    And it doesn't work?

    If you want to subtract, then with a minus.
    Helpful post? Buy me a coffee.
  • #36 20522669
    piratee
    Level 13  
    When I typed +2 it didn't work, now it's ok
    And you will also implement summer/winter automation.
    I am asking because I see that the options in the project are developing dynamically.

    Regards
  • #37 20527971
    piratee
    Level 13  
    I have another question, if I read the firmware, can I determine which pinout is on my own.
    Do I need to have any software or decompile the firmware?
  • #38 20528004
    p.kaczmarek2
    Moderator Smart Home
    There's a python tool for that but you need to have it all installed, better put dunks here, I'm still helping out every morning, day and night.

    Hmm, you could do automatic time switching, it's not a problem, but I'd have to look for a table so that I don't have to enter it in the code. But I admit in advance - I haven't checked yet.

    Recently, I updated the documentation again and moved it from README (because it shouldn't be there) to JSON files to be able to autogenerate MDs and so on.
    Helpful post? Buy me a coffee.

Topic summary

The discussion revolves around the DIY Smart Mini Switch identified as WBP-1G, which features energy measurement capabilities. Users share insights on programming the device, including pin configurations and firmware reading techniques. The BK7231N chip is confirmed to be in use, with suggestions for using specific software tools like BK7231GUIFlashTool and uartprogram for firmware management. Users discuss the pinout for the BL0942 energy measurement chip, troubleshooting issues related to device connections, and the importance of proper voltage handling to avoid damage. The conversation also touches on MQTT integration for IP transfer and the functionality of the energy meter. A new version of the switch with a different design is introduced, and users share their experiences with the device's performance and configuration.
Summary generated by the language model.
ADVERTISEMENT