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-BoschSmartHome

    Scheduled Pinned Locked Moved Utilities
    29 Posts 7 Posters 11.5k Views 7 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.
    • JalibuJ Offline
      Jalibu Module Developer @MajorC
      last edited by

      @majorc
      I can not reproduce your problem. Could you send me a Debug Dump of your environment again?

      1 Reply Last reply Reply Quote 0
      • M Offline
        MajorC Project Sponsor @MajorC
        last edited by

        @majorc said in MMM-BoschSmartHome:

        @jalibu is it possible, that the hide room option is not working at the moment? I can hide hue and other things, but not the entire room with:

        hideComponents: {
        					"Flur": ["room"],
        					"Küche": ["room"]// hides entire room
        				},
        

        My mistake. I had not installed the latest version of MMM-BoschSmartHome. I used git pull again, now everything works as expected.

        M 1 Reply Last reply Reply Quote 0
        • M Offline
          MajorC Project Sponsor @MajorC
          last edited by MajorC

          @Jalibu
          Hi, I just updated to MM 2.18 and the MM will not come up, if the MMM-BoschSmartHome module is active.

          If I disable/comment out the module, everything is working fine.

          Have you checked your module with MM 2.18?

          Update: I did a

          npm install rxjs
          

          in the MMM-BoschSmartHome folder, that seams to do the fix.

          JalibuJ S 2 Replies Last reply Reply Quote 0
          • JalibuJ Offline
            Jalibu Module Developer @MajorC
            last edited by Jalibu

            @majorc That’s strange. The only module dependency is bosch-smart-home-bridge which uses rxjs but also has it in its dependencies: https://github.com/holomekc/bosch-smart-home-bridge/blob/master/package.json

            I am running the module on 2.18 without problems

            1 Reply Last reply Reply Quote 0
            • S Do not disturb
              sdetweil @MajorC
              last edited by

              @majorc so, after you did the git pull did you do another npm install in the module folder?

              sometimes update add new or changed dependencies.

              general rule

              if the module contains a package json

              ALWAYS do npm install (or follow the module instructions, as for bugsounet’s stuff)
              on install or update

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              M 1 Reply Last reply Reply Quote 0
              • M Offline
                MajorC Project Sponsor @sdetweil
                last edited by

                @sdetweil I am sure i did that. But I am not able to check it again, because now it is working fine.

                M 1 Reply Last reply Reply Quote 0
                • M Offline
                  MajorC Project Sponsor @MajorC
                  last edited by

                  Is there an option to sort the shown rooms. I would like to change the order of the rooms.

                  JalibuJ 1 Reply Last reply Reply Quote 0
                  • JalibuJ Offline
                    Jalibu Module Developer @MajorC
                    last edited by

                    @majorc nope, not yet. But feel free to create a Feature Request on GitHub for that.

                    1 Reply Last reply Reply Quote 0
                    • B Offline
                      Baschti
                      last edited by

                      I installed the module today, but i get this error:

                      [12.02.2023 16:06.09.906] [LOG] Starting MagicMirror: v2.22.0

                      [12.02.2023 16:06.09.918] [LOG] Loading config …

                      [12.02.2023 16:06.09.928] [LOG] Loading module helpers …

                      [12.02.2023 16:06.09.931] [LOG] No helper found for module: alert.

                      [12.02.2023 16:06.09.944] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module ‘bosch-smart- home-bridge’

                      Require stack:

                      • /home/pi/MagicMirror/modules/MMM-BoschSmartHome/node_helper.js

                      • /home/pi/MagicMirror/js/app.js

                      • /home/pi/MagicMirror/js/electron.js

                      • /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/mai n.js

                      [12.02.2023 16:06.09.946] [LOG] Loading module helpers …

                      [12.02.2023 16:06.09.948] [LOG] No helper found for module: alert.

                      [12.02.2023 16:06.09.953] [ERROR] App threw an error during load

                      [12.02.2023 16:06.09.956] [ERROR] Error: Cannot find module ‘bosch-smart-home-br idge’

                      Require stack:

                      • /home/pi/MagicMirror/modules/MMM-BoschSmartHome/node_helper.js

                      • /home/pi/MagicMirror/js/app.js

                      • /home/pi/MagicMirror/js/electron.js

                      • /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/mai n.js

                      at Module._resolveFilename (node:internal/modules/cjs/loader:963:15)
                      
                      at n._resolveFilename (node:electron/js2c/browser_init:2:109416)
                      
                      at Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/i                                                                                                                                                                                                                                             ndex.js:49:29)
                      
                      at Module._load (node:internal/modules/cjs/loader:811:27)
                      
                      at f._load (node:electron/js2c/asar_bundle:2:13328)
                      
                      at Module.require (node:internal/modules/cjs/loader:1035:19)
                      
                      at require (node:internal/modules/cjs/helpers:102:18)
                      
                      at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-BoschSmartHome/node_                                                                                                                                                                                                                                             helper.js:14:65)
                      
                      at Module._compile (node:internal/modules/cjs/loader:1141:14)
                      
                      at Module._extensions..js (node:internal/modules/cjs/loader:1196:10)
                      

                      [12.02.2023 16:06.09.959] [ERROR] Whoops! There was an uncaught exception…

                      [12.02.2023 16:06.09.971] [ERROR] Error: Cannot find module ‘bosch-smart-home-br idge’

                      Require stack:

                      • /home/pi/MagicMirror/modules/MMM-BoschSmartHome/node_helper.js

                      • /home/pi/MagicMirror/js/app.js

                      • /home/pi/MagicMirror/js/electron.js

                      • /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/mai n.js

                      at Module._resolveFilename (node:internal/modules/cjs/loader:963:15)
                      
                      at n._resolveFilename (node:electron/js2c/browser_init:2:109416)
                      
                      at Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/i                                                                                                                                                                                                                                             ndex.js:49:29)
                      
                      at Module._load (node:internal/modules/cjs/loader:811:27)
                      
                      at f._load (node:electron/js2c/asar_bundle:2:13328)
                      
                      at Module.require (node:internal/modules/cjs/loader:1035:19)
                      
                      at require (node:internal/modules/cjs/helpers:102:18)
                      
                      at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-BoschSmartHome/node_                                                                                                                                                                                                                                             helper.js:14:65)
                      
                      at Module._compile (node:internal/modules/cjs/loader:1141:14)
                      
                      at Module._extensions..js (node:internal/modules/cjs/loader:1196:10) {
                      

                      code: ‘MODULE_NOT_FOUND’,

                      requireStack: [

                      '/home/pi/MagicMirror/modules/MMM-BoschSmartHome/node_helper.js',
                      
                      '/home/pi/MagicMirror/js/app.js',
                      
                      '/home/pi/MagicMirror/js/electron.js',
                      
                      '/home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/                                                                                                                                                                                                                                             main.js',
                      
                      undefined
                      

                      ]

                      }

                      [12.02.2023 16:06.09.973] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?

                      [12.02.2023 16:06.09.974] [ERROR] If you think this really is an issue, please o pen an issue on GitHub: https://github.com/MichMich/MagicMirror/issues

                      [12.02.2023 16:06.10.508] [LOG] Launching application.

                      [1549:0212/160611.418965:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization

                      [1576:0212/160611.630258:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extens ion not supported.

                      magicmirror@2.22.0 start

                      DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js

                      [12.02.2023 16:06.09.906] [LOG] Starting MagicMirror: v2.22.0

                      [12.02.2023 16:06.09.918] [LOG] Loading config …

                      [12.02.2023 16:06.09.928] [LOG] Loading module helpers …

                      [12.02.2023 16:06.09.931] [LOG] No helper found for module: alert.

                      [12.02.2023 16:06.09.944] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module ‘bosch-smart- home-bridge’

                      Require stack:

                      • /home/pi/MagicMirror/modules/MMM-BoschSmartHome/node_helper.js

                      • /home/pi/MagicMirror/js/app.js

                      • /home/pi/MagicMirror/js/electron.js

                      • /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/mai n.js

                      [12.02.2023 16:06.09.946] [LOG] Loading module helpers …

                      [12.02.2023 16:06.09.948] [LOG] No helper found for module: alert.

                      [12.02.2023 16:06.09.953] [ERROR] App threw an error during load

                      [12.02.2023 16:06.09.956] [ERROR] Error: Cannot find module ‘bosch-smart-home-br idge’

                      Require stack:

                      • /home/pi/MagicMirror/modules/MMM-BoschSmartHome/node_helper.js

                      • /home/pi/MagicMirror/js/app.js

                      • /home/pi/MagicMirror/js/electron.js

                      • /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/mai n.js

                      at Module._resolveFilename (node:internal/modules/cjs/loader:963:15)
                      
                      at n._resolveFilename (node:electron/js2c/browser_init:2:109416)
                      
                      at Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/i                                                                                                                                                                                                                                             ndex.js:49:29)
                      
                      at Module._load (node:internal/modules/cjs/loader:811:27)
                      
                      at f._load (node:electron/js2c/asar_bundle:2:13328)
                      
                      at Module.require (node:internal/modules/cjs/loader:1035:19)
                      
                      at require (node:internal/modules/cjs/helpers:102:18)
                      
                      at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-BoschSmartHome/node_                                                                                                                                                                                                                                             helper.js:14:65)
                      
                      at Module._compile (node:internal/modules/cjs/loader:1141:14)
                      
                      at Module._extensions..js (node:internal/modules/cjs/loader:1196:10)
                      

                      [12.02.2023 16:06.09.959] [ERROR] Whoops! There was an uncaught exception…

                      [12.02.2023 16:06.09.971] [ERROR] Error: Cannot find module ‘bosch-smart-home-br idge’

                      Require stack:

                      i have absolutely no clue :-(

                      S 1 Reply Last reply Reply Quote 0
                      • S Do not disturb
                        sdetweil @Baschti
                        last edited by

                        @Baschti
                        Error: Cannot find module ‘bosch-smart-home-br idge’

                        looks like you didn’t do the npm install in the module folder

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        B 1 Reply Last reply Reply Quote 0
                        • B Offline
                          Baschti @sdetweil
                          last edited by

                          @sdetweil The Module is located in MagicMirror/modules/MMM-BoschSmartHome/

                          S 1 Reply Last reply Reply Quote 0
                          • S Do not disturb
                            sdetweil @Baschti
                            last edited by sdetweil

                            @Baschti yes? and

                            the author missed
                            a step in his instructions

                            Screenshot_20230212_095834_Chrome.jpg

                            between step 1 and 2 do

                            cd MMM-BoschSmartHome
                            

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

                            B 1 Reply Last reply Reply Quote 0
                            • B Offline
                              Baschti @sdetweil
                              last edited by

                              @sdetweil Awesome! Youre right! Can you give me a tip on how to integrate the window sensors

                              S 1 Reply Last reply Reply Quote 0
                              • S Do not disturb
                                sdetweil @Baschti
                                last edited by

                                @Baschti no. sorry, no idea on the actual details of implementation

                                Sam

                                How to add modules

                                learning how to use browser developers window for css changes

                                1 Reply Last reply Reply Quote 0
                                • M Offline
                                  mcilliw
                                  last edited by

                                  Hey, I was wondering if it is possible to orientate the tiles of the rooms horizontally? Has anyone got an idea? :D

                                  1 Reply Last reply Reply Quote 0
                                  • X Offline
                                    Xennon
                                    last edited by

                                    Hi,

                                    just wanted to leave you my css, which costs me a bit of time. I wanted to have a clean overview, just see the temperatures in my house. Because I have 9 thermostats, a list with all the colors was just to much for me.

                                    This css gave me a 3 column design, just with the room name and the current temperature:

                                    /**
                                     * MMM-BoschSmartHome
                                     */
                                    .MMM-BoschSmartHome .bsh-wrapper {
                                      background-color: rgba(0,0,0,0.00);
                                      color: #fff;
                                      font-size: 10px;
                                        display: grid;
                                        grid-template-columns: repeat(3, 1fr);
                                        grid-gap: 10px;
                                      line-height: normal;
                                    }
                                    
                                    .MMM-BoschSmartHome .bsh-wrapper br {
                                        display: none;
                                    }
                                    
                                    .MMM-BoschSmartHome .bsh-wrapper, 
                                    .MMM-BoschSmartHome .bsh-tile {
                                        margin: 0;
                                        padding: 0;
                                    }
                                    
                                    .MMM-BoschSmartHome .bsh-room-icon {
                                      margin-right: 8px;
                                    }
                                    
                                    .MMM-BoschSmartHome .bsh-tiles {
                                      font-size: 10px;
                                      background-color: rgba(0,0,0,0.00);
                                    
                                    }
                                    
                                    .MMM-BoschSmartHome .bsh-badge.climate-control {
                                      visibility: hidden;
                                    }
                                    
                                    .MMM-BoschSmartHome .bsh-tile {
                                        min-width: 0; /* Prevent tiles from expanding beyond their column */
                                        width: 100%;
                                      background-color: rgba(0,0,0,0.00);
                                      color: white;
                                    }
                                    
                                    
                                    .MMM-BoschSmartHome .bsh-room-title {
                                      font-size: 10px;
                                    
                                    }
                                    
                                    .MMM-BoschSmartHome .bsh-tile.tile-row {
                                      visibility: hidden;
                                    
                                    }
                                    
                                    .MMM-BoschSmartHome .bsh-tile i {
                                      visibility: hidden;
                                    }
                                    
                                    .MMM-BoschSmartHome .bsh-tile.temperature-level span.setpoint-temperature {
                                      font-size: 10px;
                                    }
                                    
                                    .MMM-BoschSmartHome .bsh-tile.temperature-level div:first-child {
                                        visibility: hidden;
                                        position: relative;
                                    }
                                    .MMM-BoschSmartHome .bsh-tile.temperature-level span.room-temperature {
                                        visibility: visible;
                                        position: absolute;
                                        left: 0; /* Adjust this to position the temperature correctly */
                                        min-width: 0; /* Prevent tiles from expanding beyond their column */
                                        width: 100%;
                                      font-size: 1.8em;
                                      font-weight: bold;
                                      display: inline-block;
                                    }
                                    

                                    I’m using this config:

                                    		{
                                    		  module: "MMM-BoschSmartHome",
                                    		  position: "top_left",
                                    		  config: {
                                    		    host: "", // Bosch Smart Home Bridge's local IP Address
                                     		    name: "MMM-BoschSmartHome", // Display name for App
                                     		    identifier: "MMM-BoschSmartHome", // Unique Identifier for app
                                    		    password: "", // Password for Bosch Smart Home Bridge
                                    		    refreshIntervalInSeconds: 60, // Default: 60
                                    		    width: "200px",
                                    		    displayRoomIcons: true, // Default: false
                                     		    hideComponents: {			
                                        			 "Küche": ["dishwasher"]
                                    			}, // See example below. Default: {}
                                     		    hideEmptyRooms: false, // Hide rooms, if they have no information to display. Default: false
                                     		    colorizeRoomWithAirQuality: true, // Colorizes room tiles in red/orange/green depending on combined air quality. Only works with Twinguard
                                    		    roomOrder: ["Wohnzimmer", "Küche", "Bad EG", "Flur EG", "Schlafzimmer","Kinderzimmer", "Bad OG", "Flur OG / Büro", "HWR"], // Manually set the room order by a list of room names, e.g. ["Livingroom", "Bedroom", "Kitchen"]
                                     		    airquality: {
                                     		      purity: "none", // one of [tile, bar, donut, none]
                                    		      humidity: "none", // one of [tile, bar, donut, none]
                                    		      temperature: "none", // one of [tile, bar, donut, none]
                                    		      preferredTemperatureProvider: "Twinguard", // Twinguard or ClimateControl
                                    		      preferredHumidityProvider: "Twinguard" // Twinguard or ClimateControl
                                    		    },
                                    		    temperatureLevel: {
                                    		      displayCurrentTemperature: true, // Default: true
                                    		      displayTargetTemperature: false, // Default: true
                                    		      forceRowTile: false // Show tile as row, even if there is no target temperature. Default: true
                                    		    },
                                    		    thermostats: {
                                    		      display: false, // Default: true
                                    		      displayName: false // Default: false
                                    		    },
                                    		    dishwasher: {
                                    		      display: false, // Default: true
                                    		      displayName: false // Default: false
                                    		    }
                                    		  }
                                    		},
                                    

                                    Thanks @ the author of this module.

                                    Before I forget something … If you have BSHC-2 and not BSHC you just have to press the button for pairing at the BSHC.2, not hold the button, like in BSHC. This simple info costs me a week.

                                    1 Reply Last reply Reply Quote 1

                                    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                    With your input, this post could be even better 💗

                                    Register Login
                                    • 1
                                    • 2
                                    • 2 / 2
                                    • First post
                                      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