Skip to content

Instantly share code, notes, and snippets.

View 877dev's full-sized avatar

877dev 877dev

View GitHub Profile
@877dev
877dev / Blynk setup guide.md
Last active April 28, 2021 19:06
IOTstack - Blynk setup

(Maintained by 877dev)

First setup:

Run ./menu.sh and select Blynk to add it to the stack, as with any other container.

Before you "up" the stack, Blynk server requires two configuration files before it can run. Templates are automatically created on first install in ~/IOTstack/volumes/blynk_server/data/config.

Configuring for first run

@877dev
877dev / How IOTstack works.md
Created September 27, 2020 19:49
IOTstack information

How IOTstack works

All supported containers have templates stored in the hidden directory ~/IOTstack/.templates

Each template folder may contain:

  • service.yml file
  • Dockerfile if needed (instructions on how to build the container image)
  • Other files as needed for that particular container
@877dev
877dev / IOTstack wireguard setup guide.md
Last active December 7, 2020 14:48
IOTstack wireguard setup guide
@877dev
877dev / docker_backup.sh
Last active December 9, 2020 16:24
Fix for docker_backup.sh file location 09-12-2020
#!/bin/bash
pushd ~/IOTstack
USER=$(whoami)
[ -d ./backups ] || mkdir ./backups
#create the list of files to backup
echo "./docker-compose.yml" >list.txt
echo "./services/" >>list.txt
@877dev
877dev / 2021-04-21 SKR Mini E3 v2.0 & Neopixels.md
Last active February 25, 2023 00:10
Marlin 2.0.x bugfix, SKR Mini E3 v2.0 and Neopixels

(2021-04-21 version)

DESCRIPTION:

This is my experience of getting a Neopixel working with the following:

Hardware:
Ender 3 Pro
SKR mini E3 V2.0

@877dev
877dev / Bed levelling.md
Last active December 23, 2020 19:56
Bed levelling Ender 3 Pro, manual mesh bed & Marlin 2.0.x

My bed levelling procedure:

Hardware/software used:

Ender 3 Pro
SKR Mini E3 V2.0
Marlin 2.0.x bugfix

Set the Z axis limit switch height:

  1. Move the nozzle so it is above the top left screw, which is the wheel where the heater cable connects
@877dev
877dev / Node Red Alexa temp fix.md
Last active January 29, 2021 14:08
Node Red Alexa temp fix for "failed to load routines: no body"

Info

I am using IOTstack which works with Docker, you will need to change your node-modules directory as needed.

Preparation

Stop node-red container (I used Portainer CE)
Open linux terminal/Putty

Backup the originals:

cd /home/pi/IOTstack/volumes/nodered/data/node_modules/alexa-remote2
sudo mv alexa-remote.js alexa-remote.js.BAK

@877dev
877dev / zigbee2mqtt-docker-compose-add-new-device
Last active April 23, 2022 14:49
Docker Compose instructions for adding new unsupported devices to Zigbee2mqtt
## Docker Compose
To setup a local copy of zigbee-herdsman-converters so that you can modify e.g. `devices.js` and from`Zigbee.js`; use the following instructions:
`cd /opt`
`git clone https://github.com/Koenkk/zigbee-herdsman-converters.git`
Now add the volumes to your `docker-compose.yml `
Example:
@877dev
877dev / Dockerfile
Last active March 15, 2021 20:46
IOTstack support for apcupsd-mqtt
FROM python:3-alpine
MAINTAINER Brandon <[email protected]>
USER root
COPY ./src /src
RUN pip install -r /src/requirements.txt \
&& chown -R 1001:1001 /src
USER 1001
WORKDIR ["/src"]