Weekly programming

Use this forum to discuss possible implementation of a new feature before opening a ticket.
A developer shall edit the topic title with "[xxx]" where xxx is the id of the accompanying tracker id.
Duplicate posts about the same id. +1 posts are not allowed.
elgarne
Posts: 51
Joined: Monday 26 May 2014 14:54
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Weekly programming

Post by elgarne » Friday 03 August 2018 11:09

Unfortunately, I don't think so. I'm under 4.9701 and those functions do not exist.

syrhus
Posts: 35
Joined: Tuesday 12 December 2017 15:10
Target OS: Raspberry Pi
Domoticz version: 3.8153
Location: Paris
Contact:

Re: Weekly programming

Post by syrhus » Friday 03 August 2018 11:15

Hi,
I didn't work on my domoticz for a while.
I will try to upgrade to the latest version and modify this tool on septembre.

syrhus
Posts: 35
Joined: Tuesday 12 December 2017 15:10
Target OS: Raspberry Pi
Domoticz version: 3.8153
Location: Paris
Contact:

Re: Weekly programming

Post by syrhus » Wednesday 19 September 2018 9:49

Hi
I have updated the source code to work with the latest version v4.9700

https://gist.github.com/syrhus/8fbb01fb ... be210993c8

Regards

elgarne
Posts: 51
Joined: Monday 26 May 2014 14:54
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Weekly programming

Post by elgarne » Thursday 20 September 2018 13:59

I checked two days ago and thought you forgot about it. Merci beaucoup.

syrhus
Posts: 35
Joined: Tuesday 12 December 2017 15:10
Target OS: Raspberry Pi
Domoticz version: 3.8153
Location: Paris
Contact:

Re: Weekly programming

Post by syrhus » Thursday 20 September 2018 14:11

Hi elgarne

You're welcome and thank you for the french reply (are your french?) ;)
I'm working on a new functionality, showing 2 weeks (odd & even) because some people suggest that as they are living with 2 different kind of weeks,1 with child and the other without.

Regards

elgarne
Posts: 51
Joined: Monday 26 May 2014 14:54
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Weekly programming

Post by elgarne » Thursday 20 September 2018 14:59

I'm absolument french and living in Paris (area) ;)
And I'm exactly in the same situation as people asking for odd and even weeks.
I needed to empty the browser cache to have it working.

syrhus
Posts: 35
Joined: Tuesday 12 December 2017 15:10
Target OS: Raspberry Pi
Domoticz version: 3.8153
Location: Paris
Contact:

Re: Weekly programming

Post by syrhus » Thursday 20 September 2018 15:42

Good news, I've updated the code on Github to see Odd&Even week numbers
oddandeven.PNG
oddandeven.PNG (31.23 KiB) Viewed 215 times
planning.css and planning.js file have changed.

Remove the application cache of the web navigator.

Let me know if it is working fine with this new version on 2 weeks (and if it is still working on 1 week)

elgarne
Posts: 51
Joined: Monday 26 May 2014 14:54
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Weekly programming

Post by elgarne » Thursday 20 September 2018 15:46

Seems working fine. Could not find how to empty cache on Safari (the menu command does not seem to work) but using the private mode works fine.

syrhus
Posts: 35
Joined: Tuesday 12 December 2017 15:10
Target OS: Raspberry Pi
Domoticz version: 3.8153
Location: Paris
Contact:

Re: Weekly programming

Post by syrhus » Thursday 20 September 2018 16:00

Great!

You can force to reload all cached files by changing the ref in the html5.appcache file on the www folder

Code: Select all

CACHE MANIFEST

# ref 2

CACHE:
...

Patricen
Posts: 20
Joined: Tuesday 06 February 2018 19:48
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Weekly programming

Post by Patricen » Thursday 20 September 2018 21:55

Hello,

This feature is really great!
What about requesting that it enters in the mainstream of Domoticz source code?

Patrice

garethhowell
Posts: 136
Joined: Tuesday 17 November 2015 22:19
Target OS: Raspberry Pi
Domoticz version: 3.9317
Location: St Neots, UK
Contact:

Re: Weekly programming

Post by garethhowell » Wednesday 10 October 2018 18:43

I'm obviously not getting something here.

I'm running 4.9700. I've downloaded the latest from github, copied the files to the necessary places and updated html5.appcache to force the browser cache to update. However, I see no change in the UI. I just see the original timer screen. I even tried restarting the domoticz service.

I see no errors in the console, but I also don't see the new js file.

One thing, despite having added new css and js files, there is no instruction to add them to the appcache. I take it this means they don't get cached.

Gareth

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests