Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Device caching isn't working properly #3

Closed
QQQQ2 opened this issue Nov 28, 2020 · 2 comments
Closed

Device caching isn't working properly #3

QQQQ2 opened this issue Nov 28, 2020 · 2 comments

Comments

@QQQQ2
Copy link

QQQQ2 commented Nov 28, 2020

On every reboot the registered devices disappear, until you restart the homebridge service again.

[27/11/2020, 19:34:27] [NetworkPresence] Unregistering disconnected device: "undefined" (e0:33:8e:c5:6e:56
[27/11/2020, 19:34:27] [NetworkPresence] Unregistering disconnected device: "undefined" (54:72:4f:8a:af:38
[27/11/2020, 19:34:27] [NetworkPresence] Unregistering disconnected device: "undefined" (82:8d:ba:60:fc:4b
[27/11/2020, 19:34:27] [NetworkPresence] Unregistering disconnected device: "undefined" (16:4f:dd:c2:cb:1b
[27/11/2020, 19:34:27] [NetworkPresence] Initiating Network Scanner...
[27/11/2020, 19:34:27] [NetworkPresence] Adding "User1" Occupancy Sensor Service
[27/11/2020, 19:34:27] [NetworkPresence] [User1] - Listening to mac:e0:33:8e:c5:6e:56
[27/11/2020, 19:34:27] [NetworkPresence] Adding "User2" Occupancy Sensor Service
[27/11/2020, 19:34:27] [NetworkPresence] [User2] - Listening to mac:54:72:4f:8a:af:38
[27/11/2020, 19:34:27] [NetworkPresence] Adding "User3" Occupancy Sensor Service
[27/11/2020, 19:34:27] [NetworkPresence] [User3] - Listening to mac:82:8d:ba:60:fc:4b
[27/11/2020, 19:34:27] [NetworkPresence] Adding "User4" Occupancy Sensor Service
[27/11/2020, 19:34:27] [NetworkPresence] [User4] - Listening to mac:16:4f:dd:c2:cb:1b

The log looks like it's adding them but they do not show up.

Restart
[27/11/2020, 19:38:59] [NetworkPresence] Initiating Network Scanner...
[27/11/2020, 19:38:59] [NetworkPresence] Creating New NetworkPresence Accessory for User1
[27/11/2020, 19:38:59] [NetworkPresence] Adding "User1" Occupancy Sensor Service
[27/11/2020, 19:38:59] [NetworkPresence] [User1] - Listening to mac:e0:33:8e:c5:6e:56
[27/11/2020, 19:38:59] [NetworkPresence] Creating New NetworkPresence Accessory for User2
[27/11/2020, 19:38:59] [NetworkPresence] Adding "User2" Occupancy Sensor Service
[27/11/2020, 19:38:59] [NetworkPresence] [User2] - Listening to mac:54:72:4f:8a:af:38
[27/11/2020, 19:38:59] [NetworkPresence] Creating New NetworkPresence Accessory for User3
[27/11/2020, 19:38:59] [NetworkPresence] Adding "User3" Occupancy Sensor Service
[27/11/2020, 19:38:59] [NetworkPresence] [User3] - Listening to mac:82:8d:ba:60:fc:4b
[27/11/2020, 19:38:59] [NetworkPresence] Creating New NetworkPresence Accessory for User4
[27/11/2020, 19:38:59] [NetworkPresence] Adding "User4" Occupancy Sensor Service
[27/11/2020, 19:38:59] [NetworkPresence] [User4] - Listening to mac:16:4f:dd:c2:cb:1b

On reboot you get this in the log. And the devices show up again.

Is there a clear 'Network Presence' cache options somewhere?

OS | Raspbian GNU/Linux Buster (10)
Node v14.15.1
NPM v6.14.8

@nitaybz
Copy link
Owner

nitaybz commented Nov 30, 2020

Please check the latest version

@QQQQ2
Copy link
Author

QQQQ2 commented Dec 1, 2020

Looking good so far, thanks.

@QQQQ2 QQQQ2 closed this as completed Dec 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants