FHEM Forum

FHEM => Frontends => Thema gestartet von: nottledim am 28 Januar 2013, 21:21:15

Titel: Setting home page in FHEMWEB
Beitrag von: nottledim am 28 Januar 2013, 21:21:15
Hello,

        Could somebody tell me how to configure what is displayed on the FHEMWEB home page i.e http://<host>/fhem

I have changed all the room name attributes and it all works as expected except that the home page is now blank.  I would like to set it so it shows the same as /fhem?room=xyz but I don't know how to do this.

Many thanks
Titel: Aw: Setting home page in FHEMWEB
Beitrag von: UliM am 28 Januar 2013, 22:25:36
Hi,
you can't change this.
Just set a shortcut-button in your browser and configure it such that it points to your preferred room.
Best, Uli
Titel: Aw: Setting home page in FHEMWEB
Beitrag von: nottledim am 28 Januar 2013, 23:58:14
Zitat von: UliM schrieb am Mo, 28 Januar 2013 21:25Hi,
you can't change this.
Just set a shortcut-button in your browser and configure it such that it points to your preferred room.
Best, Uli

OK, thanks.  But what does it display by default?

Cheers

Titel: Aw: Setting home page in FHEMWEB
Beitrag von: UliM am 29 Januar 2013, 07:48:19
fhem-menu on the left, on the right nothing but the text you state in the 'motd' attribute.
Cheers, Uli
Titel: Aw: Setting home page in FHEMWEB
Beitrag von: nottledim am 29 Januar 2013, 20:38:55
Ah yes!  Now you mention it that's how it used to work. Doh!

Many thanks for your help.

Titel: Aw: Setting home page in FHEMWEB
Beitrag von: brmpfl am 29 Januar 2013, 21:56:03
Maybe this helps:
It's possible to use HTML-Code for motd.
attr global motd <a href="myFhem:8083/fhem">Click me</a>
Titel: Aw: Setting home page in FHEMWEB
Beitrag von: Sturi2011 am 01 Februar 2013, 18:23:56
Hi,

Lösung:

attr global motd <script type="text/javascript">window.location = "/fhem?room=Info"</script>

Gruß Andreas
Titel: Antw:Setting home page in FHEMWEB
Beitrag von: Christian72D am 25 Januar 2017, 13:05:59
Dieser Trick hatte bei mir bis gestern funktioniert, nach einem Update nicht mehr.
Jetzt steht da nur noch "$motd".

Jemand eine Idee was da passiert ist?
Titel: Antw:Setting home page in FHEMWEB
Beitrag von: Mitch am 25 Januar 2017, 13:31:10
why not using defaultRoom?

This is, what I have done. Just setting the attribut defaultRoom to your fhemweb instance.
Titel: Antw:Setting home page in FHEMWEB
Beitrag von: Christian72D am 26 Januar 2017, 09:06:52
Because i did´t know this attribute until yesterday.
Thanks.
Titel: Antw:Setting home page in FHEMWEB
Beitrag von: MB_User am 09 April 2017, 21:37:38
Hi @ll,

Any idea how to set a floorplan as default page? Default room does not work.

Thanks & best regards
MB
Titel: Antw:Aw: Setting home page in FHEMWEB
Beitrag von: minierm am 22 August 2022, 15:45:48
Zitat von: Sturi2011 am 01 Februar 2013, 18:23:56
Hi,

Lösung:

attr global motd <script type="text/javascript">window.location = "/fhem?room=Info"</script>

Gruß Andreas
Funktioniert auch super mit einem Dashboard:
attr global motd <script type="text/javascript">window.location = "/fhem/dashboard/Dash_xxx"</script>