Share:
Notifications
Clear all

iboardbot Server?

Page 1 / 2

d4f75aa50abe9272e5393ea62777b4f6?s=80&d=mm&r=g
(@bluegecko)
Member
Joined: 5 years ago
Posts: 12
Topic starter  

Hi Pedro,

First of all i would like to congrat you Guys for the iboardbot. it works really Nicely and is lots of fun. I have a question though.
is there a chance that you release the server software and how to set it up any time soon? because currently I can never be sure that my messages (e.g. my weather forecast from ifttt) will be printed and often there is quite a delay as well. I have my own raspberry Pi that sends messages based on cron jobs but I can never be sure that the message is actually drawn. it is drawn around 90% of time but not always.

also in terms of development I am sure you would get a boost of ideas what to do with the iboardbot. e.g. it would be possible to implement online games on one and two iboardbots (e.g. chess moves, battle ship, tic tac toe) I am sure there are many more possibilities. but the development is probably hindered by not having full access to the server. e.g. I was thinking instead of having a weather report, I could show the rain radar by grabbing the pictures converting them to svg using imaging software (opencv) and then plotting a weather map or so. if i am not mistaken we cannot send svg files to the iboardbot currently. also a feedback that the image was actually plotted would be really good. so is there a plan to release the server software and documentation soon?

thanks again,
bernd


Quote
350a26dd49eb55d3494500240423a207?s=80&d=mm&r=g
(@robotn1)
Member Admin
Joined: 6 years ago
Posts: 744
 

Hi bernd/bluegecko!
Thanks for your words and your comments. We are glad you are enjoying the iBoardbot 😉

API+protocol: Actually, every task you are listing can be achieved via iboardbot´s API and IBB protocol (forecast, tic tac toe, chess…): https://github.com/jjrobots/iBoardbot/blob/master/documents/iBoardbot_APIv1.odt
https://github.com/jjrobots/iBoardbot/blob/master/documents/iBB_protocol.odt

DELAY: yes, sometimes there is small delay. It is due to the IFTTT´s MAKER channel way to handle the data. There is no way (currently) to solve it unless you are sending what you want to draw directly to your iBoardbot via …Raspberry?

Keep in mind that the server only gets the incoming data sent from any device (actually that data are a bunch of lines to be drawn) and sends that data to the iboardbot in real time. It is transparent and send everything with no delays and in a very “robust” way (checking all the time the data got the destination) so you can even get through proxies.

You can draw a single line or draw any image using the iBoardbot protocol like, for example, the cool ViezeVingertjes´s real time clock does: http://forumsjjrobots.com/thread-846.html

About the ” feedback that the image was actually plotted “: give us some time, we are thinking on creating a “refresh button” which allows you to see on your screen what is currently drawn on the board.


ReplyQuote
d4f75aa50abe9272e5393ea62777b4f6?s=80&d=mm&r=g
(@bluegecko)
Member
Joined: 5 years ago
Posts: 12
Topic starter  

Hi,
thanks for the links, but if I am not mistaken the document does not describe all the functions available. for example the pPath function is not mentioned there.
also do you have documented the pImage and pSVG functions somewhere?
and can I somehow use a non uploaded svg file to be drawn?

by the way even directly send requests via the web interface do take up to 3 minutes to be drawn. maybe this is due to “distance” to Australia and some delay so it is not only a problem of ifttt. finally you did not answer my question about the server software. is there any chance to install it locally on a webserver (e.g. Pi)?

again this is mainly for developing as it is quite inconvenient if I have to wait for a minute or two until my test line is drawn?

