caseyjhol / node-red-contrib-tplink

A collection of Node-RED nodes for TP-Link Smart Home devices
https://www.npmjs.com/package/node-red-contrib-tplink-iot
MIT License
16 stars 15 forks source link

Multi-Plug Support - Patch4 #17

Closed MaddyTP closed 4 years ago

MaddyTP commented 4 years ago

Adds 'getInfoEvents' to support backwards compatibility.

caseyjhol commented 4 years ago

While getInfoEvents works again, it seems to be ignoring the event interval after the initial response.

MaddyTP commented 4 years ago

Hmm...it should be running off the 'getPowerUpdateEvents' interval which emits on polling interval. Let me look into it...

MaddyTP commented 4 years ago

Confirmed working for HS100/HS105/HS107/HS300. 'getInfoEvents' and 'getMeterEvents' are the only obvious issues.

image

caseyjhol commented 4 years ago

Solved the event interval issue in v0.4.3.