ccutrer / balboa_worldwide_app

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

Missing entities #68

Closed magma1447 closed 2 years ago

magma1447 commented 2 years ago

I really love this project, it seems like it can be really helpful. Today I installed it using Docker and bwalink. However, I seem to be missing a lot of entities.

For example I am missing Pump 1 and 2, while I have Pump 3. I am also missing Target temperature, while I have Current temperature. I have 13 entities in total:

binary_sensor.bwa_link_filter_cycle_1_running
binary_sensor.bwa_link_filter_cycle_2_running
binary_sensor.bwa_link_hot_tub_priming
light.bwa_link_hot_tub_lights
select.bwa_link_hot_tub_heating_mode
select.bwa_link_hot_tub_temperature_range
select.bwa_link_hot_tub_temperature_scale
sensor.bwa_link_hot_tub_current_water_temperature
switch.bwa_link_filter_cycle_2_enabled
switch.bwa_link_hot_tub_24_hour_time
switch.bwa_link_hot_tub_blower
switch.bwa_link_hot_tub_hold
switch.bwa_link_hot_tub_pump_3

I am guessing I am missing Pump 1 and 2 because they are two-step pumps, and therefore are integers as datatype. That wouldn't explain current vs target temperature though, because they look the same in the MQTT data.

I am not sure how the MQTT discover process works, but I can see in the MQTT server that I have a lot more happening. This is the data I get as MQTT messages when I start the container:

