FYI: weectl fails to change ISS ID away from 1 on Davis Envoy

176 views
Skip to first unread message

pannetron

unread,
Jun 5, 2025, 7:20:19 PMJun 5
to weewx-user
My setup is a Vantage Pro2 ISS transmitting to an Envoy connected to a Raspberry Pi5. WeeWX 5.1.0 install went fine with the default station ID (iss_id) set to 1. My neighborhood has another Vantage Pro on ID 1 so I wanted to be a good neighbor and change my station's ID to 5. Using "weectl device --set-transmitter-type=1,10" set the ID 1 device to inactive but left it marked as ISS. Running "weectl device -set-transmitter-type=5,0" returned success but failed to set the type to ISS although it did "activate" ID 5. As a workaround, I connected my Envoy to a PC with Davis software and configured the Envoy for ISS ID of 5. Reattaching the Envoy to the Pi and running "weectl device --info", I now see device ID 5 is active *and* an ISS. After configuring the Envoy with the Davis software, I'm back up and running fine with the station ID set to 5. 

Perhaps there's an issue in "weectl device --set-transmitter-type" commanding the Envoy?

Cheers,

Russ P
Nederland CO

Tom Keffer

unread,
Jun 6, 2025, 9:54:46 AMJun 6
to weewx...@googlegroups.com
I've confirmed this on my own Envoy. I've created issue #1004 to track.

--
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+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/weewx-user/b697f571-4774-409f-896e-62ba6313e143n%40googlegroups.com.

Graham Eddy

unread,
Aug 15, 2025, 11:00:26 PMAug 15
to weewx-user
any progress on this? i have a new second ISS tracked on a different VM, dip switch ch2, but “weectl device —set-transmitter-type=2,0” does not work according to “weectl device —info” and weewx on the diff VM is collecting data from the old ISS ch1 not the new one. i cannot use pannetron’s workaround (use a PC to change it) as i don’t have a PC. happy to use “screen” to manually type in the config change, if needs be

Graham Eddy

unread,
Aug 16, 2025, 12:41:23 AMAug 16
to weewx-user
more details attached - showing results from “weectl device” commands and also log from starting weewx with (apparently) all ISSs disabled (but still logging data…)
vp2_chan.txt

John Kline

unread,
Aug 16, 2025, 8:58:33 AMAug 16
to weewx...@googlegroups.com, weewx-user
I had a look at your attachment.  It is important to realize only one channel can be identified as ISS (that’s not one active ISS, that’s one ISS–inactive and active–both count towards the total of 1).  As such, you have to remove the ISS from channel 1 first.

Given the above, step 3 in your attachment is the interesting one.  That should have worked to remove ISS from channel 1.

I have six envoys and can remove the iss label from a channel on all of them.  I do have a different driver, derived from the vantage driver, but I doubt that would make a difference.

Would you try step 3 a couple of more times to remove the ISS label from channel 1?  No need to go further than removing the label and using —info to see if it is removed.

If that doesn’t work, you could try my driver to make the change (and then put back the vantage driver).

John

On Aug 15, 2025, at 9:41 PM, Graham Eddy <g...@geddy.au> wrote:

more details attached - showing results from “weectl device” commands and also log from starting weewx with (apparently) all ISSs disabled (but still logging data…)

Graham Eddy

unread,
Aug 16, 2025, 9:53:19 AMAug 16
to WeeWX User
hello john,
i did the following 3 times:

weewx@dev:~/vantage$ weectl device --set-transmitter-type=1,10 --config=weewx.conf

Using configuration file weewx.conf

Using driver weewx.drivers.vantage.

Using Vantage driver version 3.6.2 (weewx.drivers.vantage)

Proceeding will set channel 1 to type 10 (none, inactive), repeater: OFF

Are you sure you want to proceed (y/n)? y

Set channel 1 to type 10 (none, inactive), repeater: OFF


weewx@dev:~/vantage$ weectl device --info --config=weewx.conf

Using configuration file weewx.conf

Using driver weewx.drivers.vantage.

Using Vantage driver version 3.6.2 (weewx.drivers.vantage)

Querying...

Davis Vantage EEPROM settings:

    

    CONSOLE TYPE:                   Vantage Pro2

    

    CONSOLE FIRMWARE:

      Date:                         Nov 12 2019

      Version:                      3.88

    

    CONSOLE SETTINGS:

      Archive interval:             300 (seconds)

      Altitude:                     836 (foot)

      Wind cup type:                large

      Rain bucket type:             0.01 inches

      Rain year start:              1

      Onboard time:                 2025-08-16 23:44:13

      

    CONSOLE DISPLAY UNITS:

      Barometer:                    inHg

      Temperature:                  degree_F

      Rain:                         inch

      Wind:                         mile_per_hour

      

    CONSOLE STATION INFO:

      Latitude (onboard):           +37.6

      Longitude (onboard):          -122.1

      Use manual or auto DST?       AUTO

      DST setting:                  N/A

      Use GMT offset or zone code?  GMT_OFFSET

      Time zone code:               N/A

      GMT offset:                   -8.0 hours

      Temperature logging:          LAST

        

    TRANSMITTERS: 

      Channel   Receive   Retransmit  Repeater    Type

         1      inactive      N         NONE      iss 

         2      active        N         NONE      (N/A) 

         3      active        N         NONE      (N/A) 

         4      active        N         NONE      (N/A) 

         5      active        N         NONE      (N/A) 

         6      active        N         NONE      (N/A) 

         7      active        N         NONE      (N/A) 

         8      active        N         NONE      (N/A) 

