- Connect NUC to same LAN as Shellies
- Power ON
- NUC will startup and be ready in about 30s
- MQTT-Broker is ready to use
- Install MQTT.FX:
https://mqttfx.jensd.de/index.php/download - Setup connection profile:
File -> Edit Connection Profiles
Left lower corner +
Profile Type = MQTT Broker
Broker Address = IP or nuc-mqtt-1
Broker Port = 1883
Client ID = Choose one, but must be unique
General = Default settings are fine
User Credentials = the ones u choosen within install script - Connect with profile
- Subscribe to Topic #
If Shellies already communicate you should see the messages on the right side - Publish
e.g. to switch relay:
Topic: shellies/shelly1pm-F26D85/relay/0/command Data: on/off
- Connect to NUC with
ssh qu@nuc-mqtt-1
- Check what you can do with
sudo qu-os/install/install.sh
- Prepare NUC with Debian 10 (buster)
Easiest way is to clone with Clonezilla
If you need to install from scratch, make sure "qu" user exists and is in sudoers group - Install "qu-os" on NUC
- Login to you favourite linux shell
- Clone https://github.com/redimosi/qu-os.git
- Execute qu-os/install/install.sh
- Follow the guidance
- Setup Shelly
- Add shelly to same network as your NUC
- Go to Internet & Security -> Advanced - Developer Settings
- Setup correct mqtt server settings:
enable":true,
"server":"192.168.?.?:1883",
"user":"qu",
"password":"??"
- Test with MQTT.fx