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

Suggestion: MQTT in JSON and/or implement Home Assistant Auto-Discovery #31

Closed
Electr1fying opened this issue Apr 10, 2022 · 5 comments
Closed

Comments

@Electr1fying
Copy link

Hi!

Might it be possible to format xblinds MQTT Messages into JSON, and/or implement Home Assistant Auto-Discovery?

I'm using Domoticz myself, but a recent Domoticz release has support For HASS Auto-Discovery, which should help getting it into Domoticz as well i reckon.

I think part of the problem is; i've sniffed xblinds's MQTT traffic and it does not seem to be JSON formatted. This is the MQTT formatting Domoticz supports and expects, but i reckon HASS Auto-Discovery should help as well with that.

Further i read that it might be possible to "convert" xblind's MQTT messages to a JSON format with the help of Node-Red, but i'm not to handy with it and i rather don't want to use tricks into getting it to work via some sort of translation layer.

Thanks in advance!

@kp-bit
Copy link
Owner

kp-bit commented Apr 13, 2022

Hi @Electr1fying, I'll consider adding autodiscover in a future version. v1.0 will be released without it, as I don't have time for a testing cycle right now. As for JSON formatting, I really have no way of testing it, as I use HA myself (and focus on supporting HA), so you will have to mess with that yourself when source is released.

@kp-bit kp-bit closed this as completed Apr 13, 2022
@Electr1fying
Copy link
Author

Hi kp-bit!

Thanks. Will take a look at the source once released (hopefully soon).

In which format will you release the source? .ino for Arduino IDE?

@kp-bit
Copy link
Owner

kp-bit commented Apr 13, 2022

Yes, for the time being it will be .ino + libaries...

@Electr1fying
Copy link
Author

Super. Thanks alot for your work and effort!

@kp-bit
Copy link
Owner

kp-bit commented Apr 15, 2022

Source code has now been published, I've added autodiscover to the planned work for next version

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

2 participants