MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. dinkybluebug245
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    D
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 7
    • Posts 46
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Tado module?

      @charliwest Yes you’re right… file wasnt created correctly.

      output now is

      20.5 / 10," / \xf0\x9f\x9a\xab

      seems to work, but your comment on how the pi would deal with hex values was right, and because the second value only has two digits (10) Im assuming this is why its picking up the characters ,"

      posted in Requests
      D
      dinkybluebug245
    • RE: Tado module?

      @charliwest Thanks for the response, I get a different error now,

      grep: temp: No such file or directory
      grep: temp: No such file or directory
      tado.sh: command substitution: line 16: syntax error near unexpected token fi' 'ado.sh: command substitution: line 16: fi)
      /

      posted in Requests
      D
      dinkybluebug245
    • RE: Tado module?

      @charliwest This didnt work for me…

      I got this error:

      tado.sh: line 5: unexpected EOF while looking for matching `"’
      tado.sh: line 12: syntax error: unexpected end of file

      the contents of tado.sh, is:

      USERNAME=xxx
      PASSWORD=xxxx
      curl --silent “https://my.tado.com/mobile/1.9/getCurrentState?username=“$USERNAME”&password=“$PASSWORD”” > temp
      insideTemp=$(grep -o “insideTemp." temp| awk ‘{print substr($1,13,4)}’)
      setPointTemp=$(grep -o "setPointTemp.” temp| awk ‘{print substr($1,15,4)}’)
      heatingOn=$(if grep -q ““heatingOn”:true” temp; then
      echo '\xf0\x9f\x94\xa5’
      else
      echo '\xf0\x9f\x9a\xab’
      fi)
      echo “$insideTemp” / “$setPointTemp” / “$heatingOn”

      posted in Requests
      D
      dinkybluebug245
    • RE: Tado module?

      @strawberry-3.141 can’t help with that. But if you need some else to test tado heating api. I can help.

      posted in Requests
      D
      dinkybluebug245
    • RE: Tado module?

      @strawberry-3-141 - Hello - I can help over the weekend, and next week - evenings this week Im busy

      posted in Requests
      D
      dinkybluebug245
    • RE: Tado module?

      @charliwest - so how does this all get written up as a magic mirror module? do you know?

      posted in Requests
      D
      dinkybluebug245
    • Not really a mirror at all - but is really helpful

      My MagicMirror isnt a mirror at all - its a display that is on in my kitchen. It has two modes - normal - shown below, which shows calendar, what is currently playing on my Sonos speaker in my kitchen, weather, and headlines.

      0_1479296935770_IMG_4554.JPG

      and also a ‘party’ mode, where all that other info is hidden, and only shows me and my guests what music is playing

      0_1479296979064_IMG_4553.JPG

      Happy to share my custom CSS code with anyone that wants to see this.

      posted in Showcase
      D
      dinkybluebug245
    • RE: Tado module?

      I think the following variables would be quite useful.

      Insidetemp - displayed as a number
      setPointTemp - displayed as a number
      heatingon - displayed as an flame icon if set to true

      Maybe like this

      21.3° / 15.2° / 0_1479296200918_upload-f38c73ad-e4a6-4519-9068-47ca54312530

      Where the first temp in bold is current temp, the next is the trigger temperature (ie when the heating would come on) Would anyone else add anything different?

      Perhaps mode might be useful as well, as an icon which is held in variable autoOperation. I think the different options here are HOME, AWAY, MANUAL, and the other one for nighttime (not sure what this is called)

      posted in Requests
      D
      dinkybluebug245
    • RE: Limit Sonos module to only show a specific speaker

      Ive had a go at trying to fix this myself and cant work it out - but then again my own knowledge of js is non existant. It works when rooms are isolated on their own, or when the speaker you want to display is listed first in a group of grouped speakers - the solutions above dont work when the speaker is not listed first in the group.

      Can anyone else help?

      Thanks again to @strawberry-3-141 for having a stab at this.

      posted in Development
      D
      dinkybluebug245
    • RE: Limit Sonos module to only show a specific speaker

      @strawberry-3.141 That doesnt work. Kitchen is the only room NOT excluded in my config.js

      Kitchen, then group in Living room - shows info.

      Living room, then grouping in Kitchen - doesnt show.

      posted in Development
      D
      dinkybluebug245
    • RE: Limit Sonos module to only show a specific speaker

      @strawberry-3.141 I love how you think I know what that means. Ha! I’ll take your word on that and give it a go

      posted in Development
      D
      dinkybluebug245
    • RE: Limit Sonos module to only show a specific speaker

      @strawberry-3.141 shouldnt the first line have ‘function’ in it?

      	$.each(data, function (i, item) {
      
      posted in Development
      D
      dinkybluebug245
    • RE: Limit Sonos module to only show a specific speaker

      @strawberry-3.141 Yes I think so.

      Excluding all rooms but ‘Kitchen’,

      Nested rooms "Living rioom, Kitchen’ - shows nothing
      Nested rooms "Kitchen, Living room’ shows info

      posted in Development
      D
      dinkybluebug245
    • RE: Limit Sonos module to only show a specific speaker

      @strawberry-3.141 Thanks for all your help.

      Really appreciate it.

      Marc

      posted in Development
      D
      dinkybluebug245
    • RE: Limit Sonos module to only show a specific speaker

      @strawberry-3.141 There might be a reason why this hasnt been done before.

      If you exclude all rooms in your house leaving ‘Kitchen’ the only one included in your config file,

      If Kitchen plays music, and then Living room is grouped in with Kitchen the code works
      the name of the rooms displayed would be Kitchen, Living room (the order of the rooms if the order they were grouped)

      but if you have living room playing music and then group in kitchen, then the order is different, :
      Living room, Kitchen

      and then the code doesnt work.

      Im guesing the code you wrote see’s Living room is excluded and then doesnt show the rest?

      posted in Development
      D
      dinkybluebug245
    • RE: Limit Sonos module to only show a specific speaker

      @strawberry-3.141 Can I clarify then… would config file under the sonos module be:

      exclude: ‘Bedroom’,‘Living room’,‘Bathroom’,

      posted in Development
      D
      dinkybluebug245
    • RE: Limit Sonos module to only show a specific speaker

      @strawberry-3.141 said in Limit Sonos module to only show a specific speaker:

      if(item.coordinator.roomName === ‘Kitchen’){

      It works! hurrah! Thanks. much appreciated.

      not sure how to fork the repository - but I can research this bit.

      Thank again.

      posted in Development
      D
      dinkybluebug245
    • 1 / 1