You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 17, 2021. It is now read-only.
I run openhab on 2 systems, one on windows as a development environment, and one on OpenHabian as production environment.
Current Behavior
My inputs and outputs are on a serial gateway (Arduino as serial device). The data is the same but the port changes depending on the environment i use (e.g. COM5 on widnows and /dev/ttyUSB0 on OpenHabian)
This means that i have to keep 2 items configuration files where everything is the same except the port. One will fail due to invalid port number, the other configuration file will run fine
Expected Behavior/Possible Solution
I would like to use an alias as a variable for the serial port name. The alias could be defined in some external file or an item. It would also allow easy configuration change in case your port number changes (e.g. you plug your device to a different serial/usb port)
Is this possible? There are quite few things bound here and i don't want to run duplicates
Your Environment
Development: Windows 10
Production: OpenHabian@RPI
The text was updated successfully, but these errors were encountered:
marekhalmo
changed the title
[Feature request] Serial port alias
[serial] Serial port alias
Jun 27, 2019
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I run openhab on 2 systems, one on windows as a development environment, and one on OpenHabian as production environment.
Current Behavior
My inputs and outputs are on a serial gateway (Arduino as serial device). The data is the same but the port changes depending on the environment i use (e.g. COM5 on widnows and /dev/ttyUSB0 on OpenHabian)
This means that i have to keep 2 items configuration files where everything is the same except the port. One will fail due to invalid port number, the other configuration file will run fine
Expected Behavior/Possible Solution
I would like to use an alias as a variable for the serial port name. The alias could be defined in some external file or an item. It would also allow easy configuration change in case your port number changes (e.g. you plug your device to a different serial/usb port)
Is this possible? There are quite few things bound here and i don't want to run duplicates
Your Environment
Development: Windows 10
Production: OpenHabian@RPI
The text was updated successfully, but these errors were encountered: