Switches in HA

More
2 years 3 months ago - 2 years 3 months ago #2377 by zshaiken
Replied by zshaiken on topic Switches in HA
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 3 months ago by zshaiken.
The following user(s) said Thank You: andrew

Please Log in to join the conversation.

More
2 years 3 months ago #2392 by davep
Replied by davep on topic Switches in HA
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 to join the conversation.

More
2 years 3 months ago #2419 by davep
Replied by davep on topic Switches in HA
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 to join the conversation.

  • bowlingbeeg
  • Topic Author
  • Away
  • User
  • User
More
2 years 3 months ago #2438 by bowlingbeeg
Replied by bowlingbeeg on topic Switches in HA
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 to join the conversation.

More
2 years 3 months ago #2440 by bitzerjd
Replied by bitzerjd on topic Switches in HA
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 to join the conversation.

More
2 years 3 months ago - 2 years 3 months ago #2458 by davep
Replied by davep on topic Switches in HA
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 3 months ago by davep.

Please Log in to join the conversation.

Time to create page: 0.205 seconds