Page 3 of 5

Re: Yet another frontpage

Posted: Monday 13 February 2017 20:40
by caveman85
[quote="clubeddie"]Solved it, some adjustments in domoticz.js did the trick.
...

I have the same issue with the values (actueelverbruik & totaalverbruik) not updated. Individually they work, but not together.. What am I missing here?

Re: Yet another frontpage

Posted: Friday 14 July 2017 15:43
by Qxlkdr
Hi

Thanks for a nice and cool frontpage.

It's possible to connect to my Domoticz server once I changed the IP to the JSON.htm file. However, I cannot get 0-100% dimmers to work properly. If I dim to like 50% it will snap back to 100%. If I dim to like 20% it dims to 50-60%, see attached picture to be able to understand better.
slider.png
slider.png (3.53 KiB) Viewed 4464 times
Have anyone else had this problem?

Thanks in advance.

Re: Yet another frontpage

Posted: Friday 21 July 2017 19:35
by Qxlkdr
No one had the same issue as above, or is the project completely dead?

Thanks in advance.

Re: Yet another frontpage

Posted: Tuesday 13 February 2018 13:55
by michaelm86
Hi Guys,

Im trying to install this really nice dashboard. but it waiting for something.

i configured the settings.js file with my ip and port of domoticz. and i added my IDX on the "woonkamer lampen" that is the top left switch.
dash2.png
dash2.png (281.98 KiB) Viewed 3742 times
anyone who can help?

Re: Yet another frontpage

Posted: Sunday 31 May 2020 10:12
by PatrickSt91
I've changed this template a bit to work with PHP.

Changelog 05-2020:
- Changed index.html to index.php
- Added ajax.js - for request to domoticz (toggle lightswitch)
- Added domoticz_values.php - to get data from domoticz with json


[UPDATE 06-2020]

Changelog 06-2020:
- HTML Cleanup
- Added inc folder
- inc/main-header.html
- inc/main-sidebar.html
- inc/tab-content.html
- Added custom/favicon folder
- Added js/chart.js

Basic idea was to keep it as simple as possible.

Maybe somebody finds this handy, if someone has anyother nice ideas, i'm all ears.

Download link, file was to big for attachment (7,69 MB)

Image

Cheers,
Patrick

Re: Yet another frontpage

Posted: Sunday 14 June 2020 18:12
by jeroenkl
PatrickSt91 wrote: Sunday 31 May 2020 10:12 I've changed this template a bit to work with PHP.

Changelog 05-2020:
- Changed index.html to index.php
- Added ajax.js - for request to domoticz (toggle lightswitch)
- Added domoticz_values.php - to get data from domoticz with json


[UPDATE 06-2020]

Changelog 06-2020:
- HTML Cleanup
- Added inc folder
- inc/main-header.html
- inc/main-sidebar.html
- inc/tab-content.html
- Added custom/favicon folder
- Added js/chart.js

Basic idea was to keep it as simple as possible.

Maybe somebody finds this handy, if someone has anyother nice ideas, i'm all ears.

Download link, file was to big for attachment (7,69 MB)

Image

Cheers,
Patrick
Hi Patrick,

I didn't get it to work, still getting:
501 Not Implemented
But PHP is running, also tried a different server but no result.

any advice?

BR,
Jeroen

Re: Yet another frontpage

Posted: Tuesday 16 June 2020 11:57
by PatrickSt91
jeroenkl wrote: Sunday 14 June 2020 18:12 Hi Patrick,

I didn't get it to work, still getting:
501 Not Implemented
But PHP is running, also tried a different server but no result.

any advice?

BR,
Jeroen
Hi Jeroen,

How did you setup your enviroment?

Are you using the www folder in Domoticz?

I'm using a standalone webserver NGINX 1.14.2 with PHP 7.3
No additinal addons are required.

Let me know :)

Patrick

Re: Yet another frontpage

Posted: Tuesday 16 June 2020 17:33
by jeroenkl
PatrickSt91 wrote: Tuesday 16 June 2020 11:57
jeroenkl wrote: Sunday 14 June 2020 18:12 Hi Patrick,

I didn't get it to work, still getting:
501 Not Implemented
But PHP is running, also tried a different server but no result.

any advice?

BR,
Jeroen
Hi Jeroen,

How did you setup your enviroment?

Are you using the www folder in Domoticz?

I'm using a standalone webserver NGINX 1.14.2 with PHP 7.3
No additinal addons are required.

Let me know :)

Patrick
Hi Patrick,

Yes I do using the WWW directory and put the files in subdir 'frontpage2', so the URL should be: http://domoticz:port/frontpage2/index.php

