-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[Feature Request]: Retire native JSON MQTT functionality #5507
Comments
I like this idea. It's definitely something that needs to be addressed and @ianmcorvidae has some great ideas around this. Looking forward to seeing the solution. |
Agree on this, although indeed with the "requirement" that it would need to be able to easily integrate with popular home automation systems like Home Assistant and OpenHAB. Ideally it would be a native integration/binding such that the end-user doesn't have to handle this glue code and run it in an additional daemon. |
It case it's useful, I've roughed out a python script for this purpose. Maybe it's possible to use something like this as a custom addon to HA? |
From what I can tell having a quick look at this @pdxlocations it only seems to cope with decoding mesh packets and outputting them to JSON, which indeed is something I still need, but much more important for me, given I use Home Assistant to broadcast weather updates on both a dedicated channel more frequently, and longfast less frequently, is the ability to SEND a mqtt message to be broadcast. So code would need to be able to figure out which portnum to use, and what channel. |
@garthvh Why are we planning to retain the JSON functionality for the RAK Ethernet gateway? #5498 (comment) Then someone would still need to maintain this (add new fields and fix bugs like the one linked), and it can only be tested on one specific hardware combo. Besides, once we have a suitable alternative it will likely be slightly different than the manually crafted JSON, so you can't use the same system with different hardware. In my opinion if we remove it from the firmware, we have to nuke it altogether. |
I don't anticipate it being something that the project maintains, that device is managed by @beegee-tokyo and RAK so my thought was that he could continue to maintain it if necessary, but I am not opposed to nuking it. |
@garthvh I am ok, if you replace it with something else that works. |
I've started a similar project based on node.js a month ago https://github.com/leshniak/meshtastic-protobuf-decoder (for private use at the time). @pdxlocations but yours suits better for HA. |
@leshniak |
@broglep is working on a home assistant integration at https://github.com/broglep/homeassistant-meshtastic that looks like it won't need json+mqtt |
An HA integration using protos and MQTT: https://github.com/kvj/hass_Mtastic_MQTT |
Platform
Cross-Platform
Description
This has been a problematic feature for several reasons:
Tagging @ianmcorvidae because he has some migration strategies to externalize the support while keeping things in the format they exist in currently for the firmware so that automations in Home Assistant or otherwise can continue working with a bit of extra sauce.
The text was updated successfully, but these errors were encountered: