• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

MMM-Domiticz

Scheduled Pinned Locked Moved Utilities
68 Posts 18 Posters 37.3k Views 18 Watching
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.
  • C Offline
    Charley Module Developer
    last edited by Apr 22, 2018, 3:53 PM

    @jaminben

    I already tried before to reorder the data. In the description of API/JSON for Domoticz it says you can order by Name. (Line 37 in my code)

    That is the documentation, but in reality you can’t order anything. If I look in the json coming from the request file there are no objects that would follow the order in your webapplication.

    It could be done my making an array where all sensors are switches are in, but it would be a hassle if you add a new device you would also need to add to your modules config.

    Lets wait what the next version of Domoticz brings and if I am able to implement it.

    MMM-Bose-Soundtouch, MMM-Domoticz, MMM-crypto-portfolio, MMM-Fibaro, MMM-rain-forecast

    J 1 Reply Last reply Apr 22, 2018, 4:01 PM Reply Quote 0
    • J Offline
      jaminben @Charley
      last edited by Apr 22, 2018, 4:01 PM

      @Charley said in MMM-Domiticz:

      @jaminben

      I already tried before to reorder the data. In the description of API/JSON for Domoticz it says you can order by Name. (Line 37 in my code)

      That is the documentation, but in reality you can’t order anything. If I look in the json coming from the request file there are no objects that would follow the order in your webapplication.

      It could be done my making an array where all sensors are switches are in, but it would be a hassle if you add a new device you would also need to add to your modules config.

      Lets wait what the next version of Domoticz brings and if I am able to implement it.

      Not sure if you saw my previous comment and I’m not sure if it’s a fluke but I re-ordered my sensors within my Domoticz dashboard and they automatically re-ordered themselves within your module on the MM to match… probably a coincidence but mines looking exactly how I want them :)

      1 Reply Last reply Reply Quote 0
      • C Offline
        Charley Module Developer
        last edited by Apr 23, 2018, 6:04 AM

        @jaminben Thanks I will arrange them in my Dashboard as well.

        MMM-Bose-Soundtouch, MMM-Domoticz, MMM-crypto-portfolio, MMM-Fibaro, MMM-rain-forecast

        1 Reply Last reply Reply Quote 0
        • C Offline
          Charley Module Developer
          last edited by Apr 23, 2018, 2:13 PM

          Today added total actual usage of Watts.
          Please add ‘usage’ to your showItems in your config.js

          MMM-Bose-Soundtouch, MMM-Domoticz, MMM-crypto-portfolio, MMM-Fibaro, MMM-rain-forecast

          1 Reply Last reply Reply Quote 0
          • J Offline
            jaminben
            last edited by Apr 28, 2018, 3:04 PM

            Hi Charley,

            Is it possible to get the colour of the values and icons to be white rather than grey?

            Thanks

            Ben

            1 Reply Last reply Reply Quote 0
            • C Offline
              Charley Module Developer
              last edited by Apr 29, 2018, 8:12 AM

              Today I have added to set the text colour to White.
              Just add in your config.js the option

              textWhite:true
              

              MMM-Bose-Soundtouch, MMM-Domoticz, MMM-crypto-portfolio, MMM-Fibaro, MMM-rain-forecast

              1 Reply Last reply Reply Quote 0
              • J Offline
                jaminben
                last edited by Apr 29, 2018, 1:28 PM

                I updated and adding the config option ‘textWhite: true,’ but it doesn’t appear to work… any ideas?

                1 Reply Last reply Reply Quote 0
                • C Offline
                  Charley Module Developer
                  last edited by Apr 29, 2018, 2:14 PM

                  0_1525011269934_textWhite.png

                  Made a small change it should work now

                  MMM-Bose-Soundtouch, MMM-Domoticz, MMM-crypto-portfolio, MMM-Fibaro, MMM-rain-forecast

                  1 Reply Last reply Reply Quote 0
                  • J Offline
                    jaminben
                    last edited by Apr 29, 2018, 2:29 PM

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • J Offline
                      jaminben
                      last edited by Apr 29, 2018, 2:47 PM

                      @Charley said in MMM-Domiticz:

                      textWhite:true

                      All working great now… many thanks for taking the time to look at this for me :)

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 7
                      • 4 / 7
                      4 / 7
                      • First post
                        32/68
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy