Skip to content

Add a local mosquitto broker on PFC devices

License

Notifications You must be signed in to change notification settings

SigilLiar/pfc-mosquitto-broker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PFC Mosquitto Broker - Client

Add a local mosquitto broker and client on PFC G1/G2 or TP600 devices.

** Changed => Now with TLS Support **

mosquitto-ipk

This repo contains an ipk file to add a local mosquitto broker and client on Wago devices.

How to install MQTT Broker - Client on Wago devices.

Prerequisites for tutorial

  • Wago PFC or Wago Touch Panel with min. firmware 12 or higher installed in flash.(Release 1.5.7 testet with FW16 on PFC)
  • PC with preinstalled SSH Client (e.g. https://www.putty.org/)
  • Web browser of your choice. (e.g. chrome).

Installation

  1. Start Wago PFC.
  2. Open WBM (Web Base Management) menu "Software Uploads".
  3. Press "Browse" button and navigate to wago mosquitto_x.x.x.ipk file. (e.g. mosquittobroker_1.5.7_armhf.ipk)
  4. Then press "Start Upload" button.
  5. After finishing the upload process, choise "force" and press "Submit" button to activate the software package.
  6. Just ignore possible error messages.

If installation failed, open a ssh session an install ipk with "--force-reinstall" option. Use Comand: "/var/downloads/update-script/ opkg install --force-reinstall mosquittobroker_1.5.7_armhf.ipk"


PFC Login

Start SSH Client e.g. Putty

login as `root`
password `wago`

Check mosquitto-broker-client installation

mosquitto --version

Add a local 'sub' topic inside console

mosquitto_sub -h 127.0.0.1 -t '#' -d

Use an MQTT client to send to broker. For example MQTTfx: https://mqttfx.jensd.de/

test broker

Known issues

Links

  1. https://www.wago.com/de/
  2. https://mqttfx.jensd.de/
  3. https://www.putty.org/

About

Add a local mosquitto broker on PFC devices

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •