0.3.6 • Published 5 years ago

motolaps-motobox v0.3.6

Weekly downloads
154
License
-
Repository
github
Last release
5 years ago

NPM version Build Status Dependency Status Coverage percentage

motolaps-motobox

Description

Installation

Zu installieren:

apt-get update
apt-get dist-upgrade

apt-get install ufw
apt-get install -y git libudev-dev libusb-dev libusb-1.0-0 libusb-1.0-0-dev

Hyper: apt-get install hyperv-daemons

Install node and npm on linux:

Hyper v: curl -sL https://deb.nodesource.com/setup_8.x | sudo bash - sudo apt-get install -y nodejs

Node auf armv6: curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash nvm install 10.15.3

Raspi v3?: curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash nvm install 10.15.3

sudo npm install -g gulp-cli dotup-node-app-installer dotup-ts-node-mifare-usb pm2 --unsafe-perm noin -u dotupNET -r motolaps-motobox (als app)


oder: (EACCESS Error!) cd ~ wget https://nodejs.org/dist/v10.15.3/node-v10.15.3-linux-armv6l.tar.gz tar -xzf node-v10.15.3-linux-armv6l.tar.gz cd node-v10.15.3-linux-armv6l sudo cp -R * /usr/local rm -R node-v10.15.3-linux-armv6l rm node-v10.15.3-linux-armv6l.tar.gz export PATH=$PATH:/usr/local/bin

#############################################################

Boot to terminal:

https://stackoverflow.com/questions/30044035/starting-node-app-at-startup-on-raspberry-pi

https://raspberrypi.stackexchange.com/questions/34060/raspberry-pi-autostart-terminal-running-nodejs-for-lxde-environment/34061

https://ubuntu-mate.community/t/solved-boot-raspberry-pi-2-image-directly-to-terminal-console/1569/3

https://www.raspberrypi-spy.co.uk/2014/05/how-to-autostart-apps-in-rasbian-lxde-desktop/

#############################################################

Firewall:

RDP 3389/tcp

Bonjour 5353/udp

SSDP 1900/udp

Node Remote debug 9229/tcp

ufw default deny incoming ufw default allow outgoing ufw allow ssh ufw allow 3389/tcp ufw allow 1900/udp ufw allow 9229/udp ufw enable

#############################################################

Device discovery service:

Status anzeigen: systemctl status motoboard.service

Neustart: systemctl restart motoboard

Logs anzeigen: sudo journalctl --follow -u motoboard.service

Deinstallieren: sudo systemctl stop servicename sudo systemctl disable servicename rm /etc/systemd/system/servicename sudo systemctl daemon-reload sudo systemctl reset-failed

systemd service: After=network-online.target Wants=network-online.target

#############################################################

GPIO Access:

https://www.raspberrypi.org/forums/viewtopic.php?f=117&t=208748

https://www.raspberrypi.org/forums/viewtopic.php?t=5185#p161013

Configuration

Usage

Release Notes

1.0.0

Fixes/Features:

  • Initial release

License

MIT © Peter Ullrich

Enjoy!

0.3.6

5 years ago

0.3.5

5 years ago

0.3.4

5 years ago

0.3.2

5 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.2.17

5 years ago

0.2.16

5 years ago

0.2.15

5 years ago

0.2.13

5 years ago

0.2.12

5 years ago

0.2.11

5 years ago

0.2.9

5 years ago

0.2.8

5 years ago

0.2.7

5 years ago

0.2.6

5 years ago

0.2.5

5 years ago

0.2.4

5 years ago

0.2.3

5 years ago

0.1.19

5 years ago

0.1.18

5 years ago

0.1.17

5 years ago

0.1.16

5 years ago

0.1.15

5 years ago

0.1.13

5 years ago

0.1.12

5 years ago

0.1.10

5 years ago

0.1.9

5 years ago

0.1.8

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.2

5 years ago