This is what I see want I was playing with the device. It reports that I switched modes.
It’s quite a lot of reports. And a couple publish.
Yes, perhaps it’s only another device type with identical capabilities. ll look into it later - first are holidays
@Renzo
Can you copy/paste the device details from Tuya cloud?
Menu: cloud/project/devicesdebug device
Please copy the JSON from these two pages:
I copied it, just as it is now (device is in anti frost mode, 7 ° C)
Code | Type | Values |
---|---|---|
temp_set | Integer | { “unit”: “℃”, “min”: 50, “max”: 400, “scale”: 1, “step”: 5 } |
temp_set_f | Integer | { “unit”: “℉”, “min”: 410, “max”: 1040, “scale”: 1, “step”: 10 } |
factory_reset | Boolean | “{true,false}” |
Above is the instruction set. The status set has this line added:
Code | Type | Values |
---|---|---|
temp_current | Integer | { “unit”: “℃”, “min”: 0, “max”: 450, “scale”: 1, “step”: 5} |
And the other page, please (status set).
In the meantime, I made a device and a flowset for you. I’m very curious if some parts are working.
That is the same, but with one line added:
Code Type Values
temp_set Integer
{
"unit": "℃",
"min": 50,
"max": 400,
"scale": 1,
"step": 5
}
temp_set_f Integer
{
"unit": "℉",
"min": 410,
"max": 1040,
"scale": 1,
"step": 10
}
temp_current Integer
{
"unit": "℃",
"min": 0,
"max": 450,
"scale": 1,
"step": 5
}
temp_current_f Integer
{
"unit": "℉",
"min": 320,
"max": 1130,
"scale": 1,
"step": 10
}
In the meantime, I made a device and a flowset for you. I’m very curious if some parts are working.
That seems very advanced @Peter_Kawa!
I’ll try to look into it later!
Please hurry up🤗in 1 ½ week time my magnum will be operational. So it’s gone be Time for me to dive into Tuya’s world. Hope you guys can work something out. Would be awesome.
Haha. No hurries. It’s holiday time
I’ll check the thermostate type when I’m back.
@Renzo Please can you check the device details again if you can find the device type? It should be a numeric value. That’s the type which has to be assigned to the homey driver. Thanks.
Device Name | Device ID | Product | Source | Online Status | Device Type | Activation Time | Device Permission | Operation |
---|---|---|---|---|---|---|---|---|
Vloerverwarming | 14632176d8bfc0566580 | MRC | … | Online | Real Device | 2022-09-22 08:47:39 | Read | Debug Device |
Bedoel je deze? Ik heb de source even weggehaald… nogal een lange code.
Not that value. It’s a short number, 2 or 3 signs. Let me check where it’s listed in device details…will take some days…
When you open the overview page
https://eu.iot.tuya.com/cloud/
hit your project.
Then hit ‘Devices’
There you’ll find the device overview.
Then hit ‘debug device’ on the right
Search for your thermostat
When selected, in the right pane you’ll see “Device Information”
Ronny needs the Product category (most obvious to me )
This is of my IR blaster LED remote, category is qt
And this is from a curtain motor, cl
Thanks!
@RonnyW its a “wk”
Device Information
Product Name
MRC
Device ID
14632176d8bfc0566580
Product Category
wk
Device Status
Online
Activated At
2022-09-22 08:47:39
In the flow you generated i added a task to write the messages from Tuya to the timeline off the homey. I receive no Mode commands. Only temp_set and temp_current commands
@Peter_Kawa
I have two Magnum MRC thermostats, so very interested to get these into my extended Homey enviroment.
I loaded your TEF (thanks for this), but it didn’t make the connect with the adv virtual device, so had to rebuild this.
I could get the temperature / set temperature to work with 3 changes
- for current temperature the logic block was changed to contain only “current”
- for set temperature , to contain only “set”
- the value for both ia to be divided by 10 (175 → 17.5 degC), so i changed the AVD block for one that allows an expression.
The true/false at the bottom of the advanced flow, i think is connected to “factory_reset”
So i think this does not add value to include.
I put a log on the numerical and text tuya cloud messaging and saw they are identical.
Is that to be expected?
As mentioned above by @Witteflits , i see no Mode or Working Status info coming though in the Tuya Text messages.
while in Tuya clould Device Logs I do see the mode changes.
@RonnyW
Could there be a bug in the Tuya app whereby the text message is also giving the numerical message, instead of the expected string value for like Mode / Working Status.
Can you add the device as heater?
If not, please check the device details on Tuya iot page.
Search for the device type. Should be a 2 or 3 character ID.
And the state details (a JSON with the states and possible values).
The factor x10 is caused by the API. It sends all values as integer. The device details will have a scale=1 setting what means a decimal shift of one plase (x10^1)
No, i have tried, when adding a heating device my thermostats do not show up.
Device details are similar as stated above:
Nowhere do I see a 2 or 3 digit number and i checked a lot of screens.
or is it “wk” or product Name: “MRC”
Device Information
Product Name. MRC
Device ID. 14636176e8db85b77d56
Product Category. wk
Standard Status Set
Code Type Values
temp_set Integer
{
“unit”: “℃”,
“min”: 50,
“max”: 400,
“scale”: 1,
“step”: 5
}
temp_set_f Integer
{
“unit”: “℉”,
“min”: 410,
“max”: 1040,
“scale”: 1,
“step”: 10
}
temp_current Integer
{
“unit”: “℃”,
“min”: 0,
“max”: 450,
“scale”: 1,
“step”: 5
}
temp_current_f Integer
{
“unit”: “℉”,
“min”: 320,
“max”: 1130,
“scale”: 1,
“step”: 10
}
Standard Instruction Set
Code | Type | Values |
---|---|---|
temp_set | Integer | { “unit”: “℃”, “min”: 50, “max”: 400, “scale”: 1, “step”: 5 } |
temp_set_f | Integer | { “unit”: “℉”, “min”: 410, “max”: 1040, “scale”: 1, “step”: 10 } |
factory_reset | Boolean | “{true,false}” |
wk seems to be the product type.
I’ll check later what is set in the app for the heater.
Is this a heater or thermostat?
I added the device to Tuya Smart as a Thermostat (WiFi).
should i try to add it as a heater?
In Tuya Smart i get the same interface as I when i used the Magnum app.
which I like.
greetings
Bart