...

➔ it persists in having ch1 as 'inactive iss'. which you advise is bad.. could you send me your driver to see if it makes a difference? PM would be fine.
it should not be relevant, but iss_id=2 in my weewx.conf.
cheers
⊣GE⊢

John Kline

unread,
Aug 16, 2025, 10:00:39 AMAug 16
to weewx...@googlegroups.com, WeeWX User
Just so we are comparing apples to apples, would you try my driver at:


You’ll may need to configure the VantageNext section in weewx.conf (but it will look a lot like the vantage section with stuff added).

Then try step 3 again and see if the ISS is removed from channel 1.  If so, then add the ISS to the appropriate channel.

Whether or not this works, remember to uninstall VantageNext and move back to the vantage driver.  The vantage driver is supported by the weewx team.

John

On Aug 16, 2025, at 6:53 AM, Graham Eddy <g...@geddy.au> wrote:

hello john,

Tom Keffer

unread,
Aug 16, 2025, 10:12:50 AMAug 16
to weewx...@googlegroups.com
I spent a couple of hours looking at this yesterday and made no progress. The right set of bits seem to be getting sent to the Envoy, yet it does not recognize the ISS. There's something I'm missing in the documentation. I'll keep plugging away at it.

-tk

Graham Eddy

unread,
Aug 16, 2025, 10:43:35 AMAug 16
to WeeWX User
i followed the logic in vantage.py before shouting for help and it all looked fine up to and including the addresses being written to in the EEPROM, but i couldn’t follow the byte-packing of the bits written to EEPROM. i was surprised to see a call at the end of the PROM writing to _setup(), which seemed to read everything back and i thought maybe changes get lost there e.g. timing issue (i am running on a lightly loaded i9)
⊣GE⊢

Russ Panneton

unread,
Aug 16, 2025, 10:50:59 AMAug 16
to weewx...@googlegroups.com
FYI, I saw this problem even when using the vantagenext driver. 

--
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/RT07Vno4nxA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/weewx-user/D12F19B9-E08D-4593-85F3-1D9405D27EA5%40geddy.au.

Graham Eddy

unread,
Aug 17, 2025, 1:48:25 AMAug 17
to WeeWX User
installed and reconfigured to use VantageNext driver. unfortunately, no change i.e. ch1 remains ‘active iss’ after three attempts to change via ‘—set-transmitter-type=1,10'
⊣GE⊢

Graham Eddy

unread,
Aug 17, 2025, 2:11:25 AMAug 17
to WeeWX User
in Vantage.setTransmitterType(), i inserted 2 sec delays before and after the NEWSETUP command - no improvement, so doesn’t look like timing error

maybe there are significant differences in hardware. i am using a brand, spanking new Envoy + USB Data Logger + ISS ch2 (ultimately replacing my ancient pre-Greentick Envoy and rs232 Data Logger + ISS ch1, which is failing regularly and often)
⊣GE⊢

--
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+...@googlegroups.com.

John Kline

unread,
Aug 17, 2025, 1:13:07 PMAug 17
to weewx...@googlegroups.com, WeeWX User
But now you have an easy workaround.

Set the transmitter type for channel 3 to a temp_hum device.  Then remove ISS from channel 1 and add it as channel 2.

Lastly, remove the temp_hum device on channel 3.



On Aug 16, 2025, at 11:11 PM, Graham Eddy <g...@geddy.au> wrote:

in Vantage.setTransmitterType(), i inserted 2 sec delays before and after the NEWSETUP command - no improvement, so doesn’t look like timing error

Graham Eddy

unread,
Aug 18, 2025, 12:53:50 AMAug 18
to WeeWX User
how do i do that? i tried each of:

weectl device --set-transmitter-type=,,3 --config=weewx.conf    # ➔ runtime error

weectl device --set-transmitter-type=1,10,3 --config=weewx.conf

weectl device --set-transmitter-type=1,0,3 --config=weewx.conf

weectl device --set-transmitter-type=1,0,3,0,0 --config=weewx.conf

and none set the temp_hum to ch3 (so i could not then progress to moving iss from ch1 to ch2).

this looks like the same underlying problem as not being able to change ch1.
cheers
⊣GE⊢

Tom Keffer

unread,
Aug 18, 2025, 10:00:35 AMAug 18
to weewx...@googlegroups.com
The channel is the first parameter (not third). Did you see my wiki article on changing the ISS channel?

Graham Eddy

unread,
Aug 19, 2025, 6:47:11 AMAug 19
to WeeWX User
that worked!
i accept the castigation, noting duckduckgo didn’t find it..
i misunderstood the command syntax in trying to do the workaround myself. i was getting the following (correct) command wrong:
# Temporarily enable a temperature sensor on channel 3:
weectl device --set-transmitter-type=3,1,2
thanks
⊣GE⊢
Reply all
Reply to author
Forward
0 new messages