Code Monkey home page Code Monkey logo

node-red-contrib-nora's People

Stargazers

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

Watchers

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

node-red-contrib-nora's Issues

Blinds control

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?

Experimental speaker node

I think there is problem passing value to speaker node. Nor volume or on topics doesn't change node state.
speaker

PS: Great project 👍

[feature request] humidity with thermostat

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

Self hosted

Hello,
do you planning to release NORA for self-hosted services as [test] app for private use?
Thank you.

Blinds in group different from solo

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?

Really interested in this Project

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

Cant remove groups

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.

[Feature] Expose "queryOnlyTemperatureSetting" property on Thermostat

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.

Blind input doesn't update the status displayed beneath the node

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?

Garage device displays as sensor (not a switch) in Google Home app

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.

Nora not functioning anymore

Hallo,
I am having trouble making Nora work again... it suddenly stopped working.
this is the situation:

  1. Node-red integraton seams to work: I see the nodes connected and when I change a light in node-red I effectively see the correct status in the herokuapp.
    the problem is that in Google Home all my Nora devices are offline
    Here is what I tried:
  2. ugpraded to the latest Nora node-red nodes.
  3. reboot of node-red (running on blackberry)
  4. Revoked and Renewed the token
  5. updates the Node-red node with the new token

It looks like the communication between the nora nodes and the Heroku status pages, still is ok

  1. removed Nora from Google Home
  2. re-configured Nora on Google Home.
    Google Home sees all my devices by they all remain offline.
  3. reinstalled Google Home

Still in Google Home everything is offline.

I am stuck any help would be great

thanks

NORA LINKING FAILED

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

Google Assistant adds support for network and router control

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.

Google Home Mini - Nora is not available

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?

thermostat device invalid state.

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)

transport close

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

Stopped working when updated to v0.0.12

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.

node

The node looks as though it's connected to the server ok.

result

...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

Connection closing occasionally

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.

Light Node doesn't output a command corrctly

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.

Any plans to open source back end API?

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.

brightness problem with light node

Hi @andrei-tatar

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!

sync error, invalid object for sync

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)"

Light node doesn't send the color information for RGB bulbs

Hi Andrei,

I tried to config a light note to command an RGB led band but it seems that the information is not transmitted.
As you can see in the print screen the Light Node contain the information but it transmits only the brightness.

Can you check/help me, please?

image

Output status of node

Hi @andrei-tatar

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!

Impossible to link NORA in google home app

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

Great work - but a need clarification

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:

image

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

Nora is not available after deploy

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?

New Devices Available

@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.

Brightness lost when turning on and off

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.

Pull request for camera device in Nora-service

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.

remove devices

how do we remove device's from Nora?
i've tried to remove them from node red but their not disappearing from nora list

User already connected error

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?

Request to support colour temperature

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).

Garage door

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.

Invert the open/close of blinds?

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.

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.