a very last question. if I am not mistaken my iboardbot does send a request every xx seconds (8??) to your server to check if something new has arrived. how often does the iboardbot send such a request and how much data/bandwidth per day does this equate?
again a local webserver would avoid such bandwidth costs ( admittedly they are most likely negligible, but if the Internet drops out, again my iboardbot does not receive anything and maybe this is also a reason for the experienced delay as the network here is not very stable.

thanks for your time,

bluegecko

Hi bernd/bluegecko!
Thanks for your words and your comments. We are glad you are enjoying the iBoardbot 😉

API+protocol: Actually, every task you are listing can be achieved via iboardbot´s API and IBB protocol (forecast, tic tac toe, chess…): https://github.com/jjrobots/iBoardbot/blob/master/documents/iBoardbot_APIv1.odt
https://github.com/jjrobots/iBoardbot/blob/master/documents/iBB_protocol.odt

DELAY: yes, sometimes there is small delay. It is due to the IFTTT´s MAKER channel way to handle the data. There is no way (currently) to solve it unless you are sending what you want to draw directly to your iBoardbot via …Raspberry?

Keep in mind that the server only gets the incoming data sent from any device (actually that data are a bunch of lines to be drawn) and sends that data to the iboardbot in real time. It is transparent and send everything with no delays and in a very “robust” way (checking all the time the data got the destination) so you can even get through proxies.

You can draw a single line or draw any image using the iBoardbot protocol like, for example, the cool ViezeVingertjes´s real time clock does: http://forumsjjrobots.com/thread-846.html

About the ” feedback that the image was actually plotted “: give us some time, we are thinking on creating a “refresh button” which allows you to see on your screen what is currently drawn on the board.


ReplyQuote
JoseJulio
(@josejulio)
Member Admin
Joined: 6 years ago
Posts: 29
 

Hi bernd! thanks for your words.
It’s true that actually is not posible to draw vectors with the API, we plan to extend the actual API with more functions to draw simple primitives or maybe more complex vectors like svgs
With respect to the server code we plan to release a core version (reduced version) without the users/registration/administration parts… so the code could be easily installed on a web server without the need to use an external database. The actual server code is developed on PHP. We need some time to prepare this standalone simple server version, we are working also in other projects so probably we need at least one month for the release of the code…

thanks,
Jose. jjrobots.


ReplyQuote
JoseJulio
(@josejulio)
Member Admin
Joined: 6 years ago
Posts: 29
 

and the answer to the last question,
the iboardbot uses a method that is called “long polling”.
the board poll the server for tasks. if there are task, the server sends it inmediatly. if not the server leave the connection open for 20 seconds, then close. This way there are virtually no delay (actually 1or 2 seconds) because the connection is open all the time.
So, a delay of minutes? something is wrong, maybe your connection is bad quality? If there are errors on the connection the board trys to reset and restart the connections again and this process is more slowly…

Jose


ReplyQuote
d4f75aa50abe9272e5393ea62777b4f6?s=80&d=mm&r=g
(@bluegecko)
Member
Joined: 5 years ago
Posts: 12
Topic starter  

Hi Jose,

thanks for the quick reply. and I am happy to wait a bit. one final question.
I played a bit with the pPath.php function and I think I figured how it works. is there anything from your side why I should not use it for my ideas (e.g. create a python script that converts an svg to a pPath expression and send it to your server?)

cheers, Bernd


okay I understand so it probably must be my internet connection, because true either it is pretty instantaneous or a minute or two. so need to talk to my provider anyway.

cheers, bluegecko

and the answer to the last question,
the iboardbot uses a method that is called “long polling”.
the board poll the server for tasks. if there are task, the server sends it inmediatly. if not the server leave the connection open for 20 seconds, then close. This way there are virtually no delay (actually 1or 2 seconds) because the connection is open all the time.
So, a delay of minutes? something is wrong, maybe your connection is bad quality? If there are errors on the connection the board trys to reset and restart the connections again and this process is more slowly…

Jose


ReplyQuote
d4f75aa50abe9272e5393ea62777b4f6?s=80&d=mm&r=g
(@bluegecko)
Member
Joined: 5 years ago
Posts: 12
Topic starter  

Hi Jose,

any updates regarding the server?

cheers, Bernd

Hi bernd! thanks for your words.
It’s true that actually is not posible to draw vectors with the API, we plan to extend the actual API with more functions to draw simple primitives or maybe more complex vectors like svgs
With respect to the server code we plan to release a core version (reduced version) without the users/registration/administration parts… so the code could be easily installed on a web server without the need to use an external database. The actual server code is developed on PHP. We need some time to prepare this standalone simple server version, we are working also in other projects so probably we need at least one month for the release of the code…

thanks,
Jose. jjrobots.


ReplyQuote
19d3c71ecf8930762f84d83a6e370293?s=80&d=mm&r=g
 Xnhn
(@xnhn)
Member
Joined: 5 years ago
Posts: 1
 

Hi,
Are there any updates about the standalone server ?
I’m willing to buy this product if I can use it on my personnal server.

Thanks
X


ReplyQuote
f324bbba66b3290c9b906d18262e8492?s=80&d=mm&r=g
(@torben)
Member Customer
Joined: 5 years ago
Posts: 2
 

Hi,

A vote from me on releasing the PHP server code!
Seems like a logic choice since the project is build on a opensource mindset.

best,

Torben.


ReplyQuote
e334407fbd34a0623297c14b7d6f61ba?s=80&d=mm&r=g
(@dineshkumares)
Member
Joined: 4 years ago
Posts: 2
 

Hi

Please do let us know when you will be releasing the php server code

-D


ReplyQuote
JoseJulio
(@josejulio)
Member Admin
Joined: 6 years ago
Posts: 29
 

Hi to all,
we started the migration of our server code to a standalone version but another projects are occupying out time. We are sorry for this and we will continue with this code soon… sorry again for the delay on this release… We will publish any update on this here.

Jose

Hi

Please do let us know when you will be releasing the php server code

-D


ReplyQuote
e334407fbd34a0623297c14b7d6f61ba?s=80&d=mm&r=g
(@dineshkumares)
Member
Joined: 4 years ago
Posts: 2
 

Hi
Thanks for your reply. Eagarly waiting to know more about how things are handled in server side.

Regards
D

Hi to all,
we started the migration of our server code to a standalone version but another projects are occupying out time. We are sorry for this and we will continue with this code soon… sorry again for the delay on this release… We will publish any update on this here.

Jose

Hi

Please do let us know when you will be releasing the php server code

-D


ReplyQuote
f198feace59e696ed92dc863b7c2f1e4?s=80&d=mm&r=g
(@csunwc)
Member
Joined: 2 years ago
Posts: 1
 

Any news on the open-source server?

I just learned about the Iboardbot kit. I want to purchase the kit but the closed source server on the cloud really turns me off. I really want a standalone open-source learning kit so I can experiment with it, not a throw-away toy.

How about giving personal-use-only source license to purchasers?
That would save your time to create an open-source version.

The talk to open source starts in 2016.
It is 2019 now….

Charles


ReplyQuote
81f9569746baaf995885dffe8c939855?s=80&d=mm&r=g
(@mchughj)
Member
Joined: 1 year ago
Posts: 2
 

Hi all.

I’ve had my iBoardBot for awhile now and have been primarily using it in my kitchen with an IFTTT formula to display the weather once a day. My wife really enjoys the functionality but I’ve always wanted to do more with it.

I decided to write my own server instance and extend the functionality for my specific use case. Here is a screen shot of what my server process produces.

Weather1

The server instance works with the standard firmware with a small change to point the hostname and IP address to a local machine within my house hosting the new server. There are many improvements that I would like to make to the firmware but those will wait for another day. I specifically wanted to be able to switch from my own server to the standard one during development – mostly as a way of debugging my bugs but also to retain compatibility for other folks.

Feel free to grab all the associated code from: https://github.com/mchughj/iBoardBot

Caveats:

[list=1]

  • The server supports multiple boards but there is no authentication. My use case is a board (or two) in a local network environment.
  • The server supports some control verbs so that it can be controlled by any http client. There are very, very simple control plane HTML pages generated by the software directly so you can interact with a web browser but these are really for debugging purposes.
  • The intent here is that you write some software to schedule and control the server process. The server is not designed to be used as a front-end although this would be pretty easy to support. It just isn’t my use case.
  • The server uses OpenCV for a super simple vectorization of images and freetype-py to support true type fonts. There are some awesome vectorization algorithms out there and I haven’t spent any time to incorporate them.
  • There are tons of extensions to the software that are possible but, for the moment, it does everything that I want it to do. Having said that I usually constantly noodle on these things and will be adding additional functionality over time. Consider this a good v1.0.
  • If people actually use this, and extend it further, then I’m happy to invest more time in documentation. 🙂

    Jason


    ReplyQuote
    350a26dd49eb55d3494500240423a207?s=80&d=mm&r=g
    (@robotn1)
    Member Admin
    Joined: 6 years ago
    Posts: 744
     

    Great job! testing it now


    ReplyQuote
    Page 1 / 2
    Share: