guacamole

command module
v0.0.0-...-f8cf683 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2023 License: MIT Imports: 11 Imported by: 0

README

Guacamole - seasoning for automation

Description

This tool connects any PLCs supporting MODBUS TCP or RTU to an MQTT broker, effectively enabling realtime messaging in already existing devices without impacting them. It comes from a project from 2019, but still useful in several contexts.

Features

  • Emulates a MODBUS slave
  • Low footprint
  • Can be run either on a gateway or on the PLC itself
  • Cross-platform, cross-architecture
  • Supports both TCP and Serial MODBUS masters
  • Forwards register write requests (either single, FC 6 or multiple, FC 16) to the configured PubSub broker (and topic)

Building artifacts

make

Installation

make install

Compile for different architectures, i.e. MIPS Little Endian

GOOS=linux GOARCH=mipsle go build -o ./release/guacamole-mipsel main.go

Installation on remote device

This method makes use of SSH, key-based auth

make deploy USER=myuser IP=192.168.1.1

Usage

service modbus-mqtt enable
service modbus-mqtt start

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL