Yet another frontpage

Moderator: leecollings

caveman85
Posts: 7
Joined: Friday 27 January 2017 15:57
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8153
Location: Netherlands
Contact:

Re: Yet another frontpage

Post 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?
Qxlkdr
Posts: 5
Joined: Friday 14 July 2017 15:34
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Yet another frontpage

Post 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 4455 times
Have anyone else had this problem?

Thanks in advance.
Qxlkdr
Posts: 5
Joined: Friday 14 July 2017 15:34
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Yet another frontpage

Post by Qxlkdr »

No one had the same issue as above, or is the project completely dead?

Thanks in advance.
michaelm86
Posts: 28
Joined: Friday 02 February 2018 11:36
Target OS: Linux
Domoticz version: 3.8153
Location: Netherlands
Contact:

Re: Yet another frontpage

Post 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 3733 times
anyone who can help?
Domoticz 3.8153 on linux laptop ubuntu 17.10 | Toon Thermostat | RFlink usb gateway
PatrickSt91
Posts: 27
Joined: Sunday 31 May 2020 10:01
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Yet another frontpage

Post 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
jeroenkl
Posts: 113
Joined: Sunday 14 July 2013 22:00
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: NL
Contact:

Re: Yet another frontpage

Post 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
PatrickSt91
Posts: 27
Joined: Sunday 31 May 2020 10:01
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Yet another frontpage

Post 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
jeroenkl
Posts: 113
Joined: Sunday 14 July 2013 22:00
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: NL
Contact:

Re: Yet another frontpage

Post 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
PatrickSt91
Posts: 27
Joined: Sunday 31 May 2020 10:01
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Yet another frontpage

Post 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
jeroenkl
Posts: 113
Joined: Sunday 14 July 2013 22:00
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: NL
Contact:

Re: Yet another frontpage

Post 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
jeroenkl
Posts: 113
Joined: Sunday 14 July 2013 22:00
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: NL
Contact:

Re: Yet another frontpage

Post 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!
lukev
Posts: 66
Joined: Friday 21 October 2016 10:42
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Yet another frontpage

Post 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:
PatrickSt91
Posts: 27
Joined: Sunday 31 May 2020 10:01
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Yet another frontpage

Post 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 :)
lukev
Posts: 66
Joined: Friday 21 October 2016 10:42
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Yet another frontpage

Post 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!
step
Posts: 5
Joined: Wednesday 01 November 2017 7:53
Target OS: Linux
Domoticz version: 2020.2
Contact:

Re: Yet another frontpage

Post by step »

Mind re-uploading this? Link's dead again.
PatrickSt91
Posts: 27
Joined: Sunday 31 May 2020 10:01
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Yet another frontpage

Post 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
PatrickSt91
Posts: 27
Joined: Sunday 31 May 2020 10:01
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Yet another frontpage

Post 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
GilbertvH
Posts: 18
Joined: Tuesday 23 June 2020 11:01
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Yet another frontpage

Post by GilbertvH »

Hell yeah! 8-)

Curious about how you implemented your Roomba. I've got a 960 but it doesn't work...
bimse
Posts: 21
Joined: Sunday 05 February 2017 12:09
Target OS: Raspberry Pi / ODroid
Domoticz version: Model 3
Contact:

Re: Yet another frontpage

Post by bimse »

Absolutely interested, nice design
Translated with google
PatrickSt91
Posts: 27
Joined: Sunday 31 May 2020 10:01
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Yet another frontpage

Post 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
Last edited by PatrickSt91 on Tuesday 18 August 2020 9:21, edited 2 times in total.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest