Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connecting to Xiaomi Gateway... #20

Open
yceballost opened this issue Mar 27, 2021 · 6 comments
Open

Connecting to Xiaomi Gateway... #20

yceballost opened this issue Mar 27, 2021 · 6 comments

Comments

@yceballost
Copy link

Hi,

This message appears and still in the screen

Connecting to Xiaomi Gateway

I'm using this gateway
Screenshot 2021-03-27 at 19 21 36

And this is my config

    {
      module: 'MMM-xiaomi',
      position: 'bottom_right',
      header: '',
      config: {
        gatewayIP: '192.168.1.64',
	  	gatewayToken: '6c50484e46394953426fXXXXXXXXXXXX',
        animationSpeed: 1000,
        graphicLayout: false,
        updateInterval: 30,
        showHeating: false,
        showWindow: false,
        showVentilation: true,
        showLights: false,
        showTrend: true,
        showNotifications: true,
        audioNotifications: false,
        minTemperature: 17,
        maxTemperature: 23,
        maxHumidity: 68,
        celcius: true
        }
    },
@Moerup
Copy link

Moerup commented Apr 7, 2021

I have the same Gateway and mine is also stuck on the same.
How did you get the gatewayToken?

@yceballost
Copy link
Author

@Moerup
Copy link

Moerup commented Apr 7, 2021

When running MagicMirror with dev enabled I get the following log messages from the module:

[07.04.2021 21:28.41.916] [LOG] Wed Apr 07 2021 21:28:41 GMT+0200 (Central European Summer Time): Triggering Xiaomi Gateway connect

[07.04.2021 21:28.54.094] [ERROR] Error: Call to device timed out at Timeout.retry [as _onTimeout] (/home/pi/MagicMirror/modules/MMM-xiaomi/node_modules/miio/lib/device.js:225:18) at listOnTimeout (internal/timers.js:531:17) at processTimers (internal/timers.js:475:7) { code: 'timeout' }

Let me know if you need anything else to debug it :)

@mag999DK
Copy link

Hi

Did you find a solution? I have the same problem.
I use Xiaomi gateway v3 on de server.

@Moerup
Copy link

Moerup commented Apr 17, 2021

Nope, tried a lot to get it working. Different libraries and editing the code, but still can't get it to work.

@mag999DK
Copy link

I think it is possible if you downgrade the firmware, but it is difficult.
I will order a gateway 2 and hope it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants