Jump to content

Virtual Switch Question


dbuss

Recommended Posts

33 minutes ago, dbuss said:

I use the Virtual node server and have a virtual switch that I would like to expose as a switch in Home Assistant. Can this be done? If so how do I accomplish it?

Thank you!

Just a sideline question. Is your Virtual node server working? Mine won’t stay running. When I start it up it just shuts down. I have a topic on it but it’s pretty stagnant with feedback. 

Link to comment
6 minutes ago, vbphil said:

ust a sideline question. Is your Virtual node server working? Mine won’t stay running. When I start it up it just shuts down. I have a topic on it but it’s pretty stagnant with feedback.

Yes, my Virtual node server is working.

  • Thanks 1
Link to comment
52 minutes ago, dbuss said:

I use the Virtual node server and have a virtual switch that I would like to expose as a switch in Home Assistant. Can this be done? If so how do I accomplish it?

Thank you!

I just started using HA so very much a newbie. After adding the UDI integration to HA most all of my IoX nodes show up but none of the Virtual switches did. I haven't looked into it so I can't be much help as yet.

Link to comment
1 minute ago, vbphil said:

I just started using HA so very much a newbie. After adding the UDI integration to HA most all of my IoX nodes show up but none of the Virtual switches did. I haven't looked into it so I can't be much help as yet.

The virtual switch shows up in HA. But it shows up as a sensor.

Link to comment

@dbuss I don't use that node server, so I haven't played with this, but i think you need to use this method outlined in the Universal-devices HA integrations documentation to create custom devices using isy programs.

It sort of a duplication of what the node server does, but the node server doesn't give HA the correct node description apparently.  I did play with these custom devices way back when i first started using HA, but don't actually use any.  I do have some ISY helper programs that exist just so HA can do a few things, via Call Service: isy994.send_program_command and then run_then or run_else

Link to comment
31 minutes ago, MrBill said:

@dbuss I don't use that node server, so I haven't played with this, but i think you need to use this method outlined in the Universal-devices HA integrations documentation to create custom devices using isy programs.

It sort of a duplication of what the node server does, but the node server doesn't give HA the correct node description apparently.  I did play with these custom devices way back when i first started using HA, but don't actually use any.  I do have some ISY helper programs that exist just so HA can do a few things, via Call Service: isy994.send_program_command and then run_then or run_else

@MrBill I appreciate this information. I'm using another device to accomplish what I wanted.

I have a Fire TV Cube connected to a non-smart TV. I wanted another way to turn the TV other than asking the Fire Cube to turn on the TV. Rather than use the virtual switch, I'm using a Z-wave plug-in switch to accomplish the task. I'm using state variables that change when the switch is turned off and on. The variables are used in Alexa routines to turn the TV on and off. I'm sure there are simpler methods to accomplish the same thing. But, it was fun getting it all to work.

Thank you!

 

Link to comment
Guest
This topic is now closed to further replies.

×
×
  • Create New...