dashticz: Important Request

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: IMPORTANT REQUEST!!!

Post by robgeerts »

Ok, i had to remove the scripts from my server.
In the attachment a zip with the files.
You can just upload it to a server with PHP and change the url in Dashticz.

Look through the scripts, I NEVER SAVED ANY OF YOUR DATA.
I DONT CARE ABOUT YOUR DATA!

It was done because the parsing of some external webservices made the dashboard slower.
Also, some webservice for the garbage-calendars for example, have different arrays of data they return, I wanted it to be returned in one way so the script in Dashticz could be the same for every garbage-collector.

Anyway, use it if you want and dont use if you dont want.
I did this as a hobby project and indeed, charged nothing for it.
Attachments
dashticz.zip
(22.49 KiB) Downloaded 194 times
EastXIII
Posts: 29
Joined: Monday 08 October 2018 13:56
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Re: IMPORTANT REQUEST!!!

Post by EastXIII »

So could I set up a server on the Pi which hosts Domoticz/Dashticz to? I’m not familiar with this.

I do really appreciate the effort everybody, especially Rob, have put in Dashticz and Garbage & OV.

For me Garbage and OV are important so I would like to be up and running soon... Tips are very much appreciated!
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: IMPORTANT REQUEST!!!

Post by EdwinK »

robgeerts wrote: Thursday 18 October 2018 14:59 Ok, i had to remove the scripts from my server.
In the attachment a zip with the files.
You can just upload it to a server with PHP and change the url in Dashticz.
Change it CUSTOM.js, or one of the other files? Could you tell us a bit more. I like this dashboard, and want to keep running it but can't figure where to change the url
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: IMPORTANT REQUEST!!!

Post by EdwinK »

robgeerts wrote: Thursday 18 October 2018 14:59

I did this as a hobby project and indeed, charged nothing for it.
Thanks again for this project. I like it, and hope it will stays developed for a long time.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
Lokonli
Posts: 2260
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: IMPORTANT REQUEST!!!

Post by Lokonli »

Thanks for all the work Rob!

I think it should be possible to translate the functionality to js and merge it into Dashticz itself.
There are 4 modules: afval, ical, tv and ov.
I will create 4 issues on github so we can split up the work and follow the implementation progress.
User avatar
gielie
Posts: 290
Joined: Tuesday 12 January 2016 11:40
Target OS: Raspberry Pi / ODroid
Domoticz version: latest β
Location: The Netherlands (Alkmaar)
Contact:

Re: IMPORTANT REQUEST!!!

Post by gielie »

Is this the reason why my garbage and iCal not working anymore?
- Aeon Labs USB Stick met Z-wave plus
- Aeotec MultiSensor 6
- FIBARO FGS223
- FIBARO FGWPE Wall Plug
- Neo CoolCam Power plug
- Popp Smoke Detector
- Toon
- Kodi Media Server
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: IMPORTANT REQUEST!!!

Post by robgeerts »

gielie wrote: Thursday 18 October 2018 21:26 Is this the reason why my garbage and iCal not working anymore?
Yes, sorry about that but my server was crashing constantly due to all the requests.
It is better to ost the files in the zip yourself...
EastXIII
Posts: 29
Joined: Monday 08 October 2018 13:56
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Re: IMPORTANT REQUEST!!!

Post by EastXIII »

robgeerts wrote:
gielie wrote: Thursday 18 October 2018 21:26 Is this the reason why my garbage and iCal not working anymore?
Yes, sorry about that but my server was crashing constantly due to all the requests.
It is better to ost the files in the zip yourself...
How do I do this?
User avatar
gielie
Posts: 290
Joined: Tuesday 12 January 2016 11:40
Target OS: Raspberry Pi / ODroid
Domoticz version: latest β
Location: The Netherlands (Alkmaar)
Contact:

Re: IMPORTANT REQUEST!!!

Post by gielie »

robgeerts wrote: Thursday 18 October 2018 21:45
gielie wrote: Thursday 18 October 2018 21:26 Is this the reason why my garbage and iCal not working anymore?
Yes, sorry about that but my server was crashing constantly due to all the requests.
It is better to ost the files in the zip yourself...
Hi Rob,

Not a problem and many thanks for all the hard work.
Is it possible to create an how to for this?
Or should we wait untill it is reprogrammed to a js function?
- Aeon Labs USB Stick met Z-wave plus
- Aeotec MultiSensor 6
- FIBARO FGS223
- FIBARO FGWPE Wall Plug
- Neo CoolCam Power plug
- Popp Smoke Detector
- Toon
- Kodi Media Server
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: IMPORTANT REQUEST!!!

Post by EdwinK »

Lokonli wrote: Thursday 18 October 2018 21:15 Thanks for all the work Rob!

I think it should be possible to translate the functionality to js and merge it into Dashticz itself.
There are 4 modules: afval, ical, tv and ov.
I will create 4 issues on github so we can split up the work and follow the implementation progress.
i would give you a 'thumbs up' (and to the other developers here too), if this could be done ;) unfortunately, we can't give 'thumbs' or 'likes' here.
th.png
th.png (35.37 KiB) Viewed 1568 times
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
Derik
Posts: 1601
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: IMPORTANT REQUEST!!!

