Weekly programming
Moderators: leecollings, remb0
-
- Posts: 79
- Joined: Tuesday 12 December 2017 14:10
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Location: Paris
- Contact:
Re: Weekly programming
Hi opentoideas
Your script seems to be right. Did you download the planning.js file under your js folder?
Have you tried to change the html.cachemanifest file to upgrade to number to force the application cache to refresh (not the same cache of web browser).
Could you try to open the developpement tool (F12 or Ctrl + Alt + i) and go to the console tab to check a javascript error and check javascript files used?
Your script seems to be right. Did you download the planning.js file under your js folder?
Have you tried to change the html.cachemanifest file to upgrade to number to force the application cache to refresh (not the same cache of web browser).
Could you try to open the developpement tool (F12 or Ctrl + Alt + i) and go to the console tab to check a javascript error and check javascript files used?
-
- Posts: 14
- Joined: Friday 02 March 2018 16:31
- Target OS: Windows
- Domoticz version: 3.8153
- Location: Bristol UK
- Contact:
Re: Weekly programming
Hi syrrhus,
thank you for taking the time to check these. yes I have added planning.js to the js folder and planning.css to the css folder
lol and there is the something stupid. thank you that seems to have done it. now i see what the increase number meant
glad it was fixed above as the f12 opened something but i cant tell what version of java
thank you so much for your help with this. will see how i get on now
-
- Posts: 79
- Joined: Tuesday 12 December 2017 14:10
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Location: Paris
- Contact:
Re: Weekly programming
Good news!
This is not easy to know to refresh the application cache on a web browser. Even a Ctrl + F5 doesn't refresh app-cache.
On Chrome, you can erase it with internal url : chrome://appcache-internals/
You will see all AppCache and you just have to delete the domoticz one (your IP+port) to force to reload next time.
Have a nice week-end
This is not easy to know to refresh the application cache on a web browser. Even a Ctrl + F5 doesn't refresh app-cache.
On Chrome, you can erase it with internal url : chrome://appcache-internals/
You will see all AppCache and you just have to delete the domoticz one (your IP+port) to force to reload next time.
Have a nice week-end
-
- Posts: 24
- Joined: Wednesday 26 July 2017 6:41
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Weekly programming
Hello!!
I would like to try using this Plug In, but I need help, I followed the procedure written here:
https://gist.github.com/syrhus/8fbb01fb ... be210993c8
but it does not go anyway, even if there are unclear points for me !! Especially when he tells me
add the path to planning javascript file ", '.. / js / planning'"
define (['app', '.. / js / planning'], function (app) {
where should you add ???
Someone can tell me how to do ???
Thanks 1000
I would like to try using this Plug In, but I need help, I followed the procedure written here:
https://gist.github.com/syrhus/8fbb01fb ... be210993c8
but it does not go anyway, even if there are unclear points for me !! Especially when he tells me
add the path to planning javascript file ", '.. / js / planning'"
define (['app', '.. / js / planning'], function (app) {
where should you add ???
Someone can tell me how to do ???
Thanks 1000
-
- Posts: 79
- Joined: Tuesday 12 December 2017 14:10
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Location: Paris
- Contact:
Re: Weekly programming
Hi grecof973
As I tried to explain, you have to edit domoticz/www/app/UtilityController.js file to change to first line with :
Did you edit this file? Have you been able to see the first line?
Regards
As I tried to explain, you have to edit domoticz/www/app/UtilityController.js file to change to first line with :
Code: Select all
define(['app','../js/planning'], function (app) {
Regards
-
- Posts: 24
- Joined: Wednesday 26 July 2017 6:41
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Weekly programming
YES are able to see the first line .....
so if I understand correctly I have to change what is written with your ?? Quite right
so if I understand correctly I have to change what is written with your ?? Quite right
-
- Posts: 24
- Joined: Wednesday 26 July 2017 6:41
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Weekly programming
I made the changes but in the end I get a slightly strange page
-
- Posts: 108
- Joined: Tuesday 06 February 2018 18:48
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta rel
- Contact:
Re: Weekly programming
Looks like your cache hasn't been cleared.
Did you try with another internet browser?
Did you try with another internet browser?
-
- Posts: 108
- Joined: Tuesday 06 February 2018 18:48
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta rel
- Contact:
Re: Weekly programming
Hello,
I'm using the beta release canal for domoticz and from time to time, the last installed version updates the modified files. It is then a hassle re-updating the files. Any idea to find a trick avoiding this?
I'm using the beta release canal for domoticz and from time to time, the last installed version updates the modified files. It is then a hassle re-updating the files. Any idea to find a trick avoiding this?
-
- Posts: 79
- Joined: Tuesday 12 December 2017 14:10
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Location: Paris
- Contact:
Re: Weekly programming
Hi grecof973
Did you add the planning.css file under the css folder?
Else, as it has already been written, increase the number in the html5.appcache file to force the web navigator the refresh the cache.
Hope this would help you.
Happy easter
Did you add the planning.css file under the css folder?
Else, as it has already been written, increase the number in the html5.appcache file to force the web navigator the refresh the cache.
Code: Select all
CACHE MANIFEST
# ref INCREASE_THIS_NUMBER
Happy easter
-
- Posts: 24
- Joined: Wednesday 26 July 2017 6:41
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Weekly programming
Hello!!
Maybe I've ripped .... It was a problem that I had not updated the CSS files
Now, however, the temperature settings are still missing and still seems not to go .... After I check
For the Browser Cache problem, sometimes you can ovate by opening a New Window in disguise .......
Maybe I've ripped .... It was a problem that I had not updated the CSS files
Now, however, the temperature settings are still missing and still seems not to go .... After I check
For the Browser Cache problem, sometimes you can ovate by opening a New Window in disguise .......
-
- Posts: 6
- Joined: Tuesday 27 February 2018 13:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Weekly programming
-
- Posts: 91
- Joined: Thursday 11 August 2016 12:30
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: IT
- Contact:
Re: Weekly programming
unfortunately I am very busy at the moment ..
in any case, the code can be shared, for sure you will have to make many changes to the code because it is not yet ready to be released to other people (some comments are still in Italian for example, and some functions specific to my devices), but if you want I can share what I did.
in any case, the code can be shared, for sure you will have to make many changes to the code because it is not yet ready to be released to other people (some comments are still in Italian for example, and some functions specific to my devices), but if you want I can share what I did.
-
- Posts: 6
- Joined: Tuesday 27 February 2018 13:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Weekly programming
yes, yes ... i want it, only for my personal use
bigpea wrote: ↑Thursday 05 April 2018 17:30 unfortunately I am very busy at the moment ..
in any case, the code can be shared, for sure you will have to make many changes to the code because it is not yet ready to be released to other people (some comments are still in Italian for example, and some functions specific to my devices), but if you want I can share what I did.
-
- Posts: 6
- Joined: Tuesday 27 February 2018 13:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Weekly programming
HI, please, do you send email .... [email protected] ... italian language ... i have google translator
-
- Posts: 91
- Joined: Thursday 11 August 2016 12:30
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: IT
- Contact:
Re: Weekly programming
hpadmin wrote: ↑Thursday 12 April 2018 6:45 HI, please, do you send email .... [email protected] ... italian language ... i have google translator
ahahahah, I love google translate! file sent.
-
- Posts: 36
- Joined: Monday 26 May 2014 14:54
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Weekly programming
Hi,
I'm trying to implement that and I'm stuck with the files to edit. I cannot find where to add the call to the functions in both UtilityController.js and LightsController.js. There is no RefreshSetpointTimerTable, ShowSetpointTimers, RefreshTimerTable, nor ShowTimers.
I'm under V3.9390.
Thanks.
I'm trying to implement that and I'm stuck with the files to edit. I cannot find where to add the call to the functions in both UtilityController.js and LightsController.js. There is no RefreshSetpointTimerTable, ShowSetpointTimers, RefreshTimerTable, nor ShowTimers.
I'm under V3.9390.
Thanks.
-
- Posts: 36
- Joined: Monday 26 May 2014 14:54
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Weekly programming
That was the beta branch. The master branch does contain the right functions.
Thanks.
Thanks.
-
- Posts: 6
- Joined: Thursday 04 May 2017 13:02
- Target OS: Linux
- Domoticz version: V4.9788
- Contact:
Re: Weekly programming
Hello,
I've updated to latest stable version 4.9700, and to latest beta 4.9788.
How editing domoticz/www/app/UtilityController.js and domoticz/www/app/LightsController.js ?
I don't find "RefreshSetpointTimerTable function" in UtilityController.js, neither RefreshTimerTable or ShowTimers in LightsController.js files
Is "weekly programming" still compatible with latest buid?
Thanks for your help
Olivier
I've updated to latest stable version 4.9700, and to latest beta 4.9788.
How editing domoticz/www/app/UtilityController.js and domoticz/www/app/LightsController.js ?
I don't find "RefreshSetpointTimerTable function" in UtilityController.js, neither RefreshTimerTable or ShowTimers in LightsController.js files
Is "weekly programming" still compatible with latest buid?
Thanks for your help
Olivier
-
- Posts: 36
- Joined: Monday 26 May 2014 14:54
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Weekly programming
Unfortunately, I don't think so. I'm under 4.9701 and those functions do not exist.
Who is online
Users browsing this forum: No registered users and 1 guest