home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.75k stars 30k forks source link

Moen Flo does not display gpm #91566

Closed MiddleSiggy closed 1 year ago

MiddleSiggy commented 1 year ago

The problem

The Moen Flo Cloud app does not display the GPM usage. But the actual app will display the information.

What version of Home Assistant Core has the issue?

core-2023.4.4

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Moen Flo

Link to integration documentation on our website

https://www.home-assistant.io/integrations/flo/

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

2023-04-17 16:12:41.904 DEBUG (MainThread) [homeassistant.components.flo] Flo device data: {'isConnected': True, 'fwVersion': '7.1.1', 'lastHeardFromTime': '2023-04-17T20:12:00Z', 'fwProperties': {'alarm_away_high_flow_rate_shut_off_enabled': True, 'alarm_away_high_water_use_shut_off_enabled': True, 'alarm_away_long_flow_event_shut_off_enabled': True, 'alarm_away_v2_shut_off_enabled': True, 'alarm_home_high_flow_rate_shut_off_deferment': 300, 'alarm_home_high_flow_rate_shut_off_enabled': True, 'alarm_home_high_water_use_shut_off_deferment': 300, 'alarm_home_high_water_use_shut_off_enabled': True, 'alarm_home_long_flow_event_shut_off_deferment': 300, 'alarm_home_long_flow_event_shut_off_enabled': True, 'alarm_shut_off_enabled': True, 'alarm_shutoff_id': '', 'alarm_shutoff_time_epoch_sec': -1, 'alarm_snooze_enabled': True, 'alarm_suppress_duplicate_duration': 300, 'alarm_suppress_until_event_end': False, 'data_flosense_first_launch_utc': '2023-04-04 16:18:58.565321', 'data_flosense_flodetect_hash': 'dbb555881b2f1853a09f7981f0d460b4', 'data_flosense_force_retrain': 0, 'data_flosense_is_generic_model': 0, 'data_flosense_min_flodetect_sec': 0, 'data_flosense_min_irr_sec': 180, 'data_flosense_model_hash': 'e2693fe6551dd00876372621c5ce3a50', 'data_flosense_pad_min': 2, 'data_flosense_retrain_op': 5, 'data_flosense_status_interval': 1200, 'data_flosense_suppress_reboot': 0, 'data_flosense_verbosity': 1, 'device_data_free_mb': 1608, 'device_data_mb': 1951, 'device_installed': True, 'device_mem_available_kb': 240828, 'device_rootfs_free_kb': 723128, 'device_timestamp': 1681229510, 'device_uptime_sec': 58791655, 'feature_mode': 'default', 'flodetect_post_enabled': True, 'flodetect_post_frequency': 0, 'flodetect_storage_days': 60, 'flosense_action': '', 'flosense_deployment_result': 'success', 'flosense_link': '', 'flosense_shut_off_enabled': True, 'flosense_shut_off_level': 3, 'flosense_state': 'active', 'flosense_version_app': '3.3.1', 'flosense_version_model': '3.3.29', 'fw_ver': '7.1.1', 'fw_ver_a': '5.2.11', 'fw_ver_b': '7.1.1', 'heartbeat_frequency': 1800, 'ht_attempt_interval': 60000, 'ht_check_window_max_pressure_decay_limit': 0.1, 'ht_check_window_width': 30000, 'ht_ignore_flow_checking': False, 'ht_max_open_closed_pressure_decay_pct_limit': 2, 'ht_max_pressure_growth_limit': 3, 'ht_max_pressure_growth_pct_limit': 3, 'ht_max_valve_closures_per_24h': 3, 'ht_min_computable_point_limit': 3, 'ht_min_pressure_limit': 10, 'ht_min_r_squared_limit': 0.9, 'ht_min_slope_limit': -0.6, 'ht_phase_1_max_pressure_decay_limit': 6, 'ht_phase_1_max_pressure_decay_pct_limit': 10, 'ht_phase_1_time_index': 12000, 'ht_phase_2_max_pressure_decay_limit': 6, 'ht_phase_2_max_pressure_decay_pct_limit': 10, 'ht_phase_2_time_index': 30000, 'ht_phase_3_max_pressure_decay_limit': 3, 'ht_phase_3_max_pressure_decay_pct_limit': 5, 'ht_phase_3_time_index': 240000, 'ht_phase_4_max_pressure_decay_limit': 1.5, 'ht_phase_4_max_pressure_decay_pct_limit': 5, 'ht_phase_4_time_index': 480000, 'ht_pre_delay': 0, 'ht_recent_flow_event_cool_down': 1000, 'ht_retry_on_fail_interval': 900000, 'ht_scheduler': 'ultima', 'ht_scheduler_end': '00:00', 'ht_scheduler_start': '00:00', 'ht_scheduler_ultima_allotted_time_1': '10:00', 'ht_scheduler_ultima_allotted_time_2': '18:00', 'ht_scheduler_ultima_allotted_time_3': '02:00', 'ht_times_per_day': 1, 'log_bytes_sent': 4459093, 'log_enabled': True, 'log_frequency': 3600, 'log_send': False, 'mender_check': False, 'mender_host': 'https://mender.flotech.co', 'mender_parts_link': '', 'mender_ping_delay': 300, 'mender_signature': '', 'motor_delay_close': 175, 'motor_delay_open': 0, 'motor_retry_count': 2, 'motor_timeout': 5000, 'mqtt_host': 'mqtt.flosecurecloud.com', 'mqtt_port': 8884, 'pes_away_max_duration': 3600, 'pes_away_max_pressure': 150, 'pes_away_max_temperature': 226, 'pes_away_max_volume': 50, 'pes_away_min_pressure': 20, 'pes_away_min_pressure_duration': 5, 'pes_away_min_temperature': 36, 'pes_away_min_temperature_duration': 10, 'pes_away_v1_high_flow_rate': 8, 'pes_away_v1_high_flow_rate_duration': 5, 'pes_away_v2_high_flow_rate': 0.5, 'pes_away_v2_high_flow_rate_duration': 5, 'pes_home_high_flow_rate': 1000, 'pes_home_high_flow_rate_duration': 20, 'pes_home_max_duration': 16585, 'pes_home_max_pressure': 150, 'pes_home_max_temperature': 226, 'pes_home_max_volume': 497, 'pes_home_min_pressure': 20, 'pes_home_min_pressure_duration': 5, 'pes_home_min_pressure_resolve': 25, 'pes_home_min_pressure_resolve_duration': 5, 'pes_home_min_temperature': 36, 'pes_home_min_temperature_duration': 10, 'pes_home_min_temperature_resolve': 40, 'pes_home_min_temperature_resolve_duration': 10, 'pes_max_pressure_under_pt_state_tcorrection': 150, 'pes_min_pressure_under_pt_state_tcorrection': 0, 'pes_moderately_high_pressure': 80, 'pes_moderately_high_pressure_count': 43200, 'pes_moderately_high_pressure_delay': 300, 'pes_moderately_high_pressure_period': 10, 'player_action': 'disabled', 'player_flow': 0, 'player_min_pressure': 40, 'player_pressure': 60, 'player_temperature': 50, 'power_downtime_last_24h': 0, 'power_downtime_last_7days': 0, 'power_downtime_last_reboot': 0, 'pt_state': 'ok', 'reboot_count': 43, 'reboot_count_7days': 0, 'reboot_reason': 'offline', 's3_bucket_host': 'api-bulk.meetflo.com', 'serial_number': 'BB281056BABO', 'system_mode': 2, 'tag': '', 'telemetry_batched_enabled': True, 'telemetry_batched_hf_enabled': True, 'telemetry_batched_hf_interval': 10800, 'telemetry_batched_hf_poll_rate': 100, 'telemetry_batched_interval': 300, 'telemetry_batched_pending_storage': 30, 'telemetry_batched_sent_storage': 30, 'telemetry_flow_rate': 0, 'telemetry_pressure': 48.6, 'telemetry_realtime_change_gpm': 0, 'telemetry_realtime_change_psi': 0, 'telemetry_realtime_enabled': True, 'telemetry_realtime_interval': 1, 'telemetry_realtime_packet_uptime': 3154259, 'telemetry_realtime_session_last_epoch': 1681027700980, 'telemetry_realtime_sessions_7days': 3, 'telemetry_realtime_storage': 7, 'telemetry_realtime_timeout': 299, 'telemetry_temperature': 83, 'valve_actuation_count': 1328, 'valve_actuation_timeout_count': 0, 'valve_state': 1, 'vpn_enabled': False, 'vpn_ip': '', 'water_event_enabled': True, 'water_event_min_duration': 2, 'water_event_min_gallons': 0.1, 'wifi_bytes_received': 19610645, 'wifi_bytes_sent': 53047052, 'wifi_disconnections': 529, 'wifi_rssi': -66, 'wifi_sta_country': 'us', 'wifi_sta_enc': 'psk2', 'wifi_sta_ip': '10.254.0.15', 'wifi_sta_ssid': 'siggy', 'zit_auto_count': 51, 'zit_manual_count': 4}, 'id': '37f2b794-defb-4bf0-a35a-84d207440915', 'macAddress': '64694e394770', 'nickname': '3/4 Smart Water Shutoff', 'isPaired': True, 'deviceModel': 'flo_device_075_v2', 'deviceType': 'flo_device_v2', 'irrigationType': 'none', 'prvInstallation': 'before', 'purchaseLocation': 'amazon', 'systemMode': {'isLocked': False, 'shouldInherit': True, 'lastKnown': 'home', 'target': 'home'}, 'valve': {'target': 'open', 'lastKnown': 'open'}, 'installStatus': {'isInstalled': True, 'installDate': '2021-09-27T00:01:01.210Z'}, 'learning': {'outOfLearningDate': '2021-10-03T15:35:37.260Z', 'enabled': False}, 'notifications': {'pending': {'infoCount': 0, 'warningCount': 0, 'criticalCount': 0, 'alarmCount': [], 'info': {'count': 0, 'devices': {'count': 0, 'absolute': 0}}, 'warning': {'count': 0, 'devices': {'count': 0, 'absolute': 0}}, 'critical': {'count': 0, 'devices': {'count': 0, 'absolute': 0}}}}, 'hardwareThresholds': {'gpm': {'okMin': 0, 'okMax': 29, 'minValue': 0, 'maxValue': 35}, 'psi': {'okMin': 30, 'okMax': 80, 'minValue': 0, 'maxValue': 100}, 'lpm': {'okMin': 0, 'okMax': 110, 'minValue': 0, 'maxValue': 130}, 'kPa': {'okMin': 210, 'okMax': 550, 'minValue': 0, 'maxValue': 700}, 'tempF': {'okMin': 50, 'okMax': 80, 'minValue': 0, 'maxValue': 100}, 'tempC': {'okMin': 10, 'okMax': 30, 'minValue': 0, 'maxValue': 40}}, 'serialNumber': 'BB281056BABO', 'connectivity': {'rssi': -66, 'ssid': 'siggy'}, 'telemetry': {'current': {'gpm': 0, 'psi': 48.599998474121094, 'tempF': 83, 'updated': '2023-04-17T20:12:40Z'}}, 'healthTest': {'config': {'enabled': True, 'timesPerDay': 1, 'start': '20:00', 'end': '20:00'}}, 'shutoff': {'scheduledAt': '1970-01-01T00:00:00.000Z'}, 'actionRules': [], 'location': {'id': '91da4940-c782-4cdd-83fc-9c036623deb7'}}
2023-04-17 16:12:42.411 DEBUG (MainThread) [homeassistant.components.flo] Updated Flo consumption data: {'params': {'startDate': '2023-04-17T04:00:00.000Z', 'endDate': '2023-04-18T03:59:59.999Z', 'interval': '1h', 'tz': 'US/Eastern', 'locationId': '91da4940-c782-4cdd-83fc-9c036623deb7'}, 'aggregations': {'sumTotalGallonsConsumed': 155.61200000000002}, 'items': [{'time': '2023-04-17T00:00:00-04:00', 'gallonsConsumed': 24.211}, {'time': '2023-04-17T01:00:00-04:00', 'gallonsConsumed': 0}, {'time': '2023-04-17T02:00:00-04:00', 'gallonsConsumed': 0}, {'time': '2023-04-17T03:00:00-04:00', 'gallonsConsumed': 0}, {'time': '2023-04-17T04:00:00-04:00', 'gallonsConsumed': 4.89}, {'time': '2023-04-17T05:00:00-04:00', 'gallonsConsumed': 8.772}, {'time': '2023-04-17T06:00:00-04:00', 'gallonsConsumed': 36.216}, {'time': '2023-04-17T07:00:00-04:00', 'gallonsConsumed': 15.783}, {'time': '2023-04-17T08:00:00-04:00', 'gallonsConsumed': 0}, {'time': '2023-04-17T09:00:00-04:00', 'gallonsConsumed': 9.334}, {'time': '2023-04-17T10:00:00-04:00', 'gallonsConsumed': 1.68}, {'time': '2023-04-17T11:00:00-04:00', 'gallonsConsumed': 14.897}, {'time': '2023-04-17T12:00:00-04:00', 'gallonsConsumed': 2.974}, {'time': '2023-04-17T13:00:00-04:00', 'gallonsConsumed': 9.882}, {'time': '2023-04-17T14:00:00-04:00', 'gallonsConsumed': 10.353}, {'time': '2023-04-17T15:00:00-04:00', 'gallonsConsumed': 14.108}, {'time': '2023-04-17T16:00:00-04:00', 'gallonsConsumed': 2.512}]}
2023-04-17 16:12:42.411 DEBUG (MainThread) [homeassistant.components.flo] Finished fetching flo-37f2b794-defb-4bf0-a35a-84d207440915 data in 1.105 seconds (success: True)

Additional information

No response

home-assistant[bot] commented 1 year ago

Hey there @dmulcahey, mind taking a look at this issue as it has been labeled with an integration (flo) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `flo` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign flo` Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


flo documentation flo source (message by IssueLinks)

MiddleSiggy commented 1 year ago

It looks like it does update, so my issue is wrong. But the delay in the response makes it not very useful..

MiddleSiggy commented 1 year ago

Thank you for the support.. maybe there is a way to increase the response, or decrease the response time so it is more accurate to what is actually happening.