NEW frontpage.html - request comments

User avatar
havnegata
Posts: 141
Joined: Wednesday 10 September 2014 11:05
Target OS: Raspberry Pi
Domoticz version: V4.10162
Location: Norway
Contact:

Re: NEW frontpage.html - request comments

Post by havnegata » Monday 16 October 2017 17:03

Thanks, that is understandable!

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

Re: NEW frontpage.html - request comments

Post by N1co » Sunday 05 November 2017 23:18

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: 315
Joined: Tuesday 12 August 2014 5:37
Target OS: Raspberry Pi
Domoticz version: V3_8394
Location: Rumbeke,Belgium
Contact:

Re: NEW frontpage.html - request comments

Post by ropske » Monday 19 March 2018 22: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

fennec62
Posts: 53
Joined: Sunday 26 October 2014 23:11
Target OS: Linux
Domoticz version:
Location: france
Contact:

Re: NEW frontpage.html - request comments

Post by fennec62 » Tuesday 20 March 2018 10:14

ropske wrote:
Monday 19 March 2018 22: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: 315
Joined: Tuesday 12 August 2014 5:37
Target OS: Raspberry Pi
Domoticz version: V3_8394
Location: Rumbeke,Belgium
Contact:

Re: NEW frontpage.html - request comments

Post by ropske » Tuesday 20 March 2018 13:12

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

but on safari/edge/chrome it is not working

fennec62
Posts: 53
Joined: Sunday 26 October 2014 23:11
Target OS: Linux
Domoticz version:
Location: france
Contact:

Re: NEW frontpage.html - request comments

Post by fennec62 » Tuesday 20 March 2018 13:18

ropske wrote:
Tuesday 20 March 2018 13: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: 315
Joined: Tuesday 12 August 2014 5:37
Target OS: Raspberry Pi
Domoticz version: V3_8394
Location: Rumbeke,Belgium
Contact:

Re: NEW frontpage.html - request comments

Post by ropske » Tuesday 20 March 2018 19: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

satanasinc
Posts: 33
Joined: Monday 19 October 2015 12:15
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: NEW frontpage.html - request comments

Post by satanasinc » Monday 26 March 2018 14:04

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

Nice. It works great!

Thank you!

Regards

fennec62
Posts: 53
Joined: Sunday 26 October 2014 23:11
Target OS: Linux
Domoticz version:
Location: france
Contact:

Re: NEW frontpage.html - request comments

Post by fennec62 » Monday 02 April 2018 9:43

ropske wrote:
Tuesday 20 March 2018 19: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: 135
Joined: Monday 26 May 2014 10:18
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: NEW frontpage.html - request comments

Post by jadijkstra2000 » Wednesday 11 April 2018 16:32

Domoticz_Display-2.jpg
Domoticz_Display-2.jpg (374.91 KiB) Viewed 1697 times
any thoughts how to get rid of that side bar? :)

jadijkstra2000
Posts: 135
Joined: Monday 26 May 2014 10:18
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: NEW frontpage.html - request comments

Post by jadijkstra2000 » Thursday 12 April 2018 9:53

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: 5
Joined: Friday 06 October 2017 15:36
Target OS: Raspberry Pi
Domoticz version: 3.97
Location: Netherlands
Contact:

Re: NEW frontpage.html - request comments

Post by HilverinkJ » Sunday 03 June 2018 22:47

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: 3
Joined: Wednesday 06 September 2017 22:55
Target OS: Raspberry Pi
Domoticz version: V3.8083+
Location: Almere
Contact:

Re: NEW frontpage.html - request comments

Post by mvrossum » Thursday 21 June 2018 21:33

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, Raspberry Pi en nogal wat z-wave spul.

User avatar
reid60
Posts: 1
Joined: Thursday 08 November 2018 21:14
Target OS: Linux
Domoticz version:
Contact:

Re: NEW frontpage.html - request comments

Post by reid60 » Saturday 10 November 2018 16:10

bizziebis wrote:
Thursday 05 March 2015 20: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 170 times

Post Reply

Who is online

Users browsing this forum: Mitchie and 0 guests