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

Publish limits via MQTT #62

Closed
longzheng opened this issue Dec 9, 2024 · 4 comments · Fixed by #64
Closed

Publish limits via MQTT #62

longzheng opened this issue Dec 9, 2024 · 4 comments · Fixed by #64

Comments

@longzheng
Copy link
Owner

No description provided.

@PaulSchulz
Copy link

If possible, it would be useful to have a 'monitor' MQTT topic, similar to 'limiter' and 'site' which publishes/mirrors the controlls that are sent to the inverter devices.

This would allow data to be pushed, rather than HA (as an example) polling the API.

@longzheng
Copy link
Owner Author

I've done a first pass at #64

It publishes something like

{
    "opModEnergize": {
        "source": "sep2",
        "value": true
    },
    "opModConnect": {
        "source": "sep2",
        "value": true
    },
    "opModExpLimW": {
        "source": "sep2",
        "value": 1500
    },
    "opModImpLimW": {
        "source": "sep2",
        "value": 1500
    }
}

@longzheng
Copy link
Owner Author

Sorry forgot to document you need to add this to the config

    "publish": {
        "mqtt": {
            "host": "mqtt://192.168.1.2",
            "topic": "limits"
        }
    }

@longzheng
Copy link
Owner Author

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

Successfully merging a pull request may close this issue.

2 participants