ms-iot / samples

Windows 10 IoT Core Samples
MIT License
1.2k stars 1.33k forks source link

AllJoyn ZWave Adapter Headless Host not receive signals from sleeper devices after reboot #543

Open NexVII opened 6 years ago

NexVII commented 6 years ago

Hi, I'm working with a Raspberry Pi3 and Windows IoT Core v.10.0.16299.125 and USB Aeon Labs Z-Stick Gen 5 attacched to RPi. The ZWave Provider works great with all ZWave devices until I reboot RPi, after which I do not receive any signal from sleeper device until they send the message "WAKE_UP_NOTIFICATION", but this could happen after a day. So every signals sent by these devices in this period are lost.

I think it depends from the provider that does not save the information about the devices, so when I restart it the provider must query them again to discover the implemented classes, which cannot happen for the sleeping devices.

Examining the code I noticed that the saving of this information was explicitly deactivated at samples/AllJoyn/Samples/ZWaveAdapter/AdapterLib/ZWaveAdapter.cpp: 171 "Options::Get()->AddOptionBool("SaveConfiguration", false);".

Could be this the cause? It's possible to receive signals from sleepers devices after reboot?

Thanks Best Regards Marco