I did not see on the forum …
“Small crutch” in the form:
npm install node-red-contrib-nora
And your Google column shows the ability to manage Vera :ухмыляющийся:
Try it, I liked it
I did not see on the forum …
Folks - Can you help
I have Vera Edge with Node Red MIOS running well. But I have encountered an issue. I had a Fibaro Motion sensor which i unpaired and reset, paired it back up with Vera and all is fine in Vera Edge and word. But in node red, it does not display the room name or device name:
So I get undefined:Tripped
Undefined should be Dining Rroom:MS_DR_01 …Where Dining Room is the room name and MS_DR_01 is the device name
In Vera Edge it shows up like this…
Please can someone help as I was filtering on room name an device to trigger events.
I have another door-sensor doing something similar.
Is the Vera Edge confused with the listing, I have tried twice to unpair, reset and pair and still the same. This was working fine before I had to unpair.
not sure yet but im gonna look into it … havent explored node-red yet but im interested
If you set up a MIOS node in your flow (but leave the room/device/variable all blank ) and connect that node to a debug node; you’ll see everything that’s being logged on your Vera.
Trigger your desired device and have a look to see how it is being reported.
I’m trying to get NodeRed to talk to my Vera… I have an input feeding to debug, and I’m seeing all the debug info being fed from Vera, but my output node doesn’t seem to connect… every time I deploy, I get a debug message that says “Error: connect ECONNREFUSED 184.108.40.206:8883”… That address resolves to an amazon cloud address… Not sure why it’s going there when I have my Vera node configured to go to my internal 192.168 address (which is working on the input node)… Any help would be greatly appreciated!!
That sounds very strange, for it to do something like that, it would theoretically would have to had that address hard coded within the node’s code.
What versions of NR and the MIOS add-on are you using ?
Assuming you’ve isolated the debug so it just reporting on that flow, and you can confirm via the mios config thar you only have the one Vera unit in your configuration. All I can suggest you do is contact the developer
I am a complete newcomer to NodeRed, just for full disclosure! The NR version is v0.19.5, running as a docker on an UnRaid server, loaded by the UnRaid GUI. The MIOS add-on was added yesterday for the first time, through the NR gui… I can’t find anywhere that the add-on shows a version. I only have one vera configured: Name: Vera, Host: 192, 168.1.185, port 3480…
I have the same host selected in a MIOS-in node, and a MIOS-out node. The IN node shows connected, and I have it connected to a debug node showing all activity on the vera (which I’m excited about! I get the power of this in NR!!) but the MIOS-OUT is not showing connected, and occasionally I am getting the error… Nothing is hardcoded in the NR side - I actually had jumped to another conclusion that I had something configured wrong in the Vera, because I have a long history of trouble with externally controlling the vera from my Alexa, which is what caused me to check out Node Red in the first place.
I had assumed it was the Vera doing some kind of HTTPS redirect for authentication or something, and was hoping that the vera experts on here may know something on the Vera side that I might have configured wrong, or perhaps even compromised that would be requiring authentication or creating a redirect?
Only because it might be a clue to the Vera side, I’ll mention that I used to have a Vera Edge, and had participated in the beta integration for the Alexa. It worked… at first, but unreliably… To eliminate performance as an issue, I upgraded to a Vera Plus. Some of the devices didnt come through the upgrade process well, and I’ve had to reconnect some (or all by this point!) of my zwave devices. Post upgrade, I have uninstalled the Alexa integration several times in any way I can think of. I ALWAYS installs with no errors, and discovers all my devices in the alexa app, then fails to control them. occasionally I can get it to run a scene through the alexa, but it has never controlled a vera device directly. Usually the Alexa says “Ok” and thinks its controlling the device, but it never happens. Again, I just bring this up in case there’s something vera-wise which can be a common factor with the NR not working.
The Vera is hardwired, and has wifi disabled on both bands. The Node Red is hardwired (through docker bridge mode networking) to the same vlan, and the Alexa is of course wireless to the same vlan.
As far as isolating the flow to the debug, yes - All of this is one flow (nothing else having been configured since it’s a new install) and I’m monitoring the vera-in directly to debug, The Vera-out seems to generate the connect error periodically regardless of being connected to anything, presumably because it’s trying to connect, which it never completes. I dont know how to get better debug info from the vera-out object with any additional internal detail.
I’d love to hear any suggestions. I guess I’m going to try to find some logging on the Vera side. I can’t find a place in the GUI to show any detailed logs, so I guess I’m heading to ssh into Vera… (I’m comfortable with that, but it’s been a long time!!)
I guess the strangest thing to me is how the MIOS-IN node connects right up, but not the MIOS-OUT, using the same Vera device
The only connection between your NR Docker installation and your Vera is via the MIOS add-on you installed via the NR palette and it’s the subsequent connection/configuration you did to it.
(FYI - You can see the version of the MIOS add-on via the NR palette)
Quick point of clarity - When I mentioned the potential of something being hard coded - that was in reference to the MIOS Node Red module/add-on, which admittedly is highly unlikely.
Any connection to the Alexa Vera plug-in sounds impossible too when it comes to getting a connection error in NR.
If you could share some screen shots that might help more.
First of all, I really appreciate your help on this… Usually stuff like this is no problem for me… I’m frustrated with myself that I’m not figuring it out, but I’ve never felt terribly proficient with Vera, and NR is totally new to me…
Now… I’m TOTALLY second guessing everything I thought I knew… When I first posted, it was after seeing several of the errors in a row, after pressing my inject input several times, so I assumed they correlated, but it could just be a timing thing, and that it might just have been that the Vera hadn’t sent anything to the debug window in a while. I am not seeing anything at the moment which directly correlates the error to the MIOS-OUT node, except that I still would assume that I should see that the node is “connected” to the Vera, like the input node shows…
If it were at least connected, I’d assume that the reason my injecting a “0” to the out node wasn’t working was simply that I have no clue how to really name the output node to point to the livingroom light which I’m using as a test.
SO - Attached are 2 files… one showing an overall screenshot of what I have configured, with the debug window to the right, showing a bunch of output coming from the vera, and then unknown error at the bottom. If not the MIOS-OUT node, I dont know what it would be… I would have assumed the “nodeid” in the message, that starts with “ff” would correlate to the object ID of the MIOS-OUT node, but it doesn’t seem to. That being said, I can’t find any correlation for ANY of those messages, so I dont know what I’m looking at there, or where those NodeIDs are coming from.
The second file is the definition of the Vera connection underlying the MIOS-OUT node. If I am being stupid with this, and missing something, let me know… I’m not really sure if I’m supposed to put the “Livingroom:Livingroom Light:Status” in name, or item, or both. I think I’ve tried it all 4 combinations with the same no results. Definitely all ears on that one!!
I also couldn’t find any logging on the Vera… I found the LUAU log, but nothing seems to be populating in there, and if it is a Vera issue, I assume it’s happening at a lower level than LUAU and that my request is never getting to the language parser.
Tip - In the debug side bar, if you click on the node reference/name (in grey within the header of each message) that should highlight (via a dotted red outline) the node that is reporting that message.
The green connected square, suggests the variable you’ve entered is there/correct. So if you have that in both the output/input nodes - One simple way to check if it’s working is to send a new value through and then check if that variable has been updated in Vera
Tip - if you create a flow that is just the MIOS input nodes with only the connection set (no variable defined/left blank) feeding into a debug node - you should be able to see everything that’s being logged in that Vera appear in the debug tab on the sidebar.
@parkerc - Thanks for the info… As I hover over the different debug messages, I do see the outline going on and off around the debug node. Strangely when I hover over the error, nothing is highlighted in the middle pane. When I click on the node ID on a debug message, the red border around the debug node flashes, presumably to tell me that’s where the message came from. When I click on the grey node ID on the error, I get the screen shown in the attached screenshot.
As for the green connected square… I ONLY have that on the input, and I am seeing all the changes on the debug screen. In otherwords when I go to my Vera website and turn on the hall light, I get a NR debug message of: "topic: “Hallway:Hall Light:LoadLevelStatus”
BUT there is no green connected box next to my MIOS-OUT node (as shown in the above screenshot in previous post)… Is it POSSIBLE that there’s some kind of firewall on my VERAPLUS that is blocking NodeRed from logging into it?! Do I have to have some kind of authentication setup that I might have missed?
Thanks SO much for continuing to read and help… I know how stupid this must sound since I’m apparently the only one having this trouble… I’m about to decide to factory restore my Vera and start over.
Hi, don’t worry about seeking support we’ve all been there
Now, to be clear, you should only see a green square on the correctly configured MIOS INPUT node (remember to keep in mind that an output from your Vera is an INPUT into node Red)
And if you are seeing changes made to your Vera appearing in the NR change/log sidebar - that proves your config is correct. What you shared confirms it
and if you use that as the Basis for an MIOS OUTPUT node you should see you Hallway light dim to 50% with the following…
Regarding any errors if it works and the error relates to your MIOS config, all I can assume is that it’s when Vera reloads (as it can have a habit doing that when memory needs refreshing)
My apologies for a stupid question, but does this allow Node-RED to run on the actual Vera controller? Or are you running Node-RED somewhere else and somehow pulling in the event stream?
Hi @parkerc ,
Had a quick look at the Vera NR add-on. Shouldn’t that be updated to use [ip]/port_3480/… rather than [ip:port]/…? The latter should be blocked with the latest Vera releases. (Not yet gotten around to start with NR sadly, so have not tried)
Hi Rene, i’m not noticing any connection issues with the MIOS NR add-on , i’m running 1.7.4453? Hope you find time to have a play with it soon, would be great to get your insight on it all, I basically do everything via NR now…
I wish I had the time to tinker with all of the wonderful things out there. For now it has not made my short list for the coming six months yet
There are no stupid questions as far as I’m concerned
Node Red is run externally/Outside of Vera e.g on a raspberry pi or as a docker container. I’ve run it multiple different ways - currently I have two instances running on my QNAP NAS one as a docker container and the other under a Debian (Linux) VM.
When you have NodeRed installed (see the original post in the thread) you just add the MIOS add on and choose the variables you want picked up from / or sent out to your Vera unit.
(Once you have your Vera(s) registered/connected starting with a blank node will report everything that Vera logs.)
Hello - Sorry to disturb, I have a Vera Edge and Node Red with MIOS. In my node red, I cannot get room name, device name and in node red debug I can only get messages like:
undefined:Configured : msg.payload : number 0
undefined:CurrentTemperature : msg.payload : number 22.50
undefined:Status : msg.payload : number 0
undefined:LoadLevelStatus : msg.payload : number 100
The above are just examples, but I am not getting the room or device name…
Can you help me
Please could you share a screenshot of both your flow and what is being reported in the debug window. It’s easier to work out what might be wrong that way.
Thank you for helping
My setup is VeraEdge with an X10 Controller plug-in to control a bunch of X10 devices I have. The control of the devices works well and I use MIOS to interaface to Node Red. I only have the MIOS node with debug output. I also have ALTUI installed.
When I switch on an X10 switch I get undefined as the room status. see attached pictures.
My VeraEdge is latest firmware and I have reset the unit 1-2 times but still keeps happening.
Thanking you again for help