Best way to show household appliances on MM
-
Hi everyone, I’m just looking for a simple way to show the status all my home smart lamps, switches, etc.?
I was looking at the slametps MMM-TuyaSL module because this was EXACTLY what I was looking for however I cannot make it work for some reason.
Is there any alternatives to display something like this?
Thank you so much.
-
hello, it will already be good to know in which formats (zigbee, wifi smartlife, …) you have all your equipment or with which program you manage it (home assistant or others).
personally I use home assistant and I retrieve the home assistant info on my mirror with the MMM-homeassistant-sensors module.
a + -
The tuya app works perfectly but depends on which app you use on your smartphone
if you use the tuya app you have to change it in the MMM-TuyaSL.js
default bizType for SmartLife app user. Use tuya for Tuya app user -
Thanks guys, for all these fast responses.
@bigjojo I’ve tried to use Home Assistant to integrate my zigbee and tuya devices but it was a bit overwhelmed for me in the setup process so I started to use the Tuya app on my phone and I was trying to make this MMM-TuyaSL module to work but even with @Raf suggestions I’m out of luck.
So basically because I’m a Tuya app user I just need to change the default “bizType” for “tuya” in the MMM-TuyaSL.js itself. Is it also necessary to change it in the config.js?
Thank you so much
-
Like this?
-
@bmachina you have to edit this file
-
and this in the config.js
{
module: ‘MMM-TuyaSL’,
position: ‘top_left’,
header: ‘TuyaSL’,
config: {
userName: ‘xxxxxxxxxxxxxxxxx@gmail.com’,
password: ‘xxxxxxxxxxxxx’,
countryCode: ‘EU’,
showOnlyOnline: true,
showOnlyOn: false,
colour: true,
updateInterval: 300 * 1000,
timeout: 10 * 1000,
} -
@raf Thats exactly the file Im editing and nothing shows up, can you please be so kind to show me your’s MMM-TuyaSL.js ? Because my config.js is EXACTLY like yours…
Thanks in advance
-
Module.register("MMM-TuyaSL", { // Default module config. defaults: { colour: false, updateInterval: 300 * 1000, // minimal is 5 minutes (300*1000 ms) => TUYA policy userName : 'xxxxxxxxxxxxxxxx@gmail.com', password : 'xxxxxxxxxxxxx', countryCode: 'EU', bizType: 'tuya', from: 'tuya', showOnlyOnline: true, showOnlyOn: false, showLabel: true, timeout: 3000, animationSpeed: 2.5 * 1000, // Speed of the update animation. (milliseconds) }, you have to be patient because sometimes it responds slowly but it works
-
-
@raf Thanks man, but for some reason this module doesn’t want to work on my MM…
This is what I have on my MMM-TuyaSL.js file:
Module.register(“MMM-TuyaSL”, {
// Default module config. defaults: { colour: false, updateInterval: 300 * 1000, // minimal is 5 minutes (300*1000 ms) => TUYA policy userName: 'xxxxxxxxxxxx@gmail.com', password: 'xxxxxxxxxxxxx', countryCode: 'EU', bizType: 'tuya', from: 'tuya', showOnlyOnline: false, showOnlyOn: false, showLabel: true, timeout: 3000, animationSpeed: 2.5 * 1000, // Speed of the update animation. (milliseconds) },
And this is what I have on my config.js file:
{
module: ‘MMM-TuyaSL’,
position: ‘top_right’,
header: ‘TuyaSL’,
config: {
userName: ‘xxxxxxxxxxxxx@gmail.com’,
password: ‘xxxxxxxxxxxxxx’,
countryCode: ‘EU’,
showOnlyOnline: false,
showOnlyOn: false,
colour: true,
updateInterval: 300 * 1000,
timeout: 10 * 1000,
}
},