logo elektroda
logo elektroda
X
logo elektroda

Can we enable Tasmota Device Groups for LN882H OpenBeken port?

Zain00 501 19
ADVERTISEMENT
  • #1 21098150
    Zain00
    Level 11  
    Does Device Groups work with this chip ?
  • ADVERTISEMENT
  • #2 21098184
    divadiow
    Level 34  
    Zain00 wrote:
    Does Device Groups work with this chip ?

    If this is the right place (obk_config.h) then no, device groups is not currently enabled

    Configuration code snippet with various macros in C language.
  • #3 21098215
    p.kaczmarek2
    Moderator Smart Home
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #4 21098234
    Zain00
    Level 11  
    Thanks! I'll be waiting for the next release to try it.

    Also, it seems in my device it's written CB2S but with LN882H.

    Electronic module on a circuit board labeled CB2S and LN882H.
  • #5 21098237
    p.kaczmarek2
    Moderator Smart Home
    Ok can you check if it works?
    https://github.com/openshwprojects/OpenBK7231T_App/pull/1252
    @divadiow @max4elektroda who has more than 1 relay device to check?
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #6 21098247
    Zain00
    Level 11  

    Do I need to compile the changes to check? Or the updated OTA pin is ready?
  • #7 21098249
    divadiow
    Level 34  
    Zain00 wrote:
    Also, it seems in my device it's written CB2S but with LN882H.

    I've not seen this before.

    p.kaczmarek2 wrote:
    @divadiow @max4elektroda who has more than 1 relay device to check?

    can do. will need to learn about device groups first! can do this evening

    Added after 19 [minutes]:

    >>21098247

    no. builds created off the back of a pull request can be downloaded and flashed

    Screenshot of a GitHub pull request page in the openshwprojects repository.
  • #8 21098277
    Zain00
    Level 11  
    Thanks.
    I just tried it and it doesn't work.

    OpenLN882H settings :
    Tasmota device group settings screen with group name test and checked receive and send options.

    Tasmota Settings:
    Tasmota interface screen with command input field and system logs.
  • #9 21098280
    divadiow
    Level 34  
    that's a general release build. the file to flash will be in the downloaded zip from the pull request linked above.
  • #10 21098292
    Zain00
    Level 11  

    Oh, I did the update again.

    Configuration of Tasmota device groups on the interface screen.

    But with it didn't work.

    And I see no DGR driver active

    OpenLN882H_C25E1088 controller screen showing an off state and various technical parameters.
  • #11 21098299
    p.kaczmarek2
    Moderator Smart Home
    First I'd suggest to try starting it manually

    Added after 35 [seconds]:

    Ah there is a define missing, wait
    Helpful post? Buy me a coffee.
  • #12 21098301
    Zain00
    Level 11  

    I did try (backlog startDriver DGR) it says OK but doesn't start

    Error message indicating an unknown DGR driver and available drivers.
  • ADVERTISEMENT
  • #13 21098308
    p.kaczmarek2
    Moderator Smart Home
    We need to add correct defines for array for DDP/SSDP/DGR entries...

    Ok, try the build now.
    Helpful post? Buy me a coffee.
  • #14 21098311
    Zain00
    Level 11  

    Thank you. It's working now with the new update

    Can we enable Tasmota Device Groups for LN882H OpenBeken port?
  • #15 21098316
    p.kaczmarek2
    Moderator Smart Home
    Are the packets correctly received and sent as well?
    Helpful post? Buy me a coffee.
  • #16 21098324
    Zain00
    Level 11  

    It seems to be working correctly, I'll update you when it misbehaves
  • #17 21099386
    p.kaczmarek2
    Moderator Smart Home
    Currently my PR also enabled SSDP and DDP for LN882H, I am going to disable them for now, and the push changes to the main tree.

    How much has the LN882H build size increased in my fork?
    Helpful post? Buy me a coffee.
  • #18 21099393
    max4elektroda
    Level 20  
    Artifacts of PR #1252 compared to latest release: +15.144 bytes (663.396 bytes vs 648.252 bytes)
  • #19 21099675
    p.kaczmarek2
    Moderator Smart Home
    I've removed SSDP and DDP (only left DGR) and now OpenLN882H_1252_merge_edb72c1c8287.bin is like 655 468, so +7.216 bytes. Not bad. I will merge the PR now.

    Still, maybe we could actually use SDDP as well?
    Helpful post? Buy me a coffee.
  • #20 21099713
    divadiow
    Level 34  
    p.kaczmarek2 wrote:
    Still, maybe we could actually use SDDP as well?


    im a +1 for SSDP, but it's not a deal-breaker.

Topic summary

The discussion revolves around enabling Device Groups for the LN882H chip using OpenBeken firmware. Initial responses indicate that Device Groups are not currently enabled in the configuration file (obk_config.h). A user expresses interest in testing a pull request that may enable this feature. After several attempts and updates, the user confirms that the feature is now functioning correctly following the latest firmware update. Additional discussions include the potential integration of SSDP and DDP protocols, with some users advocating for their inclusion while others note the increase in build size.
Summary generated by the language model.
ADVERTISEMENT