Giter VIP home page Giter VIP logo

razorrun / node-red-contrib-smartlifeair Goto Github PK

View Code? Open in Web Editor NEW
13.0 1.0 1.0 188 KB

Allow you to integrate any[almost] tuya, smart life supported devices to node-red. However, you will have to enrol these devices via Smart life air mobile app. https://www.smartlife.nz/smartlife-labs

Home Page: https://roshan.digital/

HTML 70.30% JavaScript 25.80% Python 3.90%
tuya smartlife node-red smartlife-air node-red-contrib smart-life

node-red-contrib-smartlifeair's Introduction

README

Quick summary -

This npm module will allow you to link up Smartlife and Tuya devices with node red via a cloud service without any firmware changes.

How do I get set up?

Please DO NOT use support email in app store to reach for support. Log issues and support requests on github.

  1. NOTE: This plugin is only conncted to our US DB, So please choose US (see the list below) on the app when you register. Enroll the devices to SmartLife AIR APP (This is a separate app but you can use all the devices that works with tuya and smart life. If your device is not working or does not show inputs/outputs, try updating the firmware from app-> device -> update firmware)
  1. Create an account under https://smartlife-air-plugins.smartlife.nz/ and add your SmartLife air credentials.
  2. Install NodeRed node and add your https://smartlife-air-plugins.smartlife.nz/ Login credentials.
  3. Choose the device, input and output. (Please change a status before you select the device, Backend has to receive at least one update in order to pop up in the list).
  4. If you want to get last status without sending a command, you can do that by sending string "?" as a input

More on Country limitation

There is one limitation on this plugin due to the server location. This node-red plugin only talks to US DB. That’s mean you will have to choose a country that belongs to US region when you sign up to the mobile app. Unfortunately, if you have already created an account you will have to create a new one and enrol devices again.

Countries in the US region Canada, The United States, Peru, Mexico, Argentina, Brazil, Chile, Colombia, Venezuela, Malaysia, Indonesia, Philippines, New Zealand, Thailand, Japan, Korea, Vietnam, Myanmar(Burma), Guatemala, Bolivia, Ecuador, Paraguay, Suriname, Uruguay, Hongkong SAR China, Macao SAR China, Taiwan China, Puerto Rico, Curacao

Contribution guidelines

  • Writing tests TODO
  • Code review
  • Other guidelines

license GPL (GPLv3)

node-red-contrib-smartlifeair's People

Contributors

dependabot[bot] avatar razor1331 avatar razorrun avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

roduzeb

node-red-contrib-smartlifeair's Issues

Nooie plugs no inputs

Hey,

at first - I've read all previously submitted issues about the error message "No available inputs".

But any of the posted fixes did worked for me. I have a NZ account and my other LED stripe is working fine. So the account must be correctly.

Also I updated the firmware of the nooie plug to newest version (1.0.5).

From the Smart Life App I'm able to control the socket without any problems. But from your beautiful Node-RED-Node it doesn't work. All times it says "No available inputs" ...

Please help me! These are the plugs:
https://www.amazon.de/Steckdose-Fernbedienbar-Sprachsteuerung-Funktion-Kompatibel/dp/B07V26TJ58

Best Regards
Robin

Ok, this may be a big ask, but thought I would ask, just in case there is a way to do it?

Ok, this may be a big ask, but thought I would ask, just in case there is a way to do it? I have a use case where I want to power down a smart plug and then have the plug power up say 30 seconds or a minute later.

This has to be independent of issuing commands via NR communication. This would seem to be possible if one schedules a power down and then schedules a power up on the given plug. But how would one do this via the node?

Via the phone app it can be done, as I recall it is limited to 1 minute interval or larger, but still can be done. For example, the current time is 10pm, so schedule off at 10:01, then schedule on at 10:02. As I understand it, this is completely localized, the schedule is on the device, no external communication needed, or am I wrong about that?

Password reset option

Hi,
Somehow I forgot my password and hence could not login again, please provide an option for password rest.

Unable to get IR to work with NodeRED

Hi,
Just bought this WiFi Smart IR controller. Downloaded the SmartLife Air app and added the Smart IR.
Also added some components, witch is functionable through tha app, but I'm not able to controll anything from NodeRED
This is my settings in the smartlifeair node in NodeRed
image
Nothing comes up in the input/output list even if I tried to controll from app and then refreshed.

In this picture I have selected another component, witch is showing some inputs
image
But how do I send any commands from the Node? I have tried to select the command in this node, and then an INject node with Boolean TRUE, with no response. I have also tried to send STRING with the same command, also with no respone.

What to do?

Node red doesn't see the device

There are devices on the site. Why don't they appear in node red? The username and password are correct. And another problem, the settings of the smart life air node do not open immediately.

