[weewx-user] Re: Interceptor and WH57 Lightning sensor from Ecowitt

2020-06-28 Thread Vetti52
Am Saturday, 6. June 2020 11:48:05 UTC+2 NanoG5Kite wrote: > > > > > https://github.com/matthewwall/weewx-interceptor/pull/64/commits/00bdecdc1822d7deaa7c41f20dfc4c30a349936d > > > >

[weewx-user] Re: Interceptor and WH57 Lightning sensor from Ecowitt

2020-06-24 Thread gjr80
The interceptor driver is python 2/3 compatible. Most likely you only have the WeeWX python 3 prerequisites installed and hence running the driver under python 2 failed. Gary -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from

[weewx-user] Re: Interceptor and WH57 Lightning sensor from Ecowitt

2020-06-24 Thread John Burricelli
I got it to work, in addition to your help, I had to change python to python3 for some reason # PYTHONPATH=/usr/share/weewx python3 /usr/share/weewx/user/interceptor.py --device=ecowitt-client --mode=listen --port=8000 mapped packet: {'dateTime': 1593010224, 'usUnits': 1, 'pressure': 29.202,

[weewx-user] Re: Interceptor and WH57 Lightning sensor from Ecowitt

2020-06-24 Thread gjr80
Your PYTHONPATH needs to include /usr/share/weewx. Try using: $ PYTHONPATH=/usr/share/weewx python .. Gary On Wednesday, 24 June 2020 22:13:38 UTC+10, John Burricelli wrote: > > Also, has anyone been able to run the driver manually? I get this error > when I try it that way. > > $

[weewx-user] Re: Interceptor and WH57 Lightning sensor from Ecowitt

2020-06-24 Thread John Burricelli
Also, has anyone been able to run the driver manually? I get this error when I try it that way. $ PYTHONPATH=bin python /usr/share/weewx/user/interceptor.py --device=ecowitt --mode=listen --port=8000 Traceback (most recent call last): File "/usr/share/weewx/user/interceptor.py", line 302, in

[weewx-user] Re: Interceptor and WH57 Lightning sensor from Ecowitt

2020-06-24 Thread John Burricelli
I had a decent storm come through last night with nearly 50 reported lightning strikes via my ecowitt app. As far as i can tell however nothing is being inserted into the database. INSERT INTO archive_day_lightning_energy VALUES(1592884800,NULL,NULL,NULL,NULL,0.0,0,0.0,0); INSERT INTO

[weewx-user] Re: Interceptor and WH57 Lightning sensor from Ecowitt

2020-06-23 Thread Gert Andersen
Hi Oliver I'm using your patched script and it's working fine. I insert these fields into th database: [[sensor_map_extensions]] lightning_strike_count = lightning_num lightning_distance = lightning These 2 fields are also coming from the sensor: lightning_time wh57batt But

[weewx-user] Re: Interceptor and WH57 Lightning sensor from Ecowitt

2020-06-23 Thread 'NanoG5Kite' via weewx-user
Oli, I don‘t think so. Possible most users like me do not have the (scripting/programming) skills to change necessary lines in the interceptor.py or weewx to adapt new/additional sensor values. I gave up for the moment - Even if I could get the lightning counts adapted, I would fail with the

[weewx-user] Re: Interceptor and WH57 Lightning sensor from Ecowitt

2020-06-23 Thread 'olicat' via weewx-user
Hi! Are there any experiences with the adjusted script regarding lightning? Does it work for you now? Regards, Oliver -- 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

[weewx-user] Re: Interceptor and WH57 Lightning sensor from Ecowitt

2020-06-23 Thread John Burricelli
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: >

[weewx-user] Re: Interceptor and WH57 Lightning sensor from Ecowitt

2020-06-19 Thread 'NanoG5Kite' via weewx-user
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

[weewx-user] Re: Interceptor and WH57 Lightning sensor from Ecowitt

2020-06-19 Thread 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

[weewx-user] Re: Interceptor and WH57 Lightning sensor from Ecowitt

2020-06-18 Thread 'NanoG5Kite' via weewx-user
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. > >

[weewx-user] Re: Interceptor and WH57 Lightning sensor from Ecowitt

2020-06-18 Thread 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

[weewx-user] Re: Interceptor and WH57 Lightning sensor from Ecowitt

2020-06-18 Thread 'NanoG5Kite' via weewx-user
Hi Oliver, also many thanks from my site to jump in here again! Will also test asap... Best regards, Matthias Am Donnerstag, 18. Juni 2020 20:44:27 UTC+2 schrieb olicat: > > Hi, > > I just made another attempt. Perhaps this helps ... > >

