You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I have had good success so far with getting an accessory setup. Initial values are displayed and controls sent from my iPhone are working. The thing I am now stuck on is how to notify that there was an update on the accessory? It does not seem like the home app polls for it at any regular interval so the values do not update on their own. I see there is a updateValueFromDeviceEnd() function which sounded promising, but that does not seem to cause any update on my iPhone. Is there a proper way to handle when the accessory has an updated value?
The text was updated successfully, but these errors were encountered:
Maybe you need to uncomment line 199 in PHKNetwork.cpp (I have no idea how it runs now, so it becomes a brute force hacking again)
It's a push notification, so it require server end to notify
in ideal world, you just call updateValueFromDeviceEnd() when the value change, and the notification will push it to all connected clients, but if PHKNetwork.cpp has an encryption problem, iOS will drop the packet and start reconnect.
(Sorry for taking so long, currently focusing on job hunting)
Hello, I have had good success so far with getting an accessory setup. Initial values are displayed and controls sent from my iPhone are working. The thing I am now stuck on is how to notify that there was an update on the accessory? It does not seem like the home app polls for it at any regular interval so the values do not update on their own. I see there is a updateValueFromDeviceEnd() function which sounded promising, but that does not seem to cause any update on my iPhone. Is there a proper way to handle when the accessory has an updated value?
The text was updated successfully, but these errors were encountered: