slametps / MMM-TuyaSL

A MagicMirror module to display Tuya-based (smart_life) smarthome devices
3 stars 4 forks source link

no or slow updates #11

Open Kentajoh opened 2 years ago

Kentajoh commented 2 years ago

I live in Norway and use country code EU. Changes from smart_life to tuya since this is my app of choice. I changed updateinterval and timeout a few times and it now shows "no data". When I kept it original it would show when I turned something on, but it would use a lot of time (5 minutes?) to update. I want almost instantaneous updates to see if the garagedoor opened, or if I remembered to turn off the coffeemaker before leaving the house. I guess it has to do with the timeout setting being to low?? I don't understand what it does really.. I'm running:

{
  module: 'MMM-TuyaSL',
  position: 'top_right',
  header: 'TuyaSL',
  config: {
    userName: '###@gmail.com',
    password: 'password',
    countryCode: 'EU',
    bizType: 'tuya'
    showOnlyOnline: false,
    showOnlyOn: false,
    colour: false,
    updateInterval: 30 * 1000,
    timeout: 1 * 1000,
  }
}