Flic Home

    Community

    • Login
    • Search
    • Popular
    • Users
    1. Home
    2. samsonhyt
    3. Posts
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by samsonhyt

    • MQTT issue on firmware version 4.4.5

      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

      posted in Flic Hub
      samsonhyt
      samsonhyt