Forum Replies Created
-
AuthorPosts
-
JohnDBParticipantThe zip file above is still the latest from me as I have not looked at it for some time. Obviously you have to implement the patches build both the firmware and the application (I only ever built the app for Android) which make it difficult.
If I get a chance I will revisit the changes but I am find the spare time hard to come by these days.
@vk6
While they would be nice to have I don’t like your chances as some of the requests are specific to WA so implementing on a device that is global doesn’t make sense. If I do get a chance to look at it again I may add day and/or time but even that given my limitations probably won’t happen. Ray also would need to accept any changes specially from the web server side unless people are self hosting or using a patched app.
JohnDBParticipantCurrently month only granuality as that is what the local authorities want. It probably wouldn’t be to difficult to change that to a particular start/stop day just more head scratching on my part.
I’ve created two four bit fields in structure programStruct in program.h as the range for both should be between 0 – 12. 0 for none and 1 to 12 Jan – Dec then added a check in check_day_match function in program.cpp. These are the only two changes that I have made to the main functionality the rest is for all the json and api stuff.
JohnDBParticipantHi Ray
I added them to the already existing /cp? API as per the following: –
pid=0&v=[3,34,0,[180,0,0,0],[0,900,1200,900,900,900,900,900,0,900,900,0,900,900,0,0],[6,8]]&name=NormalI have added the files below no GIT as yet, I suddenly feel I may have approached this incorrectly and created more problems than solutions. If you feel that this is the incorrect approach give me a high level indication of the approach you would prefer and I will have a look to see if I can implement.
Attachments:
-
AuthorPosts