Setting “backlight_value” to “0” and back to “1” repeatedly in automation.
Sorry are you using zigbee or wifi version?
ZigBee over Local Tuya integration from xZetsubou.
Thank you for your response
Hi Sikita
My PoolMeter is now working with the Tuya xZetsubou fork. But I dont get updated values and the trick with the backlight isnt working.
is this correct configured?
{
"friendly_name": "Backlight",
"entity_category": "None",
"restore_on_reconnect": true,
"is_passive_entity": false,
"device_class": "switch",
"id": "104",
"platform": "switch",
"icon": ""
},
{
"id": "105",
"entity_category": "config",
"min_value": 0.0,
"max_value": 100000.0,
"step_size": 1.0,
"restore_on_reconnect": false,
"is_passive_entity": false,
"friendly_name": "",
"platform": "number"
}
See my configuration below. I never tried higher 'max_value", could be time of sending data back in seconds? Just an idea, try that.
{
"friendly_name": "Temperature",
"entity_category": "diagnostic",
"unit_of_measurement": "\u00b0C",
"device_class": "temperature",
"state_class": "measurement",
"scaling": 0.1,
"id": "2",
"platform": "sensor",
"icon": ""
},
{
"friendly_name": "Battery",
"entity_category": "diagnostic",
"unit_of_measurement": "%",
"device_class": "battery",
"state_class": "measurement",
"id": "7",
"platform": "sensor",
"icon": ""
},
{
"friendly_name": "PH",
"entity_category": "diagnostic",
"device_class": "ph",
"state_class": "measurement",
"scaling": 0.1,
"id": "10",
"platform": "sensor",
"icon": ""
},
{
"friendly_name": "EC",
"entity_category": "diagnostic",
"unit_of_measurement": "\u03bcS/cm",
"state_class": "measurement",
"id": "11",
"platform": "sensor",
"icon": ""
},
{
"friendly_name": "ORP",
"entity_category": "diagnostic",
"unit_of_measurement": "mV",
"state_class": "measurement",
"id": "101",
"platform": "sensor",
"icon": ""
},
{
"friendly_name": "Chlorine",
"entity_category": "diagnostic",
"unit_of_measurement": "mg/l",
"state_class": "measurement",
"scaling": 0.1,
"id": "102",
"platform": "sensor",
"icon": ""
},
{
"friendly_name": "Salt",
"entity_category": "diagnostic",
"unit_of_measurement": "ppm",
"state_class": "measurement",
"id": "117",
"platform": "sensor",
"icon": ""
},
{
"friendly_name": "Request",
"entity_category": "config",
"min_value": 0.0,
"max_value": 1.0,
"step_size": 1.0,
"restore_on_reconnect": true,
"is_passive_entity": true,
"id": "105",
"platform": "number",
"icon": ""
},
{
"id": "103",
"friendly_name": "PH Standard",
"entity_category": "diagnostic",
"platform": "sensor"
}
yeeeaah - it seems as it works now!
Have you tried higher “max_value”, any effect?
oh sorry - didnt tried that. After it works my thoughts was “never change a running system”
I have tried with the fork version of local tuya, and it connects to the hub, but does not show any devices in HomeAssistant.
I am considering how much effort it is to add it directly to Z2M. There is a similar device, which some settings could be borrowed from.
UPDATE: It was easy to just copy that device above a new device called YK-S03, with new fingerprint (‘_TZE200_d9mzkhoq’), and then I got all values into zigbee2mqtt and into home assistant. However like the old device, it set to update every 10 minutes. I will make an PR to the repo later
UPDATE 2: I have now added the device directly to my Zigbee2MQTT, and it works great with my MR. I am fetching data every 5 minutes and there is no lack of data. Its mostly the temperature which changes, which is actually a good sign.
Thank you guys for building this post, but I am pulling my hair out with this one.
I installed the xZetsubou/hass-localtuya And it is able to discover my devices. When I go to add the pool monitor and discover “entities Automatically” I get an error “An error occurred: Couldn’t find the data for your device category: szjcy”
Any ideas? Thanks
I had exactly same problem, so it found it easier just to add the device directly to my existing zigbee gateway together with Zigbee2MQTT.
Hi Jesper,
I assume your solution uses a generic zigbee usb dongle to pair YK-S03 with your home assistant configuration.
If this is the case, may you please recommend a zigbee usb dongle that works correctly with this?
Thanks
So I managed to add mine to HA. I have the Tuya TS0601. However, my ORP reading is negative (-367). Even though my pH is 7.4. so my chlorine reading equals 0, I guess because of the negative ORP. Can’t find any solution in this problem …
i have the same one and i remarq something during the night when the pomp is of and water dosen t move the value are ok , but when pomp is on and watter turn around and ble-y01 too it can’t record good value, only temprature is good.
so i attach the ble-Y01 to the lader, ph orp and temprature are ok.
I think that the probes are very sensitive to the movement of the water and can only be analyzed when the water is calm
I tried, but no change. I still get negative ORP.
Sorry for the late answer. I use this Sonoff Zigbee 3.0 Plus v2
I used ConBee II before that one, but it was not as good.
hi Lauer,
can you help me to understand how have you updated the reporting interval in Z2M?
Thanks,
Antonio
So I changed the code for the device, when I updated it with my YK-S03 model.
So from 10 minutes to 5 minutes.
I would love to get this up and going. I am using ZHA and I just can’t figure this out. To my understanding your code is using “Zigbee2MQTT” and not compatible with ZHA? nice work you did regardless