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
74.15k stars 31.12k forks source link

Pentair Screenlogic Integration: Add Freeze Mode sensor #84401

Closed farberm closed 1 year ago

farberm commented 1 year ago

The problem

The current integration does not display freeze mode nformation. According to the developer of screenlogicpy the following is already available just not being addressed by the plugin....

Both the current Freeze Mode state and which circuits are set to turn on in freeze mode are already available in the JSON output.

For the freeze mode state, that value is under the config->freeze_mode->value key. I assume 1 is "Yes" and 0 is "No".

For the individual circuits, the flags key in each circuit will read a 1 if yes, and a 0 if no. I'm not sure though if that is a true bitwise field or just the freeze mode state. Assigning the term flags was purely based on how other projects have labeled it. I don't have any info on what other flags might get set there.

Can we get the integration update to add these entities when the integration is implemented? If not how do I find and alter the inegration to display them in HA

What version of Home Assistant Core has the issue?

12.8

What was the last working version of Home Assistant Core?

none

What type of installation are you running?

Home Assistant Core

Integration causing the issue

Pentair Screenlogic

Link to integration documentation on our website

No response

Diagnostics information

N/A

Example YAML snippet

N/A

Anything in the logs that might be useful for us?

N/A

Additional information

none

home-assistant[bot] commented 1 year ago

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

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

(message by CodeOwnersMention)


screenlogic documentation screenlogic source (message by IssueLinks)

dieselrabbit commented 1 year ago

@farberm Can you confirm the data in that location is displaying what you are looking for and updating as expected?

farberm commented 1 year ago

I would need a little help in figuring out how to do that. According to the developer it is there. If you give me specifics I can check.

dieselrabbit commented 1 year ago

Diagnostic data from the ScreenLogic integration would be helpful in confirming that data point is actually updating when you expect it to. Download once when you see freeze mode off and once when it is on, (but at a minimum, when it is active) and attach them both here. If that is the data point you're looking for, it should be trivial to expose it as a binary_sensor in HA. See here for how to download diagnostic data: https://www.home-assistant.io/docs/configuration/troubleshooting/#download-diagnostics Also, I am the developer of screenlogicpy as well. =)

dieselrabbit commented 1 year ago

@home-assistant rename Pentair Screenlogic Integration: Add Freeze Mode sensor

farberm commented 1 year ago

Here is the diagnostic data. Sorry for the delay but I had to wait for it to get warm enough for freeze mode off. I think it reads freeze mode off value =0 , but freeze mode on value =8?

Sorry for the noob question but how do I create thensensor to show the state?

Sent from my iPad

On Dec 22, 2022, at 10:43 AM, Kevin Worrel @.***> wrote:

 Diagnostic data from the ScreenLogic integration would be helpful in confirming that data point is actually updating when you expect it to. Download once when you see freeze mode off and once when it is on, (but at a minimum, when it is active) and attach them both here. If that is the data point you're looking for, it should be trivial to expose it as a binary_sensor in HA. See here for how to download diagnostic data: https://www.home-assistant.io/docs/configuration/troubleshooting/#download-diagnostics Also, I am the developer of screenlogicpy as well. =)

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.

