astrandb / weatherlink

Weatherlink for Home Assistant
MIT License
11 stars 1 forks source link

Multiple ISS - Not Pulling Data from Primary #165

Open lanky8804 opened 5 months ago

lanky8804 commented 5 months ago

The problem

Hi I have 2 devices linked to my weatherlink account a vantage vue on ID5 and a Pro 2 on ID8. I have switched my primary device to my Pro 2 ID8 on weatherlink, have deleted my HA integration and re-added with API 2 info but it is still pulling data from the Vantage Vue not the new Pro2 ISS.

How can I force it to use the Pro 2 ID 8?

Thanks Alex

image image

Version of Weatherlink integration having the issue?

2024.1.1

Version of Home Assistant Core having the issue?

2024.5.3

Anything in the logs that might be useful for us?

No response

Diagnostic data file

No response

Additional information

No response

astrandb commented 5 months ago

The information of which unit is assigned ar pimary unit is not available in the API AFAIK. Therefore the integration always uses the ISS unit with the lowest ID as primary. In your case ID5. There is currently no support in the integration to select which (if more than one) to use as primary. The workaround for you is to set your VP2 to ID1-ID4. I will put the issue on my to-do list.

lanky8804 commented 5 months ago

The information of which unit is assigned ar pimary unit is not available in the API AFAIK. Therefore the integration always uses the ISS unit with the lowest ID as primary. In your case ID5. There is currently no support in the integration to select which (if more than one) to use as primary. The workaround for you is to set your VP2 to ID1-ID4. I will put the issue on my to-do list.

Ok, thank you