-
Notifications
You must be signed in to change notification settings - Fork 5
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
No Data showing #7
Comments
you can try by creating an empty file |
where is tmp located? in your module folder or where @slametps |
Please get this working please help me finding the issue |
looks like nothing called login, which would create the file.
it says /tmp /home |
Where is /tmp let me see if i found Just need to create a file with name mmm-tuya.sl.txt |
he said
|
In your raspberry OS, it should be a /tmp folder. This folder is usually to place temporary files of any user or system applications. |
{ |
the file exists. you still get no data and got the same error that inform the file does not exist? |
Yes dont know whats the problem i am using smart life app and added my account email and pass All correct config that i sent? |
can you paste your pm2 log contains info about MMM-TuyaSL module? |
also paste the output of
|
Gave you npm logs Will give you pm2 and output of command in sometime |
pi@Comitup-927:~ $ ls -laF /tmp/mmm-tuyasl-token.txt |
I booted my pi and it was not there so created a new file by the same name @slametps |
[18.09.2021 17:25.42.848] [LOG] MMM-TuyaSL node helper received a socket notification: CLOCK_SECOND - Payload: [object Object] |
[18.09.2021 17:25.35.084] [LOG] MMM-TuyaSL node helper received a socket notification: TUYASL_NETWORK_SEARCH - Payload: [object Object] |
we get notices, you don't have to tag us |
okay but @slametps help me |
You don't need to create the file yourself. The module will try to create that file if required. |
try to uncomment those lines to debug your installed module. |
Is this issue fixed ? i got it today! |
[16.09.2021 12:53.24.960] [ERROR] (node:5858) electron: The default of contextIsolation is deprecated and will be changing from false to true in a future release of Electron. See electron/electron#23506 for more information
[16.09.2021 12:53.28.692] [LOG] MMM-TuyaSL node helper received a socket notification: TUYASL_NETWORK_SEARCH - Payload: [object Object]
[16.09.2021 12:53.28.695] [LOG] Getting device list...
[16.09.2021 12:53.28.707] [LOG] ERROR: Error: ENOENT: no such file or directory, open '/tmp/mmm-tuyasl-token.txt'
at Object.openSync (fs.js:466:3)
at Object.func [as openSync] (electron/js2c/asar_bundle.js:5:1812)
at Object.readFileSync (fs.js:368:35)
at Object.e.readFileSync (electron/js2c/asar_bundle.js:5:8592)
at Class.search (/home/pi/MagicMirror/modules/MMM-TuyaSL/node_helper.js:152:21)
at Class.socketNotificationReceived (/home/pi/MagicMirror/modules/MMM-TuyaSL/node_helper.js:246:12)
at Socket. (/home/pi/MagicMirror/js/node_helper.js:109:11)
at Socket.emit (events.js:315:20)
at Socket.emitUntyped (/home/pi/MagicMirror/node_modules/socket.io/dist/typed-events.js:69:22)
at /home/pi/MagicMirror/node_modules/socket.io/dist/socket.js:428:39
at processTicksAndRejections (internal/process/task_queues.js:79:11)
[16.09.2
The text was updated successfully, but these errors were encountered: