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

    Posts

    Recent Best Controversial
    • RE: MMM-xiaomi - Temperature and Humidity from your smarthome

      Check your devices here:
      https://github.com/aholstenson/miio/blob/master/docs/devices/README.md#models-by-name

      As you see not all Yeelights are supported, others are untested. My module retrieves all devices of type ‘light’, so it might work for all of them.

      posted in Utilities
      M
      mirko3000
    • RE: MMM-xiaomi - Temperature and Humidity from your smarthome

      Don’t forget to update the npm packages (miio), there is a bugfix which caused wrong close events of the windows. Either ‘npm update’ in the MMM-xiaomi folder, or delete the “node_modules” folder and simply execute ‘npm install’ again.

      posted in Utilities
      M
      mirko3000
    • RE: MMM-xiaomi - Temperature and Humidity from your smarthome

      Note that the icon only appears on open windows - its a white star. If the window is closed you will not see any icon. Also I have noticed that the open state is not really reliable, need to check with miio why there are so many false states sent.

      posted in Utilities
      M
      mirko3000
    • RE: MMM-xiaomi - Temperature and Humidity from your smarthome

      Your first config is correct, I guess you might have made an error somewhere else in your config, I could run your config successfully.

      posted in Utilities
      M
      mirko3000
    • RE: MMM-xiaomi - Temperature and Humidity from your smarthome

      Can you post your configuration for the module? You now need to define your rooms, it looks like the module simply does not find any room to show.
      And yes, you add all devices to your room configuration, the module can identify the type and handle it correspondingly.

      BTW: suggest tracking issues on the github issue tracker: https://github.com/mirko3000/MMM-xiaomi/issues

      posted in Utilities
      M
      mirko3000
    • RE: MMM-xiaomi - Temperature and Humidity from your smarthome

      That is the config for the old version. Please check the README carefully:
      https://github.com/mirko3000/MMM-xiaomi#configuration-options

      {
      		module: 'MMM-xiaomi',
      		position: 'bottom_left',
      		header: 'Temperature / Humidity',  // This is optional
      		config: {
      			interval: 30,
      			gatewayIP: '192.168.1.128',
      			gatewayToken: '65764848557cccc2170d1fd8c06b32cb',
      			rooms: [{ 
      			       name: 'Schlafzimmer temp' ,
                                     devices:[ '158d0001dfdb14'],
                                     sortOrder: 1
      			}]
      		}
      	},
      
      posted in Utilities
      M
      mirko3000
    • RE: MMM-xiaomi - Temperature and Humidity from your smarthome

      Can you post the configuration for the Xiaomi module? You need to provide a list of rooms, each of one with the assigned device IDs:

      	            rooms:  [
      	            	{
      		            	name: 'Room 1',
      		            	sortOrder: 40,
      		            	devices : ['158d010171840d', '158d00016cddae']
      	            	},
      	            	{
      		            	name: 'Room2',
      		            	sortOrder: 70,
      		            	devices : ['158d0001735ac2']
      	            	}]
      
      

      Also please check that you use the latest version.

      About that WunderGround module: I need to test that myself, not sure why there are such kind of interferences.

      posted in Utilities
      M
      mirko3000
    • RE: MMM-xiaomi - Temperature and Humidity from your smarthome

      So technically your gateway and sensors seem to be working properly. What exactly is the problem? Did you configure your rooms and devices as described? Do you see anything on the MM? “just temperature/humidity” - that is actually the main feature :)

      posted in Utilities
      M
      mirko3000
    • RE: MMM-xiaomi - Temperature and Humidity from your smarthome

      @kasperb Yes I am pretty sure they work as well. Did not see those before, looks interesting though I am not sure what to use the air pressure values for!? :)

      posted in Utilities
      M
      mirko3000
    • RE: MMM-xiaomi - Temperature and Humidity from your smarthome

      Ok, get ready to test the latest version! I kept the current table view for now, still planning to also support a grid view soon.
      New features:

      • Listens to update events of the sensors instead of refreshing the whole list all x seconds
      • Reorganized your smart home structure, introducing rooms with sensors
      • Shows ventilation recommendation, window open state and light on state per rooms

      Looking forward to get some feedback. As I do not have any lights at the moment this is untested.

      Not for the update: you will need to execute “npm install” again as I had to fork the miio library to support the events (maybe even delete the node_modules folder in your modules directory). Also you need to update your module configuration!

      posted in Utilities
      M
      mirko3000
    • 1 / 1