WXforum.net
Weather Software => WeeWX Software => Topic started by: danitus13 on December 12, 2021, 05:27:24 AM
-
Buongiorno, ho installato weewx correttamente e poi il GW1000 driver
https://github.com/gjr80/weewx-gw1000
Arrivato al punto 5 testo il driver con
sudo PYTHONPATH=/usr/share/weewx python -m user.gw1000 --test-driver
E funziona tutto correttamente, escono le stringe con i dati della mia stazione (una waldbeck halley).
Quando procedo con il punto 6 e 8 e avvio weewx, purtroppo mi esce l'errore che vedete nell'immagine allegata.
- Se ritorno al punto 5 e ritesto il driver, mi esce l'errore:
unable to connect to device: failed to obtain response to command "CMD_READ_STATION_MAC" after 3 attempts
- Perchè accade questo? Sembra che la weewx non riesca a collegarsi alla stazione perchè non riconoscere l'indirizzo MAC.
Grazie per l'aiuto
-
Set the ip address of the gateway in your weewx.conf and restart weewx.
[GW1000]
ip_address = 192.168.2.103 <=== put your gateway address here
port = 45000
poll_interval = 20
driver = user.gw1000
[[field_map_extensions]]
outTempBatteryStatus = wh26_batt
batteryStatus1 = wh31_ch1_batt
batteryStatus2 = wh31_ch2_batt
batteryStatus3 = wh31_ch3_batt
batteryStatus4 = wh31_ch4_batt
batteryStatus8 = wh51_ch1_batt