• 10 dec 2017: forum version update. In case of issues use this topic.
  • 30 nov 2017: pilight moved servers. In case of issues use this topic.
Hello There, Guest! Login Register


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Solved] Time Stamp Information
#1
pilight-development was sending the timestamp information via the web interface. I have used this information in the past to analyse connection problems. This information is currently not available. Can it be re-added ? In addition it would be beneficial if this information is made available in order to diagnose the actuality of the information displayed and to detect outdated information.

pilight-development:
Code:
[{"type":8,"devices":["zeit"],"values":{"timestamp":1457132128,"dst":0,"second":28,"minute":55,"hour":23,"weekday":6,"day":4,"month":3,"year":2016}},
{"type":14,"devices":["IPcheckTV"],"values":{"timestamp":0,"state":"connected"}},
{"type":1,"devices":["TVState"],"values":{"timestamp":0,"state":"off"}},
{"type":3,"devices":["TH_A"],"values":{"timestamp":1457132126,"battery":1,"humidity":66.00,"temperature":10.16}}]

pilight-rewrite:
Code:
[{"type":8,"devices":["zeit"],"values":{"dst":0,"second":2,"minute":30,"hour":23,"weekday":6,"day":4,"month":3,"year":2016}},
{"type":14,"devices":["IPcheckTV"],"values":{"poll-interval":60,"state":"connected"}},
{"type":1,"devices":["TVState"],"values":{"state":"off"}},
{"type":3,"devices":["TH_A"],"values":{"battery":1,"humidity":66.00,"temperature":10.22}}]
 
Reply
#2
That information is still there, but you need to add ?internal behind the url:
Code:
http://x.x.x.x/config?internal
Didn't you need to do that before?
 
Reply
#3
(03-05-2016, 01:19 PM)curlymo Wrote: Didn't you need to do that before?
No, IIRC the timestamp was always shown in pilight-receive.
 
Reply
#4
wo_rasp was talking about the config from the web right? Will look into the received codes.
 
Reply
#5
Okay, Thanks - does work.
No, just x.x.x.x:5001/values was sufficiant.
In the meantime i have added a set of rules, monitoring the incoming events and updating labels on the GUI.
 
Reply
#6
I checked. The timestamp was not communicated in pilight-receive.
 
Reply
  


Possibly Related Threads...
Thread Author Replies Views Last Post
  Sunrise and daylight saving time issue apartmedia 21 3,029 04-22-2018, 07:44 PM
Last Post: curlymo
Bug Full cpu usage after random time andiwand 4 2,061 05-01-2016, 09:05 PM
Last Post: andiwand
  [Solved] openSUSE 13.2 "pilight-daemon -H" segfault pilino1234 2 1,832 04-22-2016, 08:39 AM
Last Post: pilino1234
Bug [Solved] no gpio-platform configured koos147 5 7,700 04-20-2016, 08:01 PM
Last Post: ksmedts
  [Solved] First transmission causes full cpu usage andiwand 11 4,354 04-19-2016, 06:16 AM
Last Post: curlymo
  [Solved] Compilation error under openSUSE pilino1234 4 2,092 04-16-2016, 08:23 AM
Last Post: pilino1234
  [Solved] pilight-receive fills log with empty DEBUG messages pilino1234 1 1,559 04-12-2016, 07:29 PM
Last Post: curlymo
  [Solved] wiringX initialisation error ksmedts 6 4,268 04-11-2016, 08:06 PM
Last Post: ksmedts
  [Solved] Crash on invalid config.json syntax pilino1234 10 4,752 04-01-2016, 05:40 PM
Last Post: curlymo
  Time based calculations wo_rasp 7 2,615 03-19-2016, 01:28 AM
Last Post: wo_rasp

Forum Jump:


Browsing: 1 Guest(s)