First of all, congratulations and karma for both your persistence and your level of documentation. Your troubles arise from a mixture of things that we both have done wrong, so let’s try to fix this…
2) create a directory called cmh-ldl in the root of c (for now)
Do you, in fact, mean [tt]/etc/cmh-ludl/[/tt]? It doesn’t matter at this stage since openLuup can run in any directory, but it may get confusing for some plugins later.
6) copied startup_example.lua to c:\cmh-ldl and ran it and i get the following error:
This one’s your error! Nowhere in the User Guide does it say to do that and, in fact, startup.lua is not a stand-alone Lua program, but something loaded by the init routine.
This explains why you got the same error in ZeroBrane.
7) i ignore all the errors above
So you were quite right to ignore it and continue, in the circumstances.
12) http://:3480/icons/VeraBridge.png did not work - but i see that that icon isn't in the folder
13) http://127.0.0.1:3480/icons/binary_light_default.png - did not work, on inspection none of the PNG seems to open in even a local file viewer - i think get files corrupted them in someway
The VeraBridge.png file is, in fact, in the VeraBridge directory, but does need to be moved to the icons/ directory, as described on page 6 of the User Guide.
However, the corruption of the icon files is entirely my fault and it’s because you are running on windows. I had fixed (thanks to @vosmont) an I/O error with binary files on Windows within openLuup, but failed to apply the same remedy to the get_files utility. I’ll patch the GitHub master and perhaps you can try again (should just be that file to replace.)
discovered i was missing dkjson.lua - downloaded from https://github.com/LuaDist/dkjson
discovered i was missing https.lua - got from zerobrane
discovered I was missing ssl.lua - found it here https://github.com/brunoos/luasec
now i get this:
016-03-06 22:38:43.984 openLuup.chdev:: .\ssl.lua:7: module ‘ssl.core’ not found:
You are quite likely to run into trouble just copying modules from elsewhere. The low-level modules have .dll files as well as .lua ones, and that seems to be what’s missing. ZeroBrane has a simple way to compile and install them, but for LuaForWindows I don’t know what the procedure is.
Actually, only a few plugins require SSL, and I’m really surprise to see this error raised on line 7 of openLuup.chdev, since it doesn’t require SSL either.
However, you’ve made great progress. I’ll retry all of the above on my Windows machine and see what I can find out.