Flic Home

    Community

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

    mullz

    @mullz

    0
    Reputation
    1
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    mullz Unfollow Follow

    Latest posts made by mullz

    • RE: IRTCP v1.0.0 (Hub server for using IR module via HTTP)

      @Emil This is helpful info for investigation, but I still can't figure out why the console output appears to indicate overwriting multiple commands every time a new one is recorded:

      server connected
      GET /?record=test HTTP/1.1

      Host: flichub.local:1338

      Accept: /

      Accept-Language: en-US;q=1, ru-RU;q=0.9, es-US;q=0.8

      Connection: keep-alive

      Accept-Encoding: gzip, deflate

      User-Agent: Flic/7.0.5 (iPhone; iOS 26.1; Scale/3.00)

      recording signal...
      Signal testUp stored!
      Signal testDwn stored!
      Signal test stored!
      Signal test stored!
      server disconnected
      server connected
      GET /?cmd=test HTTP/1.1

      Host: flichub.local:1338

      Accept: /

      Accept-Language: en-US;q=1, ru-RU;q=0.9, es-US;q=0.8

      Connection: keep-alive

      Accept-Encoding: gzip, deflate

      User-Agent: Flic/7.0.5 (iPhone; iOS 26.1; Scale/3.00)

      server disconnected

      Unless I am reading it wrong, recording a new signal saves it, but also overwrites all previous recordings with the new IR signal, as well.

      (I sent these commands from the iOS flic app, using the Internet Request feature, from one of the widgets, if that is helpful info)

      posted in Flic Hub SDK
      mullz
      mullz
    • RE: IRTCP v1.0.0 (Hub server for using IR module via HTTP)

      Hello,

      I've been trying to get this script up and running on my own Flic Hub LR (firmware v4.6.0), but I seem to be running into trouble with the datastore module; nothing appears to stay saved, or else entering one IR code overwrites ALL IR codes with with string from the most recently recorded one. When I tried to investigate what was being written to the datastore, I noticed the datastore.db file appears corrupt in some way (dB Browser for SQLite says it's unreadable/malformed). This happens in both the original "IRTCP" code @oskaremilsson posted, as well as the "ir-server" version posted by @jitmo.

      Am I missing something silly, or is there a change in the way the datastore puts/gets work in the latest firmware?

      posted in Flic Hub SDK
      mullz
      mullz