Flic Home

    Community

    • Login
    • Search
    • Popular
    • Users

    MQTT issue on firmware version 4.4.5

    Flic Hub
    3
    3
    146
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • samsonhyt
      samsonhyt last edited by samsonhyt

      Im using this script https://github.com/50ButtonsEach/flic-hub-sdk-mqtt-js to integrate MQTT with Flic HUB
      but after the Flic HUB upgraded it self to 4.4.5
      it keep throwing following error

      TypeError: Invalid type
          at invoke (native)
          at connectWithHostAndPort (core.js:1273)
          at <anonymous> (core.js:1332)
          at func (core.js:2325)
          at nextTickHandler (core.js:2334)
      

      after calling the following in MQTT without getting a callback

      client = require("net").connect({ host: mqo.server, port: mqo.port }, onConnect);
      

      Is the 'net' module interface have been updated?
      are there anyway i can stop the flic hub from auto updating and do manual update whenever i need

      1 Reply Last reply Reply Quote 0
      • Referenced by  pico pico 
      • Emil
        Emil FlicTeam @nik.vandenwijngaert last edited by Emil

        Please upgrade to firmware 4.4.6 which does not have this problem.

        If you use the device manager, you can manually assign a specific firmware version.

        1 Reply Last reply Reply Quote 1
        • nik.vandenwijngaert
          nik.vandenwijngaert last edited by

          Just replying I'm having the exact same issue. All my flows are broken, so hoping for a fix soon!

          Emil 1 Reply Last reply Reply Quote 0
          • First post
            Last post