FHEM Forum

FHEM => English Corner => Thema gestartet von: Mario am 16 Mai 2017, 20:39:14

Titel: Dashboard as default page
Beitrag von: Mario am 16 Mai 2017, 20:39:14
Hello,
I have problem can't set dashbord as defaultroom, I'm defined dashboard named Tablica

below displays almost empty "room" Tablica which only contains link to real Tablica
define Tablica dashboard
attr   Tablica room Tablica
attr    WEB defaultRoom Tablica

and below display blank page
define Tablica dashboard
attr   Tablica room ro_Tablica
attr    WEB defaultRoom ro_Tablica

is it possbile to set start/default page to dashboard page ?
Titel: Antw:Dashboard as default page
Beitrag von: moskito am 16 Mai 2017, 22:25:47
Hi,

the main problem is: Dashboard is not a room, and the attribute "defaultroom" won´t work.

Call the Dashboard/Tablica with your browser and if you see what you would like to see, bookmark the URL, and recall this one next time.

so  long

Danny
Titel: Antw:Dashboard as default page
Beitrag von: Mario am 17 Mai 2017, 10:55:27
thanks for answer => so it is imposible to set dashboard as starting/default page
yes, entering detailed url to dashboard or creating bookmark will of course workaround this but this is not real solution..
Titel: Antw:Dashboard as default page
Beitrag von: Wuppi68 am 17 Mai 2017, 11:00:08
just a thought ...

you can include a stylesheet with on load trigger an reload the dashboard

btw. never did it before :-)
Titel: Antw:Dashboard as default page
Beitrag von: Mario am 17 Mai 2017, 12:06:42
I'm not css coder so this is innovative idea for me :) but thanks maybe in future will css use this for something

BTW is there way/example/modification fhem default web page to to achieve functionality:
left web page panel (column with Rooms names, etc.), to be hidden by default after load.
Then would be expandable on user swipe "it" to left

(I like my current layout only left panel doesn't looks good on my mobile)
Titel: Antw:Dashboard as default page
Beitrag von: isy am 17 Mai 2017, 22:17:56
Hi, on my iPhone for example, I set port 8084 to darksmallscreen

define WEBphone FHEMWEB 8084 global
attr WEBphone stylesheetPrefix darksmallscreen


Menu shows at the top of the screen.