ccutrer / balboa_worldwide_app

Ruby library for communication with Balboa Water Group's WiFi module or RS-485
92 stars 27 forks source link

MQTT device automatically set up but everything "This entity is unavailable." #78

Closed blundell closed 1 year ago

blundell commented 1 year ago

I set it up using the HA plugin, instructions here: https://github.com/supersebbo/bwa-mqtt-bridge-addon/wiki/Installation-&-Run

MQTT automatically discovered the device, but everything seems disabled, it looks like this:

image

and if I click on any it says "This entity is unavailable.", for example:

image

I got some of the MQTT listen in logs here:

image

more here:

Message 148 received on homeassistant/number/bwa/filter-cycle2_duration/config at 21:21:
{
    "name": "Filter Cycle 2 Duration",
    "availability_topic": "homie/bwa/$state",
    "payload_available": "ready",
    "payload_not_available": "lost",
    "qos": 1,
    "icon": "mdi:clock",
    "device": {
        "manufacturer": "Balboa Water Group",
        "sw_version": "2.1.5",
        "model": "BW6013X1",
        "name": "BWA Link",
        "identifiers": "bwa"
    },
    "state_topic": "homie/bwa/filter-cycle2/duration",
    "command_topic": "homie/bwa/filter-cycle2/duration/set",
    "command_template": "{{ value | round(0) }}",
    "unit_of_measurement": "minutes",
    "min": 0,
    "max": 1439,
    "unique_id": "bwa_filter-cycle2_duration"
}
QoS: 0 - Retain: true
Message 147 received on homeassistant/number/bwa/filter-cycle2_start-minute/config at 21:21:
{
    "name": "Filter Cycle 2 Start Minute",
    "availability_topic": "homie/bwa/$state",
    "payload_available": "ready",
    "payload_not_available": "lost",
    "qos": 1,
    "icon": "mdi:clock",
    "device": {
        "manufacturer": "Balboa Water Group",
        "sw_version": "2.1.5",
        "model": "BW6013X1",
        "name": "BWA Link",
        "identifiers": "bwa"
    },
    "state_topic": "homie/bwa/filter-cycle2/start-minute",
    "command_topic": "homie/bwa/filter-cycle2/start-minute/set",
    "command_template": "{{ value | round(0) }}",
    "unit_of_measurement": "minutes",
    "min": 0,
    "max": 59,
    "unique_id": "bwa_filter-cycle2_start-minute"
}
QoS: 0 - Retain: true
Message 146 received on homeassistant/number/bwa/filter-cycle2_start-hour/config at 21:21:
{
    "name": "Filter Cycle 2 Start Hour",
    "availability_topic": "homie/bwa/$state",
    "payload_available": "ready",
    "payload_not_available": "lost",
    "qos": 1,
    "icon": "mdi:clock",
    "device": {
        "manufacturer": "Balboa Water Group",
        "sw_version": "2.1.5",
        "model": "BW6013X1",
        "name": "BWA Link",
        "identifiers": "bwa"
    },
    "state_topic": "homie/bwa/filter-cycle2/start-hour",
    "command_topic": "homie/bwa/filter-cycle2/start-hour/set",
    "command_template": "{{ value | round(0) }}",
    "unit_of_measurement": "hours",
    "min": 0,
    "max": 23,
    "unique_id": "bwa_filter-cycle2_start-hour"
}
QoS: 0 - Retain: true
Message 145 received on homeassistant/number/bwa/filter-cycle1_duration/config at 21:21:
{
    "name": "Filter Cycle 1 Duration",
    "availability_topic": "homie/bwa/$state",
    "payload_available": "ready",
    "payload_not_available": "lost",
    "qos": 1,
    "icon": "mdi:clock",
    "device": {
        "manufacturer": "Balboa Water Group",
        "sw_version": "2.1.5",
        "model": "BW6013X1",
        "name": "BWA Link",
        "identifiers": "bwa"
    },
    "state_topic": "homie/bwa/filter-cycle1/duration",
    "command_topic": "homie/bwa/filter-cycle1/duration/set",
    "command_template": "{{ value | round(0) }}",
    "unit_of_measurement": "minutes",
    "min": 0,
    "max": 1439,
    "unique_id": "bwa_filter-cycle1_duration"
}
QoS: 0 - Retain: true

Does this look like a recognised problem? Or any help as to where I look at more info into the issue please?

(I looked through the open & closed issues, only potentially similar issue is https://github.com/ccutrer/balboa_worldwide_app/issues/65. This is potentially related but only outside chance https://github.com/ccutrer/balboa_worldwide_app/issues/51)

blundell commented 1 year ago

Now just looked again and getting some temperature data:

image

but on the BWA link side:

image

bit stumped, this might be due to my lack of HA knowledge

blundell commented 1 year ago

I went into the settings of that temperature entity and just manually enabled it.

image

Do I know what I am doing. No. 😆

I guess I'll manually enable everything and see what happens...

blundell commented 1 year ago

Manually enabled all Sensors and all Controls, it seems to now be "working"!

image
blundell commented 1 year ago

Thanks for writing and sharing the software, appreciate it. 💯