Freeboard / freeboard

A damn-sexy, open source real-time dashboard builder for IOT and other web mashups. A free open-source alternative to Geckoboard.
http://freeboard.io
MIT License
6.43k stars 1.2k forks source link

widgets not updating... #71

Closed dentex closed 9 years ago

dentex commented 9 years ago

...except for one only. I double checked, only one widget auto-updates when I POST data to Dweet.io. Dweet.io is the only method I'm using to push data, right now.

(Address: https://freeboard.io/board/BnehvC)

*) If I'm logged in and click on the "update" button in the datasources panel from the settings, widgets' values get updated.

*) If I'm not logged in freeboard:

[all the above, except for one only widget: night-leds-level, if it matters. I'm wondering what does it have to be so special... :) ]

Thanks.

dentex commented 9 years ago

Hello again. Any news?

Thanks.

dentex commented 9 years ago

I tried running a local version of freeboard, after cloning it on my laptop. This time the only widget auto updating it's another one, different from the online version linked above...

bugvish commented 9 years ago

Hi Dentex,

The data being sent by to Dweet by your Thing does not seem to be sending very often. I'm looking at it right now, and it hasn't Dweeted for over 18 minutes...are you expecting more frequent updates? If so, it may be a problem in your device code that is responsible for the POST to Dweet.

Vishal

On Mon, Nov 24, 2014 at 9:41 AM, dentex notifications@github.com wrote:

Hello again. Any news? Thanks.

— Reply to this email directly or view it on GitHub https://github.com/Freeboard/freeboard/issues/71#issuecomment-64222405.

dentex commented 9 years ago

Hello! Sorry if it was not very clear. Before making my real thing dweeting, I was running some tests, just to see how all it works. So I had my freeboard.io/board/BnehvC running and configured, and I was dweeting in the meantime from another browser. This is when I was experiencing no updates (apart from one widget, that works in real-time; while the others never update, also after some minutes). To update, I needed to manually hit the "recycle" icon into settings.

bugvish commented 9 years ago

Hi Dentex,

I'd be happy to help, would just need a bit more specific behaviour you were observing e.g. which widget was updating, what/how you were dweeting (I'm assuming you were Dweeting from the dweet.io/play page?), did your dweet POST get a response from Dweet that it was successful?

Thanks, Vish

On Mon, Nov 24, 2014 at 11:46 AM, dentex notifications@github.com wrote:

Hello! Sorry if it was not very clear. Before making my real thing dweeting, I was running some tests, just to see how all it works. So I had my freeboard.io/board/BnehvC http://freeboard.io/board/BnehvC running and configured, and I was dweeting in the meantime from another browser. This is when I was experiencing no updates (apart from one widget). To update, I needed to manually hit the "recycle" icon into settings.

— Reply to this email directly or view it on GitHub https://github.com/Freeboard/freeboard/issues/71#issuecomment-64242527.

dentex commented 9 years ago

Hey, thanks. The only widget updating on https://freeboard.io/board/BnehvC was "led-lights-level" I was dweeting i.e. https://dweet.io/dweet/for/piac?cpu-temp=32 and receiving responses as

{"this":"succeeded","by":"dweeting","the":"dweet","with":{"thing":"piac","created":"2014-11-24T18:57:04.128Z","content":{"cpu-temp":32}}}

every time.

bugvish commented 9 years ago

Try using this board (click Clone in the bottom right to have it saved into your account and enable editing): https://freeboard.io/board/bsdbzD

You only need to create one Dweet Datasource per Thing. Then, when you are creating a widget, click the '+Datasources' button in the Value section, and you'll see a dropdown of the different data keys that are coming in (ie: 'cpu-temp'; 'water-temp', etc).

Let me know if the new board is working for you - I believe having multiple datasources for the same Dweet Thing is what was causing the confusion.

Cheers, Vish

On Mon, Nov 24, 2014 at 11:59 AM, dentex notifications@github.com wrote:

Hey, thanks. The only widget updating on https://freeboard.io/board/BnehvC was "led-lights-level" I was dweeting i.e. https://dweet.io/dweet/for/piac?cpu-temp=32 https://dweet.io/dweet/for/piac?cpu-temp=32 and receiving responses as

{"this":"succeeded","by":"dweeting","the":"dweet","with":{"thing":"piac","created":"2014-11-24T18:57:04.128Z","content":{"cpu-temp":32}}}

every time.

— Reply to this email directly or view it on GitHub https://github.com/Freeboard/freeboard/issues/71#issuecomment-64244413.

dentex commented 9 years ago

Well, thanks, now I understand...

I just tried on my phone and it works. Now I'm on the go, but I'll see ASAP from my PC.

dentex commented 9 years ago

Dashboard cloned. It works like a charm. Thank you very much! My Pi Aquarium Controller will happily dweet to my freeboard! Yeah.

bugvish commented 9 years ago

Dentex, would you mind sharing your new Dashboard? Email me at vish AT buglabs DOT net