{ "home_assistant": { "installation_type": "Home Assistant OS", "version": "2022.12.8", "dev": false, "hassio": true, "virtualenv": false, "python_version": "3.10.7", "docker": true, "arch": "aarch64", "timezone": "America/New_York", "os_name": "Linux", "os_version": "5.15.76-v8", "supervisor": "2022.11.2", "host_os": "Home Assistant OS 9.4", "docker_version": "20.10.19", "chassis": "embedded", "run_as_root": true }, "custom_components": { "alarmdotcom": { "version": "0.2.17", "requirements": [ "beautifulsoup4>=4.10.0", "pyalarmdotcomajax==0.4.7" ] }, "dual_smart_thermostat": { "version": "0.5.5", "requirements": [] }, "watchman": { "version": "0.5.1", "requirements": [ "prettytable==3.0.0" ] }, "dwains_dashboard": { "version": "3.3.0", "requirements": [] }, "hacs": { "version": "1.29.0", "requirements": [ "aiogithubapi>=22.10.1" ] }, "securityspy": { "version": "1.1.5", "requirements": [ "pysecspy==1.3.5" ] }, "multiscrape": { "version": "6.5.0", "requirements": [ "lxml==4.9.1", "beautifulsoup4==4.11.1" ] }, "monitor_docker": { "version": "1.10", "requirements": [ "aiodocker==0.21.0", "python-dateutil==2.8.2" ] }, "mail_and_packages": { "version": "0.3.5-b20", "requirements": [ "beautifulsoup4", "Pillow>=9.0" ] }, "localtuya": { "version": "4.1.1", "requirements": [] }, "unifigateway": { "version": "0.3.3", "requirements": [ "pyunifi==2.21" ] }, "iphonedetect": { "version": "1.4.0", "requirements": [] }, "whistle": { "version": "0.1.10", "requirements": [ "pywhistle==0.0.2" ] }, "icloud3": { "version": "2.4.6", "requirements": [] }, "ultrasync": { "version": "1.0.0", "requirements": [ "ultrasync==0.9.5" ] }, "intellicenter": { "version": "1.4.0", "requirements": [] }, "braviatv_psk": { "version": "0.4.2", "requirements": [ "pySonyBraviaPSK==0.2.4" ] }, "duke_energy_gateway": { "version": "0.1.2", "requirements": [ "pyduke-energy==1.0.2" ] } }, "integration_manifest": { "domain": "screenlogic", "name": "Pentair ScreenLogic", "config_flow": true, "documentation": "https://www.home-assistant.io/integrations/screenlogic", "requirements": [ "screenlogicpy==0.5.4" ], "codeowners": [ @.", @." ], "dhcp": [ { "registered_devices": true }, { "hostname": "pentair", "macaddress": "00C033" } ], "iot_class": "local_polling", "loggers": [ "screenlogicpy" ], "is_built_in": true }, "data": { "config_entry": { "entry_id": "fb331a93a6d4f24c33daa01ad17cd375", "version": 1, "domain": "screenlogic", "title": "Pentair: EC-C0-D0", "data": { "ip_address": "192.168.2.21", "port": 80 }, "options": { "scan_interval": 30 }, "pref_disable_new_entities": false, "pref_disable_polling": false, "source": "user", "unique_id": "00:c0:33:ec:c0:d0", "disabled_by": null }, "data": { "config": { "controller_id": { "name": "Controller ID", "value": 100 }, "is_celsius": { "name": "Is Celsius", "value": 0 }, "controller_type": 5, "hardware_type": 0, "controller_buffer": 0, "equipment_flags": 32816, "generic_circuit_name": { "name": "Default Circuit Name", "value": "Water Features" }, "circuit_count": { "name": "Number of Circuits", "value": 15 }, "color_count": { "name": "Number of Colors", "value": 8 }, "colors": [ { "name": "White", "value": [ 255, 255, 255 ] }, { "name": "Light Green", "value": [ 160, 255, 160 ] }, { "name": "Green", "value": [ 0, 255, 80 ] }, { "name": "Cyan", "value": [ 0, 255, 200 ] }, { "name": "Blue", "value": [ 100, 140, 255 ] }, { "name": "Lavender", "value": [ 230, 130, 255 ] }, { "name": "Magenta", "value": [ 255, 0, 128 ] }, { "name": "Light Magenta", "value": [ 255, 180, 210 ] } ], "interface_tab_flags": 127, "show_alarms": 1, "ok": { "name": "OK Check", "value": 1 }, "freeze_mode": { "name": "Freeze Mode", "value": 0 }, "remotes": { "name": "Remotes", "value": 0 }, "pool_delay": { "name": "Pool Delay", "value": 0 }, "spa_delay": { "name": "Spa Delay", "value": 0 }, "cleaner_delay": { "name": "Cleaner Delay", "value": 0 } }, "bodies": { "0": { "min_set_point": { "name": "Pool Minimum Set Point", "value": 40, "unit": "\u00b0F" }, "max_set_point": { "name": "Pool Minimum Set Point", "value": 104, "unit": "\u00b0F" }, "body_type": { "name": "Type of body of water", "value": 0 }, "last_temperature": { "name": "Last Pool Temperature", "value": 39, "unit": "\u00b0F", "device_type": "temperature" }, "heat_status": { "name": "Pool Heat", "value": 0 }, "heat_set_point": { "name": "Pool Heat Set Point", "value": 83, "unit": "\u00b0F", "device_type": "temperature" }, "cool_set_point": { "name": "Pool Cool Set Point", "value": 96, "unit": "\u00b0F" }, "heat_mode": { "name": "Pool Heat Mode", "value": 0 } }, "1": { "min_set_point": { "name": "Spa Minimum Set Point", "value": 40, "unit": "\u00b0F" }, "max_set_point": { "name": "Spa Minimum Set Point", "value": 104, "unit": "\u00b0F" }, "body_type": { "name": "Type of body of water", "value": 1 }, "last_temperature": { "name": "Last Spa Temperature", "value": 30, "unit": "\u00b0F", "device_type": "temperature" }, "heat_status": { "name": "Spa Heat", "value": 2 }, "heat_set_point": { "name": "Spa Heat Set Point", "value": 46, "unit": "\u00b0F", "device_type": "temperature" }, "cool_set_point": { "name": "Spa Cool Set Point", "value": 37, "unit": "\u00b0F" }, "heat_mode": { "name": "Spa Heat Mode", "value": 3 } } }, "circuits": { "500": { "id": 500, "name": "Spa", "name_index": 71, "function": 1, "interface": 1, "flags": 1, "color_set": 0, "color_position": 0, "color_stagger": 0, "device_id": 1, "default_rt": 720, "value": 1, "delay": 0 }, "501": { "id": 501, "name": "Aux 1", "name_index": 2, "function": 0, "interface": 2, "flags": 0, "color_set": 0, "color_position": 0, "color_stagger": 0, "device_id": 2, "default_rt": 720, "value": 0, "delay": 0 }, "502": { "id": 502, "name": "Lights", "name_index": 46, "function": 9, "interface": 4, "flags": 0, "color_set": 0, "color_position": 0, "color_stagger": 0, "device_id": 3, "default_rt": 720, "value": 0, "delay": 0 }, "503": { "id": 503, "name": "Jets", "name_index": 45, "function": 0, "interface": 2, "flags": 1, "color_set": 0, "color_position": 0, "color_stagger": 0, "device_id": 4, "default_rt": 720, "value": 0, "delay": 0 }, "504": { "id": 504, "name": "Fountain", "name_index": 34, "function": 13, "interface": 2, "flags": 0, "color_set": 0, "color_position": 0, "color_stagger": 0, "device_id": 5, "default_rt": 720, "value": 0, "delay": 0 }, "505": { "id": 505, "name": "Pool", "name_index": 60, "function": 2, "interface": 0, "flags": 1, "color_set": 0, "color_position": 0, "color_stagger": 0, "device_id": 6, "default_rt": 720, "value": 1, "delay": 0 }, "507": { "id": 507, "name": "Cleaner", "name_index": 21, "function": 5, "interface": 5, "flags": 1, "color_set": 0, "color_position": 0, "color_stagger": 0, "device_id": 8, "default_rt": 720, "value": 0, "delay": 0 }, "508": { "id": 508, "name": "SPA WAT HI", "name_index": 96, "function": 0, "interface": 2, "flags": 0, "color_set": 0, "color_position": 0, "color_stagger": 0, "device_id": 9, "default_rt": 720, "value": 0, "delay": 0 }, "509": { "id": 509, "name": "Aux 8", "name_index": 9, "function": 0, "interface": 2, "flags": 0, "color_set": 0, "color_position": 0, "color_stagger": 0, "device_id": 10, "default_rt": 720, "value": 0, "delay": 0 }, "540": { "id": 540, "name": "Spa Waterfall", "name_index": 77, "function": 0, "interface": 2, "flags": 0, "color_set": 0, "color_position": 0, "color_stagger": 0, "device_id": 41, "default_rt": 720, "value": 0, "delay": 0 }, "541": { "id": 541, "name": "Spa High", "name_index": 72, "function": 0, "interface": 5, "flags": 0, "color_set": 0, "color_position": 0, "color_stagger": 0, "device_id": 42, "default_rt": 720, "value": 0, "delay": 0 }, "542": { "id": 542, "name": "SPA MED", "name_index": 93, "function": 0, "interface": 5, "flags": 0, "color_set": 0, "color_position": 0, "color_stagger": 0, "device_id": 43, "default_rt": 720, "value": 0, "delay": 0 }, "543": { "id": 543, "name": "PARTY", "name_index": 94, "function": 0, "interface": 2, "flags": 0, "color_set": 0, "color_position": 0, "color_stagger": 0, "device_id": 44, "default_rt": 720, "value": 0, "delay": 0 }, "545": { "id": 545, "name": "Fountain 1", "name_index": 35, "function": 13, "interface": 2, "flags": 0, "color_set": 0, "color_position": 0, "color_stagger": 0, "device_id": 46, "default_rt": 720, "value": 0, "delay": 0 }, "546": { "id": 546, "name": "spa spill v", "name_index": 95, "function": 13, "interface": 5, "flags": 0, "color_set": 0, "color_position": 0, "color_stagger": 0, "device_id": 47, "default_rt": 720, "value": 0, "delay": 0 } }, "pumps": { "0": { "data": 134, "name": "Pool Pump", "pumpType": 2, "state": 1, "currentWatts": { "name": "Pool Pump Current Watts", "value": 632, "unit": "W", "device_type": "energy" }, "currentRPM": { "name": "Pool Pump Current RPM", "value": 1950, "unit": "rpm" }, "presets": { "0": { "cid": 6, "setPoint": 1950, "isRPM": 1 }, "1": { "cid": 0, "setPoint": 2200, "isRPM": 1 }, "2": { "cid": 5, "setPoint": 2220, "isRPM": 1 }, "3": { "cid": 159, "setPoint": 2960, "isRPM": 1 }, "4": { "cid": 44, "setPoint": 3320, "isRPM": 1 }, "5": { "cid": 9, "setPoint": 3200, "isRPM": 1 }, "6": { "cid": 0, "setPoint": 1000, "isRPM": 1 }, "7": { "cid": 0, "setPoint": 1000, "isRPM": 1 } } }, "1": { "data": 129, "name": "Spa Pump", "pumpType": 2, "state": 1, "currentWatts": { "name": "Spa Pump Current Watts", "value": 254, "unit": "W", "device_type": "energy" }, "currentRPM": { "name": "Spa Pump Current RPM", "value": 1750, "unit": "rpm" }, "presets": { "0": { "cid": 1, "setPoint": 1750, "isRPM": 1 }, "1": { "cid": 156, "setPoint": 1750, "isRPM": 1 }, "2": { "cid": 4, "setPoint": 2000, "isRPM": 1 }, "3": { "cid": 42, "setPoint": 3100, "isRPM": 1 }, "4": { "cid": 43, "setPoint": 2500, "isRPM": 1 }, "5": { "cid": 0, "setPoint": 1000, "isRPM": 1 }, "6": { "cid": 0, "setPoint": 1000, "isRPM": 1 }, "7": { "cid": 0, "setPoint": 1000, "isRPM": 1 } } }, "2": { "data": 0 }, "3": { "data": 0 }, "4": { "data": 0 }, "5": { "data": 0 }, "6": { "data": 0 }, "7": { "data": 0 } }, "sensors": { "air_temperature": { "name": "Air Temperature", "value": 37, "unit": "\u00b0F", "device_type": "temperature" }, "ph": { "name": "pH", "value": 7.69, "unit": "pH" }, "orp": { "name": "ORP", "value": 321, "unit": "mV" }, "saturation": { "name": "Saturation Index", "value": -0.59, "unit": "lsi" }, "salt_ppm": { "name": "Salt", "value": 0, "unit": "ppm" }, "ph_supply_level": { "name": "pH Supply Level", "value": 3 }, "orp_supply_level": { "name": "ORP Supply Level", "value": 7 }, "chem_alarm": { "name": "Chemistry Alarm", "value": 1, "device_type": "alarm" } }, "chemistry": { "current_ph": { "name": "Current pH", "value": 7.69, "unit": "pH" }, "current_orp": { "name": "Current ORP", "value": 321, "unit": "mV" }, "ph_setpoint": { "name": "pH Setpoint", "value": 7.4, "unit": "pH" }, "orp_setpoint": { "name": "ORP Setpoint", "value": 630, "unit": "mV" }, "ph_last_dose_time": { "name": "Last pH Dose Time", "value": 35, "unit": "Sec" }, "orp_last_dose_time": { "name": "Last ORP Dose Time", "value": 461, "unit": "Sec" }, "ph_last_dose_volume": { "name": "Last pH Dose Volume", "value": 99, "unit": "mL" }, "orp_last_dose_volume": { "name": "Last ORP Dose Volume", "value": 0, "unit": "mL" }, "ph_supply_level": { "name": "pH Supply Level", "value": 3 }, "orp_supply_level": { "name": "ORP Supply Level", "value": 7 }, "saturation": { "name": "Saturation Index", "value": -0.59, "unit": "lsi" }, "calcium_harness": { "name": "Calcium Hardness", "value": 250, "unit": "ppm" }, "cya": { "name": "Cyanuric Acid", "value": 18, "unit": "ppm" }, "total_alkalinity": { "name": "Total Alkalinity", "value": 90, "unit": "ppm" }, "salt_tds_ppm": { "name": "Salt/TDS", "value": 1000, "unit": "ppm" }, "ph_probe_water_temp": { "name": "pH Probe Water Temperature", "value": 30, "unit": "\u00b0F", "device_type": "temperature" }, "alerts": { "flow_alarm": { "name": "Flow Alarm", "value": 0, "device_type": "alarm" }, "ph_alarm": { "name": "pH Alarm", "value": 0, "device_type": "alarm" }, "orp_alarm": { "name": "ORP Alarm", "value": 0, "device_type": "alarm" }, "ph_supply_alarm": { "name": "pH Supply Alarm", "value": 0, "device_type": "alarm" }, "orp_supply_alarm": { "name": "ORP Supply Alarm", "value": 0, "device_type": "alarm" }, "probe_fault_alarm": { "name": "Probe Fault", "value": 0, "device_type": "alarm" } }, "notifications": { "ph_lockout": { "name": "pH Lockout", "value": 0 }, "ph_limit": { "name": "pH Daily Limit Reached", "value": 0 }, "orp_limit": { "name": "ORP Daily Limit Reached", "value": 0 } }, "status": 25, "ph_dosing_state": { "name": "pH Dosing State", "value": 1 }, "orp_dosing_state": { "name": "ORP Dosing State", "value": 0 }, "flags": 32, "firmware": { "name": "IntelliChem Firmware Version", "value": "1.040" } }, "scg": { "scg_present": 0, "scg_status": { "name": "SCG Status", "value": 1 }, "scg_level1": { "name": "Pool SCG Level", "value": 50, "unit": "%" }, "scg_level2": { "name": "Spa SCG Level", "value": 0, "unit": "%" }, "scg_salt_ppm": { "name": "SCG Salt", "value": 0, "unit": "ppm" }, "scg_flags": 0, "scg_super_chlor_timer": { "name": "SCG Super Chlorination Timer", "value": 0 } } } } } { "home_assistant": { "installation_type": "Home Assistant OS", "version": "2022.12.8", "dev": false, "hassio": true, "virtualenv": false, "python_version": "3.10.7", "docker": true, "arch": "aarch64", "timezone": "America/New_York", "os_name": "Linux", "os_version": "5.15.76-v8", "supervisor": "2022.11.2", "host_os": "Home Assistant OS 9.4", "docker_version": "20.10.19", "chassis": "embedded", "run_as_root": true }, "custom_components": { "alarmdotcom": { "version": "0.2.17", "requirements": [ "beautifulsoup4>=4.10.0", "pyalarmdotcomajax==0.4.7" ] }, "dual_smart_thermostat": { "version": "0.5.5", "requirements": [] }, "watchman": { "version": "0.5.1", "requirements": [ "prettytable==3.0.0" ] }, "dwains_dashboard": { "version": "3.3.0", "requirements": [] }, "hacs": { "version": "1.29.0", "requirements": [ "aiogithubapi>=22.10.1" ] }, "securityspy": { "version": "1.1.5", "requirements": [ "pysecspy==1.3.5" ] }, "multiscrape": { "version": "6.5.0", "requirements": [ "lxml==4.9.1", "beautifulsoup4==4.11.1" ] }, "monitor_docker": { "version": "1.10", "requirements": [ "aiodocker==0.21.0", "python-dateutil==2.8.2" ] }, "mail_and_packages": { "version": "0.3.5-b20", "requirements": [ "beautifulsoup4", "Pillow>=9.0" ] }, "localtuya": { "version": "4.1.1", "requirements": [] }, "unifigateway": { "version": "0.3.3", "requirements": [ "pyunifi==2.21" ] }, "iphonedetect": { "version": "1.4.0", "requirements": [] }, "whistle": { "version": "0.1.10", "requirements": [ "pywhistle==0.0.2" ] }, "icloud3": { "version": "2.4.6", "requirements": [] }, "ultrasync": { "version": "1.0.0", "requirements": [ "ultrasync==0.9.5" ] }, "intellicenter": { "version": "1.4.0", "requirements": [] }, "braviatv_psk": { "version": "0.4.2", "requirements": [ "pySonyBraviaPSK==0.2.4" ] }, "duke_energy_gateway": { "version": "0.1.2", "requirements": [ "pyduke-energy==1.0.2" ] } }, "integration_manifest": { "domain": "screenlogic", "name": "Pentair ScreenLogic", "config_flow": true, "documentation": "https://www.home-assistant.io/integrations/screenlogic", "requirements": [ "screenlogicpy==0.5.4" ], "codeowners": [ @.", @." ], "dhcp": [ { "registered_devices": true }, { "hostname": "pentair", "macaddress": "00C033" } ], "iot_class": "local_polling", "loggers": [ "screenlogicpy" ], "is_built_in": true }, "data": { "config_entry": { "entry_id": "fb331a93a6d4f24c33daa01ad17cd375", "version": 1, "domain": "screenlogic", "title": "Pentair: EC-C0-D0", "data": { "ip_address": "192.168.2.21", "port": 80 }, "options": { "scan_interval": 30 }, "pref_disable_new_entities": false, "pref_disable_polling": false, "source": "user", "unique_id": "00:c0:33:ec:c0:d0", "disabled_by": null }, "data": { "config": { "controller_id": { "name": "Controller ID", "value": 100 }, "is_celsius": { "name": "Is Celsius", "value": 0 }, "controller_type": 5, "hardware_type": 0, "controller_buffer": 0, "equipment_flags": 32816, "generic_circuit_name": { "name": "Default Circuit Name", "value": "Water Features" }, "circuit_count": { "name": "Number of Circuits", "value": 15 }, "color_count": { "name": "Number of Colors", "value": 8 }, "colors": [ { "name": "White", "value": [ 255, 255, 255 ] }, { "name": "Light Green", "value": [ 160, 255, 160 ] }, { "name": "Green", "value": [ 0, 255, 80 ] }, { "name": "Cyan", "value": [ 0, 255, 200 ] }, { "name": "Blue", "value": [ 100, 140, 255 ] }, { "name": "Lavender", "value": [ 230, 130, 255 ] }, { "name": "Magenta", "value": [ 255, 0, 128 ] }, { "name": "Light Magenta", "value": [ 255, 180, 210 ] } ], "interface_tab_flags": 127, "show_alarms": 1, "ok": { "name": "OK Check", "value": 1 }, "freeze_mode": { "name": "Freeze Mode", "value": 8 }, "remotes": { "name": "Remotes", "value": 0 }, "pool_delay": { "name": "Pool Delay", "value": 0 }, "spa_delay": { "name": "Spa Delay", "value": 0 }, "cleaner_delay": { "name": "Cleaner Delay", "value": 0 } }, "bodies": { "0": { "min_set_point": { "name": "Pool Minimum Set Point", "value": 40, "unit": "\u00b0F" }, "max_set_point": { "name": "Pool Minimum Set Point", "value": 104, "unit": "\u00b0F" }, "body_type": { "name": "Type of body of water", "value": 0 }, "last_temperature": { "name": "Last Pool Temperature", "value": 39, "unit": "\u00b0F", "device_type": "temperature" }, "heat_status": { "name": "Pool Heat", "value": 0 }, "heat_set_point": { "name": "Pool Heat Set Point", "value": 83, "unit": "\u00b0F", "device_type": "temperature" }, "cool_set_point": { "name": "Pool Cool Set Point", "value": 96, "unit": "\u00b0F" }, "heat_mode": { "name": "Pool Heat Mode", "value": 0 } }, "1": { "min_set_point": { "name": "Spa Minimum Set Point", "value": 40, "unit": "\u00b0F" }, "max_set_point": { "name": "Spa Minimum Set Point", "value": 104, "unit": "\u00b0F" }, "body_type": { "name": "Type of body of water", "value": 1 }, "last_temperature": { "name": "Last Spa Temperature", "value": 19, "unit": "\u00b0F", "device_type": "temperature" }, "heat_status": { "name": "Spa Heat", "value": 2 }, "heat_set_point": { "name": "Spa Heat Set Point", "value": 46, "unit": "\u00b0F", "device_type": "temperature" }, "cool_set_point": { "name": "Spa Cool Set Point", "value": 20, "unit": "\u00b0F" }, "heat_mode": { "name": "Spa Heat Mode", "value": 3 } } }, "circuits": { "500": { "id": 500, "name": "Spa", "name_index": 71, "function": 1, "interface": 1, "flags": 1, "color_set": 0, "color_position": 0, "color_stagger": 0, "device_id": 1, "default_rt": 720, "value": 1, "delay": 0 }, "501": { "id": 501, "name": "Aux 1", "name_index": 2, "function": 0, "interface": 2, "flags": 0, "color_set": 0, "color_position": 0, "color_stagger": 0, "device_id": 2, "default_rt": 720, "value": 0, "delay": 0 }, "502": { "id": 502, "name": "Lights", "name_index": 46, "function": 9, "interface": 4, "flags": 0, "color_set": 0, "color_position": 0, "color_stagger": 0, "device_id": 3, "default_rt": 720, "value": 0, "delay": 0 }, "503": { "id": 503, "name": "Jets", "name_index": 45, "function": 0, "interface": 2, "flags": 1, "color_set": 0, "color_position": 0, "color_stagger": 0, "device_id": 4, "default_rt": 720, "value": 1, "delay": 0 }, "504": { "id": 504, "name": "Fountain", "name_index": 34, "function": 13, "interface": 2, "flags": 0, "color_set": 0, "color_position": 0, "color_stagger": 0, "device_id": 5, "default_rt": 720, "value": 0, "delay": 0 }, "505": { "id": 505, "name": "Pool", "name_index": 60, "function": 2, "interface": 0, "flags": 1, "color_set": 0, "color_position": 0, "color_stagger": 0, "device_id": 6, "default_rt": 720, "value": 1, "delay": 0 }, "507": { "id": 507, "name": "Cleaner", "name_index": 21, "function": 5, "interface": 5, "flags": 1, "color_set": 0, "color_position": 0, "color_stagger": 0, "device_id": 8, "default_rt": 720, "value": 1, "delay": 0 }, "508": { "id": 508, "name": "SPA WAT HI", "name_index": 96, "function": 0, "interface": 2, "flags": 0, "color_set": 0, "color_position": 0, "color_stagger": 0, "device_id": 9, "default_rt": 720, "value": 0, "delay": 0 }, "509": { "id": 509, "name": "Aux 8", "name_index": 9, "function": 0, "interface": 2, "flags": 0, "color_set": 0, "color_position": 0, "color_stagger": 0, "device_id": 10, "default_rt": 720, "value": 0, "delay": 0 }, "540": { "id": 540, "name": "Spa Waterfall", "name_index": 77, "function": 0, "interface": 2, "flags": 0, "color_set": 0, "color_position": 0, "color_stagger": 0, "device_id": 41, "default_rt": 720, "value": 0, "delay": 0 }, "541": { "id": 541, "name": "Spa High", "name_index": 72, "function": 0, "interface": 5, "flags": 0, "color_set": 0, "color_position": 0, "color_stagger": 0, "device_id": 42, "default_rt": 720, "value": 0, "delay": 0 }, "542": { "id": 542, "name": "SPA MED", "name_index": 93, "function": 0, "interface": 5, "flags": 0, "color_set": 0, "color_position": 0, "color_stagger": 0, "device_id": 43, "default_rt": 720, "value": 0, "delay": 0 }, "543": { "id": 543, "name": "PARTY", "name_index": 94, "function": 0, "interface": 2, "flags": 0, "color_set": 0, "color_position": 0, "color_stagger": 0, "device_id": 44, "default_rt": 720, "value": 0, "delay": 0 }, "545": { "id": 545, "name": "Fountain 1", "name_index": 35, "function": 13, "interface": 2, "flags": 0, "color_set": 0, "color_position": 0, "color_stagger": 0, "device_id": 46, "default_rt": 720, "value": 0, "delay": 0 }, "546": { "id": 546, "name": "spa spill v", "name_index": 95, "function": 13, "interface": 5, "flags": 0, "color_set": 0, "color_position": 0, "color_stagger": 0, "device_id": 47, "default_rt": 720, "value": 0, "delay": 0 } }, "pumps": { "0": { "data": 134, "name": "Pool Pump", "pumpType": 2, "state": 1, "currentWatts": { "name": "Pool Pump Current Watts", "value": 1992, "unit": "W", "device_type": "energy" }, "currentRPM": { "name": "Pool Pump Current RPM", "value": 2960, "unit": "rpm" }, "presets": { "0": { "cid": 6, "setPoint": 1950, "isRPM": 1 }, "1": { "cid": 0, "setPoint": 2200, "isRPM": 1 }, "2": { "cid": 5, "setPoint": 2220, "isRPM": 1 }, "3": { "cid": 159, "setPoint": 2960, "isRPM": 1 }, "4": { "cid": 44, "setPoint": 3320, "isRPM": 1 }, "5": { "cid": 9, "setPoint": 3200, "isRPM": 1 }, "6": { "cid": 0, "setPoint": 1000, "isRPM": 1 }, "7": { "cid": 0, "setPoint": 1000, "isRPM": 1 } } }, "1": { "data": 129, "name": "Spa Pump", "pumpType": 2, "state": 1, "currentWatts": { "name": "Spa Pump Current Watts", "value": 606, "unit": "W", "device_type": "energy" }, "currentRPM": { "name": "Spa Pump Current RPM", "value": 2000, "unit": "rpm" }, "presets": { "0": { "cid": 1, "setPoint": 1750, "isRPM": 1 }, "1": { "cid": 156, "setPoint": 1750, "isRPM": 1 }, "2": { "cid": 4, "setPoint": 2000, "isRPM": 1 }, "3": { "cid": 42, "setPoint": 3100, "isRPM": 1 }, "4": { "cid": 43, "setPoint": 2500, "isRPM": 1 }, "5": { "cid": 0, "setPoint": 1000, "isRPM": 1 }, "6": { "cid": 0, "setPoint": 1000, "isRPM": 1 }, "7": { "cid": 0, "setPoint": 1000, "isRPM": 1 } } }, "2": { "data": 0 }, "3": { "data": 0 }, "4": { "data": 0 }, "5": { "data": 0 }, "6": { "data": 0 }, "7": { "data": 0 } }, "sensors": { "air_temperature": { "name": "Air Temperature", "value": 20, "unit": "\u00b0F", "device_type": "temperature" }, "ph": { "name": "pH", "value": 7.83, "unit": "pH" }, "orp": { "name": "ORP", "value": 271, "unit": "mV" }, "saturation": { "name": "Saturation Index", "value": -0.59, "unit": "lsi" }, "salt_ppm": { "name": "Salt", "value": 0, "unit": "ppm" }, "ph_supply_level": { "name": "pH Supply Level", "value": 4 }, "orp_supply_level": { "name": "ORP Supply Level", "value": 7 }, "chem_alarm": { "name": "Chemistry Alarm", "value": 1, "device_type": "alarm" } }, "chemistry": { "current_ph": { "name": "Current pH", "value": 7.83, "unit": "pH" }, "current_orp": { "name": "Current ORP", "value": 271, "unit": "mV" }, "ph_setpoint": { "name": "pH Setpoint", "value": 7.4, "unit": "pH" }, "orp_setpoint": { "name": "ORP Setpoint", "value": 630, "unit": "mV" }, "ph_last_dose_time": { "name": "Last pH Dose Time", "value": 42, "unit": "Sec" }, "orp_last_dose_time": { "name": "Last ORP Dose Time", "value": 17257, "unit": "Sec" }, "ph_last_dose_volume": { "name": "Last pH Dose Volume", "value": 119, "unit": "mL" }, "orp_last_dose_volume": { "name": "Last ORP Dose Volume", "value": 0, "unit": "mL" }, "ph_supply_level": { "name": "pH Supply Level", "value": 4 }, "orp_supply_level": { "name": "ORP Supply Level", "value": 7 }, "saturation": { "name": "Saturation Index", "value": -0.59, "unit": "lsi" }, "calcium_harness": { "name": "Calcium Hardness", "value": 250, "unit": "ppm" }, "cya": { "name": "Cyanuric Acid", "value": 18, "unit": "ppm" }, "total_alkalinity": { "name": "Total Alkalinity", "value": 90, "unit": "ppm" }, "salt_tds_ppm": { "name": "Salt/TDS", "value": 1000, "unit": "ppm" }, "ph_probe_water_temp": { "name": "pH Probe Water Temperature", "value": 20, "unit": "\u00b0F", "device_type": "temperature" }, "alerts": { "flow_alarm": { "name": "Flow Alarm", "value": 0, "device_type": "alarm" }, "ph_alarm": { "name": "pH Alarm", "value": 0, "device_type": "alarm" }, "orp_alarm": { "name": "ORP Alarm", "value": 0, "device_type": "alarm" }, "ph_supply_alarm": { "name": "pH Supply Alarm", "value": 0, "device_type": "alarm" }, "orp_supply_alarm": { "name": "ORP Supply Alarm", "value": 0, "device_type": "alarm" }, "probe_fault_alarm": { "name": "Probe Fault", "value": 0, "device_type": "alarm" } }, "notifications": { "ph_lockout": { "name": "pH Lockout", "value": 0 }, "ph_limit": { "name": "pH Daily Limit Reached", "value": 0 }, "orp_limit": { "name": "ORP Daily Limit Reached", "value": 0 } }, "status": 25, "ph_dosing_state": { "name": "pH Dosing State", "value": 1 }, "orp_dosing_state": { "name": "ORP Dosing State", "value": 0 }, "flags": 32, "firmware": { "name": "IntelliChem Firmware Version", "value": "1.040" } }, "scg": { "scg_present": 0, "scg_status": { "name": "SCG Status", "value": 1 }, "scg_level1": { "name": "Pool SCG Level", "value": 50, "unit": "%" }, "scg_level2": { "name": "Spa SCG Level", "value": 0, "unit": "%" }, "scg_salt_ppm": { "name": "SCG Salt", "value": 0, "unit": "ppm" }, "scg_flags": 0, "scg_super_chlor_timer": { "name": "SCG Super Chlorination Timer", "value": 0 } } } } }

farberm commented 1 year ago

Attached the two diagnostic info below

}

}, "integration_manifest": { "domain": "screenlogic", "name": "Pentair ScreenLogic", "config_flow": true, "documentation": "https://www.home-assistant.io/integrations/screenlogic https://www.home-assistant.io/integrations/screenlogic", "requirements": [ "screenlogicpy==0.5.4" ], "codeowners": [ @.", @." ], "dhcp": [ { "registered_devices": true }, { "hostname": "pentair", "macaddress": "00C033" } ], "iot_class": "local_polling", "loggers": [ "screenlogicpy" ], "is_built_in": true }, "data": { "config_entry": { "entry_id": "fb331a93a6d4f24c33daa01ad17cd375", "version": 1, "domain": "screenlogic", "title": "Pentair: EC-C0-D0", "data": { "ip_address": "192.168.2.21", "port": 80 }, "options": { "scan_interval": 30 }, "pref_disable_new_entities": false, "pref_disable_polling": false, "source": "user", "unique_id": "00:c0:33:ec:c0:d0", "disabled_by": null }, "data": { "config": { "controller_id": { "name": "Controller ID", "value": 100 }, "is_celsius": { "name": "Is Celsius", "value": 0 }, "controller_type": 5, "hardware_type": 0, "controller_buffer": 0, "equipment_flags": 32816, "generic_circuit_name": { "name": "Default Circuit Name", "value": "Water Features" }, "circuit_count": { "name": "Number of Circuits", "value": 15 }, "color_count": { "name": "Number of Colors", "value": 8 }, "colors": [ { "name": "White", "value": [ 255, 255, 255 ] }, { "name": "Light Green", "value": [ 160, 255, 160 ] }, { "name": "Green", "value": [ 0, 255, 80 ] }, { "name": "Cyan", "value": [ 0, 255, 200 ] }, { "name": "Blue", "value": [ 100, 140, 255 ] }, { "name": "Lavender", "value": [ 230, 130, 255 ] }, { "name": "Magenta", "value": [ 255, 0, 128 ] }, { "name": "Light Magenta", "value": [ 255, 180, 210 ] } ], "interface_tab_flags": 127, "show_alarms": 1, "ok": { "name": "OK Check", "value": 1 }, "freeze_mode": { "name": "Freeze Mode", "value": 0 }, "remotes": { "name": "Remotes", "value": 0 }, "pool_delay": { "name": "Pool Delay", "value": 0 }, "spa_delay": { "name": "Spa Delay", "value": 0 }, "cleaner_delay": { "name": "Cleaner Delay", "value": 0 } }, "bodies": { "0": { "min_set_point": { "name": "Pool Minimum Set Point", "value": 40, "unit": "\u00b0F" }, "max_set_point": { "name": "Pool Minimum Set Point", "value": 104, "unit": "\u00b0F" }, "body_type": { "name": "Type of body of water", "value": 0 }, "last_temperature": { "name": "Last Pool Temperature", "value": 39, "unit": "\u00b0F", "device_type": "temperature" }, "heat_status": { "name": "Pool Heat", "value": 0 }, "heat_set_point": { "name": "Pool Heat Set Point", "value": 83, "unit": "\u00b0F", "device_type": "temperature" }, "cool_set_point": { "name": "Pool Cool Set Point", "value": 96, "unit": "\u00b0F" }, "heat_mode": { "name": "Pool Heat Mode", "value": 0 } }, "1": { "min_set_point": { "name": "Spa Minimum Set Point", "value": 40, "unit": "\u00b0F" }, "max_set_point": { "name": "Spa Minimum Set Point", "value": 104, "unit": "\u00b0F" }, "body_type": { "name": "Type of body of water", "value": 1 }, "last_temperature": { "name": "Last Spa Temperature", "value": 30, "unit": "\u00b0F", "device_type": "temperature" }, "heat_status": { "name": "Spa Heat", "value": 2 }, "heat_set_point": { "name": "Spa Heat Set Point", "value": 46, "unit": "\u00b0F", "device_type": "temperature" }, "cool_set_point": { "name": "Spa Cool Set Point", "value": 37, "unit": "\u00b0F" }, "heat_mode": { "name": "Spa Heat Mode", "value": 3 } } }, "circuits": { "500": { "id": 500, "name": "Spa", "name_index": 71, "function": 1, "interface": 1, "flags": 1, "color_set": 0, "color_position": 0, "color_stagger": 0, "device_id": 1, "default_rt": 720, "value": 1, "delay": 0 }, "501": { "id": 501, "name": "Aux 1", "name_index": 2, "function": 0, "interface": 2, "flags": 0, "color_set": 0, "color_position": 0, "color_stagger": 0, "device_id": 2, "default_rt": 720, "value": 0, "delay": 0 }, "502": { "id": 502, "name": "Lights", "name_index": 46, "function": 9, "interface": 4, "flags": 0, "color_set": 0, "color_position": 0, "color_stagger": 0, "device_id": 3, "default_rt": 720, "value": 0, "delay": 0 }, "503": { "id": 503, "name": "Jets", "name_index": 45, "function": 0, "interface": 2, "flags": 1, "color_set": 0, "color_position": 0, "color_stagger": 0, "device_id": 4, "default_rt": 720, "value": 0, "delay": 0 }, "504": { "id": 504, "name": "Fountain", "name_index": 34, "function": 13, "interface": 2, "flags": 0, "color_set": 0, "color_position": 0, "color_stagger": 0, "device_id": 5, "default_rt": 720, "value": 0, "delay": 0 }, "505": { "id": 505, "name": "Pool", "name_index": 60, "function": 2, "interface": 0, "flags": 1, "color_set": 0, "color_position": 0, "color_stagger": 0, "device_id": 6, "default_rt": 720, "value": 1, "delay": 0 }, "507": { "id": 507, "name": "Cleaner", "name_index": 21, "function": 5, "interface": 5, "flags": 1, "color_set": 0, "color_position": 0, "color_stagger": 0, "device_id": 8, "default_rt": 720, "value": 0, "delay": 0 }, "508": { "id": 508, "name": "SPA WAT HI", "name_index": 96, "function": 0, "interface": 2, "flags": 0, "color_set": 0, "color_position": 0, "color_stagger": 0, "device_id": 9, "default_rt": 720, "value": 0, "delay": 0 }, "509": { "id": 509, "name": "Aux 8", "name_index": 9, "function": 0, "interface": 2, "flags": 0, "color_set": 0, "color_position": 0, "color_stagger": 0, "device_id": 10, "default_rt": 720, "value": 0, "delay": 0 }, "540": { "id": 540, "name": "Spa Waterfall", "name_index": 77, "function": 0, "interface": 2, "flags": 0, "color_set": 0, "color_position": 0, "color_stagger": 0, "device_id": 41, "default_rt": 720, "value": 0, "delay": 0 }, "541": { "id": 541, "name": "Spa High", "name_index": 72, "function": 0, "interface": 5, "flags": 0, "color_set": 0, "color_position": 0, "color_stagger": 0, "device_id": 42, "default_rt": 720, "value": 0, "delay": 0 }, "542": { "id": 542, "name": "SPA MED", "name_index": 93, "function": 0, "interface": 5, "flags": 0, "color_set": 0, "color_position": 0, "color_stagger": 0, "device_id": 43, "default_rt": 720, "value": 0, "delay": 0 }, "543": { "id": 543, "name": "PARTY", "name_index": 94, "function": 0, "interface": 2, "flags": 0, "color_set": 0, "color_position": 0, "color_stagger": 0, "device_id": 44, "default_rt": 720, "value": 0, "delay": 0 }, "545": { "id": 545, "name": "Fountain 1", "name_index": 35, "function": 13, "interface": 2, "flags": 0, "color_set": 0, "color_position": 0, "color_stagger": 0, "device_id": 46, "default_rt": 720, "value": 0, "delay": 0 }, "546": { "id": 546, "name": "spa spill v", "name_index": 95, "function": 13, "interface": 5, "flags": 0, "color_set": 0, "color_position": 0, "color_stagger": 0, "device_id": 47, "default_rt": 720, "value": 0, "delay": 0 } }, "pumps": { "0": { "data": 134, "name": "Pool Pump", "pumpType": 2, "state": 1, "currentWatts": { "name": "Pool Pump Current Watts", "value": 632, "unit": "W", "device_type": "energy" }, "currentRPM": { "name": "Pool Pump Current RPM", "value": 1950, "unit": "rpm" }, "presets": { "0": { "cid": 6, "setPoint": 1950, "isRPM": 1 }, "1": { "cid": 0, "setPoint": 2200, "isRPM": 1 }, "2": { "cid": 5, "setPoint": 2220, "isRPM": 1 }, "3": { "cid": 159, "setPoint": 2960, "isRPM": 1 }, "4": { "cid": 44, "setPoint": 3320, "isRPM": 1 }, "5": { "cid": 9, "setPoint": 3200, "isRPM": 1 }, "6": { "cid": 0, "setPoint": 1000, "isRPM": 1 }, "7": { "cid": 0, "setPoint": 1000, "isRPM": 1 } } }, "1": { "data": 129, "name": "Spa Pump", "pumpType": 2, "state": 1, "currentWatts": { "name": "Spa Pump Current Watts", "value": 254, "unit": "W", "device_type": "energy" }, "currentRPM": { "name": "Spa Pump Current RPM", "value": 1750, "unit": "rpm" }, "presets": { "0": { "cid": 1, "setPoint": 1750, "isRPM": 1 }, "1": { "cid": 156, "setPoint": 1750, "isRPM": 1 }, "2": { "cid": 4, "setPoint": 2000, "isRPM": 1 }, "3": { "cid": 42, "setPoint": 3100, "isRPM": 1 }, "4": { "cid": 43, "setPoint": 2500, "isRPM": 1 }, "5": { "cid": 0, "setPoint": 1000, "isRPM": 1 }, "6": { "cid": 0, "setPoint": 1000, "isRPM": 1 }, "7": { "cid": 0, "setPoint": 1000, "isRPM": 1 } } }, "2": { "data": 0 }, "3": { "data": 0 }, "4": { "data": 0 }, "5": { "data": 0 }, "6": { "data": 0 }, "7": { "data": 0 } }, "sensors": { "air_temperature": { "name": "Air Temperature", "value": 37, "unit": "\u00b0F", "device_type": "temperature" }, "ph": { "name": "pH", "value": 7.69, "unit": "pH" }, "orp": { "name": "ORP", "value": 321, "unit": "mV" }, "saturation": { "name": "Saturation Index", "value": -0.59, "unit": "lsi" }, "salt_ppm": { "name": "Salt", "value": 0, "unit": "ppm" }, "ph_supply_level": { "name": "pH Supply Level", "value": 3 }, "orp_supply_level": { "name": "ORP Supply Level", "value": 7 }, "chem_alarm": { "name": "Chemistry Alarm", "value": 1, "device_type": "alarm" } }, "chemistry": { "current_ph": { "name": "Current pH", "value": 7.69, "unit": "pH" }, "current_orp": { "name": "Current ORP", "value": 321, "unit": "mV" }, "ph_setpoint": { "name": "pH Setpoint", "value": 7.4, "unit": "pH" }, "orp_setpoint": { "name": "ORP Setpoint", "value": 630, "unit": "mV" }, "ph_last_dose_time": { "name": "Last pH Dose Time", "value": 35, "unit": "Sec" }, "orp_last_dose_time": { "name": "Last ORP Dose Time", "value": 461, "unit": "Sec" }, "ph_last_dose_volume": { "name": "Last pH Dose Volume", "value": 99, "unit": "mL" }, "orp_last_dose_volume": { "name": "Last ORP Dose Volume", "value": 0, "unit": "mL" }, "ph_supply_level": { "name": "pH Supply Level", "value": 3 }, "orp_supply_level": { "name": "ORP Supply Level", "value": 7 }, "saturation": { "name": "Saturation Index", "value": -0.59, "unit": "lsi" }, "calcium_harness": { "name": "Calcium Hardness", "value": 250, "unit": "ppm" }, "cya": { "name": "Cyanuric Acid", "value": 18, "unit": "ppm" }, "total_alkalinity": { "name": "Total Alkalinity", "value": 90, "unit": "ppm" }, "salt_tds_ppm": { "name": "Salt/TDS", "value": 1000, "unit": "ppm" }, "ph_probe_water_temp": { "name": "pH Probe Water Temperature", "value": 30, "unit": "\u00b0F", "device_type": "temperature" }, "alerts": { "flow_alarm": { "name": "Flow Alarm", "value": 0, "device_type": "alarm" }, "ph_alarm": { "name": "pH Alarm", "value": 0, "device_type": "alarm" }, "orp_alarm": { "name": "ORP Alarm", "value": 0, "device_type": "alarm" }, "ph_supply_alarm": { "name": "pH Supply Alarm", "value": 0, "device_type": "alarm" }, "orp_supply_alarm": { "name": "ORP Supply Alarm", "value": 0, "device_type": "alarm" }, "probe_fault_alarm": { "name": "Probe Fault", "value": 0, "device_type": "alarm" } }, "notifications": { "ph_lockout": { "name": "pH Lockout", "value": 0 }, "ph_limit": { "name": "pH Daily Limit Reached", "value": 0 }, "orp_limit": { "name": "ORP Daily Limit Reached", "value": 0 } }, "status": 25, "ph_dosing_state": { "name": "pH Dosing State", "value": 1 }, "orp_dosing_state": { "name": "ORP Dosing State", "value": 0 }, "flags": 32, "firmware": { "name": "IntelliChem Firmware Version", "value": "1.040" } }, "scg": { "scg_present": 0, "scg_status": { "name": "SCG Status", "value": 1 }, "scg_level1": { "name": "Pool SCG Level", "value": 50, "unit": "%" }, "scg_level2": { "name": "Spa SCG Level", "value": 0, "unit": "%" }, "scg_salt_ppm": { "name": "SCG Salt", "value": 0, "unit": "ppm" }, "scg_flags": 0, "scg_super_chlor_timer": { "name": "SCG Super Chlorination Timer", "value": 0 } } } } } {

}, "integration_manifest": { "domain": "screenlogic", "name": "Pentair ScreenLogic", "config_flow": true, "documentation": "https://www.home-assistant.io/integrations/screenlogic https://www.home-assistant.io/integrations/screenlogic", "requirements": [ "screenlogicpy==0.5.4" ], "codeowners": [ @.", @." ], "dhcp": [ { "registered_devices": true }, { "hostname": "pentair", "macaddress": "00C033" } ], "iot_class": "local_polling", "loggers": [ "screenlogicpy" ], "is_built_in": true }, "data": { "config_entry": { "entry_id": "fb331a93a6d4f24c33daa01ad17cd375", "version": 1, "domain": "screenlogic", "title": "Pentair: EC-C0-D0", "data": { "ip_address": "192.168.2.21", "port": 80 }, "options": { "scan_interval": 30 }, "pref_disable_new_entities": false, "pref_disable_polling": false, "source": "user", "unique_id": "00:c0:33:ec:c0:d0", "disabled_by": null }, "data": { "config": { "controller_id": { "name": "Controller ID", "value": 100 }, "is_celsius": { "name": "Is Celsius", "value": 0 }, "controller_type": 5, "hardware_type": 0, "controller_buffer": 0, "equipment_flags": 32816, "generic_circuit_name": { "name": "Default Circuit Name", "value": "Water Features" }, "circuit_count": { "name": "Number of Circuits", "value": 15 }, "color_count": { "name": "Number of Colors", "value": 8 }, "colors": [ { "name": "White", "value": [ 255, 255, 255 ] }, { "name": "Light Green", "value": [ 160, 255, 160 ] }, { "name": "Green", "value": [ 0, 255, 80 ] }, { "name": "Cyan", "value": [ 0, 255, 200 ] }, { "name": "Blue", "value": [ 100, 140, 255 ] }, { "name": "Lavender", "value": [ 230, 130, 255 ] }, { "name": "Magenta", "value": [ 255, 0, 128 ] }, { "name": "Light Magenta", "value": [ 255, 180, 210 ] } ], "interface_tab_flags": 127, "show_alarms": 1, "ok": { "name": "OK Check", "value": 1 }, "freeze_mode": { "name": "Freeze Mode", "value": 8 }, "remotes": { "name": "Remotes", "value": 0 }, "pool_delay": { "name": "Pool Delay", "value": 0 }, "spa_delay": { "name": "Spa Delay", "value": 0 }, "cleaner_delay": { "name": "Cleaner Delay", "value": 0 } }, "bodies": { "0": { "min_set_point": { "name": "Pool Minimum Set Point", "value": 40, "unit": "\u00b0F" }, "max_set_point": { "name": "Pool Minimum Set Point", "value": 104, "unit": "\u00b0F" }, "body_type": { "name": "Type of body of water", "value": 0 }, "last_temperature": { "name": "Last Pool Temperature", "value": 39, "unit": "\u00b0F", "device_type": "temperature" }, "heat_status": { "name": "Pool Heat", "value": 0 }, "heat_set_point": { "name": "Pool Heat Set Point", "value": 83, "unit": "\u00b0F", "device_type": "temperature" }, "cool_set_point": { "name": "Pool Cool Set Point", "value": 96, "unit": "\u00b0F" }, "heat_mode": { "name": "Pool Heat Mode", "value": 0 } }, "1": { "min_set_point": { "name": "Spa Minimum Set Point", "value": 40, "unit": "\u00b0F" }, "max_set_point": { "name": "Spa Minimum Set Point", "value": 104, "unit": "\u00b0F" }, "body_type": { "name": "Type of body of water", "value": 1 }, "last_temperature": { "name": "Last Spa Temperature", "value": 19, "unit": "\u00b0F", "device_type": "temperature" }, "heat_status": { "name": "Spa Heat", "value": 2 }, "heat_set_point": { "name": "Spa Heat Set Point", "value": 46, "unit": "\u00b0F", "device_type": "temperature" }, "cool_set_point": { "name": "Spa Cool Set Point", "value": 20, "unit": "\u00b0F" }, "heat_mode": { "name": "Spa Heat Mode", "value": 3 } } }, "circuits": { "500": { "id": 500, "name": "Spa", "name_index": 71, "function": 1, "interface": 1, "flags": 1, "color_set": 0, "color_position": 0, "color_stagger": 0, "device_id": 1, "default_rt": 720, "value": 1, "delay": 0 }, "501": { "id": 501, "name": "Aux 1", "name_index": 2, "function": 0, "interface": 2, "flags": 0, "color_set": 0, "color_position": 0, "color_stagger": 0, "device_id": 2, "default_rt": 720, "value": 0, "delay": 0 }, "502": { "id": 502, "name": "Lights", "name_index": 46, "function": 9, "interface": 4, "flags": 0, "color_set": 0, "color_position": 0, "color_stagger": 0, "device_id": 3, "default_rt": 720, "value": 0, "delay": 0 }, "503": { "id": 503, "name": "Jets", "name_index": 45, "function": 0, "interface": 2, "flags": 1, "color_set": 0, "color_position": 0, "color_stagger": 0, "device_id": 4, "default_rt": 720, "value": 1, "delay": 0 }, "504": { "id": 504, "name": "Fountain", "name_index": 34, "function": 13, "interface": 2, "flags": 0, "color_set": 0, "color_position": 0, "color_stagger": 0, "device_id": 5, "default_rt": 720, "value": 0, "delay": 0 }, "505": { "id": 505, "name": "Pool", "name_index": 60, "function": 2, "interface": 0, "flags": 1, "color_set": 0, "color_position": 0, "color_stagger": 0, "device_id": 6, "default_rt": 720, "value": 1, "delay": 0 }, "507": { "id": 507, "name": "Cleaner", "name_index": 21, "function": 5, "interface": 5, "flags": 1, "color_set": 0, "color_position": 0, "color_stagger": 0, "device_id": 8, "default_rt": 720, "value": 1, "delay": 0 }, "508": { "id": 508, "name": "SPA WAT HI", "name_index": 96, "function": 0, "interface": 2, "flags": 0, "color_set": 0, "color_position": 0, "color_stagger": 0, "device_id": 9, "default_rt": 720, "value": 0, "delay": 0 }, "509": { "id": 509, "name": "Aux 8", "name_index": 9, "function": 0, "interface": 2, "flags": 0, "color_set": 0, "color_position": 0, "color_stagger": 0, "device_id": 10, "default_rt": 720, "value": 0, "delay": 0 }, "540": { "id": 540, "name": "Spa Waterfall", "name_index": 77, "function": 0, "interface": 2, "flags": 0, "color_set": 0, "color_position": 0, "color_stagger": 0, "device_id": 41, "default_rt": 720, "value": 0, "delay": 0 }, "541": { "id": 541, "name": "Spa High", "name_index": 72, "function": 0, "interface": 5, "flags": 0, "color_set": 0, "color_position": 0, "color_stagger": 0, "device_id": 42, "default_rt": 720, "value": 0, "delay": 0 }, "542": { "id": 542, "name": "SPA MED", "name_index": 93, "function": 0, "interface": 5, "flags": 0, "color_set": 0, "color_position": 0, "color_stagger": 0, "device_id": 43, "default_rt": 720, "value": 0, "delay": 0 }, "543": { "id": 543, "name": "PARTY", "name_index": 94, "function": 0, "interface": 2, "flags": 0, "color_set": 0, "color_position": 0, "color_stagger": 0, "device_id": 44, "default_rt": 720, "value": 0, "delay": 0 }, "545": { "id": 545, "name": "Fountain 1", "name_index": 35, "function": 13, "interface": 2, "flags": 0, "color_set": 0, "color_position": 0, "color_stagger": 0, "device_id": 46, "default_rt": 720, "value": 0, "delay": 0 }, "546": { "id": 546, "name": "spa spill v", "name_index": 95, "function": 13, "interface": 5, "flags": 0, "color_set": 0, "color_position": 0, "color_stagger": 0, "device_id": 47, "default_rt": 720, "value": 0, "delay": 0 } }, "pumps": { "0": { "data": 134, "name": "Pool Pump", "pumpType": 2, "state": 1, "currentWatts": { "name": "Pool Pump Current Watts", "value": 1992, "unit": "W", "device_type": "energy" }, "currentRPM": { "name": "Pool Pump Current RPM", "value": 2960, "unit": "rpm" }, "presets": { "0": { "cid": 6, "setPoint": 1950, "isRPM": 1 }, "1": { "cid": 0, "setPoint": 2200, "isRPM": 1 }, "2": { "cid": 5, "setPoint": 2220, "isRPM": 1 }, "3": { "cid": 159, "setPoint": 2960, "isRPM": 1 }, "4": { "cid": 44, "setPoint": 3320, "isRPM": 1 }, "5": { "cid": 9, "setPoint": 3200, "isRPM": 1 }, "6": { "cid": 0, "setPoint": 1000, "isRPM": 1 }, "7": { "cid": 0, "setPoint": 1000, "isRPM": 1 } } }, "1": { "data": 129, "name": "Spa Pump", "pumpType": 2, "state": 1, "currentWatts": { "name": "Spa Pump Current Watts", "value": 606, "unit": "W", "device_type": "energy" }, "currentRPM": { "name": "Spa Pump Current RPM", "value": 2000, "unit": "rpm" }, "presets": { "0": { "cid": 1, "setPoint": 1750, "isRPM": 1 }, "1": { "cid": 156, "setPoint": 1750, "isRPM": 1 }, "2": { "cid": 4, "setPoint": 2000, "isRPM": 1 }, "3": { "cid": 42, "setPoint": 3100, "isRPM": 1 }, "4": { "cid": 43, "setPoint": 2500, "isRPM": 1 }, "5": { "cid": 0, "setPoint": 1000, "isRPM": 1 }, "6": { "cid": 0, "setPoint": 1000, "isRPM": 1 }, "7": { "cid": 0, "setPoint": 1000, "isRPM": 1 } } }, "2": { "data": 0 }, "3": { "data": 0 }, "4": { "data": 0 }, "5": { "data": 0 }, "6": { "data": 0 }, "7": { "data": 0 } }, "sensors": { "air_temperature": { "name": "Air Temperature", "value": 20, "unit": "\u00b0F", "device_type": "temperature" }, "ph": { "name": "pH", "value": 7.83, "unit": "pH" }, "orp": { "name": "ORP", "value": 271, "unit": "mV" }, "saturation": { "name": "Saturation Index", "value": -0.59, "unit": "lsi" }, "salt_ppm": { "name": "Salt", "value": 0, "unit": "ppm" }, "ph_supply_level": { "name": "pH Supply Level", "value": 4 }, "orp_supply_level": { "name": "ORP Supply Level", "value": 7 }, "chem_alarm": { "name": "Chemistry Alarm", "value": 1, "device_type": "alarm" } }, "chemistry": { "current_ph": { "name": "Current pH", "value": 7.83, "unit": "pH" }, "current_orp": { "name": "Current ORP", "value": 271, "unit": "mV" }, "ph_setpoint": { "name": "pH Setpoint", "value": 7.4, "unit": "pH" }, "orp_setpoint": { "name": "ORP Setpoint", "value": 630, "unit": "mV" }, "ph_last_dose_time": { "name": "Last pH Dose Time", "value": 42, "unit": "Sec" }, "orp_last_dose_time": { "name": "Last ORP Dose Time", "value": 17257, "unit": "Sec" }, "ph_last_dose_volume": { "name": "Last pH Dose Volume", "value": 119, "unit": "mL" }, "orp_last_dose_volume": { "name": "Last ORP Dose Volume", "value": 0, "unit": "mL" }, "ph_supply_level": { "name": "pH Supply Level", "value": 4 }, "orp_supply_level": { "name": "ORP Supply Level", "value": 7 }, "saturation": { "name": "Saturation Index", "value": -0.59, "unit": "lsi" }, "calcium_harness": { "name": "Calcium Hardness", "value": 250, "unit": "ppm" }, "cya": { "name": "Cyanuric Acid", "value": 18, "unit": "ppm" }, "total_alkalinity": { "name": "Total Alkalinity", "value": 90, "unit": "ppm" }, "salt_tds_ppm": { "name": "Salt/TDS", "value": 1000, "unit": "ppm" }, "ph_probe_water_temp": { "name": "pH Probe Water Temperature", "value": 20, "unit": "\u00b0F", "device_type": "temperature" }, "alerts": { "flow_alarm": { "name": "Flow Alarm", "value": 0, "device_type": "alarm" }, "ph_alarm": { "name": "pH Alarm", "value": 0, "device_type": "alarm" }, "orp_alarm": { "name": "ORP Alarm", "value": 0, "device_type": "alarm" }, "ph_supply_alarm": { "name": "pH Supply Alarm", "value": 0, "device_type": "alarm" }, "orp_supply_alarm": { "name": "ORP Supply Alarm", "value": 0, "device_type": "alarm" }, "probe_fault_alarm": { "name": "Probe Fault", "value": 0, "device_type": "alarm" } }, "notifications": { "ph_lockout": { "name": "pH Lockout", "value": 0 }, "ph_limit": { "name": "pH Daily Limit Reached", "value": 0 }, "orp_limit": { "name": "ORP Daily Limit Reached", "value": 0 } }, "status": 25, "ph_dosing_state": { "name": "pH Dosing State", "value": 1 }, "orp_dosing_state": { "name": "ORP Dosing State", "value": 0 }, "flags": 32, "firmware": { "name": "IntelliChem Firmware Version", "value": "1.040" } }, "scg": { "scg_present": 0, "scg_status": { "name": "SCG Status", "value": 1 }, "scg_level1": { "name": "Pool SCG Level", "value": 50, "unit": "%" }, "scg_level2": { "name": "Spa SCG Level", "value": 0, "unit": "%" }, "scg_salt_ppm": { "name": "SCG Salt", "value": 0, "unit": "ppm" }, "scg_flags": 0, "scg_super_chlor_timer": { "name": "SCG Super Chlorination Timer", "value": 0 } } } } }

