Git Product home page Git Product logo

Comments (6)

roryaronson avatar roryaronson commented on June 19, 2024

What do you mean by subscription based? Would any of the following examples be considered subscription based? If not, what would be?

  • Device sends update every day at 3pm and the web-app "subscribes" to these updates
  • Device sends update with each completed command and the database subscribes to these updates to maintain synchronization
  • Device sends update every time there is an error, the web app subscribes to this and sends an email to the user with each update

from farmbot_os.

TimEvWw avatar TimEvWw commented on June 19, 2024

When you connect with the site, you request the status from the bot to put
it on screen. Does the device has to send the same message every x seconds
so the site can display the latest status?? (moving now, next command
scheduled at ...)

On Fri, Jun 20, 2014 at 10:12 AM, Rory Aronson [email protected]
wrote:

What do you mean by subscription based? Would any of the following
examples be considered subscription based? If not, what would be?

  • Device sends update every day at 3pm and the web-app "subscribes" to
    these updates
  • Device sends update with each completed command and the database
    subscribes to these updates to maintain synchronization
  • Device sends update every time there is an error, the web app
    subscribes to this and sends an email to the user with each update


Reply to this email directly or view it on GitHub
#13 (comment)
.

from farmbot_os.

RickCarlino avatar RickCarlino commented on June 19, 2024

I would like this feature. It would be nice to have for interacting with the UI layer.

from farmbot_os.

roryaronson avatar roryaronson commented on June 19, 2024

I agree with Rick, it would be nice to see a console of everything happening on the device in near real time

from farmbot_os.

TimEvWw avatar TimEvWw commented on June 19, 2024

Now, what does the protocol looks like?

I was thinking for now of sending a message_type "read_status_subscription"
with parameter keep_alive = 15 minutes and period = 5 seconds. The status
message can be extended with a value subscription_timeout that is set to
true in the last minute so the site can send a new subscription to the bot.
This way the bot doesn't keep sending messages forever, only when it's
needed. There are probably better way but I can't think of them right now.

On Fri, Jun 20, 2014 at 8:08 PM, Rory Aronson [email protected]
wrote:

I agree with Rick, it would be nice to see a console of everything
happening on the device in near real time


Reply to this email directly or view it on GitHub
#13 (comment)
.

from farmbot_os.

RickCarlino avatar RickCarlino commented on June 19, 2024

I think this feature has been implemented. Closing this issue.

from farmbot_os.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.