[weewx-user] Re: Interceptor and WH57 Lightning sensor from Ecowitt

2020-06-18 Thread Benjamin Trey Blue
Thank you Oliver, I made that change and was able to start WeeWX with no errors - now just to wait for some lightning! Normally that's an almost every afternoon occurrence this time of year in Florida, but as my luck would have it, the forecast looks unusually clear right now. Thank you for

[weewx-user] Re: Interceptor and WH57 Lightning sensor from Ecowitt

2020-06-18 Thread 'olicat' via weewx-user
Hi, I just made another attempt. Perhaps this helps ... https://github.com/matthewwall/weewx-interceptor/issues/69 Regards, Oliver -- 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

[weewx-user] Re: Interceptor and WH57 Lightning sensor from Ecowitt

2020-06-18 Thread rich T
Looks like the driver is trying to convert the string to a float. 'lightning': '' -- 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] Re: Interceptor and WH57 Lightning sensor from Ecowitt

2020-06-18 Thread 'NanoG5Kite' via weewx-user
Me too and I gave up for the moment... I started now to investigate if PWS_Dashboard could be the better solution for me as more Sensors are supported, as well the WH57. Also Wim gives a great support and feedback... My PWS-Site, still not ready but operational..._

[weewx-user] Re: Interceptor and WH57 Lightning sensor from Ecowitt

2020-06-18 Thread 'NanoG5Kite' via weewx-user
Me too and I gave up for the moment... But I play currently with PWS_Dasboard which is very well supported by Wim... https://www.fitzbek-wetter.de/pwsWDxx/index.php Regards, Matthias Am Donnerstag, 18. Juni 2020 17:44:40 UTC+2 schrieb Gert Andersen: > > Hi > > I did the same and got the same

[weewx-user] Re: Interceptor and WH57 Lightning sensor from Ecowitt

2020-06-18 Thread Gert Andersen
Hi I did the same and got the same error. Running Weewx 4.1.1 Gert On Thursday, June 18, 2020 at 2:12:23 AM UTC+2, Benjamin Trey Blue wrote: > > Hello, > > Thank you for the patched interceptor driver - I just got a WH57 for my > GW1000 and am trying to get the observations added to the WeeWX

[weewx-user] Re: Interceptor and WH57 Lightning sensor from Ecowitt

2020-06-17 Thread Benjamin Trey Blue
Hello, Thank you for the patched interceptor driver - I just got a WH57 for my GW1000 and am trying to get the observations added to the WeeWX DB. With the patched driver, the lightning observations are showing in my raw packets: weewx[29068] DEBUG user.interceptor: raw packet: {'wind_speed':

[weewx-user] Re: Interceptor and WH57 Lightning sensor from Ecowitt

2020-06-06 Thread 'NanoG5Kite' via weewx-user
Hi Gert, I contacted Oliver for advise today - he is the "father" of the great generic Foshkplugin: https://www.loxwiki.eu/display/LOXBERRY/FOSHKplugin+-+generic+version He answered and already and replied on Github: https://github.com/matthewwall/weewx-interceptor/issues/69 Further he send me

[weewx-user] Re: Interceptor and WH57 Lightning sensor from Ecowitt

2020-06-06 Thread Gert Andersen
Hi NanoG5Kite Thanks for your help. I guess I also must create the lightning fields in th DB or will the sensor map extension do that? I'm already at the patched version to solve another warning. Gert On Saturday, June 6, 2020 at 11:48:05 AM UTC+2, NanoG5Kite wrote: > > > And for this: >>

[weewx-user] Re: Interceptor and WH57 Lightning sensor from Ecowitt

2020-06-06 Thread 'NanoG5Kite' via weewx-user
> And for this: > > https://github.com/matthewwall/weewx-interceptor/pull/64/commits/00bdecdc1822d7deaa7c41f20dfc4c30a349936d You could use in the meantime the patched bin/user/interceptor.py - enclosed:

[weewx-user] Re: Interceptor and WH57 Lightning sensor from Ecowitt

2020-06-06 Thread 'NanoG5Kite' via weewx-user
> > Hi, > I can not really help you yet as my WH57 is not delivered yet, but on github: https://github.com/matthewwall/weewx-interceptor Might this be an option to define a WH57 mapping in the weewx.conf? Driver options To configure the driver beyond the default values, set parameters in