I'm not sure if this a bug or not.
I start the roof driver and in Ekos I notice the following two issues.
root@heidenrod-obs:~# date
Sun 24 Jun 18:34:26 CEST 2018
1st one is the time reported, it's off by 2 hours.
2nd one is actually more important, the roof is 100% closed but it's reporting as unparked on start !!!
unpark means open.
1st one: check the timezone of your OS. I guess you’re in Europe which currently at Central European Summer Time (CEST) which is two hours ahead of UTC.
I've done a test with the 'RollOff Simulator', was unpark before, I parked it and saved.
Now need to work out why my driver doesn't write to the ParkData.xml file.
Maybe permission issue? You should avoid running as root.. you can chmod +s the driver that needs the wiringpi stuff and leave everything as is without root.
Definitely not a permission issue, and I'm running the drivers as a non privilege user.
I switch from root to the normal user as I go along, I have multiple ssh connections open for testing.