Voting resources, early voting, and poll worker information - VOTE. ... Adafruit is open and shipping.
0

Button ON / OFF does not stay active after go out aplication
Moderators: adafruit_support_bill, adafruit

Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
Please be positive and constructive with your questions and comments.

Button ON / OFF does not stay active after go out aplication

by ALUIZIO on Tue Aug 04, 2020 12:53 pm

Please, the button ON / OFF (dashboards) stay active into my application in Adafruit platform but after does not stay active when close profile/dashboards/feed/........and got out Adafruit (my application) and next put path into navigator of my application http://io.adafruit.com/............ the button ON/OFF does not stay active. Why? What do I need make to fixed problem.

ALUIZIO
 
Posts: 7
Joined: Thu Jul 30, 2020 7:32 pm

Re: Button ON / OFF does not stay active after go out aplica

by brubell on Wed Aug 05, 2020 11:15 am

Toggling an on-off button on the dashboard writes a value to a feed. If you visit the feed, you can see the last updated value. When you navigate back to the dashboard, the state of on-off button will be the same as when you toggled it last.

.......and got out Adafruit (my application) and next put path into navigator of my application http://io.adafruit.com/............

Could you explain more? I'm not understanding where you're having trouble and would like to help

brubell
 
Posts: 1043
Joined: Fri Jul 17, 2015 10:33 pm

Re: Button ON / OFF does not stay active after go out aplica

by ALUIZIO on Thu Aug 06, 2020 11:00 am

The button ON / OFF (dashboards) it is active in my application in Adafruit platform(OK) but, does not stay active(stay gray out) when I put in navigator the path to see my application.



ALUIZIO wrote:Please, the button ON / OFF (dashboards) stay active into my application in Adafruit platform but after does not stay active when close profile/dashboards/feed/........and got out Adafruit (my application) and next put path into navigator of my application http://io.adafruit.com/............ the button ON/OFF does not stay active. Why? What do I need make to fixed problem.

ALUIZIO
 
Posts: 7
Joined: Thu Jul 30, 2020 7:32 pm

Re: Button ON / OFF does not stay active after go out aplica

by brubell on Fri Aug 07, 2020 9:39 am

but, does not stay active(stay gray out) when I put in navigator the path to see my application.

I'm not sure what your application is/looks like. Could you attach a screenshot?

brubell
 
Posts: 1043
Joined: Fri Jul 17, 2015 10:33 pm

Re: Button ON / OFF does not stay active after go out aplica

by ALUIZIO on Sat Aug 08, 2020 5:37 pm

adafruit %22monitotramento de ambientes%22 (enviroment monitoring).png
Dashboards application. ON/OFF (gray out) does not active
https://io.adafruit.com/ALUIZIO/dashboards/monitoramento-de-ambientes
adafruit %22monitotramento de ambientes%22 (enviroment monitoring).png (116.08 KiB) Viewed 78 times


Dashboards application. ON/OFF (gray out) does not active in the attachmed file.
When I stay in IO ADAFRUIT Plataform button ON/OFF is OK. When I am inside the Adafruit platform , the ON/OFF button is active (it turns on and off)

Please put in the browser (this link) and you will see ON/OFF (gray out) is not active.
link = https://io.adafruit.com/ALUIZIO/dashboa ... -ambientes.
But I need ON/OFF active when put in the browser the link.

ALUIZIO
 
Posts: 7
Joined: Thu Jul 30, 2020 7:32 pm

Re: Button ON / OFF does not stay active after go out aplica

by brubell on Mon Aug 10, 2020 9:44 am

Ok, I see what the issue is now. Thanks.

If you are viewing someone else's dashboard, you're not able to modify it by moving blocks around, resizing blocks, or adding to the blocks on the page. The blocks (and the dashboard layout) are static and belong to the person who created the dashboard.

Clicking any or input blocks (such as buttons or sliders) on the dashboard will not update the public feeds.

brubell
 
Posts: 1043
Joined: Fri Jul 17, 2015 10:33 pm

Re: Button ON / OFF does not stay active after go out aplica

by ALUIZIO on Mon Aug 10, 2020 2:11 pm

Thank you. Please, How can I leave ON/OFF active when I put the link in the browser?

link = https://io.adafruit.com/ALUIZIO/dashboa ... -ambientes
link = https://io.adafruit.com/ALUIZIO/dashboa ... kiosk=true

Tks

ALUIZIO
 
Posts: 7
Joined: Thu Jul 30, 2020 7:32 pm

Re: Button ON / OFF does not stay active after go out aplica

by brubell on Wed Aug 12, 2020 1:24 pm

The button can not be interacted with when viewed by another user unless you share the feed with them (https://learn.adafruit.com/adafruit-io- ... -2996712-3).

brubell
 
Posts: 1043
Joined: Fri Jul 17, 2015 10:33 pm

Re: Button ON / OFF does not stay active after go out aplica

by ALUIZIO on Tue Aug 25, 2020 5:11 pm

Please, How I make to update the dashboard in "real time" or almost "real time"? The information(data) send every 15 seconds.
I say this because to update the information I have to leave and enter again to update the information.
.

This is the link:
https://io.adafruit.com/ALUIZIO/dashboa ... -ambientes

https://io.adafruit.com/ALUIZIO/dashboa ... kiosk=true
Tks
Aluizio

ALUIZIO
 
Posts: 7
Joined: Thu Jul 30, 2020 7:32 pm

Re: Button ON / OFF does not stay active after go out aplica

by brubell on Wed Aug 26, 2020 11:56 am

I say this because to update the information I have to leave and enter again to update the information..


I am confused here - what information do you need to manually update on the dashboard? Is the web-page not refreshing the gauge values whenever new data is sent to the feeds?

brubell
 
Posts: 1043
Joined: Fri Jul 17, 2015 10:33 pm

Re: Button ON / OFF does not stay active after go out aplica

by ALUIZIO on Wed Aug 26, 2020 1:47 pm

I don't want to manually update the information on the dashboard.

Yes, the web page is update with the feeds but, only when I leave and enter again the web page update with feeds.

I want the information to be updated on the web page automatically.

Problem:
I send the information of the feeds every 15 seconds ok. When I put the link (https://io.adafruit.com/ALUIZIO/dashboa ... -ambientes)
in the browser I enter the page web and the information OK but after 15,20,30.......seconds the information is not updated.
I need activate the link (https://io.adafruit.com/ALUIZIO/dashboa ... -ambientes) again is the information the web page information is update with the new data.

For me to see the update information I repeat the above procedure.
I am sorry if was not clear.

Thank you.

Aluizio

ALUIZIO
 
Posts: 7
Joined: Thu Jul 30, 2020 7:32 pm

Re: Button ON / OFF does not stay active after go out aplica

by jwcooper on Wed Aug 26, 2020 2:46 pm

In order for dashboards to update automatically (realtime updates), you need to be signed in to your account in the browser.

Public dashboards currently do not update automatically, you can refresh the dashboard in order to get the latest updates.

jwcooper
 
Posts: 692
Joined: Tue May 01, 2012 9:08 pm

Re: Button ON / OFF does not stay active after go out aplica

by ALUIZIO on Thu Aug 27, 2020 9:01 am

OK. Thanks for the feedback.

ALUIZIO
 
Posts: 7
Joined: Thu Jul 30, 2020 7:32 pm

Please be positive and constructive with your questions and comments.