I suggest to move these topics of USB-connected Arduino boards from "other" to a TOP category at :
DIY HA > OpenHAB... >> "OpenHAB2 & USB connected Arduino"
I would like to ask:
- Is there any proven method to handle from OpenHAB2 USB-connected NANO (3.0) boards?
- Because everything is about pushing and pushing ESP32, RF, Bluetooth, Ethernet, but none of those methods are disturb-safe (from lightnings, solar flares, microwaves, or even a simple "relay created electric spark", etc).
- A 480Mbit USB 2.0 hub is much cheaper than a 1000Mbit Ethernet switch.
- Usually NANO (clone) boards are sold with shielded USB cables by default, so no extra cables are needed. (Except if you would like to extend with +5 meters.)
- Easier to monitor / debug with direct connection.
So far, I have found 5 possible ways to do that: (But haven't tried any of them yet...)
Doing with simple SERIAL connection. + use Serial Binding with 1-click install. - we would need to write and upload a serial .ino to the board, but I haven't found any "ready to use one". - fix serial "COM-port numbering" on the RPi (howto link...) - looking at this forum it's not as easy "plug&play" task as it sounds at first. - also it won't support I2C connected devices. (Or in a very complicated way)
A "recommended way" to use USB + MySensors.org binding or with this... + installing to an Arduino board is very easy and quick job :-) - but the mysensors.org binging can handle only 1 board! :-( ... so not suitable for a bigger house-projects
Using Ardulink + Basically it can standardize all kinds of Arduino boards to communicate via MQTT even if it's connected via USB or Ethernet... + supports I2C too! + supports Digispark AtTiny85 based boards too + can be installed to Raspberry too
Welcome, PizzaProgram. It's good to have another contributor on this forum. Thanks for raising another possibility for DIY Home Automation (HA).
PizzaProgram: "Is there any proven method to handle from OpenHAB2 USB-connected NANO (3.0) boards?" papa: I don't know. Perhaps your inquiry will generate a response.
PizzaProgram: "none of those methods are disturb-safe" papa: Perhaps, but over 4.5 years, my HA of RFM69 & ESPxxx has worked well.
PizzaProgram: "Easier to monitor / debug with direct connection." papa: Yes, wireless (especially RFM69 initially) can be challenging, but makes it easier (than cables) to spread nodes throughout a building & outside.
Again, thanks for raising another HA possibility & we'll see what response is generated