OpenSprinkler › Forums › OpenSprinkler Unified Firmware › log problem
- This topic has 7 replies, 4 voices, and was last updated 8 years, 2 months ago by Phil Maron.
-
AuthorPosts
-
May 25, 2016 at 12:59 am #42621
ferenc.nemethParticipanthi
when i would like to view logs, there are no entries found. The bottom of the page, there is a line that shows this mornig NORMAL program ran.
The latest firmware is on the device 2.1.6 I tried clear logs but nothing cahnged. Can you help me?best regards
feri
May 27, 2016 at 10:15 pm #42654
RayKeymasterWhich version of OpenSprinkler hardware do you have? Note that log requires microSD card, and microSD card is only included by default for OS 2.3. If you have an earlier version of OpenSprinkler, you need to insert a microSD card yourself. It’s located under the LCD close to the top edge of the board.
June 8, 2016 at 9:57 pm #42904
Phil MaronParticipantHi Ray. I am having this exact same problem. I have occasionally seen log enties for a short time after a station or program has run but the next time I look the entries have gone. It looks like the log is resetting periodically. My hardware is 2.3-AC with firmware version 2.1.6. This morning I removed the SD card and had a look at it but only found files in the log directory which have a create date somewhere in the year 2000. I have tried resetting the OS device and importing my config with no improvement. I have also tried disabling and re-enabling logging but the problem persists. I’m not sure it has any bearing but I am connecting to OS with Homeseer HS3 using their Opensprinkler plugin. I just thought it was worth mentioning even if I am not using Homeseer at this stage for any control. I have tried using Firefox, Microsoft Edge and Internet Explorer as my browser and clearing any caches but this has no effect.
Any idea what could be causing this?
June 11, 2016 at 9:06 am #42936
RayKeymasterThe only way log would be resetting wold be deleting the log explicitly. Even resetting the device wouldn’t automatically delete the log. I think the creation time doesn’t really matter because unlike a Linux system, OS is an embedded server and I think the SD card library doesn’t use the current time stamp when writing a file. However, the file name indicates the day the file was written. It’s the epoch time divided by 86400 — for example, today (June 11, 2016)’s time stamp is 16963, and the log file generated today would be under name 16963.
When you check log, it defaults to show only the past few days of log records. If you want to change to a longer period you need to set the time period.
June 11, 2016 at 4:24 pm #42949
Phil MaronParticipantThanks Ray. Given what you’re saying it definitely seems to me that there is some kind of bug or issue with OS. The date range I use seems not to make any difference at all. It just says that there are no entries in the selected date range. Is there anything I could try to see what is going on?
June 14, 2016 at 5:14 pm #43005
Phil MaronParticipantI have now logged a support ticket for this issue.
November 1, 2016 at 3:07 pm #44449
SteveParticipantPhil/Ray, did you ever resolve this? I’m having the same issue on same hardware and firmware.
–Steve
November 2, 2016 at 8:48 pm #44458
Phil MaronParticipantSteve,
This was resolved by replacing the memory card. I have no idea whay the original one no longer worked but once the new one was installed all of the issues disappeared.
Cheers,Phil
-
AuthorPosts
- You must be logged in to reply to this topic.
OpenSprinkler › Forums › OpenSprinkler Unified Firmware › log problem