logo elektroda
logo elektroda
X
logo elektroda
Dostępna jest polska wersja

Czy wolisz polską wersję strony elektroda?

Nie, dziękuję Przekieruj mnie tam

Can we enable Tasmota Device Groups for LN882H OpenBeken port?

Zain00 822 19
ADVERTISEMENT
  • #1 21098150
    Zain00
    Level 11  
    Does Device Groups work with this chip ?
  • ADVERTISEMENT
  • #2 21098184
    divadiow
    Level 38  
    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 38  
    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 38  
    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.
  • ADVERTISEMENT
  • #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.
  • #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 24  
    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 38  
    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.
Generated by the language model.

FAQ

TL;DR: Tasmota Device Groups (DGR) are now enabled on OpenBeken LN882H; firmware grew by +7,216 bytes; "I will merge the PR now." If you're an LN882H/OpenBeken user seeking Tasmota group sync, flash a DGR-enabled build and match group settings. [Elektroda, p.kaczmarek2, post #21099675]

Why it matters: It lets DIYers mirror switch/relay states across LN882H and Tasmota devices without extra glue code.

Quick Facts

Does Tasmota Device Groups now work on LN882H with OpenBeken?

Yes. Device Groups (DGR) is now enabled for LN882H in OpenBeken. SSDP and DDP were removed to keep size down. “I will merge the PR now,” confirmed the maintainer. Update to a build that includes this merge to use DGR. [Elektroda, p.kaczmarek2, post #21099675]

Which firmware should I flash to get Device Groups on LN882H?

Use a build that includes the DGR merge. If testing before a release, download the ZIP artifact from PR #1252 and flash the included binary. “Builds created off the back of a pull request can be downloaded and flashed.” [Elektroda, divadiow, post #21098249]

How do I set up Device Groups on OpenBeken LN882H with a Tasmota device?

Follow this quick setup:
  1. Flash an OpenBeken build where DGR is enabled.
  2. In both devices, configure matching Device Group name and index.
  3. Reboot and toggle a relay to verify synchronized state. Screens show Tasmota and OpenBeken group settings aligned. [Elektroda, Zain00, post #21098277]

Why does “startDriver DGR” return OK but DGR doesn’t start?

An early test build missed a required define, so the driver acknowledged but did not load. Update to the fixed build from the PR or the merged release. As the maintainer noted: “Ah there is a define missing, wait.” [Elektroda, p.kaczmarek2, post #21098299]

How can I confirm the DGR driver is active?

Open the Drivers page and look for DGR in the active list. If you “see no DGR driver active,” you’re on a build without DGR or it failed to start. Update to the corrected build and re-check. [Elektroda, Zain00, post #21098292]

Are Device Group packets sending and receiving correctly on LN882H?

Yes. A tester reported normal behavior after the fix: “It seems to be working correctly.” Keep both devices on the same group name and index, then verify by toggling a relay and watching peer updates. [Elektroda, Zain00, post #21098324]

How much firmware size overhead does enabling Device Groups add on LN882H?

With DGR-only, the binary measured 655,468 bytes, a +7,216-byte increase versus the reference build. This keeps the feature lean while enabling group sync. Plan OTA budgets accordingly. [Elektroda, p.kaczmarek2, post #21099675]

Is SSDP/DDP available on LN882H builds right now?

Not by default. The maintainer removed SSDP and DDP for LN882H to limit size and left only DGR. They added, “Still, maybe we could actually use SSDP as well?” Future builds may revisit this. [Elektroda, p.kaczmarek2, post #21099675]

Should I enable SSDP too, or is DGR enough?

DGR alone is sufficient for group control. One contributor is “a +1 for SSDP,” but also noted it’s “not a deal-breaker.” If you need device discovery, watch for builds that re-enable SSDP. [Elektroda, divadiow, post #21099713]

I flashed a general release and DGR didn’t work—why?

You likely used a build from before the DGR merge. That general release lacked the feature. Flash the artifact from PR #1252 or a newer merged release that includes DGR. “That’s a general release build.” [Elektroda, divadiow, post #21098280]

Do I need multiple devices to test Device Groups effectively?

Yes, to see synchronization you need at least two devices in the same group. The maintainer requested testers “who has more than 1 relay device” to validate multi-device behavior. [Elektroda, p.kaczmarek2, post #21098237]

I see “CB2S” on my board but it’s LN882H—normal?

It was reported by a user and acknowledged as unusual. Check the module’s printed markings and SoC package to confirm. Functionality isn’t affected if the correct firmware targets LN882H. [Elektroda, Zain00, post #21098234]

How big were the initial PR test builds compared to the latest release?

The PR #1252 artifacts were +15,144 bytes larger than the latest release (663,396 vs 648,252 bytes). Size was then optimized by disabling SSDP/DDP for LN882H. [Elektroda, max4elektroda, post #21099393]

What should I do if Device Groups misbehave after updating?

Verify both devices share the same group name and index, then check the Drivers page for DGR. If issues persist, re-flash the fixed build and retest. A tester planned to report any misbehavior after confirming it worked. [Elektroda, Zain00, post #21098324]
Generated by the language model.
ADVERTISEMENT