On Dec 22, 2022, at 11:43 AM, Kevin Worrel @.***> wrote:

Diagnostic data from the ScreenLogic integration would be helpful in confirming that data point is actually updating when you expect it to. Download once when you see freeze mode off and once when it is on, (but at a minimum, when it is active) and attach them both here. If that is the data point you're looking for, it should be trivial to expose it as a binary_sensor in HA. See here for how to download diagnostic data: https://www.home-assistant.io/docs/configuration/troubleshooting/#download-diagnostics https://www.home-assistant.io/docs/configuration/troubleshooting/#download-diagnostics Also, I am the developer of screenlogicpy as well. =)

— Reply to this email directly, view it on GitHub https://github.com/home-assistant/core/issues/84401#issuecomment-1363084532, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD3BWWJYHMF2A3AHDGWFILDWOSAKBANCNFSM6AAAAAATF73VKA. You are receiving this because you were mentioned.

dieselrabbit commented 1 year ago

Thanks, @farberm. This should be all the information I need to add a Freeze Mode binary_sensor.

edit: Until an internal sensor is added in the integration, you could make one with a command_line sensor. Something along the lines of:

binary_sensor:
  - platform: command_line
    name: Pentair Freeze Mode
    command: 'screenlogicpy get json'
    value_template: "{{ value_json['config']['freeze_mode']['value'] }}"
    payload_on: 8
    payload_off: 0

Be aware that you may need to specify the protocol adapter's IP in the command line if it is not discoverable (on a different subnet). The instructions for doing so are in the screenlogicpy documentation.

farberm commented 1 year ago

Great

On Jan 8, 2023, at 2:43 PM, Kevin Worrel @.***> wrote:

Thanks, @farberm https://github.com/farberm. This should be all the information I need to add a Freeze Mode binary_sensor.

— Reply to this email directly, view it on GitHub https://github.com/home-assistant/core/issues/84401#issuecomment-1374911979, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD3BWWM3VMOC2BZ34KGPPZTWRMKFFANCNFSM6AAAAAATF73VKA. You are receiving this because you were mentioned.