-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wee_device --firmware crashes unless an explicit IP address is given #74
Comments
For some reason a part of the driver code is not receiving the gateway device IP address unless it is specified on the command line. I have been unable to reproduce this behaviour on any of my devices. Could I ask for some further information:
|
Actually, stand by on my last. I've now been able to reproduce the problem. Let me work through to find the cause. |
OK, I think it is fixed. Can you confirm that you did not specify an IP address in your Can you please try v0.6.2:
then try your commands again. |
Yes, the --firmware command works for me when IP address discovery is
used. Thanks!
BTW, if I do "wee_device --live-data --firmware", the firmware data is
printed, but no live data is printed.
(It's not clear to me if this is actually a bug...)
Doug
…On Fri, Feb 23, 2024 at 2:58 AM gjr80 ***@***.***> wrote:
OK, I think it is fixed. Can you confirm that you did not specify an IP
address in your [GW1000] stanza in weewx.conf?
Can you please try v0.6.2:
1. download the v0.6.2 driver file (gw1000.py) to your WeeWX machine
using the following command:
wget -P /var/tmp https://raw.githubusercontent.com/gjr80/weewx-gw1000/master/bin/user/gw1000.py
1. copy the downloaded gw1000.py from /var/tmp to /usr/share/weewx/user
:
sudo cp /var/tmp/gw1000.py /usr/share/weewx/user/
then try your commands again.
—
Reply to this email directly, view it on GitHub
<#74 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOY2W7IRHIWRZCRQAYHKN6LYVBDZ5AVCNFSM6AAAAABDWAICWKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRQHA3TOMZYGQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
It's not a bug, I could add code to ensure that only one |
With the latest GW1000 driver, most wee_device options can auto-detect the GW1000's IP address:
But the --firmware option will crash unless you explicitly provide the IP address.
This works:
This crashes:
There is another strange result if you give both the --live-data and --firmware options, in that order:
The text was updated successfully, but these errors were encountered: