NEW frontpage.html - request comments
Moderator: leecollings
-
- Posts: 402
- Joined: Wednesday 26 February 2014 15:28
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: the Netherlands
- Contact:
Re: NEW frontpage.html - request comments
I have a custom page with the example that is included in Domoticz. This works like a charm.
Now I installed the frontpage of G3rard but I can't get it to work. What more do I have to do than change the user values in "frontpage_settings.js"?
I filled in the correct IP, changed the number of the roomplan (the same I use with the working custom page) and set some idx numbers (also the same like the other custom page). The only thing I get is.
Now I installed the frontpage of G3rard but I can't get it to work. What more do I have to do than change the user values in "frontpage_settings.js"?
I filled in the correct IP, changed the number of the roomplan (the same I use with the working custom page) and set some idx numbers (also the same like the other custom page). The only thing I get is.
- G3rard
- Posts: 669
- Joined: Wednesday 04 March 2015 22:15
- Target OS: -
- Domoticz version: No
- Location: The Netherlands
- Contact:
Re: NEW frontpage.html - request comments
I meant the following line in frontpage_settings.js.Luuc_a wrote: so I only have a up and down button and this is working for blinds with only On/Off status.
and what doe you mean with?I have set the blinds with value Data in frontpage_settings.js, maybe a bit strange but it is working .
Code: Select all
['71','Data', 'cell19', 'Scherm (V)','1','0'],
Not using Domoticz anymore
- G3rard
- Posts: 669
- Joined: Wednesday 04 March 2015 22:15
- Target OS: -
- Domoticz version: No
- Location: The Netherlands
- Contact:
Re: NEW frontpage.html - request comments
Edit: I use the following html code in the template folder to show the frontpage in the menu Custom. That's working fine.roblom wrote:I have a custom page with the example that is included in Domoticz. This works like a charm.
Now I installed the frontpage of G3rard but I can't get it to work. What more do I have to do than change the user values in "frontpage_settings.js"?
I filled in the correct IP, changed the number of the roomplan (the same I use with the working custom page) and set some idx numbers (also the same like the other custom page). The only thing I get is.
I think it's important that the frontpage files and folders are either in the www folder or on a webserver. Then in the HTML code below you can put that page in an i-frame.
Code: Select all
<html>
<head>
<div align="center">
<iframe src="http://<ip>/<folder>/frontpage.html" name="targetframe" allowTransparency="true" scrolling="no" frameborder="0" width="1024" height="750">
</iframe>
</div>
</head>
</html>
Last edited by G3rard on Tuesday 16 June 2015 22:40, edited 1 time in total.
Not using Domoticz anymore
-
- Posts: 20
- Joined: Saturday 21 February 2015 16:32
- Target OS: Windows
- Domoticz version:
- Location: Netherlands
- Contact:
Re: NEW frontpage.html - request comments
Guys,
Is it possible to put a graph (voltage & counter) on the frontpage?
Greetz P.S.Y.C.H.O.T.I.C.
Is it possible to put a graph (voltage & counter) on the frontpage?
Greetz P.S.Y.C.H.O.T.I.C.
-
- Posts: 6
- Joined: Sunday 11 January 2015 19:32
- Target OS: NAS (Synology & others)
- Domoticz version: 2020.1
- Location: Netherlands
- Contact:
Re: NEW frontpage.html - request comments
Another feature request
Display Max and Min temperature of today in one cell. Or is this already possible?
(I must confess that as a happy Frontpage user I have difficulties finding information in this lloonngg thread)
Display Max and Min temperature of today in one cell. Or is this already possible?
(I must confess that as a happy Frontpage user I have difficulties finding information in this lloonngg thread)
Re: NEW frontpage.html - request comments
Guys,
Great topic and nice work. I have been playing around with it on a desktop and looks really nice.
I want to use my old nexus 7 (1280x800) and hang it on the wall, but I can't get the screen size right.
Is there an easy way to set the screen size in frontpage?
Regards
Great topic and nice work. I have been playing around with it on a desktop and looks really nice.
I want to use my old nexus 7 (1280x800) and hang it on the wall, but I can't get the screen size right.
Is there an easy way to set the screen size in frontpage?
Regards
- G3rard
- Posts: 669
- Joined: Wednesday 04 March 2015 22:15
- Target OS: -
- Domoticz version: No
- Location: The Netherlands
- Contact:
Re: NEW frontpage.html - request comments
If you have a webpage with the graph available, then you can add this to the frontpage.html file.PSYCHOTIC wrote:Guys,
Is it possible to put a graph (voltage & counter) on the frontpage?
Greetz P.S.Y.C.H.O.T.I.C.
Not using Domoticz anymore
- G3rard
- Posts: 669
- Joined: Wednesday 04 March 2015 22:15
- Target OS: -
- Domoticz version: No
- Location: The Netherlands
- Contact:
Re: NEW frontpage.html - request comments
Do you have something for the min and max temperature? Because two values in a cell is possible.pimvolkert wrote:Another feature request
Display Max and Min temperature of today in one cell. Or is this already possible?
(I must confess that as a happy Frontpage user I have difficulties finding information in this lloonngg thread)
Not using Domoticz anymore
- G3rard
- Posts: 669
- Joined: Wednesday 04 March 2015 22:15
- Target OS: -
- Domoticz version: No
- Location: The Netherlands
- Contact:
Re: NEW frontpage.html - request comments
I have my frontpage working on my Nexus 7, you can download it from this topic.SweetPants wrote:Guys,
Great topic and nice work. I have been playing around with it on a desktop and looks really nice.
I want to use my old nexus 7 (1280x800) and hang it on the wall, but I can't get the screen size right.
Is there an easy way to set the screen size in frontpage?
Regards
I changed the css a little bit and am using an app to hide the navigation and status bars.
Not using Domoticz anymore
Re: NEW frontpage.html - request comments
Mine is the old Nexus 7 (2012) one (1280 x 800), have tried yours but the bottom row of buttons fels of the screenG3rard wrote:I have my frontpage working on my Nexus 7, you can download it from this topic.
- G3rard
- Posts: 669
- Joined: Wednesday 04 March 2015 22:15
- Target OS: -
- Domoticz version: No
- Location: The Netherlands
- Contact:
Re: NEW frontpage.html - request comments
That's a different resolution indeed than my Nexus 7 from 2013. The CSS is not responsive, so you can either make it responsive (the hard way) or remove some cells (the easy way) so it will fit your screen.SweetPants wrote:Mine is the old Nexus 7 (2012) one (1280 x 800), have tried yours but the bottom row of buttons fels of the screen
Not using Domoticz anymore
-
- Posts: 39
- Joined: Wednesday 31 December 2014 12:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: NEW frontpage.html - request comments
Could you upload your version again,the download link doesn't work any more
Raspberry Pi (3x)
Master Domoticz installed on a Synology
RFXCOM RFXtrx433E USB
RFLink
USB Z-Wave Mini Adapter
Mi-light
QuinLED
Landis+Gyr ZME120ACd
Kamstrup_M401
USB-IR-Schreib-Lesekopf Alecto WS1700
Watermeter with TCRT5000
Kodi
DS18B20
Master Domoticz installed on a Synology
RFXCOM RFXtrx433E USB
RFLink
USB Z-Wave Mini Adapter
Mi-light
QuinLED
Landis+Gyr ZME120ACd
Kamstrup_M401
USB-IR-Schreib-Lesekopf Alecto WS1700
Watermeter with TCRT5000
Kodi
DS18B20
- G3rard
- Posts: 669
- Joined: Wednesday 04 March 2015 22:15
- Target OS: -
- Domoticz version: No
- Location: The Netherlands
- Contact:
Re: NEW frontpage.html - request comments
I have uploaded my frontpage to Githubjossie67 wrote:Could you upload your version again,the download link doesn't work any moreG3rard wrote:Here is the link to my updated frontpage.
http://we.tl/Hl5AoKa7Md
https://github.com/gerard33/frontpage
I am new to Github so let me know if I have to change something.
Not using Domoticz anymore
-
- Posts: 39
- Joined: Wednesday 31 December 2014 12:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: NEW frontpage.html - request comments
ThanksG3rard wrote: I have uploaded my frontpage to Github
https://github.com/gerard33/frontpage
I am new to Github so let me know if I have to change something.
Raspberry Pi (3x)
Master Domoticz installed on a Synology
RFXCOM RFXtrx433E USB
RFLink
USB Z-Wave Mini Adapter
Mi-light
QuinLED
Landis+Gyr ZME120ACd
Kamstrup_M401
USB-IR-Schreib-Lesekopf Alecto WS1700
Watermeter with TCRT5000
Kodi
DS18B20
Master Domoticz installed on a Synology
RFXCOM RFXtrx433E USB
RFLink
USB Z-Wave Mini Adapter
Mi-light
QuinLED
Landis+Gyr ZME120ACd
Kamstrup_M401
USB-IR-Schreib-Lesekopf Alecto WS1700
Watermeter with TCRT5000
Kodi
DS18B20
-
- Posts: 6
- Joined: Sunday 11 January 2015 19:32
- Target OS: NAS (Synology & others)
- Domoticz version: 2020.1
- Location: Netherlands
- Contact:
Re: NEW frontpage.html - request comments
Yes, two values in a cell is a very nice feature and which actually inspired me to my feature request.l And no I do not have a min and max temperature. That is a problem (for me). The min/max temperature is probable not stored and needs to be calculated every so many minutes. Anyone an idea how to do that?G3rard wrote:Do you have something for the min and max temperature? Because two values in a cell is possible.pimvolkert wrote:Another feature request
Display Max and Min temperature of today in one cell. Or is this already possible?
(I must confess that as a happy Frontpage user I have difficulties finding information in this lloonngg thread)
-
- Posts: 625
- Joined: Thursday 02 October 2014 6:36
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.2
- Location: Geleen
- Contact:
Re: NEW frontpage.html - request comments
Easiest way would be a perl or python script that runs continuously and computes min max temps and fills 2 virtual sensors.
-
- Posts: 140
- Joined: Wednesday 17 December 2014 17:30
- Target OS: Linux
- Domoticz version: V3.8650
- Location: Jyväskylä, Finland
- Contact:
Re: NEW frontpage.html - request comments
If it dont need to be fully real time.. For today or last 24 hours this way could work:
What results this kinda json:
Just loop it thru in js and pick min & max temps.
For just today you need to filter out yesterdays values.
EDIT:
It looks like domoticz already calculates that information for monthly graph:
What result is this:
Where last entry "te" is the max and "tm" is min of today.
Code: Select all
http://DOMO_IP:DOMO_PORT/json.htm?type=graph&sensor=temp&idx=TEMP_SENSOR_IDX&range=day
Code: Select all
{
"result" : [
{
"d" : "2015-06-19 09:35",
"hu" : "93",
"te" : 13.0
},
{
"d" : "2015-06-19 09:40",
"hu" : "93",
"te" : 13.0
},
........... Just making it shorter ...........
{
"d" : "2015-06-24 09:30",
"hu" : "95",
"te" : 14.90
},
{
"d" : "2015-06-24 09:35",
"hu" : "95",
"te" : 14.90
}
],
"status" : "OK",
"title" : "Graph temp day"
}
For just today you need to filter out yesterdays values.
EDIT:
It looks like domoticz already calculates that information for monthly graph:
Code: Select all
http://DOMO_IP:DOMO_PORT/json.htm?type=graph&sensor=temp&idx=TEMP_SENSOR_IDX&range=month
Code: Select all
{
"result" : [
{
"d" : "2015-05-24",
"hu" : "73",
"ta" : 10.660,
"te" : 16.40,
"tm" : 5.90
},
........... Just making it shorter ...........
{
"d" : "2015-06-24",
"hu" : "95",
"ta" : 15.17457627118640,
"te" : 15.90,
"tm" : 14.60
}
],
"status" : "OK",
"title" : "Graph temp month"
}
LXC(x64 Ubuntu Xenial), RFXtrx433E, MySensors
- bizziebis
- Posts: 182
- Joined: Saturday 19 October 2013 14:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.8805
- Location: The Netherlands
- Contact:
Re: NEW frontpage.html - request comments
One disadvantage of using the frontpage with a webcam stream enabled:
I can turn wifi off when the screen is off, but then you have to wait a while when you are in front of your tablet and want to switch something on or off..
I can turn wifi off when the screen is off, but then you have to wait a while when you are in front of your tablet and want to switch something on or off..
-
- Posts: 358
- Joined: Tuesday 31 March 2015 22:06
- Target OS: Linux
- Domoticz version: 2024.3
- Location: east netherlands
- Contact:
Re: NEW frontpage.html - request comments
You can make a javascript with a timer/refresh/reload/redirect in it, then it shows only some minutes (or seconds) the webcam frame, and then goes to black (or another iframe/page)bizziebis wrote:One disadvantage of using the frontpage with a webcam stream enabled:
I can turn wifi off when the screen is off, but then you have to wait a while when you are in front of your tablet and want to switch something on or off..
Raspberry / ESP Boards / Relais / Milight / Hue / OTGW / P1 / Xiaomi / RFXCom / RFLink / ZWave / Conbee II / Z2M / MQTT / A lot of scripts and many more..
Software: Linux, Android and Windows
Software: Linux, Android and Windows
-
- Posts: 625
- Joined: Thursday 02 October 2014 6:36
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.2
- Location: Geleen
- Contact:
Re: NEW frontpage.html - request comments
Or use snapshots to regularly update the image in frontpage and start the stream in a popup when you select it.
Who is online
Users browsing this forum: No registered users and 0 guests