Xenomes wrote: ↑Saturday 24 September 2022 16:32
Hi, That part of the plugin not complete, I don't have a tuya temp device so i was depended for data from a other user witch stopped replaying. For updating you need to add code below here:
I'm making some progress but have reached a dead end at the moment with the command that it sent to the TUYA API from climate.py, ie instead of setting the setpoint temperature, the controller itself goes into an error mode.
The command sent by climate.py to adjust the setpoint temperature is:
but its looking like for my controller, that "temperatureSet" is the wrong instruction. Does anyone have a full list of these TUYA API instructions so I can try and find the right one?
def current_temperature(self):
"""Return current temperature for the device"""
curr_temp = self._set_decimal(
self.data.get("current_temperature"), self._ct_divider
)
# when current temperature is not available, target temperature is returned
if curr_temp is None:
return self.target_temperature()
return curr_temp
HP T630 (32GB SSD/8GB Mem) - Ubuntu 22.04.4 LTS (64Bit) - Domoticz 2024.7 with Machinon theme - RFLink - KaKu - Sonoff - Tasmota - Shelly - MQTT2Zigbee - OpenTherm Gateway - Tinytuya - IR Blaster - P1 Smart Meter - NPN Watermeter - Google Assistant
Thank you for the link which I've looked at in detail. Unfortunately I'm still struggling getting the SetPoint to work, i.e. I can read the "temperature" fine, but cannot change it in the API. In the code below from climate.py, even by manually setting the temperature (SetPoint), e.g. to 150 (my controller is x10 the actual temperature) the controller displays strange characters until I use the Smartlife App to change the setpoint to another value. So the code definitely is sending data to the API but I can only assume that its not what it was expecting. Any more clues please?
Hi, I just bought the Warm Christmas Lights from the action. It shows up in the Tuya App, but not in Domoticz. Any change i can control them from Domoticz?
JimmyH1969 wrote: ↑Tuesday 08 November 2022 20:26
Any change i can control them from Domoticz?
I think these lights are using the new api. I am experimenting with a other type of controlling the tuya devices. I will contact you on pm for a export of some tuya data. If you want to of course
HP T630 (32GB SSD/8GB Mem) - Ubuntu 22.04.4 LTS (64Bit) - Domoticz 2024.7 with Machinon theme - RFLink - KaKu - Sonoff - Tasmota - Shelly - MQTT2Zigbee - OpenTherm Gateway - Tinytuya - IR Blaster - P1 Smart Meter - NPN Watermeter - Google Assistant
JimmyH1969 wrote: ↑Tuesday 08 November 2022 20:26
Any change i can control them from Domoticz?
I think these lights are using the new api. I am experimenting with a other type of controlling the tuya devices. I will contact you on pm for a export of some tuya data. If you want to of course
and suddenly.................. the plugin doesn't work anymore.
Reinstalled, added hardware, transferred data from the app.....and it doesn't do anything
No error message in domoticz log and the blinds can be used via the Tuya app.
The USB stick (=router) also works, what's wrong?
rolandtwilt wrote: ↑Saturday 12 November 2022 10:57
and suddenly.................. the plugin doesn't work anymore.
Reinstalled, added hardware, transferred data from the app.....and it doesn't do anything
No error message in domoticz log and the blinds can be used via the Tuya app.
The USB stick (=router) also works, what's wrong?
Did you update to the new version 2022.2? The plugin is not ready to use the new blind control system. I will update the plugin later this day, but i can't test it, I don't have Tuya blinds
HP T630 (32GB SSD/8GB Mem) - Ubuntu 22.04.4 LTS (64Bit) - Domoticz 2024.7 with Machinon theme - RFLink - KaKu - Sonoff - Tasmota - Shelly - MQTT2Zigbee - OpenTherm Gateway - Tinytuya - IR Blaster - P1 Smart Meter - NPN Watermeter - Google Assistant
FearNaBoinne wrote: ↑Friday 11 November 2022 17:17
I am testing with Action LSC smokesensors. They're not showing up. Would you be able to add these with the right information?
FearNaBoinne wrote: ↑Sunday 13 November 2022 21:08
I am testing with Action LSC smokesensors. They're not showing up. Would you be able to add these with the right information?
I am almost sure that these devices are using the newer api. For sure you can run the debug_discover.py from the tools directory to see if there is json data available for the smoke detectors. ps. don't forget the edit file for the tuya credentials.
HP T630 (32GB SSD/8GB Mem) - Ubuntu 22.04.4 LTS (64Bit) - Domoticz 2024.7 with Machinon theme - RFLink - KaKu - Sonoff - Tasmota - Shelly - MQTT2Zigbee - OpenTherm Gateway - Tinytuya - IR Blaster - P1 Smart Meter - NPN Watermeter - Google Assistant
Xenomes wrote: ↑Sunday 13 November 2022 22:34
I am almost sure that these devices are using the newer api. For sure you can run the debug_discover.py from the tools directory to see if there is json data available for the smoke detectors. ps. don't forget the edit file for the tuya credentials.
The json string of devices is empty so no support from api v1. Question do you have a IOT account at Tuya?
I'm not certain... It's been a while since I did work with Tuya, and remember looking at it, but cannot remember if I went through with that... I will check!
I have not. I applied for one, let's see...