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

Czy wolisz polską wersję strony elektroda?

Nie, dziękuję Przekieruj mnie tam

[Solved] Artika Smartshade MQTT Connection Issue After Flashing—RES: 0(ERR_OK) Status

jackbridgeselek 270 3
ADVERTISEMENT
  • #1 21839946
    jackbridgeselek
    Level 2  
    Hey everyone... I'm having a bit of trouble with my newly flashed Artika Smartshade light. I've done a bunch of searching on here, but I don't see anything that is covering exactly what I'm seeing. I have been following This Guide from Error Gap and I'm trying to get the MQTT to connect. Isn't working.

    What I see on the main page of the light is

    MQTT State: disconnected RES: 0(ERR_OK)
    MQTT ErrMsg:
    MQTT: Stats: CONN: 4 PUB: 0 RECV: 0 ERR: 0

    I'm pretty sure that my Home Assistant and Mosquitto broker are all running correctly as the other devices that connect to it are working well. Anyone have any ideas or another post that I missed in my searching?

    Thx!
    AI: Can you share which firmware you flashed onto the Artika Smartshade and the exact method or tool you used?
    I flashed OpenBK7231N_QiO_1.18.227.bin using the BK7231Flasher that is linked in the article.
    AI: What MQTT settings did you enter on the device (like broker address, port, username/password, and whether you're using TLS)?
    Host: 192.168.4.97
    Port: 1883
    Client Topic: Garage_RGB_1
    Group Topic: Grg_RGB
    User: homeassistant
    PW: *********** (Got the right one from Home Assistant)
  • ADVERTISEMENT
  • Helpful post
    #2 21842848
    divadiow
    Level 38  
    I've tried to add more meaningful feedback about MQTT status in this build: https://github.com/divadiow/OpenBK7231T_App/tree/mqttfeedback

    eg, wrong HA password in 1.18.261:
    Screenshot of MQTT status messages showing “disconnected” and PUB/RECV counters.

    with PR build:
    Screenshot of MQTT logs showing disconnected state and “Refused not authorized” broker error.

    might not help, but worth a go?
    OTA in attached
    Attachments:
    • OpenBK7231T_App_mqttfeedback_a07ac63972b9_OpenBK7231N.zip (3.8 MB) You must be logged in to download this attachment.
  • ADVERTISEMENT
  • #3 21846284
    jackbridgeselek
    Level 2  
    >>21842848 Thanks. I got it solved. I wasn't logging in, even though the username/pw were correct. I added a new login and things are good. You're great!
  • #4 21846285
    jackbridgeselek
    Level 2  
    Created a new login.
ADVERTISEMENT