Open InyoEndo opened 3 months ago
Im in the process of typing out the yaml for this, have it working getting values in, so will add that in as well when done.
I don't think there is enough info to figure this out, the naming of your UI screenshots does not match the dp naming from the tuya docs.
I guess Boost is the auto/manual switch, and eco may be linked with the heatup or heat_set, but it isn't really clear exactly how.
@make-all Thanks, sorry meant to get back tto doing this but life. I'll post what I have built out so far in YAML, I just dont know wtf im doing with the primary_entity or any of the switch's (cause they dont work and its obviously wrong) or any of the values where you can write a change. As far as the reading sensors, they all work and I think I have them right.
name: Sanden Heat Pump
products:
- id: ssqd7htb3tbhxqvk
name: Sanden Wifi controller for Sanden GAU-A45HPD Heat Pump
primary_entity:
entity: switch
dps:
- id: 101
type: boolean
name: Boost
secondary_entities:
- entity: switch
name: Booster
dps:
- id: 104
type: boolean
- entity: sensor
name: Status
icon: "mdi:heat-pump"
class: enum
category: diagnostic
dps:
- id: 118
type: string
name: sensor
optional: true
persist: false
mapping:
- dps_val: "Off"
value: "Standby"
- dps_val: "Air_purging"
value: "Air Purge"
- dps_val: "Freeze protection operation"
value: "Freeze_protection"
- dps_val: "Working"
value: "Heating"
- entity: sensor
name: Current Error Code
icon: "mdi:alert-circle"
category: diagnostic
dps:
- id: 109
type: string
name: sensor
optional: true
readonly: true
- entity: sensor
name: Error History 1
icon: "mdi:alert-circle"
category: diagnostic
dps:
- id: 110
type: string
name: sensor
optional: true
readonly: true
- entity: sensor
name: Error History 2
icon: "mdi:alert-circle"
category: diagnostic
dps:
- id: 111
type: string
name: sensor
optional: true
readonly: true
- entity: sensor
name: Error History 3
icon: "mdi:alert-circle"
category: diagnostic
dps:
- id: 112
type: string
name: sensor
optional: true
readonly: true
- entity: sensor
name: Error History 4
icon: "mdi:alert-circle"
category: diagnostic
dps:
- id: 113
type: string
name: sensor
optional: true
readonly: true
- entity: sensor
name: Error History 5
icon: "mdi:alert-circle"
category: diagnostic
dps:
- id: 114
type: string
name: sensor
optional: true
readonly: true
- entity: sensor
name: Error History 6
icon: "mdi:alert-circle"
category: diagnostic
dps:
- id: 115
type: string
name: sensor
optional: true
readonly: true
- entity: sensor
name: Error History 7
icon: "mdi:alert-circle"
category: diagnostic
dps:
- id: 116
type: string
name: sensor
optional: true
readonly: true
- entity: sensor
class: temperature
name: Tank Temperature
dps:
- id: 119
name: sensor
type: integer
class: measurement
unit: "°C"
readonly: true
- entity: sensor
class: temperature
name: Outlet Temperature
dps:
- id: 120
name: sensor
type: integer
class: measurement
unit: "°C"
readonly: true
- entity: sensor
class: temperature
name: Inlet Temperature
dps:
- id: 121
name: sensor
type: integer
class: measurement
unit: "°C"
readonly: true
- entity: sensor
class: temperature
name: Discharge Temperature
dps:
- id: 122
name: sensor
type: integer
class: measurement
unit: "°C"
readonly: true
- entity: sensor
class: temperature
name: Suction Temperature
dps:
- id: 123
name: sensor
type: integer
class: measurement
unit: "°C"
readonly: true
- entity: sensor
class: temperature
name: Evaporator Temperature
dps:
- id: 124
name: sensor
type: integer
class: measurement
unit: "°C"
readonly: true
- entity: sensor
class: temperature
name: Ambiet Temperature
dps:
- id: 125
name: sensor
type: integer
class: measurement
unit: "°C"
readonly: true
- entity: sensor
name: Compressor Speed
icon: "mdi:pump"
dps:
- id: 126
name: sensor
type: integer
class: measurement
readonly: true
- entity: sensor
name: Water Pump Speed
icon: "mdi:pump"
dps:
- id: 127
name: sensor
type: integer
class: measurement
readonly: true
- entity: sensor
name: Fan Motor Speed
icon: "mdi:pump"
dps:
- id: 128
name: sensor
type: integer
class: measurement
readonly: true
- entity: sensor
name: Compressor Total Time
icon: "mdi:chart-line"
dps:
- id: 129
name: sensor
type: integer
class: measurement
unit: "h"
readonly: true
- entity: sensor
name: Number of Compression Starts
icon: "mdi:counter"
dps:
- id: 130
name: sensor
type: integer
class: measurement
readonly: true
- entity: sensor
class: current
name: Input current
dps:
- id: 131
name: sensor
type: integer
unit: "A"
class: measurement
readonly: true
- entity: sensor
name: Heating Total Time
icon: "mdi:chart-line"
dps:
- id: 132
name: sensor
type: integer
class: measurement
unit: "h"
readonly: true
- entity: sensor
name: Defrosting Total Time
icon: "mdi:chart-line"
dps:
- id: 133
name: sensor
type: integer
class: measurement
unit: "h"
readonly: true
- entity: sensor
name: Freeze Protection Total Time
icon: "mdi:chart-line"
dps:
- id: 134
name: sensor
type: integer
class: measurement
unit: "h"
readonly: true
- entity: sensor
name: Electricity Consumption 1
icon: "mdi:lightning-bolt"
dps:
- id: 135
name: sensor
type: integer
unit: "W"
class: measurement
readonly: true
- entity: sensor
name: Estimated Hot Water
icon: "mdi:hot-tub"
dps:
- id: 156
name: sensor
type: integer
unit: "L"
class: measurement
readonly: true
mapping:
- scale: 10
- entity: sensor
name: Electricity Consumption 2
icon: "mdi:lightning-bolt"
dps:
- id: 157
name: sensor
type: integer
unit: "W"
class: measurement
readonly: true
- entity: sensor
name: Electricity Consumption 3
icon: "mdi:lightning-bolt"
dps:
- id: 158
name: sensor
type: integer
unit: "W"
class: measurement
readonly: true
- entity: select
category: config
name: Product model of HP/TANK
dps:
- id: 139
type: string
Log Message
Information about DPS mappings
Product ID
ssqd7htb3tbhxqvk
Information about how the device functions
https://www.sanden-hot-water.com.au/wifi-controller/ https://saheatpumps.com.au/wp-content/uploads/2023/12/Wifi-controller-installation-manual.pdf
From within Smart Life app
Main Screen Status so from from what I have seen is either standby or heating. Heatin being the pump active.![image](https://github.com/make-all/tuya-local/assets/89949117/ef134766-ceb4-4382-9ec3-77564dc98e96)
Time Setting For blocking out when you want to pump to be active. Ticking "Clock sync" will sync it to presumably your current phone time.![image](https://github.com/make-all/tuya-local/assets/89949117/2f24d4a2-474d-44aa-ad2a-2632ca54284e)
Boost Can specify a number of hours to activly turn the pump on. Need to switch on for it to activate. Also provides an estimate of how many litres you have left of hot water, assume this is current total as changing the boost hours does not affect this value. Could test some more.![image](https://github.com/make-all/tuya-local/assets/89949117/1cce493d-1315-4ad0-a7d5-3d4dcfaeaa4b)
Electricity Consumption Can't drill down and dont have a legend either so no idea what the number represents. Would be nicer to have a current consumption if that is availble.![image](https://github.com/make-all/tuya-local/assets/89949117/6f772fb0-bcfa-4671-94f1-361cc5dbd253)
Setting Can enter "Intial Setting" or turn on energy saving mode. Unsure what service access does, but could fiddle with it if required.![image](https://github.com/make-all/tuya-local/assets/89949117/9bcc2334-1538-48f4-a21c-9df700a56bfd)
Intial Setting Series for free text fields, not sure of point of these, maybe just for your own records.![image](https://github.com/make-all/tuya-local/assets/89949117/e4a45a14-c038-47bc-82fd-56fbca5d0ec9)