can´t find devices

Tried different account locations but can´t find my devices.
Nice idea but don´t work.
Can´t flash my devices with tasmota so i decided to try this node but without success.

No reponse from nodes

I'm not getting any reponse from nodes in Node-RED and I'm getting this error showing in the Node-RED terminal window

7 Jan 12:27:58 - [warn] [device-node:bad2954b.08cbf8] User Authenticated as [email protected]
7 Jan 12:27:58 - [warn] [device-node:d4cc3bc9.607a48] User Authenticated as [email protected]
7 Jan 12:27:58 - [warn] [device-node:GU10] User Authenticated as [email protected]
7 Jan 12:27:58 - [warn] [device-node:GU10] User Authenticated as [email protected]
7 Jan 12:27:58 - [warn] [device-node:Calex Plug] User Authenticated as [email protected]
7 Jan 12:27:58 - [warn] [device-node:Wickes Socket / Reading Lamp] User Authenticated as [email protected]
[2021-01-07T12:28:49.179Z]  @firebase/database: FIREBASE WARNING: set at /devices/11021823807d3a03b074/commands failed: permission_denied
(node:22164) UnhandledPromiseRejectionWarning: Error: PERMISSION_DENIED: Permission denied
    at C:\Users\Simon\.node-red\node_modules\@firebase\database\dist\index.node.cjs.js:12880:33
    at exceptionGuard (C:\Users\Simon\.node-red\node_modules\@firebase\database\dist\index.node.cjs.js:698:9)
    at Repo.callOnCompleteCallback (C:\Users\Simon\.node-red\node_modules\@firebase\database\dist\index.node.cjs.js:12870:13)
    at C:\Users\Simon\.node-red\node_modules\@firebase\database\dist\index.node.cjs.js:12683:19
    at C:\Users\Simon\.node-red\node_modules\@firebase\database\dist\index.node.cjs.js:11900:17
    at PersistentConnection.onDataMessage_ (C:\Users\Simon\.node-red\node_modules\@firebase\database\dist\index.node.cjs.js:11930:17)
    at Connection.onDataMessage_ (C:\Users\Simon\.node-red\node_modules\@firebase\database\dist\index.node.cjs.js:11247:14)
    at Connection.onPrimaryMessageReceived_ (C:\Users\Simon\.node-red\node_modules\@firebase\database\dist\index.node.cjs.js:11241:18)
    at WebSocketConnection.onMessage (C:\Users\Simon\.node-red\node_modules\@firebase\database\dist\index.node.cjs.js:11142:27)
    at WebSocketConnection.appendFrame_ (C:\Users\Simon\.node-red\node_modules\@firebase\database\dist\index.node.cjs.js:10728:18)
    at WebSocketConnection.handleIncomingFrame (C:\Users\Simon\.node-red\node_modules\@firebase\database\dist\index.node.cjs.js:10779:22)
    at Client.mySock.onmessage (C:\Users\Simon\.node-red\node_modules\@firebase\database\dist\index.node.cjs.js:10674:19)
    at Client.dispatchEvent (C:\Users\Simon\.node-red\node_modules\@firebase\database\node_modules\faye-websocket\lib\faye\websocket\api\event_target.js:24:30)
    at Client._receiveMessage (C:\Users\Simon\.node-red\node_modules\@firebase\database\node_modules\faye-websocket\lib\faye\websocket\api.js:152:10)
    at Client.<anonymous> (C:\Users\Simon\.node-red\node_modules\@firebase\database\node_modules\faye-websocket\lib\faye\websocket\api.js:36:49)
    at Client.emit (events.js:203:15)
    at Client.<anonymous> (C:\Users\Simon\.node-red\node_modules\websocket-driver\lib\websocket\driver\hybi.js:454:14)
    at pipe (C:\Users\Simon\.node-red\node_modules\websocket-extensions\lib\pipeline\index.js:37:40)
    at Pipeline._loop (C:\Users\Simon\.node-red\node_modules\websocket-extensions\lib\pipeline\index.js:44:3)
    at Pipeline.processIncomingMessage (C:\Users\Simon\.node-red\node_modules\websocket-extensions\lib\pipeline\index.js:13:8)
    at Extensions.processIncomingMessage (C:\Users\Simon\.node-red\node_modules\websocket-extensions\lib\websocket_extensions.js:133:20)
    at Client._emitMessage (C:\Users\Simon\.node-red\node_modules\websocket-driver\lib\websocket\driver\hybi.js:445:22)
    at Client._emitFrame (C:\Users\Simon\.node-red\node_modules\websocket-driver\lib\websocket\driver\hybi.js:405:19)
    at Client.parse (C:\Users\Simon\.node-red\node_modules\websocket-driver\lib\websocket\driver\hybi.js:141:18)
    at Client.parse (C:\Users\Simon\.node-red\node_modules\websocket-driver\lib\websocket\driver\client.js:62:58)
    at IO.write (C:\Users\Simon\.node-red\node_modules\websocket-driver\lib\websocket\streams.js:80:16)
    at TLSSocket.ondata (_stream_readable.js:709:20)
    at TLSSocket.emit (events.js:198:13)