Post by Derik »

i got this cookie ss hit here.. when i try to download..
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
lightmanster
Posts: 4
Joined: Friday 12 January 2018 14:31
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Re: IMPORTANT REQUEST!!!

Post by lightmanster »

HI Rob

Thanks for the scripts and all the time we could use your server.
Youve said "You can just upload it to a server with PHP and change the url in Dashticz."

I have put the scripts at a server, but need more info what url to change in dashticz

Could you give us some info
THx
moses123
Posts: 18
Joined: Thursday 06 September 2018 11:50
Target OS: Raspberry Pi / ODroid
Domoticz version: latest b
Contact:

Re: IMPORTANT REQUEST!!!

Post by moses123 »

There is no need to change any url.

If you host dashticz yourself with apache or lighttp, you only have to change this in your settings file:

Code: Select all

config['calendar_parse_localy']=true;
If you use the beta branch, the files form the zip are already there.
And you have to enable php on your server.

Regards,
Moses123
lightmanster
Posts: 4
Joined: Friday 12 January 2018 14:31
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Re: IMPORTANT REQUEST!!!

Post by lightmanster »

HI

If you want to host it outside. change :

/home/pi/domoticz/dashticz_v2/js

calendar.js around line 60

if (settings['calendar_parse_localy']){
curUrl = './vendor/dashticz/ical/?time=' + cache + '&url=' + curUrl;
} else {
curUrl = 'https://dashticz.nl/ical/?time=' + cache + '&url=' + curUrl;
}


change curUrl = 'https://dashticz.nl/ical/?time=' + cache + '&url=' + curUrl;

In your own url.

also add:
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin "*"
</IfModule>

to your webserver config if you get Access-Control_allow-origin error

Kind regards
LM
Derik
Posts: 1601
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: IMPORTANT REQUEST!!!

Post by Derik »

dear all..
In domoticz there is a webserver running think?
Can whe use thatone?
Or?
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
User avatar
gielie
Posts: 290
Joined: Tuesday 12 January 2016 11:40
Target OS: Raspberry Pi / ODroid
Domoticz version: latest β
Location: The Netherlands (Alkmaar)
Contact:

Re: IMPORTANT REQUEST!!!

Post by gielie »

I tried both options from above;
config['calendar_parse_localy']=true and checked if the filers are in the right place, yes.
and the second one with the file on a external server (synology)

but both options are not working for me, on both machines apache is running.

Is it an option to change this is the next update?
- Aeon Labs USB Stick met Z-wave plus
- Aeotec MultiSensor 6
- FIBARO FGS223
- FIBARO FGWPE Wall Plug
- Neo CoolCam Power plug
- Popp Smoke Detector
- Toon
- Kodi Media Server
moses123
Posts: 18
Joined: Thursday 06 September 2018 11:50
Target OS: Raspberry Pi / ODroid
Domoticz version: latest b
Contact:

Re: IMPORTANT REQUEST!!!

Post by moses123 »

The domoticzs server did not work for me.

Just installed lighttp on my raspi, additionaly to domoticz. Configured lighttp to run php (use google). Copied dashticz to the www directory of lighttp.
Configured lighttp to serve on port 8090.
Now i have domoticz on 8080 and dashticz on 8090.

Moses123
Derik
Posts: 1601
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: IMPORTANT REQUEST!!!

Post by Derik »

moses123 wrote: Friday 19 October 2018 14:57 The domoticzs server did not work for me.

Just installed lighttp on my raspi, additionaly to domoticz. Configured lighttp to run php (use google). Copied dashticz to the www directory of lighttp.
Configured lighttp to serve on port 8090.
Now i have domoticz on 8080 and dashticz on 8090.

Moses123
Do you have a simple how to? With cli ?
And do you have longfonds and the other options also running?
Can i run this also on other RP1? like a slave with Domoticz...
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
User avatar
EdddieN
Posts: 510
Joined: Wednesday 16 November 2016 11:31
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Location: Scotland
Contact:

Re: IMPORTANT REQUEST!!!

Post by EdddieN »

robgeerts wrote: Thursday 18 October 2018 21:45
gielie wrote: Thursday 18 October 2018 21:26 Is this the reason why my garbage and iCal not working anymore?
Yes, sorry about that but my server was crashing constantly due to all the requests.
It is better to ost the files in the zip yourself...
Maybe a bit late to the party... I have some spare power, not huge though...
Like the other, I rather run things locally but I'm also happy to help the community if required, even if it is during the transition only. PM me if you want me to help as I'm not subscribed to this thread.
11101101 - www.machinon.com
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: IMPORTANT REQUEST!!!

Post by EdwinK »

gielie wrote: Friday 19 October 2018 14:25 I tried both options from above;
config['calendar_parse_localy']=true and checked if the filers are in the right place, yes.
and the second one with the file on a external server (synology)
Tried both options as well on my Synology
but both options are not working for me, on both machines apache is running.

Is it an option to change this is the next update?
I hope so too. I really want to keep this dashboard running and use the powers of my NAS, but I really hope there will be an easier way to fix this.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest