Sign inSign up

klaspihl/node-red-heru

By klaspihl

Updated 9 months ago

Heru FTX to Home assistant

Image
Internet of things
0

2.2K

klaspihl/node-red-heru repository overview

Heru FTX to Home assistant

Creates Home assistant sensors, switches and numbers to control FTX by Modbus using;

  • MQTT in your environment
  • Home assistant in your environment with default discovery prefix (homeassistant)
  • Modbus RTU interface as device to container
  • Node-red with Modbus community npm

Installation

Docker run
docker run -it --rm -p 1880:1880 --name testenv /
-e MQTTServer=mqtt.dev.local -e mqttserverport=1883  /
  --device /dev/tty10:/dev/ttySC0 klaspihl/node-red-heru
Docker-compose
version: '3'
services:
  nodered:
    image: klaspihl/node-red-heru:latest
    environment:
      - MQTT_Server=mqtt.dev.local
      - MQTT_Server_Port=1883
    ports:
      - "1880:1880"
    devices:
      - /dev/tty1:/dev/ttySC0

Usage

MQTT server and port configurable by environment variables. If credentials is needed open flow and set.

Project

Github

Tag summary

Content type

Image

Digest

sha256:5a7f478d7

Size

290.9 MB

Last updated

9 months ago

docker pull klaspihl/node-red-heru