CraftBeerPI - DashBoard não oculta

Homebrew Talk - Beer, Wine, Mead, & Cider Brewing Discussion Forum

Help Support Homebrew Talk - Beer, Wine, Mead, & Cider Brewing Discussion Forum:

This site may earn a commission from merchant affiliate links, including eBay, Amazon, and others.

EDGAR LOUZANO VERDILE

Well-Known Member
Joined
Dec 29, 2019
Messages
900
Reaction score
474
Location
Sao Paulo
Boa galera!
Alguém tem a solução para os campos da dashboard que não ficam, "ocultos"? Veja a opção na imagem:
dash.jpg

Se a gente vem aqui nas opções e desabilita, conforme imagem abaixo, funciona:
hide.jpg

Resultado:
dash2.jpg

Só que quando reinicia o sistema, os sensores voltam a ser exibidos...
Alguém sabe como fazer com que essa configuração fique salva no sistema? Já tentei alterar permissões de alguns arquivos mas não obtive resultado...
 
Olá Edgar, tudo bem ?

Sobre os sensores parece ser algo que deveria ser de facil correção, porem o projeto do CraftbeerPi não é 100% aberto, dificultando a correção deste "problema", veja, existe um issue aberto na página do projeto sobre este problema:

github.com

"Hide On Dashboard" Not Working · Issue #209 · Manuel83/craftbeerpi
Hi to all. I think this has been asked before, but can't seem to find any answers out there. The temp sensors, actors, etc. that I have "HIDE ON DASHBOARD" keep showing back up in the...
github.com
github.com

github.com

Hide from dashboard.... · Issue #49 · Manuel83/craftbeerpi
Nice to have the chance to choose "Hide from Dashboard" when doing the setup. Had to go through all hardware after setup was finished.
github.com
github.com

Como pode ver, tinha uma forma de "contornar" este problema, assim que achar eu posto aqui...


Achei...

That would be great. Can you help me with a few more keywords for searching? I looked through all craftbeerpi videos on youtube and none reference the index.html or CSS.


Add this to the en of the < head >

<code>
<style>
/*hide on dashboard hack
write the order number of the sensor(s) below between the parentheses,
each line for new sensor)*/
div.col-md-9.col-sm-8 > div:nth-child(2) > div:nth-child(1), /*fisrt actor*/
div.col-md-9.col-sm-8 > div:nth-child(3) > div:nth-child(1), /*fisrt sensor*/
div.col-md-9.col-sm-8 > div:nth-child(3) > div:nth-child(2),
/* div.col-md-9.col-sm-8 > div:nth-child(3) > div:nth-child(3), let this visible */
div.col-md-9.col-sm-8 > div:nth-child(3) > div:nth-child(4),
div.col-md-9.col-sm-8 > div:nth-child(3) > div:nth-child(5), /*5th sensor*/
{
display: none;
}
</style>
</head>
</code>

Fonte: CraftBeerPi - Raspberry Pi Software
 

Latest posts

Back
Top