Author Topic: GW1000 driver error CMD_READ_STATION_MAC  (Read 729 times)

0 Members and 1 Guest are viewing this topic.

Offline danitus13

  • Member
  • *
  • Posts: 6
GW1000 driver error CMD_READ_STATION_MAC
« 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




Offline vinceskahan

  • Senior Contributor
  • ****
  • Posts: 181
    • home site
Re: GW1000 driver error CMD_READ_STATION_MAC
« Reply #1 on: December 13, 2021, 07:37:55 PM »
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


WeeWX sites:
  Davis VP2+DFARS to a pi4
  EcoWitt GW1000, WH32 outdoor T+H, multiple WH31 indoor T+H, WH51 soilMoisture (docker)
  Davis AirLink (inside)
  PurpleAir (outside)
Home site:        https://www.skahan.net/
Wunderground: KWAFEDER15
PWS:                KWFEDER15
CWOP:              CW6881

 

anything