node-red-contrib-tuya-local icon indicating copy to clipboard operation
node-red-contrib-tuya-local copied to clipboard

json problem

Open realjax opened this issue 5 years ago • 3 comments

Hi,

when using protocol version 3.1 I get payload: "parse data error" and when using 3.3 payload: "json obj data unvalid"

Any idea what might be causing this?

realjax avatar Nov 04 '19 09:11 realjax

Ah, I seem to be running into this bug: https://github.com/codetheweb/tuyapi/issues/246

realjax avatar Nov 04 '19 10:11 realjax

I only have atm one device to test this an is a version 3.3 only. I created this project because tuya convert didn't work for recent devices back in the time. New patchs for Tuya convert atm allow to flash them with 3rd party fw OTA.

subzero79 avatar Nov 05 '19 04:11 subzero79

i'm very happy, sofar this is the only node-red addon that works i'd like to eliminate the ifttt webhooks , they worked without a problem sofar, but are only turn on/off and another possible point of failure in the cloud using teckin sp22 powerplugs with power usage monitoring sometimes i get these errors sometimes i get dps values 18,19,20 when setting dps 1 and when the powerplugs are freshly plugged in i get 21.22.23.24 etc data payload (daily/monthly etc kwh usage) but triggering a request does'nt work, edit: trigger specific updates with {"set" : null , "dps" : 19} mutliple at once didn't seem to work

bogeuh avatar Feb 21 '20 19:02 bogeuh