I’m having problems running the miosLoad.sh file for the Item Generator. My Mios is set up at the IP address of 10.0.0.60. When I run the miosLoad.sh I get:
iMac:desktop me$ ./miosLoad.sh 10.0.0.60 Loading MiOS Unit Metadata from 10.0.0.60… curl: no URL specified! curl: try ‘curl --help’ or ‘curl --manual’ for more information ./miosLoad.sh: line 29: --output: command not found ./miosLoad.sh: line 31: --silent: command not found Failed to load, Check IP Address supplied.
I can ping the Mios unit just fine so I’m not sure what else to do from here.
I re-copied the script and while it seemed to be doing something, i believe it timed out. I have an old Vera 2 which seems to be on its last legs. I have a few PLEGs running and it just grinds along now and needs rebooting every few days. It would not surprise me if an script like this crashes it.
thanks for the help though. From the looks of it, this OpenHab is the way to go although from from exploring around, it looks a bit over my head.
It should give you an error when it exits (and it should exit if the target takes > 15s to respond).
I’m using the same MiOS Protocol used by their control-points (remote controls) so if you have those running (iPhone/Android/UI) then it might pay to close them while the script is running to ensure there are enough resources.