Yes finally it worked!! I had to search manually (4) other wifi. It took 2 minutes before it found MRC. The interface is the same as the original app from Magnum. Thank you for your advice. I will continue with the internet interface.
HI Wim,
I’m using the same scheduler card
Did you find a way to make 1 entry for weekdays AND weekend? I have 2 time slots per day I would like to have the floor heating on, but they are different for the weekdays & weekend. I ‘solved’ it with 2 entries, this is the weekend where I set the temperatures:
Hi DaSuperGrover
No, only thing to manage this is use the “Dagelijks” schedule and copy/paste weekdays and copy/paste weekend days.
But further no complaints, have this running now for about a year (also my wife is quite familiar and happy with the use of this).
Somehow my climate.py looks completely different, line 60 and onwards quoted here:
And while the MRC device is found, it remains “unavailable”.
I’m a bit clueless how to move forward, I’ve read and tried this entire thread multiple times now.
I had a number of issues with Rospogrigio/localtuya in combination with the Magnum thermostat, there are a lot of outstanding issues with this hacs-integration, and slow response.
I switched to GitHub - xZetsubou/hass-localtuya: 🔹 A Home Assistant integration to handle Tuya devices locally "fork from localtuya" which is a relatively new fork of the Rospogrigio one.
With this fork, I no longer have to manually edit climate.py for my Magnum thermostat, and I no long get warnings of (future) unsupported features.
Interesting as that’s the one I have installed earlier today and with this it remains “unavailable”.
I even completely removed the localtuya integration (both versions, twice), sometimes it can’t find the MRC, when it does and it’s added as entity it is unavailable.
Happy to help, just some questions here:
- Did you put local ID of the Magnum in the configuration?
- Did you configure the DP values for the Magnum?
- How did you configure the Magnum in the xZetsubou version of local tuya (gives more/better configuration options than Rospogrigio).
I’m traveling at the moment, back home later this week, can show you my configuration then if you want to see it.
thanks.
- local ID: yes
- DP is already a bit strange, I plugged in a few of the numbers I saw in the thread, but honoustly fail to see the concept a bit / also not the expected result
- xZetsubou gives more options. Not sure how to answer how I configured it.
thanks again.
DP is a kind of address. As Tuya is used for a wide range of equipment, the various entities are linked to DP’s (whatever that stands for).
My config for the Magnum thermostaat (in xZetsubou local tuya integration):
Page 1:
IP fixed (I can assign fixed IP addresses in my (FritzBox) router
Local key (local ID)
Protocol 3.3
Page 2:
Configuration entities
DP 3 : climate
DP 16: target temperature
DP 24: current temperature
Precision: 0.1
Target precision: 0.1
Optional HVAC Mode DP: 2 (value Auto), thereafter in text frame:
1 auto: AUTO
2 heat: MANUAL (note: this is all case-sensitive)
Optional HVAX Current Action Mode DP: 3 (value: warming), thereafter in text frame:
1: heating: heating
2: idle: warming
Optional Eco: leave default
Optional Presets:
1: manual: Manual
2: away: Holiday
3: home: Program
Optional Fan: leave empty
Those are my settings, using xZetsubou for a few months now, Magnum working fine. I don’t use the program option in the Magnum itself, I use a schedule card in HA , easier to make changes than on the device itself.
Hi can you share the settings in a screenprint here?
I cannot get it to work with LocalTuya, keeps not -available, regular Tuya online and manageble, so i guess it is not an network issue, probably some with localkey or wrongly set DP values…
I did a reconfigure of my device, page that pops up during actual first configuration also asks for Local Device ID (number a partially blanked out on top in first screenshot)
Note: this is based on the HACS integration from xZetsobou GitHub - xZetsubou/hass-localtuya: 🔹 A Home Assistant integration to handle Tuya devices locally "fork from localtuya"
Page 1: Only IP address (no screenshot)
Page2:
Page3:
Top part (values shown at 16 and 24 will be different of course (your actuals or settings))
Bottom part
That’s it
Hi, thanks for the screenshots. Yess that is what i thought, followed your instructions and have exactly the same. Nooo clue were to look now
The only thing i saw was i had 2 versions of localtuya downloaded, removed the other one ( was not uses ) and will reboot HAos now…
no luck sofar. In the tuya it works fine, in localtuya is stays unavailable…
can anybody help me where to look for errors or guidelines…
Only suggestion I have at the moment is that you remove everything about LocalTuya and start from scratch.
As you had two different versions of LocalTuya installed, there might be some conflicts in the software.
So remove the integration, remove the hacs depositories, reboot your ha and start again (preferably with the xZetsubou hacs depository)
If that doesn’t solve the issue, I’m happy to help further, I have a spare Magnum that I can hook-up and we can compare step by step, but that has to wait to mid June, I’m away from home until then.
Drop me a note if you need more help, will be in touch by then.
I did, removed both local tuya versions, rebooted the HAos server and started from scratch with the xZet localtuya. it discovers the devices, a switch and a button are setup correctly.
The Magnum got a DP2, added the DP3 and removed the DP2, still unavailable. But from the regular Tuya is working as it should…
I have no experience with tuya itself, started directly with the localtuya version (have no other tuya devices, needed this only for the Magnum). Started with rospogrigio integration, but later moved to xZet…
As said, happy to help further if you wish to, but then after mid June.
Thanks to everyone contributing to this topic I was able to get this working today
For what it’s worth I’ll share how I did it;
Removed Magnum App, disabled 5Ghz on my wifi, added the MRC to TuyaApp (took a few tries to get it to work, it failed a few times before it was added.)
Verified it worked in TuyaApp, which it did (looks identical to Magnum App)
Via HACS I installed this version of LocalTuya: xZetsubou/hass-localtuya: A Home Assistant integration to handle Tuya devices locally “fork from localtuya” (github.com) as suggested by @wimjanse
To get the auth key, secret and client info I followed this guide from the documentation of the above local Tuya integration:
Cloud API Setup - Localtuya (xzetsubou.github.io)
Did local tuya setup, added the auth key, secret and client info and left everything else default.
Set LocalTuya to configure all devices automatically and to my surprise it just worked straight away. I was expecting more of a ‘fight’ after reading through this topic a few times…
I had to re-connect the LocalTuya integration to my thermostat.
After reconnecting the temperature values are multiplied by 10. The thermostat display shows 18.0 C and the LocalTuya integration in HA shows 180 C.
Did several reconfigurations but I’m not able to fix this. Anyone a solution?
Connection with thermostat is working perfectly. I can adjust target temp on thermostat and the change will be visiable in HA and vice versa.
Thanks Martijn en Wimjansen for all your explanations, I eventually got the Tuya app to Connect to the MRC, by making sure I am on the same wifi hub, 2.4 Ghz.
I got it to work with local Tuya: GitHub - xZetsubou/hass-localtuya: 🔹 A Home Assistant integration to handle Tuya devices locally "fork from localtuya" and combined it in home Assistant with a node-red implementation of a thermostat: https://flows.nodered.org/flow/25857cba1ab7e34309133ac8354004c6 that works fine after setting the HA nodes and the time zone to Europe/Amsterdam.
Great!