Logs don't comply with Homebridge logging system.
See original GitHub issueDescribe the bug
There are no logs for this plugin in Homebdrige, unless one enables debug logging, which seems to be simply a some print commands.
Other plugins show a log like
[12/19/2021, 7:47:38 PM] [PLUGIN_NAME] Some plugin message.
However tuya-homebridge doesn’t log any message. When debug mode is enabled, it returns something like
TuyaOpenMQ onMessage: topic = cloud/token/in/TOKEN, message = {"data":{"dataId":"XXXXXX","devId":"YYYYY","productKey":"ZZZZZ","status":[{"3":63,"code":"temp_current","t":"1639972216","value":63}]},"protocol":4,"pv":"2.0","sign":"WWWWWWW","t":1639972216}
It would be great to have better logging without enabling debug mode, so it is possible to track normal behaviors regarding status, automations, etc.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Config for logs is not loaded. · Issue #664 · oznu/homebridge ...
The log widget keeps showing: Loading logs using "file" method. ... Homebridge Config UI X Version: v4.17.1; Operating System: Docker ...
Read more >Homebridge Log not updating - Reddit
The trouble I am having is that the log file stopped updating on 8/13. I don't know why. When looking at the log...
Read more >Is there a way to enable logs in homebridge?
Is it possible for logs to include sensor status changes? For example: [Konnected] Zone 1 open at hh:mm:ss It's useful to track vibration...
Read more >Tuya Homebridge Not Working - OrganiCoal
There's no window shutter device, other than Zemismart's, working on Apple Home App. From the log you can see that there are many...
Read more >Unify your smart home with HOOBS – use non-HomeKit devices
Homebridge is a piece of software that connects to an unsupported ... Log in to your Google account – the same one used...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I think this assumes a lot. Proper logging is important to many users. You don’t need them all of the time, but when you do need them having them accessible and formatted properly helps a lot, especially if you run many homebridge plugins.
I do think you should update logging to follow conventional formatting, but leave complex logs under the debug setting (but formatted correctly). If you use the built in Homebridge logger you can easily address this.
Stale issue. we will close the issue soon. If this issue has not been resolved, please update the issue and contact us in time.