NEW frontpage.html - request comments

Moderator: leecollings

N1co
Posts: 8
Joined: Thursday 26 January 2017 15:49
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: NEW frontpage.html - request comments

Post by N1co »

A switch has a 'status'. Power meters have 'usage' for power (W).
But my power meter does not work with 'usage'.
It is an AEOTEC ZW095.

How can i check which variables I can use with this switch to get power on the frontpage?
ropske
Posts: 483
Joined: Tuesday 12 August 2014 5:37
Target OS: Raspberry Pi / ODroid
Domoticz version: V3_8394
Location: Rumbeke,Belgium
Contact:

Re: NEW frontpage.html - request comments

Post by ropske »

Hi, i have been using this frontpage a long time already and its good.
Now i have updated to Domoticz beta V3.9052 and now the frontpage is there, but with empty values.

If i press F12 to see developers screen, i get this error:
xxxxxxxx is blocked due to MIME-type mismatch

Anyone has any idea how this comes and how to solve it?
Thanks
fennec62
Posts: 43
Joined: Sunday 26 October 2014 22:11
Target OS: Linux
Domoticz version:
Location: france
Contact:

Re: NEW frontpage.html - request comments

Post by fennec62 »

ropske wrote: Monday 19 March 2018 21:18 Hi, i have been using this frontpage a long time already and its good.
Now i have updated to Domoticz beta V3.9052 and now the frontpage is there, but with empty values.

If i press F12 to see developers screen, i get this error:
xxxxxxxx is blocked due to MIME-type mismatch

Anyone has any idea how this comes and how to solve it?
Thanks
yes same problem with new browser

since add
//browser support to prevent XSS
416 reply::add_header(&rep, "X-Content-Type-Options", "nosniff");
417 reply::add_header(&rep, "X-XSS-Protection", "1; mode=block");
i have error
[Error] Did not load script at 'http://10.0.0.1:8080/json.htm?type=devi ... 1367358460' because non script MIME types are not allowed when 'X-Content-Type: nosniff' is given.
For the moment i can't fix
ropske
Posts: 483
Joined: Tuesday 12 August 2014 5:37
Target OS: Raspberry Pi / ODroid
Domoticz version: V3_8394
Location: Rumbeke,Belgium
Contact:

Re: NEW frontpage.html - request comments

Post by ropske »

Strange thing is, on Mozilla Firefox on my laptop it is working,

but on safari/edge/chrome it is not working
fennec62
Posts: 43
Joined: Sunday 26 October 2014 22:11
Target OS: Linux
Domoticz version:
Location: france
Contact:

Re: NEW frontpage.html - request comments

Post by fennec62 »

ropske wrote: Tuesday 20 March 2018 12:12 Strange thing is, on Mozilla Firefox on my laptop it is working,

but on safari/edge/chrome it is not working
I thinks your mozilla is not the last version
ropske
Posts: 483
Joined: Tuesday 12 August 2014 5:37
Target OS: Raspberry Pi / ODroid
Domoticz version: V3_8394
Location: Rumbeke,Belgium
Contact:

Re: NEW frontpage.html - request comments

Post by ropske »

It is very strange, because it is not working anymore on our Ipads also (safari) and we didn't update it.

It was working fine 2 days ago, so can it be it has something todo with the Domoticz update to beta V3.9052 ?

my site is not located in de \domoticz\www folder but in \var\www\html\ on my raspberry pi3
satanasinc
Posts: 41
Joined: Monday 19 October 2015 12:15
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Location: Spain
Contact:

Re: NEW frontpage.html - request comments

Post by satanasinc »

Ewaldharmsen wrote: Monday 20 March 2017 18:38 Sure, here are all the files I changed from G3rards designFrontpage.zip
Hi!

Nice. It works great!

Thank you!

Regards
fennec62
Posts: 43
Joined: Sunday 26 October 2014 22:11
Target OS: Linux
Domoticz version:
Location: france
Contact:

Re: NEW frontpage.html - request comments

Post by fennec62 »

ropske wrote: Tuesday 20 March 2018 18:38 It is very strange, because it is not working anymore on our Ipads also (safari) and we didn't update it.

It was working fine 2 days ago, so can it be it has something todo with the Domoticz update to beta V3.9052 ?

my site is not located in de \domoticz\www folder but in \var\www\html\ on my raspberry pi3
me too my site locate in \var\www\html\

If i move in \domoticz\www all is ok

\domoticz\www\monitor\index.html
jadijkstra2000
Posts: 58
Joined: Monday 26 May 2014 10:18
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: NEW frontpage.html - request comments

Post by jadijkstra2000 »

Domoticz_Display-2.jpg
Domoticz_Display-2.jpg (374.91 KiB) Viewed 6558 times
any thoughts how to get rid of that side bar? :)
jadijkstra2000
Posts: 58
Joined: Monday 26 May 2014 10:18
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: NEW frontpage.html - request comments

Post by jadijkstra2000 »

jadijkstra2000 wrote: Wednesday 11 April 2018 16:32 Domoticz_Display-2.jpg

any thoughts how to get rid of that side bar? :)
Solved :)
HilverinkJ
Posts: 10
Joined: Friday 06 October 2017 15:36
Target OS: NAS (Synology & others)
Domoticz version: 2020.2
Location: Netherlands
Contact:

Re: NEW frontpage.html - request comments

Post by HilverinkJ »

Hi,

I'm interested in this frontpage solution. There are to tings i miss.
1e Now it's only possible to add a room number to the code. A great wish from me is the possibility to select rooms from a selection box as it is now possible on the Domoticz Dashboard page, displaying the room structure as defined in Domoticz Roomplan.
2e integration in the custom menu so it is possible to navigate from the standard Domoticz menu to this custom solution.

I'm not a great programmer to solve this by my own, but maybe there's somebody to point me in the right direction.

Regards
Joop
mvrossum
Posts: 6
Joined: Wednesday 06 September 2017 22:55
Target OS: Linux
Domoticz version: V4.10301
Location: Almere
Contact:

Re: NEW frontpage.html - request comments

Post by mvrossum »

Hi Joop,

just use multiple instances of the whole setup, and uniquely rename the files to the room number for example.
frontpage2.html style2.css etc etc

Regards,
Mike
Fibaro HC2, 2 x Raspberry Pi, Xiaomi, Toon, Homey en nogal wat Z-Wave en ZigBee spul.
User avatar
reid60
Posts: 1
Joined: Thursday 08 November 2018 20:14
Target OS: Linux
Domoticz version:
Contact:

Re: NEW frontpage.html - request comments

Post by reid60 »

bizziebis wrote: Thursday 05 March 2015 19:55 Here it is:

frontpage.zip
I made a lot of changes to suit the display size of my tablet. Also some of the tricks to display the "C", "kWh", "W" and "L" will not work for everybody. Changes need to be made acording to the hardware you use. That's not a big problem. Everything you need is supplied by JSON :)

I would advise to only "borrow" the code you like, but not use this frontpage directly. It can give you some nasty side effects.
(Dimmer support is completely broken as far as I know :lol: , I don't use it)

If you need more information about how I did something, feel free to ask. I'll try to explain or adjust it to your needs.
Hello. In advance I will forgive forgiveness for mistakes. I write by means of the translator. I very much had liked your page of registration of 2015. I am a beginner in HTML, though Mia some representation as it works. But I have faced a problem of operation of switches. They don't switch and the sound doesn't occur. In the menu of debugging I see some mistakes, such as "src" isn't defined and "soundManager" isn't defined.
Prompt in what direction to look for a problem.
And perhaps you for several years had had newer version of the page? Thank you in advance for any help.
(domoticz works in virtualbox at ubuntu)
Spoiler: show
Снимок экрана (15).jpg
Снимок экрана (15).jpg (106.67 KiB) Viewed 5032 times
malp
Posts: 10
Joined: Thursday 11 January 2018 8:36
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: NEW frontpage.html - request comments

Post by malp »

thanks for the great stuff :)
Does anyone have a solution to have it worked with https ? (in my cases I don't see any data from domoticz using https )
djsliders
Posts: 4
Joined: Saturday 16 February 2019 17:12
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: NEW frontpage.html - request comments

Post by djsliders »

Siewert308SW wrote: Friday 13 February 2015 14:49
mvveelen wrote:See if you can use my code for it.

Temp. downloadlink here: LINK

In this package are also some unused icons, but also the code for the UP and DOWN buttons to be grey when not used. It's the frontpage I use at the moment. But.....work in progress :D
Thx...

Implanted your stuff to see if it worked on my 7" tablet.
It does popup up and seems like it does work.
Could be my tablet but loading takes a few seconds.
Hi,
I really like the way you created the popup for the security panel.
Could you share your code? It would be really great!
Thank you,
michaelb
Posts: 14
Joined: Wednesday 25 January 2017 19:37
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: NEW frontpage.html - request comments

Post by michaelb »

Hi All,

I love this frontpage! Based on the code from G3rard I've 2 issues:

1) The doorbell doesn't show the popup for the camera (it displays TRINGGG and dims the screen but no popup is shown) and
2) I cannot get the big weather-icons shown (I'd like to see them in cell2_25

Are there any comprehensive instructions available for the above?

Thanks in advance!
Michael
User avatar
domoticzfanman
Posts: 7
Joined: Saturday 14 March 2020 2:19
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10717
Location: Netherlands
Contact:

Re: NEW frontpage.html - request comments

Post by domoticzfanman »

First i want to thank all of the great programmers in this forum. I learned a lot spending hours of reading and trying and used the edited blocks and the knowledge i gathered in this forum to combine it with some own html to make some of my pages for my touchscreen.
Could not have made it without this forum.
Just some screenshots.......

Image


Image


Image

Again Thanks a lot !
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: NEW frontpage.html - request comments

Post by waaren »

domoticzfanman wrote: Saturday 14 March 2020 3:17 Just some screenshots.......
Looks ver nice !!

Is it in any shape or form shareable with other members on this forum ? Maybe even something to create a howto on the wiki ?
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
User avatar
domoticzfanman
Posts: 7
Joined: Saturday 14 March 2020 2:19
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10717
Location: Netherlands
Contact:

Re: NEW frontpage.html - request comments

Post by domoticzfanman »

I just used the file at the top of this post, copied that and changed that into different files. Those edited files or screenblocks i used and placed into my own pure html pages.

Image


Image


Image

The rest is pure html

I am planning to make a blog on my own site how i made this but it wil take some time before its ready.
pcdiks
Posts: 3
Joined: Sunday 24 January 2016 11:35
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: NEW frontpage.html - request comments

Post by pcdiks »

domoticzfanman wrote: Saturday 14 March 2020 3:17 First i want to thank all of the great programmers in this forum. I learned a lot spending hours of reading and trying and used the edited blocks and the knowledge i gathered in this forum to combine it with some own html to make some of my pages for my touchscreen.
Could not have made it without this forum.
Just some screenshots.......

Image


Image


Image

Again Thanks a lot !
Could you post your code to create these pages?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests