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.
    • M Offline
      MajorC Project Sponsor
      last edited by MajorC

      I played a little bit with custom.css

      /**
       * MMM-BoschSmartHome
       */
      .MMM-BoschSmartHome .bsh-wrapper {
        background-color: rgba(0,0,0,0.00);
        color: #fff;
        font-size: 20px;
      }
      
      .MMM-BoschSmartHome .bsh-room-icon {
        margin-right: 8 px;
      }
      
      .MMM-BoschSmartHome .bsh-tiles {
        font-size: 18px;
      
      }
      
      1 Reply Last reply Reply Quote 0
      • JalibuJ Offline
        Jalibu Module Developer
        last edited by

        I released a new version and updated my first Topic post with the latest Features and Screenshots.

        Features

        • Support for multiple rooms
        • Shutter Contacts
        • Room Climate Controls
        • Thermostats
        • Twinguards
        • Visualization of Temperature, Humidity and Purity
        • Bosch Home Connect Dishwashers (experimental!)
        • Philips Hue Bridge
        • Languages: English, German

        Thanks to all testers!

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

          Update with

          git pull
          

          was working fine.

          I am not sure about the new grafic-elements. This is how it looks on my system without custom.css.

          		module: "MMM-BoschSmartHome",
          			position: "bottom_left",
          			config: {
          				host: "192.168.2.XX", // Local IP Address
          				name: "MMM-BoschSmartHome", // Display name for App
          				identifier: "MMM-BoschSmartHome", // Unique Identifier for app
          				password: "XXX", // Password for Bosch Smart Home Bridge
          				refreshIntervalInSeconds: 60, // Default: 60
          				width: "340px",
          				displayRoomIcons: true, // Default: false
          				displayThermostats: true, // Default: false
          				airquality: {
          					purity: "none", // one of [tile, bar, donut, none]. Default: bar
          					humidity: "bar", // one of [tile, bar, donut, none]. Default: bar
          					temperature: "donut", // one of [tile, bar, donut, none]. Default: bar
          					preferredTemperatureProvider: "ClimateControl", // Twinguard or ClimateControl. Default: Twinguard, but falls back to CC
          					preferredHumidityProvider: "ClimateControl" // Twinguard or ClimateControl. Default: Twinguard, but falls back to CC
          				}
          			}
          		},
          

          screenshot2.jpg

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

            The latest version fixes a few bugs and supports an option to hide individual components per room.
            Example:

            config: {
              hideComponents: {
                "Livingroom": ["temperature", "purity", "humidity"],
                "Bed Room": ["battery", "climateControl", "temperatureLevel", "hue"],
                "Kitchen": ["shutters", "dishwasher", "thermostats"]
                }
            }
            
            M 1 Reply Last reply Reply Quote 0
            • M Offline
              MajorC Project Sponsor
              last edited by

              Looking good for me so fare after a couple of minutes.

              file.jpg

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

                @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
                				},
                
                JalibuJ M 2 Replies Last reply Reply Quote 0
                • 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 Offline
                          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 Offline
                                    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 Offline
                                        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 Offline
                                            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

                                            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
                                            • 1 / 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