Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hardwario/hio-raspbian

HARDWARIO Raspbian Image for Raspberry Pi
https://github.com/hardwario/hio-raspbian

debian distro hardwario raspberry-pi raspbian tower

Last synced: about 3 hours ago
JSON representation

HARDWARIO Raspbian Image for Raspberry Pi

Awesome Lists containing this project

README

        

HARDWARIO Logo

# HARDWARIO Raspbian

[![Travis](https://img.shields.io/travis/hardwario/bc-raspbian/master.svg)](https://travis-ci.org/hardwario/bc-raspbian)
[![Release](https://img.shields.io/github/release/hardwario/bc-raspbian.svg)](https://github.com/hardwario/bc-raspbian/releases)
[![License](https://img.shields.io/github/license/hardwario/bc-raspbian.svg)](https://github.com/hardwario/bc-raspbian/blob/master/LICENSE)
[![Twitter](https://img.shields.io/twitter/follow/hardwario_en.svg?style=social&label=Follow)](https://twitter.com/hardwario_en)

This repository contains scripts for building customized Raspbian image for Raspberry Pi.

Prebuilt images for your Raspberry Pi are available in [Releases](https://github.com/hardwario/bc-raspbian/releases) – just pick a ZIP file from the Latest release.

Installation procedure is the same as for original Raspbian image which is described [here](https://www.raspberrypi.org/documentation/installation/installing-images/).

Images are automatically built on [Travis CI](https://travis-ci.org/hardwario/bc-raspbian).

## Modifications in this image

Our image is built with the same scripts as the “official” one, with the following modifications:

* Hostname changed from `raspberrypi` to `hub`.

* Added third-party repositories:
* https://deb.nodesource.com/node_14.x
* http://repo.mosquitto.org/debian

* Similar installations, as described in the [documentation](https://doc.bigclown.com/tutorials/playground-setup/#playground-setup-on-ubuntu)
* Ports and services:
* 80: nginx (static contet from /var/www/html)
* 1880: Node-RED
* 1883: Mosquitto mqtt
* 9001: Mosquitto websocket

* Installed additional packages:
* mosquitto
* mosquitto-clients
* nodejs
* python3-pip
* python3-venv
* dfu-util
* git
* htop
* mc
* tmux

* Installed via npm:
* pm2
* node-red
* node-red-dashboard
* node-red-contrib-ifttt
* node-red-contrib-blynk-ws
* ubidots-nodered (Node Red plugin)

* Installed via pip3:
* bcg
* bcf
* bch

* Static file for web interface https://github.com/hardwario/bch-hub-web

---

## Troubleshooting

### Fix nodejs on Raspberry PI with armv6l

If you get an error: Illegal instruction

```
sudo apt remove nodejs
wget https://nodejs.org/dist/v11.9.0/node-v11.9.0-linux-armv6l.tar.gz
tar -xzf node-v11.9.0-linux-armv6l.tar.gz
cd node-v11.9.0-linux-armv6l/
sudo cp -R * /usr/local/

pm2 resurrect
```

## Local build

### Install dependencies

sudo apt install kpartx coreutils zip qemu-user-static binfmt-support

sudo ./build.sh

## License

This project is licensed under the [MIT License](https://opensource.org/licenses/MIT/) - see the [LICENSE](LICENSE) file for details.

---

Made with ❤  by [**HARDWARIO a.s.**](https://www.hardwario.com/) in the heart of Europe.