bpennypacker / WeatherFlow-Indigo-Plugin

Indigo Plugin for obtaining weather from WeatherFlow
GNU General Public License v2.0
3 stars 2 forks source link

Device not updating #29

Closed boisy closed 3 years ago

boisy commented 3 years ago

I have two devices I created under the WeatherFlow plug-in: Humidity and Temperature. Using either the web socket or UDP, I'm noticing that the temperature does not get updated in a timely fashion. It can go days without updating

Attached are images of both the debug output of the plugin that clearly shows the obs_st data (with temperature at 13.7C) and the other screenshot showing the device's last update time in the early morning today.

Screen Shot 2020-12-13 at 7 17 13 PM Screen Shot 2020-12-13 at 7 17 37 PM

bpennypacker commented 3 years ago
  1. If you go to the Device Settings in Indigo, what do you have selected for "State display"?
  2. If you click on the device and look at the Custom States that appear below it (see the below screenshot) does that show the properties updating properly?
  3. What is the Station ID for your device?

Screen Shot 2020-12-15 at 11 04 27 AM

boisy commented 3 years ago

Hi Bruce,

  1. Here’s the state as of right now of the two devices (note the data of the humidity was yesterday):

  2. Here are the custom states for both devices:

  3. My station ID is here:

— Boisy Gene Pitre http://www.pitre.org

On Dec 15, 2020, at 10:09 AM, Bruce Pennypacker notifications@github.com wrote:

If you go to the Device Settings in Indigo, what do you have selected for "State display"? If you click on the device and look at the Custom States that appear below it (see the below screenshot) does that show the properties updating properly? What is the Station ID for your device? https://user-images.githubusercontent.com/2932316/102240123-85405f80-3ec5-11eb-9f10-adeb422daf85.jpeg — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bpennypacker/WeatherFlow-Indigo-Plugin/issues/29#issuecomment-745392693, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFPXZPWJ7JLFXN6QAHXR63SU6C5JANCNFSM4UZ6SJ2A.

boisy commented 3 years ago

Screen Shot 2020-12-22 at 6 23 51 PM Screen Shot 2020-12-22 at 6 24 27 PM Screen Shot 2020-12-22 at 6 25 02 PM

boisy commented 3 years ago

For some reason the images didn't get pasted correctly into the earlier message. I just posted them now. Notice that the humidity hasn't been updated since December 14.

boisy commented 3 years ago

Hi Bruce,

I now have three devices (temperature, humidity, baron. pressure) all using Websockets. If I make a change to the temperature device, for example, then save it, then IT will update, but the other two won't. If I then make a change to the humidity device, then IT will update, but the other two won't. Only the last device to get updated (or created) seems to be processing the messages, leaving any other devices not updating.

boisy commented 3 years ago

Here's a type that your plug-in should handle.

image

bpennypacker commented 3 years ago

I now have three devices (temperature, humidity, baron. pressure) all using Websockets.

Why are you creating separate Indigo devices for the same WeatherFlow device? You should only be creating a single Indigo device and referring to the different states of that one device to obtain the data you are interested in. Running multiple Indigo devices for the same WeatherFlow device is likely the reason for the problems you are encountering.

FYI, I just released v0.3.0 of the plug-in, which adds a new mode state that tracks the evt_device_offline and evt_device_online events from WeatherFlow and also fixes the exception that you reported in #28.

boisy commented 3 years ago

I thought a separate device was needed for each weather property. I see now that the single device has all of the info in state. Thanks for clarifying. You can close this issue.

bpennypacker commented 3 years ago

Sounds good. Please let me know if you do encounter any other issues.