Switches in HA

zshaiken's Avatar
User User
  • Posts: 42
  • Thanks: 1

Re: Switches in HA

2 years 4 months ago - 2 years 4 months ago
#2377
I wrote about this in another post, but until Scenes are officially supported, one option to get around it is:

1. In HA, create a new Automation with a Webhook trigger. Copy the Webhook ID
2. Make the "Then Do" Activate Scene and pick your Scene
3. Save your Automation
4. In myServer, you can use this command to trigger your HomeAssistant Automation:

Run|curl~-X POST http://{yourHomeAssistantIP}:8123/api/webhook/{yourWebhookIDFromStep1}

More info in this thread: allonis.com/forum/control-family-drivers...emote-not-populating

I've found that using Webhook triggered automations can plug basically every gap that exists in myServer's HA gateway driver.
Last edit: 2 years 4 months ago by zshaiken.
The following user(s) said Thank You: andrew

Please Log in or Create an account to join the conversation.

davep's Avatar
Admin Admin
  • Posts: 371
  • Thanks: 98

Re: Switches in HA

2 years 4 months ago
#2392
I am working on the HAGateway driver today. Many updates in the works. More info soon. If your HA registries have changed feel free to send them again.

Please Log in or Create an account to join the conversation.

davep's Avatar
Admin Admin
  • Posts: 371
  • Thanks: 98

Re: Switches in HA

2 years 4 months ago
#2419
Today's HAGateway driver update has a series of enhancements.
Importing should do a much better job of finding switches and dimmers. Previously they were usually ending up as buttons.
All the device's entity values will now show up in the devices grid when you expand a row.
The driver should now be parsing thermostats properly and extracting the appropriate parameter values.
Scenes defined in Home Assistant will be imported. Each scene becomes a new device of type Scene and a member of the Control family.
There is a new command Control|<id>~ActivateScene that will send Home Assistant a scene turn on command.

Give this new version a try and feel free to send me your HA configurations using the SendDevices command. I do ask that you do provide a brief description of what I should be looking for in the description box popup or in a separate email. This will help focus my attention when I import the files.
 

Please Log in or Create an account to join the conversation.

bowlingbeeg's Avatar Topic Author
User User
  • Posts: 248
  • Thanks: 33

Re: Switches in HA

2 years 4 months ago
#2438
Thanks Dave for the update. But I'm still not seeing the switch entries that I posted about in the original post for this thread.

Please Log in or Create an account to join the conversation.

bitzerjd's Avatar
User User
  • Posts: 375
  • Thanks: 3

Re: Switches in HA

2 years 4 months ago
#2440
Are there any plans to import HA Scripts into the Gateway?  I use a ton of them instead of scenes.  Scripts are easier to edit via the HA GUI.

Please Log in or Create an account to join the conversation.

davep's Avatar
Admin Admin
  • Posts: 371
  • Thanks: 98

Re: Switches in HA

2 years 4 months ago - 2 years 4 months ago
#2458
What are some example entity names that are not being found? Searching by names in the sample yaml isn't getting me to far.

I just added the ActivateScript command for scripts. It will be in the next release once I resolve the missing switches issue.
Last edit: 2 years 4 months ago by davep.

Please Log in or Create an account to join the conversation.

Time to create page: 0.292 seconds