[userModule] Network Presence

Tips, Tricks and Scripts to enhance your home automation and workaround known device bugs, limitations and incompatibilities
Provo
Posts: 112
Joined: 19 Oct 2016 19:54

Re: [userModule] Network Presence

Post by Provo »

It outputs in the normal Z-Way log file. /var/log/z-way-server.log normally.

Try for instance to grep with:

Code: Select all

grep -A 3 "[NetworkPresence]" /var/log/z-way-server.log

Eagle
Posts: 91
Joined: 18 Jun 2017 19:04

Re: [userModule] Network Presence

Post by Eagle »

i tried the grep command you suggested, but this only outputs a usage info for grep.

now i opened the file with nano and im trying to find relevant networkpresence lines, the file is quite big

Provo
Posts: 112
Joined: 19 Oct 2016 19:54

Re: [userModule] Network Presence

Post by Provo »

Eagle wrote:
12 Mar 2018 16:36
i tried the grep command you suggested, but this only outputs a usage info for grep.
That's weird. I see that I forgot to escape the brackets, but it shouldn't output usage info nonetheless. I mean, I'm doing it right now. Are you sure you copied the exact text? Here's the version escaping the brackets:

Code: Select all

grep -A 3 "\[NetworkPresence\]" /var/log/z-way-server.log
Eagle wrote:
12 Mar 2018 16:36
then i tried tail -f /var/log/z-way-server.log
That gives you the end of the file "live" as new entries are made. You can use that method, if it's not being flooded with information so fast you can't pick it out, and either wait for the cron job or you can find the network presence element in the Z-Way UI and click the small time text with the clock icon which should execute a polling of that specific device.

Eagle
Posts: 91
Joined: 18 Jun 2017 19:04

Re: [userModule] Network Presence

Post by Eagle »

i tried grep again:
root@MyCloudPR4100 root # grep -A 3 "\[NetworkPresence\]" /var/log/z-way-server.
log
grep: unrecognized option '--color=auto'
BusyBox v1.27.2 () multi-call binary.

Usage: grep [-HhnlLoqvsriwFE] [-m N] [-A/B/C N] PATTERN/-e PATTERN.../-f FILE [FILE]...

Search for PATTERN in FILEs (or stdin)

-H Add 'filename:' prefix
-h Do not add 'filename:' prefix
-n Add 'line_no:' prefix
-l Show only names of files that match
-L Show only names of files that don't match
-c Show only count of matching lines
-o Show only the matching part of line
-q Quiet. Return 0 if PATTERN is found, 1 otherwise
-v Select non-matching lines
-s Suppress open and read errors
-r Recurse
-i Ignore case
-w Match whole words only
-x Match whole lines only
-F PATTERN is a literal (not regexp)
-E PATTERN is an extended regexp
-m N Match up to N times per file
-A N Print N lines of trailing context
-B N Print N lines of leading context
-C N Same as '-A N -B N'
-e PTRN Pattern to match
-f FILE Read pattern from file
root@MyCloudPR4100 root #

tail -f did not update and the showed lines matched the last lines seen in nano. the last lines of this log are from 2018-03-07?

Is there a chance that my log is full (411961 lines) and now is not updated anymore?

Provo
Posts: 112
Joined: 19 Oct 2016 19:54

Re: [userModule] Network Presence

Post by Provo »

Eagle wrote:
12 Mar 2018 17:06
grep: unrecognized option '--color=auto'
You have an alias for grep that doesn't work on your system. Run "unalias grep" and try again. But note that "unalias" will only have effect for the current session. I'm sure you can find out how to remove it permanently on your system (it could be a number of places).
Eagle wrote:
12 Mar 2018 17:06
Is there a chance that my log is full (411961 lines) and now is not updated anymore?
That seems unlikely. On other Linux systems, it renames the log file in a numbering scheme, creates a new z-way-server.log and keeps logging. I don't know what it does on your system. But you could try to see if any other log files in the same folder are related and looks newer. If not, I'm afraid you will need to ask the Z-Way developers about what is going on there.

renzy986
Posts: 10
Joined: 11 Jun 2020 15:18
Contact:

Re: [userModule] Network Presence

Post by renzy986 »

Our dedication will be to have all the required licenses and licenses to lawfully function as an escort service in Patna, and it is possible to be very sure everything is legal and you won't have any issues if you've got among our escort in Agra right on your hotel room. We're known for our escort service and also, we can supply you with a gorgeous escort within half an hour.
Patna Call Girls
Jaipur Call Girls
Agra Call Girls
Surat Call Girls
Faridabad Call Girls

renzy986
Posts: 10
Joined: 11 Jun 2020 15:18
Contact:

Re: [userModule] Network Presence

Post by renzy986 »

Our Udaipur escorts are getting the wonderful attributes that every customer wants in their own life; therefore, our Udaipur escorts are equally as lovely escorts. Our escorts Udaipur are exceptional, it means if customer utilize our support seems joyful.
Udaipur call girls

renzy986
Posts: 10
Joined: 11 Jun 2020 15:18
Contact:

Re: [userModule] Network Presence

Post by renzy986 »

Our Dehradun escorts service never experienced in this industry but the grade of support people provides the grade of expertise, imply that our service is extremely professional and supply superlative scale of gratification.
Dehradun Escorts
Dehradun Call Girls
Haridwar Escorts
Rishikesh Escorts
Mussoorie Escorts
Ramnagar Escorts
Haldwani Escorts
Nainital Escorts

renzy986
Posts: 10
Joined: 11 Jun 2020 15:18
Contact:

Re: [userModule] Network Presence

Post by renzy986 »

If customer have any sort of desire such as a picture, then no demand to take aggravation, just pick our service and finish any sort of dream. Our Ahmadabad escorts service is quite punctual about time, therefore as time and date customer book our escort.
Ahmedabad Call Girls

renzy986
Posts: 10
Joined: 11 Jun 2020 15:18
Contact:

Re: [userModule] Network Presence

Post by renzy986 »

Walk the roads of Nainital with natural allure of Nainital. Nainital escorts have appealing attributes, classy design and silky-smooth hair which make them ideal for the day. The stunning women align themselves perfectly. The allure of the outcall Nainital escorts can cause you to enthusiast of these and encourage you to invest some time together daily.
Nainital Call Girls
Haldwani Call Girls
Ramnagar Call Girls
Nainital Call Girls
Rudrapur Call Girls
Dehradun Call Girls
Haridwar Call Girls
Rishikesh Call Girls
Mussoorie Call girls

Post Reply