[GH-ISSUE #84] Webhook Queries sometimes serve stale data #79

Open
opened 2026-03-03 16:43:26 +03:00 by kerem · 2 comments
Owner

Originally created by @akazabam on GitHub (Feb 28, 2026).
Original GitHub issue: https://github.com/nickustinov/itsyhome-macos/issues/84

I can't pinpoint exactly when this happens or how many times it has happened, but this last one was with an Ecobee Thermostat. I restarted Itshome, and the webhook info query started returning the same old, unchanged state (temperature and humidity) continuously, from the start, but from the menu bar interface, it showed the correct updated value. Once I hit refresh from the menu bar drop down, the webhook query started returning updated values. I think it happened a couple times before, but it didn't really occur to me what was going on until I actually captured what was happening this time.

During this period, other devices (at leas the handful I was recording) were updating fine.

Originally created by @akazabam on GitHub (Feb 28, 2026). Original GitHub issue: https://github.com/nickustinov/itsyhome-macos/issues/84 I can't pinpoint exactly when this happens or how many times it has happened, but this last one was with an Ecobee Thermostat. I restarted Itshome, and the webhook info query started returning the same old, unchanged state (temperature and humidity) continuously, from the start, but from the menu bar interface, it showed the correct updated value. Once I hit refresh from the menu bar drop down, the webhook query started returning updated values. I think it happened a couple times before, but it didn't really occur to me what was going on until I actually captured what was happening this time. During this period, other devices (at leas the handful I was recording) were updating fine.
Author
Owner

@akazabam commented on GitHub (Mar 1, 2026):

I should also mention this is HomeKit, not Home Assistant.

<!-- gh-comment-id:3980593371 --> @akazabam commented on GitHub (Mar 1, 2026): I should also mention this is HomeKit, not Home Assistant.
Author
Owner

@akazabam commented on GitHub (Mar 2, 2026):

Another case I just caught is a battery powered smart lock (Schlage Encode Plus) didn't update in either the menubar dropdown menu or the webhook until I intentionally dropped down the menu. It had been unlocked for a couple hours and didn't update. Once I dropped the menu, and expended the room, the lock state updated correctly from locked to unlocked in Itsyhome. After this, the webhook query returned the correct state, also. I didn't actually have to click the refresh button in this case. Note that during this time, I did see other updates for at least some other devices. Also, the the Mac where Itsyhome is running and I'm collecting stat has the display off most of the time, but has "Prevent automatic sleeping when the display is off" enabled.

<!-- gh-comment-id:3985129435 --> @akazabam commented on GitHub (Mar 2, 2026): Another case I just caught is a battery powered smart lock (Schlage Encode Plus) didn't update in either the menubar dropdown menu or the webhook until I intentionally dropped down the menu. It had been unlocked for a couple hours and didn't update. Once I dropped the menu, and expended the room, the lock state updated correctly from locked to unlocked in Itsyhome. After this, the webhook query returned the correct state, also. I didn't actually have to click the refresh button in this case. Note that during this time, I did see other updates for at least some other devices. Also, the the Mac where Itsyhome is running and I'm collecting stat has the display off most of the time, but has "Prevent automatic sleeping when the display is off" enabled.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/itsyhome-macos#79
No description provided.