Bugsounet_Coding();

    • Register
    • Login
    • Search

    Best way to show household appliances on MM

    General Discussion
    3
    11
    210
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • bmachina
      bmachina Translators BetaTester last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • bigjojo
        bigjojo last edited by bigjojo

        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 +

        Capture.JPG

        1 Reply Last reply Reply Quote 0
        • R
          Raf BetaTester Translators last edited by

          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

          1 Reply Last reply Reply Quote 0
          • bmachina
            bmachina Translators BetaTester last edited by

            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

            1 Reply Last reply Reply Quote 0
            • bmachina
              bmachina Translators BetaTester last edited by

              Like this?
              82497c6d-d768-4cb3-99cd-328349e8db13-image.png

              R 1 Reply Last reply Reply Quote 0
              • R
                Raf BetaTester Translators @bmachina last edited by

                @bmachina you have to edit this file

                Klembord04.jpg

                1 Reply Last reply Reply Quote 0
                • R
                  Raf BetaTester Translators last edited by

                  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,
                  }

                  bmachina 1 Reply Last reply Reply Quote 0
                  • bmachina
                    bmachina Translators BetaTester @Raf last edited by

                    @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

                    042381c0-9e63-4cc9-a507-1f621eb99edb-image.png
                    dc9997a6-beea-404e-ab71-1971b2668457-image.png

                    R 1 Reply Last reply Reply Quote 0
                    • R
                      Raf BetaTester Translators @bmachina last edited by

                      @bmachina

                      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
                      
                      R 1 Reply Last reply Reply Quote 0
                      • R
                        Raf BetaTester Translators @Raf last edited by

                        @raf
                        Klembord05.jpg

                        bmachina 1 Reply Last reply Reply Quote 0
                        • bmachina
                          bmachina Translators BetaTester @Raf last edited by

                          @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,
                          }
                          },

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post
                          Powered by NodeBB | @bugsounet ©2023