andrei-tatar / node-red-contrib-nora Goto Github PK
View Code? Open in Web Editor NEWNode Red Google Home integration
Node Red Google Home integration
Hi, is there a way we can controll blinds with a command like open/close X blind or open 30% without using the light entity?
@andrei-tatar I just saw that Google has opened up the local SDK - https://developers.googleblog.com/2020/04/local-home-sdk-ready-for-actions.html?m=1
This is way over my paygrade. Any thoughts on how hard it would be to include a local fulfillment path in the current version of NORA or create another version for local use?
i noticed the thermostat should have functionality for humidity but it does not work
i feed both msg.payload.temperature and msg.payload.humidity into the thermostat but it does not recognize the humidity value.
I know it should not show in google but when asked it should answer what the humidity is.
In Open Hab i got this working by feeding the temperature in as "CurrentTemperature"
and Humidity as "CurrentHumidity" and grouping those together as a thermostat.
The grouping part was important with OpenHab.
maybe the humidity variable from the nora thermostat is not exposed as CurrentHumidity
Hello,
do you planning to release NORA for self-hosted services as [test] app for private use?
Thank you.
Hi there,
If I tell my google home to open the front blinds the percent output is 0.
If I tell my google home to open all the blinds the percent output is 100.
There is a difference in group actions and solo, not sure if it is a nora thing or google home.
Can anyone verify this?
It would be nice if nora could support vacuum:
https://developers.google.com/assistant/smarthome/guides/vacuum.html
I'm in special interested in start, stop and pause, which is traitaction.devices.traits.StartStop.
Hello,
what about color support for light?
I copied my node-red flow to a new server and now I have 2 of everything in NORA so I have a big mess in the google home app and there is no way to delete old devices from NORA.
When I go to https://node-red-google-home.herokuapp.com under device/state everything is doubled up.
Hi Andrei,
This is a great idea and I think I can see where you are going with this project.
I'm happy to help with any testing if you wish.
My current Home Automation is all based on Node Red using ESP8266's running Tasmota fimware of which I have about 70 device. All comms are MQTT.
I have Led 12 volt lighting (100+) most are dimmer-able. Custom 4 gang Wifi wall Switches and Temp/Humidity Sensors for auto fan and heater controls. Solar production and power consumption and currently implementing water metering.
I have just started looking at Google assistant integration and most option at the moment are messy at best, which is why your project is of interest.
Jason S
Melbourne Australia
I tried out groups and now I cannot remove them. Each group always contains at least one device.
I entered something in the "Group" field of the configuration node on two different instances for testing purposes. Now I don't want to use one of the instances anymore and removed all device nodes as well as the configuration nodes but cant remove the devices from NORA. Reconnecting the service in Google Home does not help.
I have a sensor that is a thermometer and humidity sensor. Obviously this means it's not a thermostat in the traditional sense because it's "ready only". Google's SDK exposes a property that can be set for this exact scenario (queryOnlyTemperatureSetting), however that's not currently exposed by NORA. It would be great if this can be exposed.
This will disallow Google devices from trying to set the temperature on my thermostat, disable respective buttons, etc.
I understand that the Blind node is experimental but I am sending it an input (from the Bigtimer node) however the status displayed beneath the Blind node doesn't update. When I do this with the Light node the status updates and Google Home is aware of the state change. I have tried sending inputs such as openPercent - 0 and openPercent - 100 (as shown in the node info) and also openPercent: 0 & 100 but the status doesn't change. I have selected the option to pass the input msg through to output and this works correctly however Google Home is not aware of the state change. Can you advise if what I am trying to do is possible?
Google has announced more device traits recently:
NORA is working perfectly for me in Node Red, however, Garage device displays as a 'sensor' in the Google Home app (I am using iOS), therefore the app cannot be used to control the garage door. Voice control (e.g. via Google Home Mini) works, and 'manual' true/false inputs to the node also work.
In the iOS app, the garage door sensor icon is displayed as an image of a garage door, with a 'gear' displayed top-right of the image. Touching the icon displays General settings for the device.
I have tried to find some information about this issue, and it appears that around 2 months ago, some users of the commercial 'Moes WiFi Smart Garage Door Opener' report that their icon changed from being a door-opener-switch, to being a sensor icon. I couldn't find any other information relating to this issue. Perhaps Google changed something in the API for this device since it was implemented.
Please let me know if you need further information, or if I can assist with this issue in any way. Thank you.
Possible to add Dimmer function between 0-255 or make the brightness function between 0-255, ikea bulbs need that command
Hallo,
I am having trouble making Nora work again... it suddenly stopped working.
this is the situation:
It looks like the communication between the nora nodes and the Heroku status pages, still is ok
Still in Google Home everything is offline.
I am stuck any help would be great
thanks
I created a NORA account today but
NORA linking is not working with google home app
it showing linking done, but NORA not showing under linked list
At the same time NORA connection status at NODE RED seems perfect
i have some old NORA accounts, those all are working perfectly
https://www.androidpolice.com/2020/04/29/google-assistant-support-router-network-control/
Network:
https://developers.google.com/assistant/smarthome/guides/network
action.devices.types.NETWORK - Represents a group of router nodes or a mesh network controlled as one entity rather than as individual devices. The network device may reboot, update its software, and have modes to handle Quality of service (QoS) controls and parental restrictions. The device can perform operations such as enabling the guest network, and reporting network-specific information such as the current internet throughput rates.
This type indicates that the device gets the network icon and some synonyms/aliases.
Router:
https://developers.google.com/assistant/smarthome/guides/router
Device TYPE
action.devices.types.ROUTER - Routers can reboot, update their software, have modes to handle Quality of service (QoS) controls and parental restrictions, and perform network specific operations (such as enabling the guest network and reporting network specific information such as the current internet throughput rates).
This type indicates that the device gets the router icon and some synonyms/aliases.
Hi guys
I was trying to use Nora in connection with Google Home Mini. Everything went well until one - two weeks ago when Google Home mini stopped reacting on voice commands. Instead it always responds „Nora is not available“. Restart of GHM doesn‘t help.
The funny story is that at the same time iOS Google Home App works just fine with NORA devices. Only speaker doesn’t.
What could be the problem?
Multiple message received from nora elements in node red:
"socket connection error: not authorized".
Furthermore i cannot revoke node-red token: https://node-red-google-home.herokuapp.com/.
When I set the thermostat device to query only and one way i receive this error and all devices in the nora flows go offline.
`[warn] nora: sync error (invalid object for sync)
I get every 3 to 10 minutes a message, that nora disconnects and the node shows disconnected.
"nora (d6oPU): disconnected (transport close)"
node red 0.20.5
node.js 8.15.1
OS ubuntu 18.04 on Vmware
nora 0.0.23
Last night the nodes were working fine, but after updating to v0.0.12 tonight, they no longer work.
I issue the command to Google Home, and get the correct reply "turning on your table lamp".
But the output from the node just returns a blank object.
The node looks as though it's connected to the server ok.
...and the node-RED log shows;
4 Dec 17:45:14 - [info] nora (CU3KE): connected
4 Dec 17:45:15 - [info] nora: sync 2 devices
There are no errors reported in the log
Thx for this great project, looking for something like this for my rpi automation for a long time.
Occasionally I get connection problems from Google Assistant to NORA; been checking it regularly now and had 2 failures in 4 days (averages one in 48h), if I update nora-config node and deploy flow everything starts working normally again. Is there an issue on the backend and is there a way to create some sort of watchdog to reset the connection? I really hate the idea to reset node manually every few days; it beats the point of remote control.
Thanks again.
Marko.
Hi, I'm using Nora to control a light remotely by google home app on my iPhone6. the problem is when I try to turn on the light (when msg.payload.on is false) by changing the brightness on the circle of the app that shows the brightness, the nora light node doesn't output the the correct message in both output ways.
when the object output is selected, it return this as the payload:
{"on":false, "brightness": [the number that selected from the app]}
and when the number output is selected, it returns 0 as the payload
both of the above ways will not turn on the light. I tried to use google assistant to see my problem get fixed or not, here is the story of problem in google assistant:
The light was off, I told google assistant "set the light to 80%", google assistant responded this way: "ok, the light is set to 80%" then the app showed me the orange circle raising to 80% which means the output message should contain the object having on:true,brightness:# or the brightness number as the payload. but it contains on:false,brightness:# or 0 as the payload.
this problem only occurs when I want to turn on the light by changing the brightness and won't happen when I tap at the center of circle to turn it on.
Hello @andrei-tatar ,
I just started using NORA, this is something I have always been looking for or interested in building. Are you looking to open source the backend API so that users will be able to run their own service to hookup to your nodes in Node-Red?. It might help you offload users from your existing heroku instance.
I think there is a problem with the light node. When i say 'livingroom 50%', the message from the light node is:
{"on":false,"brightness":50}
"on": false
is wrong, because the switch in the google home app is on with 50% brightness. It should be:
{"on":true,"brightness":50}
If i disable the complete state as payload in the node, the payload is always 0.
I also tried the light with openhab (via myopenhab.org) and there it works when i say 'livingroom 50%'.
Thanx for your great work!
lately i have been playing with temp sensors which are defined as thermostat
everything works but when i change a thermostat setting(eg i enable the heat option) i get this error.
problem is that undoing the thing i did (unselect heat) will not solve the issue.
the only thing to solve is to delete the thermostat, add a new one and put in the old settings
somehow goole does not like it when you change settings on a thermostat which is active
msg : string[42]
"nora: sync error (invalid object for sync)"
I am using a RF remote and a Arduino to switch on and off wireless sockets.
Now I am using NORA to switch on and off the wireless sockets with arduino.
The problem I have is when I turn it on with google assistent and then off with the remote but then again turn it on with google assistent it won't turn on because it is still on in google assistent.
It is not possible for me to have feedback from the remote to Node-RED. But is it possible when you ask google to turn something on when it is already on that it will still give the "true" message from the node?
Thank you for this amazing project!
Hello,
I tried many times to link NORA in google home app, by login with google (login with github doesn't work)
I have the message "linking your NORA account" and no other message, NORA is not active.
Is there a problem ?
Many thanks in advance
How do I registering on the website to get a token?
Hi Andrei,
Thanks for the login all works well. I do understand this is the early stage of the project and development is on going. However is there any way to report back a change state from within Node Red?
The use case is:
Any of the 3 switches can turn Mylight on or off via a on/off/toggle payload. My light feedback reports the current state.
In this case the Physical Switch it does not required feedback however the dashboard switch and hopefully google switch need feed back to understand the present state.
Maybe I just need to look at this a different way?
Jason
https://developers.google.com/actions/smarthome/guides/fan
After a deploy devices where disconnected. In the debug window are messages like;
"nora (LN2Q4): socket connection error: Error: xhr poll error"
I logged in to the Nora page and all devices show ""online": false,"
Is Nora down?
@andrei-tatar I was poking around and saw Google has added a tone of devices - https://developers.google.com/assistant/smarthome/guides
I was hoping to add Garage Doors and Locks to the node set. I started playing with the git-hub code on the node side to use your blinds as a template to create a garage door node but realized that there had to be backend services to make the calls. I took a look at Nora-Services and knew I was in way over my head.
If there are just a couple of key files in the Nora-Services to edit, if you can point me at them I'm willing to give it the old college try so it doesn't all fall on you to add new devices. I'm only an amateur self taught coder but can give it a try.
Hello,
what about color support for light?
I have a light with brightness and where Send/receive complete state as payload is checked.
I turn the light on and set brightness to 50%. Now, if I turn the light off I receive { on: false, brightness: 50 }
as expected. However, if I turn it on again I get { on: true, brightness: 1 }
. As seen, brightness is reset to 1%. If I continue, by turning it off again I receive { on: false, brightness: 15 }
and from here it cycles between On/1% and Off/15%. Why is this?
If I uncheck Send/receive complete state as payload it seems to remember brightness though.
Hi Andrei,
I saw that there is a camera trait and thought it would be kinda cool if we could use cheap cameras as security cams and stream them to chromecast devices (and hubs).
Anyway, I created a pull request on nora-service for the inclusion of a camera device. .Could you take a look at that because I'm not sure if my code is sufficient enough.. It seems a camera device has no state for instance..
More on the camera device is on the google developers pages here
Thanks.
Adapt the light node when Send/receive complete state as payload
is unchecked to be able to keep the previous set brightness when turning on or set to a specified value.
Hi, thanks for this great application. Can you please add device for fan with speed control.
how do we remove device's from Nora?
i've tried to remove them from node red but their not disappearing from nora list
I've been having issues lately with Nora connecting with Node-Red after a deployment, with the first attempt at using Nora devices failing, but subsequent attempts working.
Now, I have an issue with it connecting altogether, with the following error:
"nora (tHncc): socket connection error: user already connected"
It reattempts to connect every minute or so, then fails again.
I've tried restarting Node-Red, a new Nora key, as well as removed/re-added Nora to google home, no change.
Any thoughts?
I would like to request to add specific support for setting the colour temperature for lights.
Judging from some information found on the internet, this seems to be supported natively by Google Home. See these screenshots (not mine).
Not able to get garage door to work.
in the google home app the garage door appears but i cant do anything with it. the logo shows with a cogwheel.
Create a new node to support the thermostat with all it's available modes and features.
https://developers.google.com/actions/smarthome/guides/thermostat
Hi.
I love your work and just donated to you as well.
I have a quick question. Would it be possible to invert the open close figures? So 0 becomes 100 and 100 becomes 0? I have ikea blinds with deconz and they are reporting opposite of the Nora plugin. It is not possible to change their behavior, so when I ask them to close they open instead. So a invert option would be highly appreciated.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.