(node:22164) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:22164) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Door Unlock request/response

Hi there,

It appears that when a door unlock request is created, a corresponding input doesn't exist for telling it to unlock the door. It would be great to be able to do that.

It would also be great if we could generate temporary passwords via an input/api.

Why to turn off the user id used warning?

Why does your node report a successful use of user id?

"User Authenticated as [email protected]" is reported over and over and over. The constant node.warn() calls reporting which user was authenticated is, frankly, annoying. Is there a way to turn off that notification? Or how about a feature add, to control the warning?

Weird error, trying to clear it by restarting NR, even deleted and recreated the node, but no joy?

Weird error, trying to clear it by restarting NR, even deleted and recreated the node, but no joy?

5/20/2021, 6:08:48 PMnode: Eccentric Power Control msg : error "Error: Reference.set failed: First argument contains undefined in property 'devices.02200194dc4f22135d6c.commands.value'"

This just appeared out of the blue a couple of days ago. Each time I do a deployment, it pops up again. Any ideas?

Need instructions on options available

Thanks for all your work on this project. I really appreciate that you have put this together!

I have a "Bright"-branded plug that I want to be able to turn off using Node-Red triggered by a command from Join. However, the inputs and outputs are not clear and don't seem to affect the LED/power state of the plug:

Input options (while device is on):
switch_1 ==> Values:Boolean
countdown_1 ==> Values:Integer ("unit":"s","min":0,"max":86400,"scale":0,"step",1)

Output options
countdown_1 ==> Value:0
switch_1 ==> Value:true
All Output Channels as a JSON

I have tried lots of combinations and none of them change the status of the plug. What do I select? Does the output from the Join command matter?

Thanks in advance

No inputs or outputs available

Hi.

I'm not sure if this plugin is dead, seeing that recent issues haven't been replied and no updates for a long time, but I will give it a shot, since this contrib looks to be the best one, with the options I want, out there!

I have added my device (Smart LED wifi strip) but there are no inputs or outputs available.
ID in Node RED matches the ID on https://smartlife-air-plugins.smartlife.nz
"You have enrolled following devices:
23147a5201714b71: "Streaming Lys""

What am I doing wrong here? Strip is up2date on firmware.

Battery level output from TRV

Is it possible to retrieve the battery state from the Tuya radiator valve controllers (HY368-ZB Tuya ZigBee 3.0 Smart Radiator Actuator Programmable Thermostatic Radiator) either as a single output option or as part of the full JSON output? Thanks

Node Red Module for SmartLife Air accepts my email but smartlife app on phone does not?

Node Red Module for SmartLife Air accepts my email but smartlife app on phone does not? I have a complex email, that has more than one dot it the name. For example...

[email protected]

But the smartair website https://smartlife-air.web.app/ and phone app not longer accept this format, error says the email is bad formed? That is not true, it is allowed by gmail for example. So something has changed at your end? In fact, when I tried to register my existing email with multiple dots, the web site said my email address already exists. Once more, in Node Red, the smart devices are still linked to said email address, and functional, so it appears I can't login to add an additional device.

No inputs or outputs available

Hello!

I have created a account and added it in node-red, it currently has 2 wifi switches registered which I can control via the smartlife air app and show up in https://smartlife-air-plugins.smartlife.nz/home as

You have enrolled following devices:
303167bb252ae578: "Wi-Fi Smart Switch 2"
ee8665a4067ab5f2: "Wi-Fi Smart Switch"

In node-red I can select the device, but there are no inputs and outputs:
image

I have operated the device several times in the app and tried deploying and deleting and adding the devices again, but I can't get around the bug. Any idea what is going wrong or how to fix it?

I can provide any information you need to get this fixed, just let me know!

No Inputs / Outputs available[ Read this before logging a new issue] -- Can't Turn on or off My Tuya Smart LED Plug

First of all, thanks a billion for making this available for us. Its significance is even greater now that all TuyAPI-based custom nodes are not really usable any more because Tuya seems to have installed a new restriction on free developer accounts.

I have a Tuya's smart LED plug. I can turn on and off its LED using node-red-contrib-smartlifeair, which I think is fantastic. However, its "Device Node" does not give me a choice of controlling the power supply of the smart plug. Please see the screenshot below.

