• LazaroFilm
    link
    English
    1110 months ago

    The issue with web IpT is that devices send data reports of their status every fraction of a second. The packet may just be a few bytes but over time it adds up. Instead I wished they could just send status when they change state and wait for a confirmation but that’s harder to code…

    • OADINC
      link
      fedilink
      English
      1010 months ago

      If (Status != Prev_Status) {Send_All_User_Data();}

      • LazaroFilm
        link
        English
        210 months ago

        Yes! The issue is that if the server misses that packet, the status is now wrong. So they need an aknowledgement send from the server.

        • @ripcord
          link
          English
          210 months ago

          Ok…? That’s extremely standard. And easy.

          • LazaroFilm
            link
            English
            210 months ago

            And yet they don’t implement it…

            • @ripcord
              link
              English
              110 months ago

              Every single one that uses an interface like that does. All of them. i’m talking about the requiring a response from the server part.

              Most also do not do .1s update rate or whatever you think the one device you have does.

    • @ripcord
      link
      English
      310 months ago

      No they don’t. Most send updates every 5 seconds, every minute etc.

      • LazaroFilm
        link
        English
        010 months ago

        My MyQ garage door would disagree with you.

    • @[email protected]
      link
      fedilink
      English
      3
      edit-2
      10 months ago

      A washimg machine isnt a micro frontend, the machine should do all the calculations on cpu and not report every time the drum spins or whatever.