You would have to script it, but this command will convert the date. # date -d @1592562248 Fri 19 Jun 06:24:08 EDT 2020
On Friday, June 19, 2020 at 6:28:10 AM UTC-4, NanoG5Kite wrote: > > Hi Gert, > > then you are further than me the last time and I also did another error > last time, using: > > [[sensor_map]]insteadt of [[sensor_map_extensions]] > > So I have no really good answer for now. But will try also over the weekend. > > What I know so far. The lightning_time is Unix time - so for now/noon > something like : > 1592562248 - for me without further conversion to a normal/understandable > time string not usable... > > Br, Matthias > > > > Am Freitag, 19. Juni 2020 09:53:49 UTC+2 schrieb Gert Andersen: >> >> Hi Matthias >> >> Yes I have the data and data inserted into the DB. But with this setting: >> >> [[sensor_map_extensions]] >> lightning_strike_count = lightning_num >> lightning_distance = lightning >> >> You're missing this information: >> lightning_time >> wh57batt >> >> Because these fields are not mapped to any fields in the DB. So the >> question is, should I extend the DB to include these fields or are there >> any other solution. What have you done? If you have done the mapping which >> types are you then mapping lightning_time and wh57batt to in the weewx.sdb. >> >> I'm using the extended scheme. >> >> Gert >> >> On Friday, June 19, 2020 at 7:28:47 AM UTC+2, NanoG5Kite wrote: >>> >>> Hi Gert, >>> >>> I‘m not sure about the Battery Value, but has your sensor and gw1000 >>> ever detected one strike before? You need this first strike to get all data >>> points. >>> >>> Br, >>> >>> Matthias >>> >>> Am Freitag, 19. Juni 2020 06:42:15 UTC+2 schrieb Gert Andersen: >>>> >>>> Hi >>>> I'm also waiting to the next strike. >>>> >>>> What do you do with the 2 other fields: >>>> lightning_time >>>> wh57batt >>>> >>>> Currently they are not in the database, so have you updated the >>>> database with these fields or just forget them? >>>> >>>> Thanks to Oliver for the help. >>>> >>>> Gert >>>> >>>> >>>> On Saturday, June 6, 2020 at 10:28:48 AM UTC+2, Gert Andersen wrote: >>>>> >>>>> Hi >>>>> >>>>> I get these infos from the log: >>>>> >>>>> INFO user.interceptor: unrecognized parameter lightning_time= >>>>> INFO user.interceptor: unrecognized parameter lightning_num=0 >>>>> INFO user.interceptor: unrecognized parameter lightning= >>>>> INFO user.interceptor: unrecognized parameter wh57batt=5 >>>>> >>>>> I could not see a new version at Github, the latest version include >>>>> wh40 and is 4 month old. Seems to be version 0.53 >>>>> >>>>> Is there a newer version around which include the lightning sensor. >>>>> >>>>> Gert >>>>> >>>> -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/633f6256-5481-4d25-bef7-d3f09f7f750ao%40googlegroups.com.