Testers for new MQTT plugin device wanted
Testers for new MQTT plugin device wanted
I’m trialling something a bit crazy for automated support for devices that are controlled through mqtt (not zigbee2mqtt) and looking for testers where you might currently use shims and/or be missing some functionality.
Re: Testers for new MQTT plugin device wanted
What sort of MQTT devices are you thinking of controlling?
CliveS
Indigo 2024.2.1 : macOS Sequoia 15.6.1 : Mac Mini M2 : 8‑core CPU and 10‑core GPU : 8 GB : 256GB SSD
The best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer
Indigo 2024.2.1 : macOS Sequoia 15.6.1 : Mac Mini M2 : 8‑core CPU and 10‑core GPU : 8 GB : 256GB SSD
The best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer
Testers for new MQTT plugin device wanted
Anything at all. Where users have had to manually set up individual devices with shim devices before, that was amazingly flexible but could be complicated.CliveS wrote:What sort of MQTT devices are you thinking of controlling?
I’m looking to see how easy it is to create custom plugins in an automated way to cover devices so that each user of the same device can download a plugin rather than having to each setup their own shim devices.
Re: Testers for new MQTT plugin device wanted
Happy to help. I use MQTT to monitor and control a solar inverter via Solar Assistant, and to receive status updates from Hubitat and HA.
Re: Testers for new MQTT plugin device wanted
This is the plugin and the readme briefly explains the process.
https://github.com/simons-plugins/mqtt-device-sniffer
But the concept is to automate the data sourcing of a new device and the AI generation of a plugin using the Claude Indigo skill in one process.
The above plugin grabs the mqtt data, either one off if data is retained on broker or leave it running and activate device to grab it live.
It then passs this as an issue, scrubbed of personal data, to GitHub.
Another repo which contains the Claude Indigo skill with details of the indigo object model and basic scaffolding of a plugin and how to build an mqtt based plugin then automatically runs a workflow that builds the plugin, runs code review to validate against the IOM and other guidelines then when passes publishes this to a new repo ready for user testing
Definitely a POC and the UAT is manual for now but could be automated too to get to a working plugin.
Clearly some support and cost issues to resolve but starting with does it work.
https://github.com/simons-plugins/mqtt-device-sniffer
But the concept is to automate the data sourcing of a new device and the AI generation of a plugin using the Claude Indigo skill in one process.
The above plugin grabs the mqtt data, either one off if data is retained on broker or leave it running and activate device to grab it live.
It then passs this as an issue, scrubbed of personal data, to GitHub.
Another repo which contains the Claude Indigo skill with details of the indigo object model and basic scaffolding of a plugin and how to build an mqtt based plugin then automatically runs a workflow that builds the plugin, runs code review to validate against the IOM and other guidelines then when passes publishes this to a new repo ready for user testing
Definitely a POC and the UAT is manual for now but could be automated too to get to a working plugin.
Clearly some support and cost issues to resolve but starting with does it work.
Re: Testers for new MQTT plugin device wanted
Simon, I don't think I have permission to your Device Factory
MQTT Device Sniffer Error Submission failed (HTTP 502): {"error":"GitHub API error: GitHub API error (401): {\r\n \"message\": \"Bad credentials\",\r\n \"documentation_url\": \"https://docs.github.com/rest\",\r\n \"status\": \"401\"\r\n}","code":"GITHUB_ERROR"}
CliveS
Indigo 2024.2.1 : macOS Sequoia 15.6.1 : Mac Mini M2 : 8‑core CPU and 10‑core GPU : 8 GB : 256GB SSD
The best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer
Indigo 2024.2.1 : macOS Sequoia 15.6.1 : Mac Mini M2 : 8‑core CPU and 10‑core GPU : 8 GB : 256GB SSD
The best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer
Re: Testers for new MQTT plugin device wanted
Strange. I’ll have a look. But it actually posts to the issue via a relay that has my PAT in it so that it doesn’t require anyone to have a GitHub account to keep the process very simple.
Testers for new MQTT plugin device wanted
Should work now.
Re: Testers for new MQTT plugin device wanted
different error
24 Mar 2026 at 23:20:23
MQTT Device Sniffer Submitting device profile for 'Qashqai_Charger_Plug-3c8a1fecfc84'...
MQTT Device Sniffer Error Submission failed (HTTP 502): {"error":"GitHub API error: GitHub API error (422): {\"message\":\"Validation Failed\",\"errors\":[{\"message\":\"body is too long (maximum is 65536 characters)\",\"value\":null,\"resource\":\"Issue\",\"field\":\"body\",\"code\":\"invalid\"}],\"documentation_url\":\"https://docs.github.com/rest/issues/iss ... THUB_ERROR"}
CliveS
Indigo 2024.2.1 : macOS Sequoia 15.6.1 : Mac Mini M2 : 8‑core CPU and 10‑core GPU : 8 GB : 256GB SSD
The best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer
Indigo 2024.2.1 : macOS Sequoia 15.6.1 : Mac Mini M2 : 8‑core CPU and 10‑core GPU : 8 GB : 256GB SSD
The best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer
Re: Testers for new MQTT plugin device wanted
You have a device with a lot more data than I tested with.. I have cut it off the raw data off at GitHub issue max length, so will fit now. The actual topics and field types are small.. there was just some example data to help it work with.
Can you try one more time.
Can you try one more time.
Re: Testers for new MQTT plugin device wanted
25 Mar 2026 at 17:31:04
MQTT Device Sniffer ============================================================
MQTT Device Sniffer MQTT Device Sniffer — Captured Data
MQTT Device Sniffer ============================================================
MQTT Device Sniffer Device: Qashqai_Charger_Plug-3c8a1fecfc84 (shelly)
MQTT Device Sniffer Root Topic: shellies
MQTT Device Sniffer Captured: 1463 messages across 52 topics
MQTT Device Sniffer Duration: 60s
Not sure what happens next but hope this helps25 Mar 2026 at 17:33:22
MQTT Device Sniffer Submitting device profile for 'Qashqai_Charger_Plug-3c8a1fecfc84'...
MQTT Device Sniffer Device profile submitted successfully! Track progress: https://github.com/simons-plugins/indig ... y/issues/5
CliveS
Indigo 2024.2.1 : macOS Sequoia 15.6.1 : Mac Mini M2 : 8‑core CPU and 10‑core GPU : 8 GB : 256GB SSD
The best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer
Indigo 2024.2.1 : macOS Sequoia 15.6.1 : Mac Mini M2 : 8‑core CPU and 10‑core GPU : 8 GB : 256GB SSD
The best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer
Re: Testers for new MQTT plugin device wanted
Hi. . I check then kick off the automated workflow. This is for a custom plugin for a single device, so if you want this for the Qashqui plug then you need to set the root topic at that level not just shellies.
It might be an unexciting plugin, but the test of concept still works.
https://github.com/simons-plugins/indig ... y/issues/5
It might be an unexciting plugin, but the test of concept still works.
https://github.com/simons-plugins/indig ... y/issues/5