homie/bwa/$homie 4.0.0
homie/bwa/$name BWA Link
homie/bwa/$state ready
homie/bwa/$nodes spa,filter-cycle1,filter-cycle2
homie/bwa/spa/$name Hot Tub
homie/bwa/spa/$type BP2100G1
homie/bwa/spa/$properties command,hold,priming,notification,heating-mode,temperature-scale,twenty-four-hour-time,heating,temperature-range,current-temperature,target-temperature,blower,circulation-pump,pump1,pump2,pump3,light1
homie/bwa/spa/command/$name Send a command to the tub
homie/bwa/spa/command/$datatype enum
homie/bwa/spa/command/$format normal_operation,clear_notification
homie/bwa/spa/command/$settable true
homie/bwa/spa/command/$retained false
homie/bwa/spa/hold/$name Hold
homie/bwa/spa/hold/$datatype boolean
homie/bwa/spa/hold/$settable true
homie/bwa/spa/hold false
homie/bwa/spa/priming/$name Priming
homie/bwa/spa/priming/$datatype boolean
homie/bwa/spa/priming false
homie/bwa/spa/notification/$name Notification
homie/bwa/spa/notification/$datatype enum
homie/bwa/spa/notification/$format ph,filter,sanitizer,none
homie/bwa/spa/notification none
homie/bwa/spa/heating-mode/$name Heating Mode
homie/bwa/spa/heating-mode/$datatype enum
homie/bwa/spa/heating-mode/$format ready,rest,ready_in_rest
homie/bwa/spa/heating-mode/$settable true
homie/bwa/spa/heating-mode ready
homie/bwa/spa/temperature-scale/$name Temperature Scale
homie/bwa/spa/temperature-scale/$datatype enum
homie/bwa/spa/temperature-scale/$format fahrenheit,celsius
homie/bwa/spa/temperature-scale/$settable true
homie/bwa/spa/temperature-scale celsius
homie/bwa/spa/twenty-four-hour-time/$name 24 Hour Time
homie/bwa/spa/twenty-four-hour-time/$datatype boolean
homie/bwa/spa/twenty-four-hour-time/$settable true
homie/bwa/spa/twenty-four-hour-time true
homie/bwa/spa/heating/$name Heating
homie/bwa/spa/heating/$datatype boolean
homie/bwa/spa/heating false
homie/bwa/spa/temperature-range/$name Temperature Range
homie/bwa/spa/temperature-range/$datatype enum
homie/bwa/spa/temperature-range/$format high,low
homie/bwa/spa/temperature-range/$settable true
homie/bwa/spa/temperature-range high
homie/bwa/spa/current-temperature/$name Current Water Temperature
homie/bwa/spa/current-temperature/$datatype float
homie/bwa/spa/current-temperature/$format 0:42
homie/bwa/spa/current-temperature/$unit °C
homie/bwa/spa/current-temperature 38.0
homie/bwa/spa/target-temperature/$name Target Water Temperature
homie/bwa/spa/target-temperature/$datatype float
homie/bwa/spa/target-temperature/$format 10:40
homie/bwa/spa/target-temperature/$settable true
homie/bwa/spa/target-temperature/$unit °C
homie/bwa/spa/target-temperature 38.0
homie/bwa/spa/blower/$name Blower
homie/bwa/spa/blower/$datatype boolean
homie/bwa/spa/blower/$settable true
homie/bwa/spa/blower false
homie/bwa/spa/circulation-pump/$name Circulation Pump Running
homie/bwa/spa/circulation-pump/$datatype boolean
homie/bwa/spa/circulation-pump false
homie/bwa/spa/pump1/$name Pump 1
homie/bwa/spa/pump1/$datatype integer
homie/bwa/spa/pump1/$format 0:2
homie/bwa/spa/pump1/$settable true
homie/bwa/spa/pump1 0
homie/bwa/spa/pump2/$name Pump 2
homie/bwa/spa/pump2/$datatype integer
homie/bwa/spa/pump2/$format 0:2
homie/bwa/spa/pump2/$settable true
homie/bwa/spa/pump2 0
homie/bwa/spa/pump3/$name Pump 3
homie/bwa/spa/pump3/$datatype boolean
homie/bwa/spa/pump3/$settable true
homie/bwa/spa/pump3 false
homie/bwa/spa/light1/$name Lights
homie/bwa/spa/light1/$datatype boolean
homie/bwa/spa/light1/$settable true
homie/bwa/spa/light1 false
homie/bwa/filter-cycle1/$name Filter Cycle 1
homie/bwa/filter-cycle1/$type Filter Cycle
homie/bwa/filter-cycle1/$properties running,start-hour,start-minute,duration
homie/bwa/filter-cycle1/running/$name Running
homie/bwa/filter-cycle1/running/$datatype boolean
homie/bwa/filter-cycle1/running false
homie/bwa/filter-cycle1/start-hour/$name Start Hour
homie/bwa/filter-cycle1/start-hour/$datatype integer
homie/bwa/filter-cycle1/start-hour/$format 0:23
homie/bwa/filter-cycle1/start-hour/$settable true
homie/bwa/filter-cycle1/start-hour/$unit hours
homie/bwa/filter-cycle1/start-hour 0
homie/bwa/filter-cycle1/start-minute/$name Start Minute
homie/bwa/filter-cycle1/start-minute/$datatype integer
homie/bwa/filter-cycle1/start-minute/$format 0:59
homie/bwa/filter-cycle1/start-minute/$settable true
homie/bwa/filter-cycle1/start-minute/$unit minutes
homie/bwa/filter-cycle1/start-minute 0
homie/bwa/filter-cycle1/duration/$name Duration
homie/bwa/filter-cycle1/duration/$datatype integer
homie/bwa/filter-cycle1/duration/$format 0:1439
homie/bwa/filter-cycle1/duration/$settable true
homie/bwa/filter-cycle1/duration/$unit minutes
homie/bwa/filter-cycle1/duration 15
homie/bwa/filter-cycle2/$name Filter Cycle 2
homie/bwa/filter-cycle2/$type Filter Cycle
homie/bwa/filter-cycle2/$properties running,start-hour,start-minute,duration,enabled
homie/bwa/filter-cycle2/running/$name Running
homie/bwa/filter-cycle2/running/$datatype boolean
homie/bwa/filter-cycle2/running false
homie/bwa/filter-cycle2/start-hour/$name Start Hour
homie/bwa/filter-cycle2/start-hour/$datatype integer
homie/bwa/filter-cycle2/start-hour/$format 0:23
homie/bwa/filter-cycle2/start-hour/$settable true
homie/bwa/filter-cycle2/start-hour/$unit hours
homie/bwa/filter-cycle2/start-hour 9
homie/bwa/filter-cycle2/start-minute/$name Start Minute
homie/bwa/filter-cycle2/start-minute/$datatype integer
homie/bwa/filter-cycle2/start-minute/$format 0:59
homie/bwa/filter-cycle2/start-minute/$settable true
homie/bwa/filter-cycle2/start-minute/$unit minutes
homie/bwa/filter-cycle2/start-minute 0
homie/bwa/filter-cycle2/duration/$name Duration
homie/bwa/filter-cycle2/duration/$datatype integer
homie/bwa/filter-cycle2/duration/$format 0:1439
homie/bwa/filter-cycle2/duration/$settable true
homie/bwa/filter-cycle2/duration/$unit minutes
homie/bwa/filter-cycle2/duration 60
homie/bwa/filter-cycle2/enabled/$name Enabled
homie/bwa/filter-cycle2/enabled/$datatype boolean
homie/bwa/filter-cycle2/enabled/$settable true
homie/bwa/filter-cycle2/enabled false

Anything I can do to get the rest of them? Anything I can do to help the project? Ruby isn't really my thing though.

PS! Could it be because my Home Assistant is a year old? I am planning on upgrading it soon. And now when this hit me I might have to prioritize it even more.

magma1447 commented 2 years ago

Never mind. Upgraded Home Assistant and now they exist of course. Now I have a few hours of resolving incompatibility issues after the upgrade though. But that has nothing to do with Balboa.