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

MQTT often fails #360

Open
gurmukhp opened this issue Nov 4, 2024 · 1 comment
Open

MQTT often fails #360

gurmukhp opened this issue Nov 4, 2024 · 1 comment

Comments

@gurmukhp
Copy link
Contributor

gurmukhp commented Nov 4, 2024

Issue related to

Sunsynk / mbusd Home Assistant Add-On

Describe the issue/bug

Sometimes, the addon stops sending any definitions via MQTT to Home Assistant.

Expected behavior
MQTT should be stable and not stop updating.

To help mitigate this issue, I've set the Raspberry Pi to restart every morning. This has definitely helped, but it still occurs. A restart always fixes the issue.

Is there a way I can find out why this is happening? Or even better just maybe restart the MQTT server in the AddOn every 30 mins or so?

image

Thanks!

Your environment

  • Home Assistant version: 2024.7.0
  • Addon:
    • Name: sunsynk-multi
    • Version: 2023-08-17
  • Inverter: Sunsynk 3.6kW ECCO
  • Adaptor details: Waveshare Industrial USB to RS485 Converter
---
DRIVER: pymodbus
INVERTERS:
- SERIAL_NR: '2212138137'
  HA_PREFIX: Sunsynk (Keller ZA)
  MODBUS_ID: 1
  PORT: /dev/ttyUSB0
SENSOR_DEFINITIONS: single-phase
SENSORS:
- energy_management
- power_flow_card
- settings
- solar_export
SENSORS_FIRST_INVERTER: []
MANUFACTURER: Sunsynk
READ_SENSORS_BATCH_SIZE: 60
NUMBER_ENTITY_MODE: auto
MQTT_HOST: 192.168.x.x
MQTT_PORT: 1883
MQTT_USERNAME: ''
MQTT_PASSWORD: ''
DEBUG: 0
DEBUG_DEVICE: "/dev/ttyAMA0"
@kellerza
Copy link
Owner

kellerza commented Nov 4, 2024

Look at the logs of both addons

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