I tried to change a bad command in an xml file. Uploaded the new file (and a few misnamed ones) and now the dashboard shows all devices with “gear” icons. Now just about all vera actions result in a “command failedinvalid action” message. Cannot “repair” network. Cannot create a backup. Was able to restore from backup but no help (and new xml files still present).
The backup contains only your user-edited files, so if the XML file that you edited was a system file then restoring from the backup won’t replace it.
This is overkill but it will work: restore your Vera to factory settings. Then restore your backup.
A more targeted approach is to SSH into the Vera, cd to /overlay and rm any files that you messed up. Once the overlay file is gone the original file will reappear from underneath.
I found the only files I changed and deleted them using SSH. They were just XML device files. I have not added or changed any “overlay” files (wouldn’t know why or how).
That did not help. I did do a factory reset and restore and things are working well now. Thanks!
Now I am back to where I was yesterday. I am using a Somfy rolling shade device that seems to have its up/down commands reversed in function. What is the correct procedure to fix the existing XML file and replace it?
I’m still new to Vera so I want to make sure I am understanding the term “plugin”.
I successfully added each channel on the ZRTSI to the MCV system. I did not explicitly install any additional “app” or plugin. I guess they are using the stock “WindowCovering1.xml” file. I did see a Somfy “app” and downloaded it but it looks like it is for the RS232 to RTS interface so I did not think that would apply. I am usually a pretty savvy DIY programmer so am not afraid to make some mods but don’t yet have a good handle on the various components in the system. I don’t have any idea where the actual commands are sent to the Zwave device or any documentation on what commands are possible for that particular device. Any guidance would be welcomed.
Ok, sounds promising. I still am not entirely clear on where to insert this line of code. I have not yet done any luup programming or plugin creation. I have thus far only used the gui. I was able to “add” a service/variable/value in the “advanced” tab in the device settings. (also iniitially added it as “HaDevice1” rather than urn:…HaDevice1"-----how can I remove the extra setting?).
Have not tested if it yet but the new variable is not available in the listed choices in the “advanced” tab in the scene setup.
Was this something that you meant to be added to the xml device file?
That code must be run from Apps >> Develop Apps >> Test Luup code. You can get the device number from the CP of the device, it’s the first line in the Settings or Advanced tab.
Best Home Automation shopping experience. Shop at Ezlo!