Hello everybody, I have the same problem. Because I’m not an IT professional, I’m having trouble solving the problem with your instructions.
The second workaround in particular is difficult:
…I completely removed the usage of the sync-fetch library in netatmo.js in favor of the default async version . That is, simply remove the line: const fetch = require(‘sync-fetch’), make the authenticate, loadData and socketNotificationReceived functions async, handle the promise object returned by fetch appropriately as well as the call to json().
- I can’t find the “const fetch” line in the netatmo.js file
- how can I make functions asynchronous
- the sentence “handle the promise object returned by fetch appropriately as well as the call to json().” I don’t really understand either
Is it possible to make the instructions a bit more detailed? Or what is the best way to ensure that the great module works for me again?
Thank you very much for your effort!