Page 1 of 1

Persisting Device Name

Posted: 21 Sep 2017 21:25
by taeold
Hello,

I'm currently running z-way-sever v2.3.0 on a Raspberry Pi.

Zway server is great! One thing I've noticed recently though is that the device name (which I depend on for identifying between two motion sensor I install at my homes) sometimes won't persist after restarting a z-way-server.

For example:

1) Pair a device
2) Rename the device (e.g. "device_1" -> siren")
3) Restart the z-way-server
4) Find that device name is still "device_1"

My hunch tells me that the device name was updated in memory but wasn't fsynced/written to the actual configuration file.

What do you think - do you think my diagnosis is plausible? What can I do to possible trigger a fsync/file persist on z-way-server?

Re: Persisting Device Name

Posted: 26 Sep 2017 02:33
by PoltoS
Thanks for your report - indeed, it is not saved - we will fix it. To temporarily workaround it, gracefully stop the service