This adapter uses Sentry libraries to automatically report exceptions and code errors to the developers. For more details and for information how to disable the error reporting see Sentry-Plugin Documentation! Sentry reporting is used starting with js-controller 3.0.
This adapter allows executing shell commands on ioBroker host. It replaces the ioBroker.terminal
adapter.
Terminal server to open command line interface. Please use it only for administration purposes.
Based on xterm.js and node-pty packages.
If the authentication is enabled, only ioBroker "admin" user can log in.
Adapter support 2 modes:
- Starts cmd.exe(windows) or bash(linux). On Linux the bash runs under
iobroker
user, and maybe you should switch to other user with more privilegs (viasu USER
). - Or simulate shell with node.js (You can activate this option if the first option does not work)
Note: Some terminal commands with interactivity do not work. E.g. nano
and some others.
- Simulation: Ctrl + R (History)
- Simulation: More encoding pages. If you find code page that suits to your system, please create an issue. Possible coding pages could be found here.
- Support more than one session (Tabs)
- (bluefox) xterm library updated
- (bluefox) Move Lets encrypt settings to acme adapter
- (bluefox) Minimal supported node.js version is 16
- (Apollon77) Update xterm library
- (Apollon77) Prepare for future js-controller versions
- (bluefox) Check only port of the interface and not of all interfaces
- (Apollon77) Fix crash cases reported by Sentry
- (Apollon77) Fix a crash case reported by Sentry
- (Apollon77) Prevent some warnings in js-controller 3+
- (Apollon77) Add Fallback to simulated shell if bash/cmd.exe is selected by node-pty was not installed correctly!
- (Apollon77) Rework
info.connection
status to show that server is connected also as green by using "none" to show that no one is connected - (Apollon77) Update all dependencies
- (Apollon77) Add sentry for crash reporting
- (bluefox) Added the real terminal (bash or cmd.exe) to simulated one
- (bluefox) changed type of the connection state to "string"
- (ioBroker) first working release
- (ioBroker) initial release
MIT License
Copyright (c) 2021-2023 ioBroker dogafox@gmail.com
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.