4refr0nt / iot-manager-demo

Demo sketches for IoT Manager https://play.google.com/store/apps/details?id=ru.esp8266.iotmanager
MIT License
66 stars 31 forks source link

no refresh #2

Closed scargill closed 8 years ago

scargill commented 8 years ago

I'm new to IOT Manager so please go easy if I've missed the point.

I have Node-Red sending setup commands - no problem - I have a couple of toggle switches on one page and a couple of water fill gauges on another.

The gauges appear when I send a value (which is odd - I'd have expected them to appear anyway)... and the toggle switches change when I send 1 or 0. So all is well.

But when I flick pages back and forth on the phone (Android HTC ONE M8), the values of the toggle switches stay there, but the water fill guages disappear and only reappear when I send new values to them - yet when you change pages there is no way to inform MQTT that the page has changed - and that you need to send update values.

Am I missing something?

4refr0nt commented 8 years ago

Hi, Pete! I'm glad to see you again! Tell me about IoT Manager version (at now available 1.5.0 stable and 1.5.1 beta) v1.5.1 beta have bug with data refreshing, because in development new option: refresh rate limiter This bug will be fixed in v1.5.1 beta2 (one or two days required)

scargill commented 8 years ago

Hi there

Excellent – I was planning to update my blog (http://tech.scargill.net) on the subject – but with the refresh issue I came to a halt.

Please let me know when the refresh is fixed and I will test it and update my blog with some examples of setting up in Node-Red.

Thanks - Pete (pete@scargill.org)

scargill commented 8 years ago

Also it would be nice if possible of get some kind of MQTT message when you change tabs!

scargill commented 8 years ago

Hi

Right –

So – I have the new version of the APP…. I have a couple of pump switches , a couple of water levels and a couple of thermometers… one of the thermometers is just off screen.

At power up the level meters do not show until you send a value to them – but the switches do show greyed out…

The thermometers also shows at power up… inconsistent, I would have thought the circles for the water level meters would at least show.

So now I have sent values to all and everything is working.

So that is all on one page – then I go into settings – and under VIEW SETTINGS – I select SHOW PAGES TABS and SHOW ALL.

I go back to the main view – the water level indicators have disappeared off the ALL view as have the thermometers.

When I select the other pages – nothing there except for the page with the switches. The level meters and the thermometers have gone.

If I go to the water level pages – and send values – they appear again.

The thermometers however do not re-appear.

If I go from the thermometers page to the water level page – they have once again disappeared.

This incidentally is on a standard HTC ONE M8 with lots of memory and Android 6.0

Pete.

From: Victor Brutskiy [mailto:notifications@github.com] Sent: 22 September 2016 17:21 To: 4refr0nt/iot-manager-demo iot-manager-demo@noreply.github.com Cc: Peter Scargill pete@scargill.org; Author author@noreply.github.com Subject: Re: [4refr0nt/iot-manager-demo] no refresh (#2)

Hi, Piter! I'm glad to see you again! Tell me about IoT Manager version (at now available 1.5.0 stable and 1.5.1 beta) v1.5.1 beta have bug with data refreshing, because in development new option: refresh rate limiter This bug will be fixed in v1.5.1 beta2 (one or two days required)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/4refr0nt/iot-manager-demo/issues/2#issuecomment-248935618 , or mute the thread https://github.com/notifications/unsubscribe-auth/ABzUg0ZYngPLkzjUaJQJZkOp9yTDkZxQks5qspzwgaJpZM4KD6zF .

4refr0nt commented 8 years ago

ok, I'm test all again (with your widgets pack: water levels and thermo ) and send report to you. Can you send me your widgets configs or full scripts?

2016-09-25 22:47 GMT+05:00 Peter Scargill notifications@github.com:

Hi

Right –

So – I have the new version of the APP…. I have a couple of pump switches , a couple of water levels and a couple of thermometers… one of the thermometers is just off screen.

At power up the level meters do not show until you send a value to them – but the switches do show greyed out…

The thermometers also shows at power up… inconsistent, I would have thought the circles for the water level meters would at least show.

So now I have sent values to all and everything is working.

So that is all on one page – then I go into settings – and under VIEW SETTINGS – I select SHOW PAGES TABS and SHOW ALL.

I go back to the main view – the water level indicators have disappeared off the ALL view as have the thermometers.

When I select the other pages – nothing there except for the page with the switches. The level meters and the thermometers have gone.

If I go to the water level pages – and send values – they appear again.

The thermometers however do not re-appear.

If I go from the thermometers page to the water level page – they have once again disappeared.

This incidentally is on a standard HTC ONE M8 with lots of memory and Android 6.0

Pete.

From: Victor Brutskiy [mailto:notifications@github.com] Sent: 22 September 2016 17:21 To: 4refr0nt/iot-manager-demo iot-manager-demo@noreply.github.com Cc: Peter Scargill pete@scargill.org; Author author@noreply.github.com Subject: Re: [4refr0nt/iot-manager-demo] no refresh (#2)

Hi, Piter! I'm glad to see you again! Tell me about IoT Manager version (at now available 1.5.0 stable and 1.5.1 beta) v1.5.1 beta have bug with data refreshing, because in development new option: refresh rate limiter This bug will be fixed in v1.5.1 beta2 (one or two days required)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub < https://github.com/4refr0nt/iot-manager-demo/issues/2# issuecomment-248935618> , or mute the thread https://github.com/ notifications/unsubscribe-auth/ABzUg0ZYngPLkzjUaJQJZkOp9yTDkZ xQks5qspzwgaJpZM4KD6zF .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/4refr0nt/iot-manager-demo/issues/2#issuecomment-249435293, or mute the thread https://github.com/notifications/unsubscribe-auth/AAhn13uEMtfulV15oClSvMeCHD-KotvSks5qtrOVgaJpZM4KD6zF .

С уважением,

Виктор Бруцкий

Администратор esp8266.ru ESPlorer http://esp8266.ru/esplorer/ IoT Manager https://play.google.com/store/apps/details?id=ru.esp8266.iotmanager

4refr0nt commented 8 years ago

fixed