mirror of
https://github.com/nikdoof/hapz2m.git
synced 2026-01-30 02:18:22 +00:00
Mark old last_seen devices as "not responding"
Devices that have not received an update since a fixed timeout (24 hrs for now), based on its last_seen time, will be marked as "not responding" in the Home app. With this I can identify which devices are unreachable or dead. Also needed to upgrade hap with the fix for brutella/hap#30, or the entire bridge will stop working.
This commit is contained in:
4
go.mod
4
go.mod
@@ -3,12 +3,12 @@ module hapz2m
|
||||
go 1.20
|
||||
|
||||
require (
|
||||
github.com/brutella/hap v0.0.26-0.20230424071335-4329b4fdc1c4
|
||||
github.com/brutella/hap v0.0.27-0.20230522083132-4ea1de40019c
|
||||
github.com/eclipse/paho.mqtt.golang v1.4.2
|
||||
)
|
||||
|
||||
require (
|
||||
github.com/brutella/dnssd v1.2.6 // indirect
|
||||
github.com/brutella/dnssd v1.2.7 // indirect
|
||||
github.com/go-chi/chi v1.5.4 // indirect
|
||||
github.com/gorilla/websocket v1.4.2 // indirect
|
||||
github.com/miekg/dns v1.1.53 // indirect
|
||||
|
||||
Reference in New Issue
Block a user