You are reading a single comment by @Robin and its replies. Click here to read the full conversation.
  • As far as I can tell, there's no good way to request a weather report
    right now from the bangle.js, seems like we can only passively receive
    updates from the gadgetbridge weather app? I think it would be really
    great if there was a way to execute any sort of arbitrary API request
    from bangle.js apps. Is this possible?

    For this specific case you could look into adding a new "requestweather" message to the Bangle.js <-> GadgetBridge protocol, which is documented here and implemented by GadgetBridge here. I don't think there's any way of doing completely arbitrary API requests at the moment, though.

    Apologies if I'm mistaken, but I think @rigrig wrote the code to
    accept gadgetbridge weather notifications while using @NebbishHacker
    hacker's lovely code for displaying the weather itself. Not sure who
    wrote the code to persist to storage... I didn't think it was that
    important to be so specific in an informal forum post.

    This is correct, I only contributed the mock up in the emulator. @rigrig deserves all the credit for making it into an actual app :)

  • Sat 2020.04.25

    Thanks for the clarification @NebbishHacker. While you both deserve credit, merging isn't quite the same as developing and presenting the concept, that credit earned.

    'any way of doing completely arbitrary API requests at the moment'

    @BobFrankston has made progress here, see #21 post.

About

Avatar for Robin @Robin started