Closed Pre10der closed 6 years ago
For posterity,
The config only gets created if and as necessary to persist zone names reported by the controller. With a couple exceptions, there's really not much point in generating the config otherwise. I put a sample of the config in be546d46d9ac5651ac7c7531016ac3d1cc46232e so that one can be created manually if necessary.
So, I'm going to close this for now.
I have been deciphering code trying to understand a few things and am up to the config.ini file. I understand that this gets created on first run, however that is not happening for me. I began troubleshooting this as every time I run pynx584 it returns blank zones until every zone is triggerd at least once....and the zone names are returned as 'Unknown'
My assumption is that config.ini keeps the state for the zones, and in turn the zone names?
The issue however is that config.ini never gets created.
I am executing pynx584 using this command on a raspberry pi (Model 1):
sudo su - pi -c '/usr/local/bin/nx584_server --serial /dev/ttyUSB0 --baud 9600 --listen 192.168.x.x --port 5007 --log /home/pi/nx584.log --config /home/pi/config.ini --debug'
Any insight into why the config.ini is not created? The logs don't speak to it either.Here is an example output of my debug logs:
Any way I can force the initial config.ini to create itself?