Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Shelly devices #163

Open
amotl opened this issue Jan 21, 2024 · 2 comments
Open

Support Shelly devices #163

amotl opened this issue Jan 21, 2024 · 2 comments

Comments

@amotl
Copy link
Member

amotl commented Jan 21, 2024

Introduction

Coming from GH-108 and #69 (comment), this issue is about unlocking support for devices by manufacturer Shelly.

@amotl
Copy link
Member Author

amotl commented Jan 21, 2024

Dear @wetterfrosch,

at #69 (comment), you shared an insight about how Shelly devices publish their data to the MQTT broker. Thanks.

I am stumbling upon devices from the manufacturer shelly where the last part of the realm is always expanded with /info or /settings, like realm/of/topic/data.json/info. Is for those devices a tweak in the config file possible?

Would you mind adding a more extensive report either here, or better use a dedicated issue, to share the full output of the corresponding payload, including the designated default MQTT topic, also outlining which fragments/prefix/suffix can be adjusted? Please also share the type of your device, and maybe a link to its documentation, to save keystrokes.

With kind regards,
Andreas.

NB: Kotori has a release pending about all the router updates coming from adding data acquisition from TTN, so if there would be updates required to support a Shelly device in one way or another, I will be happy to squeeze it into the next release.

@amotl
Copy link
Member Author

amotl commented Jan 21, 2024

May I ask if we are looking at a Gen1 or Gen2 device here, and which specific one?

It looks like Gen1 devices use MQTT prefixes like shellies/<model>-<deviceid>, while Gen2 devices just use <topic_prefix>, where <topic_prefix> is a custom prefix if set, or otherwise defaults to <device_id>.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant