logo elektroda
logo elektroda
X
logo elektroda

[Solved] Configuring Startup Command in OpenBK7231T_App with MQTT: Handling 'Topic Not Handled' Issue

sillyfrog 861 2
ADVERTISEMENT
  • #1 20550519
    sillyfrog
    Level 5  
    Is there a way to configure the startup command in OpenBK7231T_App using MQTT? I've tried a number of things (`cfg_startup` `startup_command`), but all give "topic not handled".

    I've searched for ages and can't find anything either way. It's not listed https://github.com/openshwprojects/OpenBK7231T_App/blob/main/docs/commands-extended.md (unless it does not include the word "startup").

    I have a couple of dozen devices, and want to update all of them, and doing it via MQTT will be a lot easier than finding the IP address of them all and then posting the config that way.

    Thanks!
  • ADVERTISEMENT
  • Helpful post
    #2 20550740
    p.kaczmarek2
    Moderator Smart Home
    Very good idea. I've added that command for you.
    Configuring Startup Command in OpenBK7231T_App with MQTT: Handling 'Topic Not Handled' Issue
    Can you check if it works for you?

    Here's a self test for that:
    https://github.com/openshwprojects/OpenBK7231...4ab6afbfe/src/selftest/selftest_cmd_startup.c
    Helpful post? Buy me a coffee.
  • #3 20551575
    sillyfrog
    Level 5  
    Awesome! Thanks!

    That works great! I have just updated 5 devices and reconfigured the startup command on all of them using the "Group Topic". So just one MQTT command to do all the updates, and one to configure their color at startup.

    Thanks for your quick response.
ADVERTISEMENT