Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to configure it #2

Open
ammaralfarsi opened this issue Jan 1, 2021 · 6 comments
Open

Unable to configure it #2

ammaralfarsi opened this issue Jan 1, 2021 · 6 comments

Comments

@ammaralfarsi
Copy link

am new to this and when i imported the code am not able to get it working.! can you please let me know how simply check and get it works?

@LucasJanin
Copy link
Owner

Can you be more precise about what's code you are trying to use?

@Tibor070
Copy link

Tibor070 commented Jan 1, 2021

I am unable to get it working, the get entities node doesn't pass trough any output. Copied the code, put it trough the scrubber https://zachowj.github.io/node-red-contrib-home-assistant-websocket/scrubber/ and imported it into node red. Changed the state off a entity in developer tools, but the get entities node gives no result. I have many zigbee and z-wave devices connected into node red.

@ammaralfarsi
Copy link
Author

Can you be more precise about what's code you are trying to use?

was trying to use battery notification code

@LucasJanin
Copy link
Owner

First, this Node-Red graph gets the data Home Assitant.

On the current setting, the node "Sensors battery lower than 20%" only returns all sensors under 20%.
Just change the value to 100% to test it.

I only use "battery notification" for Zigbee device.
Just update the entities in the "Sensors battery lower than 20%" to add ZWave support.

@ammaralfarsi
Copy link
Author

i tried what you stated but not working. i have Sonoff Zigbee devices.!

@Jens-Wymeersch
Copy link

@LucasJanin The idea is great and exactly what I'm looking for. That said, I have trouble getting it configured.
When I look at the debug node I get TypeError: Cannot read property 'getStates' of undefined

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants