Page 64 of 66

Re: NEW frontpage.html - request comments

Posted: Sunday 05 November 2017 22:18
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?

Re: NEW frontpage.html - request comments

Posted: Monday 19 March 2018 21:18
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

Re: NEW frontpage.html - request comments

Posted: Tuesday 20 March 2018 9:14
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

Re: NEW frontpage.html - request comments

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

but on safari/edge/chrome it is not working

Re: NEW frontpage.html - request comments

Posted: Tuesday 20 March 2018 12:18
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

Re: NEW frontpage.html - request comments

Posted: Tuesday 20 March 2018 18:38
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

Re: NEW frontpage.html - request comments

Posted: Monday 26 March 2018 14:04
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

Re: NEW frontpage.html - request comments

Posted: Monday 02 April 2018 9:43
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

Re: NEW frontpage.html - request comments

Posted: Wednesday 11 April 2018 16:32
by jadijkstra2000
Domoticz_Display-2.jpg
Domoticz_Display-2.jpg (374.91 KiB) Viewed 7237 times
any thoughts how to get rid of that side bar? :)

Re: NEW frontpage.html - request comments

Posted: Thursday 12 April 2018 9:53
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 :)

Re: NEW frontpage.html - request comments

Posted: Sunday 03 June 2018 22:47
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

Re: NEW frontpage.html - request comments

Posted: Thursday 21 June 2018 21:33
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

Re: NEW frontpage.html - request comments

Posted: Saturday 10 November 2018 15:10
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 5711 times

Re: NEW frontpage.html - request comments

Posted: Sunday 13 January 2019 0:57
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 )

Re: NEW frontpage.html - request comments

Posted: Saturday 16 February 2019 17:16
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,

Re: NEW frontpage.html - request comments

Posted: Monday 02 December 2019 21:50
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

Re: NEW frontpage.html - request comments

Posted: Saturday 14 March 2020 3:17
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 !

Re: NEW frontpage.html - request comments

Posted: Saturday 14 March 2020 9:37
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 ?

Re: NEW frontpage.html - request comments

Posted: Saturday 14 March 2020 12:48
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.

Re: NEW frontpage.html - request comments

Posted: Thursday 26 March 2020 13:41
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?