Alex M
Alex M
Each subdevice has own id called "cid". But the original code of tuya-mqtt project has no ability to process values from subdevices. I've forked this project and made some changes...
Please try the latest version of codetheweb/tuyapi and tuya-cli And my advice is to define IP and version in the devices.conf file. It helped me. like this: { name: 'ikeabulb05',...
Execute this command: npm view tuyapi version Example output: 7.5.1 Yes, tuya-mqtt has a dependency on tuyapi
Is there any difference when you execute these commands? tuya-cli get --id bf541f534610c30095es6v --key ____________ --dps 20 tuya-cli get --id bf541f534610c30095es6v --key ____________ --dps 20 --protocol-version 3.3 tuya-cli get --ip...
Please try my fork of tuya-mqtt: https://github.com/lehanspb/tuya-mqtt I've made some changes such as useful dp-refresh function. it is possible that dependencies will be updated during installation and may be this...
You can also enable full debug: DEBUG=* node tuya-mqtt.js This will give you even more debug information.