Input

Am I missing something? I was expecting an obvious "Power" entry, but perhaps I should use something else?

Please enlighten me. Thanks!

Yasuro

Alexa does not work in EU with connection to US DB

In order to get "node-red-contrib-smartlifeair" to work here in Germany, I chose an account in New Zealand as described during the registration in the app.
Everything works fine; Tuya WiFi lamps can be switched and dimmed via node-red and MQTT.

But the control via Alexa does not work anymore.
The Smartlife-Skill of an Amazon account in EU does not recognise the Smartlife-Air account in NZ.
When I create an account in Germany during registration in the Smartlife app, the skill connects, Alexa works fine, but node-red does not find any devices anymore.

Switching the entire Amazon account to NZ is not a solution, as other services will not work.

Any hints?

Thanks
Achim

Node broken when I updated NR to 1.2

I updated to NR 1.2.0 yesterday and the node isn't working and giving lots of errors in the log.

Downgrading back to NR 1.1.0 hasn't helped

I stupidly updated npm at the same time so it might be an npm issue and not to do with NR

Sample of errors in log

at Client.parse (C:\Users\Simon\.node-red\node_modules\websocket-driver\lib\websocket\driver\client.js:62:58) at IO.write (C:\Users\Simon\.node-red\node_modules\websocket-driver\lib\websocket\streams.js:80:16) at TLSSocket.ondata (_stream_readable.js:709:20) at TLSSocket.emit (events.js:198:13) (node:11020) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 105) [2020-10-16T08:15:34.387Z] @firebase/database: FIREBASE WARNING: set at /devices/351278822cf4326e03b3/commands failed: permission_denied (node:11020) UnhandledPromiseRejectionWarning: Error: PERMISSION_DENIED: Permission denied at C:\Users\Simon\.node-red\node_modules\@firebase\database\dist\index.node.cjs.js:12880:33 at exceptionGuard (C:\Users\Simon\.node-red\node_modules\@firebase\database\dist\index.node.cjs.js:698:9) at Repo.callOnCompleteCallback (C:\Users\Simon\.node-red\node_modules\@firebase\database\dist\index.node.cjs.js:12870:13) at C:\Users\Simon\.node-red\node_modules\@firebase\database\dist\index.node.cjs.js:12683:19 at C:\Users\Simon\.node-red\node_modules\@firebase\database\dist\index.node.cjs.js:11900:17 at PersistentConnection.onDataMessage_ (C:\Users\Simon\.node-red\node_modules\@firebase\database\dist\index.node.cjs.js:11930:17) at Connection.onDataMessage_ (C:\Users\Simon\.node-red\node_modules\@firebase\database\dist\index.node.cjs.js:11247:14) at Connection.onPrimaryMessageReceived_ (C:\Users\Simon\.node-red\node_modules\@firebase\database\dist\index.node.cjs.js:11241:18) at WebSocketConnection.onMessage (C:\Users\Simon\.node-red\node_modules\@firebase\database\dist\index.node.cjs.js:11142:27) at WebSocketConnection.appendFrame_ (C:\Users\Simon\.node-red\node_modules\@firebase\database\dist\index.node.cjs.js:10728:18) at WebSocketConnection.handleIncomingFrame (C:\Users\Simon\.node-red\node_modules\@firebase\database\dist\index.node.cjs.js:10779:22) at Client.mySock.onmessage (C:\Users\Simon\.node-red\node_modules\@firebase\database\dist\index.node.cjs.js:10674:19) at Client.dispatchEvent (C:\Users\Simon\.node-red\node_modules\@firebase\database\node_modules\faye-websocket\lib\faye\websocket\api\event_target.js:24:30) at Client._receiveMessage (C:\Users\Simon\.node-red\node_modules\@firebase\database\node_modules\faye-websocket\lib\faye\websocket\api.js:152:10) at Client.<anonymous> (C:\Users\Simon\.node-red\node_modules\@firebase\database\node_modules\faye-websocket\lib\faye\websocket\api.js:36:49) at Client.emit (events.js:203:15) at Client.<anonymous> (C:\Users\Simon\.node-red\node_modules\websocket-driver\lib\websocket\driver\hybi.js:454:14) at pipe (C:\Users\Simon\.node-red\node_modules\websocket-extensions\lib\pipeline\index.js:37:40) at Pipeline._loop (C:\Users\Simon\.node-red\node_modules\websocket-extensions\lib\pipeline\index.js:44:3) at Pipeline.processIncomingMessage (C:\Users\Simon\.node-red\node_modules\websocket-extensions\lib\pipeline\index.js:13:8) at Extensions.processIncomingMessage (C:\Users\Simon\.node-red\node_modules\websocket-extensions\lib\websocket_extensions.js:133:20) at Client._emitMessage (C:\Users\Simon\.node-red\node_modules\websocket-driver\lib\websocket\driver\hybi.js:445:22) at Client._emitFrame (C:\Users\Simon\.node-red\node_modules\websocket-driver\lib\websocket\driver\hybi.js:405:19) at Client.parse (C:\Users\Simon\.node-red\node_modules\websocket-driver\lib\websocket\driver\hybi.js:141:18) at Client.parse (C:\Users\Simon\.node-red\node_modules\websocket-driver\lib\websocket\driver\client.js:62:58) at IO.write (C:\Users\Simon\.node-red\node_modules\websocket-driver\lib\websocket\streams.js:80:16) at TLSSocket.ondata (_stream_readable.js:709:20) at TLSSocket.emit (events.js:198:13) (node:11020) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 106)

Every time I login to https://smartlife-air-plugins.smartlife.nz/ it kicks me back out in about 10 seconds:: Fixed Now - See instructions

Every time I login to https://smartlife-air-plugins.smartlife.nz/ it kicks me back out in about 10 seconds. I was able to create the account, register it. Was able to download the app on my phone, and setup 1 device on it. It works. But every time I try to set the country code via login to https://smartlife-air-plugins.smartlife.nz/ it kicks me back out in about 10 seconds. What the heck?

No devices found - For people in EU

Hi there, I'd like to try out this module. I have enrolled a device to the smart life air app. However in smartlife-air-plugins I get "No devices found". During set up I selected my location as United Kingdom, I was wondering if I should have set this to New Zealand as this is a .nz website?

Reset Password in https://smartlife-air-plugins.smartlife.nz/login

Registered in https://smartlife-air-plugins.smartlife.nz/login with mistyped password, now I don't know what my password is and it said "Access to this account has been temporarily disabled due to many failed login attempts. You can immediately restore it by resetting your password or you can try again later."
What should I do to reset my password in https://smartlife-air-plugins.smartlife.nz/login? There is no forgot password button, only red Register Account text that do nothing.

image

Another device with missing inputs/outputs

Hi,

thanks for the great work! I just bought a light which can be controlled through the SmartLife Air App. After setting everything up the device is listed in the node-red configuration, but no channels turn up.

I can refresh, but that doesn't change anything :/

There is no firmware update available according to the app which is - no doubt - due to the strangeness of my device: It's a "Smart Wi-Fi Music Star Light"...

The ID is c1bc05ee1413f363 - can we get it working even though it is not a "common" light bulb? I don't care for the music functions, but the on-off/color selection functionality seems to mimic a normal LED bulb...

Not getting output from device-node node now?

Really weird, notice this morning device-node node in node red is turning smart plug on and off, but the device-node is never sending anything to output?

Using Raspberry Pi 10 (Buster) fully patched
Node Red 1.1.3
NPM 6.14.8
Node 12.19.0

If I do any change to the given flow, do a deployment, THEN, some output results BUT if is bad data, wrong state of smart plug, wrong values. For example, switch value is ALWAYS reported as FALSE, when the smart plug is actually ON or true value is expected.

[{"id":"f22d6f02.88a19","type":"debug","z":"a930fbaf.0652b8","name":"Message","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":1640,"y":1440,"wires":[]},{"id":"817cdc10.242a1","type":"inject","z":"a930fbaf.0652b8","name":"Off","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"false","payloadType":"bool","x":1110,"y":1460,"wires":[["196e415d.0bd77f"]]},{"id":"16657021.e096f","type":"inject","z":"a930fbaf.0652b8","name":"On","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"true","payloadType":"bool","x":1110,"y":1420,"wires":[["196e415d.0bd77f"]]},{"id":"196e415d.0bd77f","type":"device-node","z":"a930fbaf.0652b8","name":"Black Lasko Fan Power Control (Awow 163)","account":"[redacted]","selectedDevice":"[redacted]","selectedInput":"switch_1","selectedOutput":"root","outputConversion":"false","x":1370,"y":1440,"wires":[["f22d6f02.88a19"]],"icon":"font-awesome/fa-power-off"},{"id":"[redacted]","type":"smartlifeair-login","z":"","email":"[redacted]","password":"[redacted]"}]

Also, have you figured out how to optionally surpress all the node.warn() for authentication messages? That is really getting annoying.

"Authentication Pending or error in user credentials."

Update: got it working!

Hi Roshan,
thanks for this cool node.

I have set up nicely, downloaded the correct app, choosed Canada as region, made an account on smart life Air, logged in and can see my connected device there.

In node red I can choose my account in the menu, I see my device, but when i inject a boolean true I get get this reply in the debugging window.

