Here you can find the PR and the preview (Warning: The article is not finished). If you want, please have a first look and tell me about what you are missing, what’s wrong or how you want to help I’m planning to finish the article tomorrow evening.
Very nicely written sir! Only thing I might add is how to access the network shares. I did from my windows machine and had to map the network drives, which I’m quite sure you are familiar with. Otherwise, awesome!
Hi,
I have been using OH2 on a windows PC for a while. I decided to give the Pi a go.
I have a RPi 3 and downloaded the image.
On the first boot, I changed the Pi password, machine name etc. I received the OH2 paper interface and added a couple of bindings ie MQTT, weather etc. Basically quite a few changes.
When I went to look at the log files to see how it was going, under “openHAB-userdata”, there is only a Log folder not a Logs folder. The log folder does not have any log files. Empty of all files.
Because of all the changes, I thought I might have buggered something in relation the creation and storage of the log files.
I performed a fresh image, can see the Paper interface. However there is only the Log folder not Logs folder and of course no log files.
Ideas?
Thanks,
Neil.
One thing you’ll have to look out for: Different sizes of the old and new SD card could be a problem. That is a bigger issue if the new one is smaller, which I do not expect. There are multiple solutions out there, good luck!
haha i know to change the sd-card from one hardware to another…i mean how can i handle to move the whole image or how can i create an image of the existing openhab2 to move it from 16GB to 8GB
Edit: Can i just add a new file with myopenhabimg.img and then read from win32diskimager?
Edit2: Is a class 4 sd-card enough or should i be a class 10?
Ah, Sorry for the cryptic answer Yvonne.
What I was trying to point you to is the lower part where I described one of the latest changes. In the openHABian menu you will find the option “Serial Port”, behind which you will find the following possibilities:
Thanks Matthias, I’ve started to work on these improvements. When reading “GNU/Linux”, U had to smile Yes that is technically more correct but how many readers will take anything from that? I would argue that the previous mentioning of Debian/Ubuntu is hint enough. Would you agree?
That’s what I thought. My answer is still the same, you’ll need to use some special methods and all depend on your experience. Moving to a smaller SD card is not as easy and I would just install openHABian anew. If you want to do it, check this thread, I’ve previously linked some tool that are able to do the “shrink” for you.
I would not go down to 8GB! Because of wear leveling (see above) I’d stay with 16Gb or even upgrade to 32GB.
Regarding the SD card brand/class, please check the nice article @kasperz posted a few days back. openHABian hassle-free openHAB Setup