I did this recently on unbuntu. I used the server version as you don’t need a desktop.
The key dependency for using Ubuntu was the java version. Openha b only plays well with certain javas .
I do highly suggest buying a pi and just use ooenhabian. The ease of install is worth every penny you spend on the pi. This is coming from me a 20yr vet of linux and many years get of openhab.
If you do go with vbox and ubuntu. There are a few tricks, so beware. The java was one for me, the second was vbox itself. I had to configure network in the gui to slow for access to the openha b server. Those were the two big challenges for me but works great after setup.
My recommendation is to download the server version of Ubuntu and then follow the Manual instructions for installing and running openHABian. That will give you the closest environment you can get to a stock openHABian environment in VirtualBox.
No because it is based on Raspbian which is complied to run on ARM based processors. VirtualBox only supports Intel/AMD type processors.
It is but it is a custom version of Linux complied to run on a very different processor. You can’t run the Raspberry Pi version on Raspbian on an Intel/AMD CPU. You can’t run an Ubuntu compiled for Intel/AMD CPUs on an ARM processor like you will find on an RPi.
Debian based Linux (apt) would be supported. So Ubuntu, Mint, etc would be supported but Fedora or SuSE would not.
16-32 Gig. This will extend the time you will have before the SD card wears out significantly. 8 Gig is probably the minimum I’d recommend.
The NodeMCU seems a bit expensive. If you are not in a hurry, you can usually get them for significantly less from Alibaba or Wish or one of the many other straight from China sellers. It will take weeks to receive them though so take that into account.
Beyond that, I wouldn’t buy a bunch of stuff for the NodeMCU until you have a project to try. There is no need spending lots of money on parts you don’t need. If you really want to just play and experiment, you can get a kit with a bunch of sensors and buttons and such to get started. But I’d recommend coming up with a project and just getting the parts you need.
Thank you for the suggestion! I have actually started to look into this project just because one of my alarm system remote stopped to work and a new one is goign to cost me 120 euro! (they do not do it anymore)… looking around I have found out that I can actually try to “manage” the alarm system by connecting the alarm I/O relay to the nodeMCU…
I am mainly saying “playing around” because I am not sure of the "outcome
The real project would be to connect to openHAB the old alarm system… in this scenario, considering I do not know if I will succeed, I think that I do not need any fancy "starter kit)… no??
Power Cable for RPi
Power adapter/cable for NodeMCU ??? does it need one, or it can get power from RPi? - sorry if this is a silly question)