Your previous version works fine, put it in 'frontpage' subdir, with URL http://domoticz:port/frontpage/index.html

any advice?

BR,

Jeroen

Re: Yet another frontpage

Posted: Wednesday 17 June 2020 12:00
by PatrickSt91
jeroenkl wrote: Tuesday 16 June 2020 17:33 Hi Patrick,

Yes I do using the WWW directory and put the files in subdir 'frontpage2', so the URL should be: http://domoticz:port/frontpage2/index.php

Your previous version works fine, put it in 'frontpage' subdir, with URL http://domoticz:port/frontpage/index.html

any advice?

BR,

Jeroen
You could try the following.

index.php contains the following line
<?php include('custom/domoticz_values.php'); ?>
you could put that line in comment or delete it for testing.

domoticz_values.php is the file i'm using to get data from domoticz to the frontpage, you could also try to replace domoticz_values.php with the old version you are using.

Because it's in the top it want to load that data before loading index.php.

Let met know.
Patrick

Re: Yet another frontpage

Posted: Wednesday 17 June 2020 20:23
by jeroenkl
Nope, not working.
Not on my NAS as webserver, neither on my domoticz RPi
Both are running PHP and other URL's or working fine.

hmmmm ;-(

BR, Jeroen

Re: Yet another frontpage

Posted: Friday 19 June 2020 16:29
by jeroenkl
jeroenkl wrote: Wednesday 17 June 2020 20:23 Nope, not working.
Not on my NAS as webserver, neither on my domoticz RPi
Both are running PHP and other URL's or working fine.

hmmmm ;-(

BR, Jeroen
Yes working now, ofcourse you need to ensure a proper PHP is running with your webserver...
Thanks for your help Patrick!

Re: Yet another frontpage

Posted: Sunday 28 June 2020 13:04
by lukev
PatrickSt91 wrote: Sunday 31 May 2020 10:12 I've changed this template a bit to work with PHP.

Changelog 05-2020:
- Changed index.html to index.php
- Added ajax.js - for request to domoticz (toggle lightswitch)
- Added domoticz_values.php - to get data from domoticz with json


[UPDATE 06-2020]

Changelog 06-2020:
- HTML Cleanup
- Added inc folder
- inc/main-header.html
- inc/main-sidebar.html
- inc/tab-content.html
- Added custom/favicon folder
- Added js/chart.js

Basic idea was to keep it as simple as possible.

Maybe somebody finds this handy, if someone has anyother nice ideas, i'm all ears.

Download link, file was to big for attachment (7,69 MB)

Image

Cheers,
Patrick
Is it possible to repost the download files? The link doesn't seem to work anymore... :shock:

Re: Yet another frontpage

Posted: Wednesday 01 July 2020 14:43
by PatrickSt91
lukev wrote: Sunday 28 June 2020 13:04 Is it possible to repost the download files? The link doesn't seem to work anymore... :shock:
As requested re-uploaded

I've reuploaded it :)

Re: Yet another frontpage

Posted: Sunday 05 July 2020 22:31
by lukev
PatrickSt91 wrote: Wednesday 01 July 2020 14:43
lukev wrote: Sunday 28 June 2020 13:04 Is it possible to repost the download files? The link doesn't seem to work anymore... :shock:
As requested re-uploaded

I've reuploaded it :)
thanks!

Re: Yet another frontpage

Posted: Wednesday 05 August 2020 12:15
by step
Mind re-uploading this? Link's dead again.

Re: Yet another frontpage

Posted: Wednesday 12 August 2020 18:25
by PatrickSt91
step wrote: Wednesday 05 August 2020 12:15 Mind re-uploading this? Link's dead again.
There you go https://easyupload.io/xthedt

Re: Yet another frontpage

Posted: Wednesday 12 August 2020 20:48
by PatrickSt91
I stopped developing the previous template and started a brand new one.

Image

If anyone wants the template just let me know.

Cheers Patrick

Re: Yet another frontpage

Posted: Thursday 13 August 2020 12:00
by GilbertvH
Hell yeah! 8-)

Curious about how you implemented your Roomba. I've got a 960 but it doesn't work...

Re: Yet another frontpage

Posted: Thursday 13 August 2020 17:27
by bimse
Absolutely interested, nice design

Re: Yet another frontpage

Posted: Friday 14 August 2020 12:05
by PatrickSt91
Template URL https://github.com/PatrickSt1991/Domoti ... master.zip

I got a Roomba 605, that one didn't had WiFi so I had to add a Wemos D1 and make some logic with Arduino and NodeRed, i send my commands with MQTT.

Cheers,
Patrick