"Authentication Pending or error in user credentials."

Any idea why this happens to me?

Cheers Andreas

Feature request, ability to request the current firmware version on device?

Feature request, ability to request the current firmware version on device? And maybe add as well a reference or flag that notes a newer firmware version is available? I was testing the ewelink API for javascript and the node library for NR for same, and it has one nice feature, ability to query for the current firmware version. This would be nice to have so one could keep the inventory of devices current and update to date.

Device list stuck on "Loading"

I was trying to view the nodes I had set up for some light to rejig some of my automation, but the Device List only shows "Loading..." I am authenticating successfully, so that's not a problem. Account: [email protected]

No input list available

Hi,

I read through all the other issues about similar symptoms, but no dice yet.

I registered the Smartlife AIR with a US location, I did the web registration where I can see the switch:

Screenshot 2022-09-28 at 17 29 16

Then, within node-red, I installed the module , did the login, can see that the authentication works.

When I go to configure, I see the following:

Screenshot 2022-09-28 at 17 30 31

I tried turning the device on and off manually and through the app as well, no dice: input list is not populated.

  1. Wondering how I can troubleshoot why the input list is not populated?
  2. Wondering if I can still send a message through inject to the node that would flip the switch on and off?

Thanks

Send ? And Configured for JSON (all values), the state is wrong, but via the UI, the state is correct?

Send ? And Configured for JSON output (all values), the state is wrong, but via the NR UI, the state is correct? Send ? and Configured for Switch_1 value as output, the state is incorrect. but the NR UI view shows correct state.

Reference the graphic below, the left red circle shows the correct state of the smart plug. The red circle on the right, shows the payload output for all channels, and the state is true, which is incorrect.

SmartLife Air Node Error

Using NR 1.2.9 and SmartLife Air Node 1.0.11.
.

No available inputs

Managed to get the device to show up in node red. When adding the node, I see "No available inputs" in the dropdown boxes for both the input and output selections. So it seems I'm unable to do anything with it.

The device id shows up in the device dropdown as fed0189a574c5a47. I've set it up as a wifi dimmer switch in the smartlife air app, and the app controls it as expected. It's actually not that slow if it thinks it is in NZ instead of UK.

NPM Audit Warnings

When I run npm audit

I get the following errors related to firebase in the smartlifeair node. Are you able to update firebase?

                === npm audit security report ===                        

┌──────────────────────────────────────────────────────────────────────────────┐
│ Manual Review │
│ Some vulnerabilities require your attention to resolve │
│ │
│ Visit https://go.npm.me/audit-guide for additional guidance │
└──────────────────────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Moderate │ Uncontrolled Resource Consumption │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ @firebase/util │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in │ >=0.3.4 │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ node-red-contrib-smartlifeair │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path │ node-red-contrib-smartlifeair > firebase > │
│ │ @firebase/analytics > @firebase/component > @firebase/util │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info │ https://npmjs.com/advisories/1717
└───────────────┴──────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Moderate │ Uncontrolled Resource Consumption │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ @firebase/util │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in │ >=0.3.4 │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ node-red-contrib-smartlifeair │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path │ node-red-contrib-smartlifeair > firebase > │
│ │ @firebase/analytics > @firebase/installations > │
│ │ @firebase/component > @firebase/util │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info │ https://npmjs.com/advisories/1717
└───────────────┴──────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Moderate │ Uncontrolled Resource Consumption │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ @firebase/util │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in │ >=0.3.4 │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ node-red-contrib-smartlifeair │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path │ node-red-contrib-smartlifeair > firebase > │
│ │ @firebase/installations > @firebase/component > │
│ │ @firebase/util │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info │ https://npmjs.com/advisories/1717
└───────────────┴──────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Moderate │ Uncontrolled Resource Consumption │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ @firebase/util │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in │ >=0.3.4 │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ node-red-contrib-smartlifeair │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path │ node-red-contrib-smartlifeair > firebase > │
│ │ @firebase/messaging > @firebase/installations > │
│ │ @firebase/component > @firebase/util │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info │ https://npmjs.com/advisories/1717
└───────────────┴──────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Moderate │ Uncontrolled Resource Consumption │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ @firebase/util │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in │ >=0.3.4 │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ node-red-contrib-smartlifeair │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path │ node-red-contrib-smartlifeair > firebase > │
│ │ @firebase/performance > @firebase/installations > │
│ │ @firebase/component > @firebase/util │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info │ https://npmjs.com/advisories/1717
└───────────────┴──────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Moderate │ Uncontrolled Resource Consumption │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ @firebase/util │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in │ >=0.3.4 │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ node-red-contrib-smartlifeair │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path │ node-red-contrib-smartlifeair > firebase > │
│ │ @firebase/remote-config > @firebase/installations > │
│ │ @firebase/component > @firebase/util │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info │ https://npmjs.com/advisories/1717
└───────────────┴──────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Moderate │ Uncontrolled Resource Consumption │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ @firebase/util │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in │ >=0.3.4 │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ node-red-contrib-smartlifeair │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path │ node-red-contrib-smartlifeair > firebase > @firebase/app > │
│ │ @firebase/component > @firebase/util │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info │ https://npmjs.com/advisories/1717
└───────────────┴──────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Moderate │ Uncontrolled Resource Consumption │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ @firebase/util │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in │ >=0.3.4 │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ node-red-contrib-smartlifeair │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path │ node-red-contrib-smartlifeair > firebase > │
│ │ @firebase/database > @firebase/component > @firebase/util │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info │ https://npmjs.com/advisories/1717
└───────────────┴──────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Moderate │ Uncontrolled Resource Consumption │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ @firebase/util │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in │ >=0.3.4 │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ node-red-contrib-smartlifeair │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path │ node-red-contrib-smartlifeair > firebase > │
│ │ @firebase/firestore > @firebase/component > @firebase/util │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info │ https://npmjs.com/advisories/1717
└───────────────┴──────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Moderate │ Uncontrolled Resource Consumption │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ @firebase/util │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in │ >=0.3.4 │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ node-red-contrib-smartlifeair │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path │ node-red-contrib-smartlifeair > firebase > │
│ │ @firebase/functions > @firebase/component > @firebase/util │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info │ https://npmjs.com/advisories/1717
└───────────────┴──────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Moderate │ Uncontrolled Resource Consumption │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ @firebase/util │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in │ >=0.3.4 │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ node-red-contrib-smartlifeair │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path │ node-red-contrib-smartlifeair > firebase > │
│ │ @firebase/messaging > @firebase/component > @firebase/util │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info │ https://npmjs.com/advisories/1717
└───────────────┴──────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Moderate │ Uncontrolled Resource Consumption │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ @firebase/util │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in │ >=0.3.4 │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ node-red-contrib-smartlifeair │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path │ node-red-contrib-smartlifeair > firebase > │
│ │ @firebase/performance > @firebase/component > @firebase/util │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info │ https://npmjs.com/advisories/1717
└───────────────┴──────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Moderate │ Uncontrolled Resource Consumption │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ @firebase/util │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in │ >=0.3.4 │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ node-red-contrib-smartlifeair │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path │ node-red-contrib-smartlifeair > firebase > │
│ │ @firebase/remote-config > @firebase/component > │
│ │ @firebase/util │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info │ https://npmjs.com/advisories/1717
└───────────────┴──────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Moderate │ Uncontrolled Resource Consumption │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ @firebase/util │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in │ >=0.3.4 │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ node-red-contrib-smartlifeair │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path │ node-red-contrib-smartlifeair > firebase > @firebase/storage │
│ │ > @firebase/component > @firebase/util │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info │ https://npmjs.com/advisories/1717
└───────────────┴──────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Moderate │ Uncontrolled Resource Consumption │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ @firebase/util │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in │ >=0.3.4 │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ node-red-contrib-smartlifeair │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path │ node-red-contrib-smartlifeair > firebase > │
│ │ @firebase/analytics > @firebase/installations > │
│ │ @firebase/util │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info │ https://npmjs.com/advisories/1717
└───────────────┴──────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Moderate │ Uncontrolled Resource Consumption │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ @firebase/util │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in │ >=0.3.4 │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ node-red-contrib-smartlifeair │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path │ node-red-contrib-smartlifeair > firebase > │
│ │ @firebase/installations > @firebase/util │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info │ https://npmjs.com/advisories/1717
└───────────────┴──────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Moderate │ Uncontrolled Resource Consumption │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ @firebase/util │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in │ >=0.3.4 │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ node-red-contrib-smartlifeair │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path │ node-red-contrib-smartlifeair > firebase > │
│ │ @firebase/messaging > @firebase/installations > │
│ │ @firebase/util │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info │ https://npmjs.com/advisories/1717
└───────────────┴──────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Moderate │ Uncontrolled Resource Consumption │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ @firebase/util │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in │ >=0.3.4 │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ node-red-contrib-smartlifeair │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path │ node-red-contrib-smartlifeair > firebase > │
│ │ @firebase/performance > @firebase/installations > │
│ │ @firebase/util │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info │ https://npmjs.com/advisories/1717
└───────────────┴──────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Moderate │ Uncontrolled Resource Consumption │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ @firebase/util │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in │ >=0.3.4 │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ node-red-contrib-smartlifeair │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path │ node-red-contrib-smartlifeair > firebase > │
│ │ @firebase/remote-config > @firebase/installations > │
│ │ @firebase/util │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info │ https://npmjs.com/advisories/1717
└───────────────┴──────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Moderate │ Uncontrolled Resource Consumption │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ @firebase/util │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in │ >=0.3.4 │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ node-red-contrib-smartlifeair │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path │ node-red-contrib-smartlifeair > firebase > │
│ │ @firebase/analytics > @firebase/util │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info │ https://npmjs.com/advisories/1717
└───────────────┴──────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Moderate │ Uncontrolled Resource Consumption │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ @firebase/util │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in │ >=0.3.4 │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ node-red-contrib-smartlifeair │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path │ node-red-contrib-smartlifeair > firebase > @firebase/app > │
│ │ @firebase/util │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info │ https://npmjs.com/advisories/1717
└───────────────┴──────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Moderate │ Uncontrolled Resource Consumption │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ @firebase/util │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in │ >=0.3.4 │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ node-red-contrib-smartlifeair │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path │ node-red-contrib-smartlifeair > firebase > │
│ │ @firebase/database > @firebase/util │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info │ https://npmjs.com/advisories/1717
└───────────────┴──────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Moderate │ Uncontrolled Resource Consumption │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ @firebase/util │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in │ >=0.3.4 │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ node-red-contrib-smartlifeair │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path │ node-red-contrib-smartlifeair > firebase > │
│ │ @firebase/firestore > @firebase/util │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info │ https://npmjs.com/advisories/1717
└───────────────┴──────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Moderate │ Uncontrolled Resource Consumption │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ @firebase/util │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in │ >=0.3.4 │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ node-red-contrib-smartlifeair │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path │ node-red-contrib-smartlifeair > firebase > │
│ │ @firebase/messaging > @firebase/util │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info │ https://npmjs.com/advisories/1717
└───────────────┴──────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Moderate │ Uncontrolled Resource Consumption │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ @firebase/util │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in │ >=0.3.4 │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ node-red-contrib-smartlifeair │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path │ node-red-contrib-smartlifeair > firebase > │
│ │ @firebase/performance > @firebase/util │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info │ https://npmjs.com/advisories/1717
└───────────────┴──────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Moderate │ Uncontrolled Resource Consumption │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ @firebase/util │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in │ >=0.3.4 │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ node-red-contrib-smartlifeair │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path │ node-red-contrib-smartlifeair > firebase > │
│ │ @firebase/remote-config > @firebase/util │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info │ https://npmjs.com/advisories/1717
└───────────────┴──────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Moderate │ Uncontrolled Resource Consumption │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ @firebase/util │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in │ >=0.3.4 │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ node-red-contrib-smartlifeair │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path │ node-red-contrib-smartlifeair > firebase > @firebase/storage │
│ │ > @firebase/util │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info │ https://npmjs.com/advisories/1717
└───────────────┴──────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Moderate │ Uncontrolled Resource Consumption │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ @firebase/util │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in │ >=0.3.4 │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ node-red-contrib-smartlifeair │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path │ node-red-contrib-smartlifeair > firebase > @firebase/util │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info │ https://npmjs.com/advisories/1717
└───────────────┴──────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Moderate │ Regular Expression Denial of Service │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ ws │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in │ >=7.4.6 │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ node-red-contrib-webhookrelay │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path │ node-red-contrib-webhookrelay > webhookrelay-ws-client > ws │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info │ https://npmjs.com/advisories/1748

How to update the firmware?

Hi, I try to control Bardi Smart Plug with the node, but there is no available input and output. I read some other issue similar to this and it seems that I need to update the firmware, but I can't find a way to do that because the app keep saying No updates available. Any idea what should I do?
WhatsApp Image 2021-08-26 at 12 11 52

Door sensor supported?

First of all great plugin.

I added the door sensor correctly but no input or output.

how can i use it for status? because if i close the door or open it works on the app but nothing happens on node-red

Firmware version 1.0.4
and from smart led 6.0.4

no firmware available.

//
aswell for my smart led e27 same thing

regards

FYI... New plugs will not connect via normal mode setup or paired mode setup, when connecting to device AP, get password prompt?

FYI... New plugs will not connect via normal mode setup or paired mode setup, when connecting to device AP, get password prompt? So they have an embedded PSK key maybe? I got one of the plugs to connect and setup with their official application. But the official app does not show much information about the plug. They also do not show up as 'SmartLife_XXX' but a different randomized string it appears. The official app is 'Cloud Intelligence'. I did notice the default device name on the network started with ESP_ so they appear to be some variant of ESP device. Box lists the device type as YX-WS01, which I have added to SmartLife Air before in the past. Figure these could yet another newer tuya generation of firmware?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.