Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Execute select Device when bridge loads [Enhancement Request] #670

Closed
audiofreak9 opened this issue Jun 14, 2017 · 10 comments · Fixed by #1115
Closed

Execute select Device when bridge loads [Enhancement Request] #670

audiofreak9 opened this issue Jun 14, 2017 · 10 comments · Fixed by #1115
Assignees
Milestone

Comments

@audiofreak9
Copy link
Collaborator

I have dozens of X10 modules that I control with the ha-bridge / Alexa. I use an X10 CM11A controller that I communicate to/from the RPi using HEYU. HEYU has a state engine that keeps the X10 device states. I wrote a python script that updates the X10 device states on the ha-bridge, using HEYU's state engine, which I run on cron every 30 minutes. However, when the ha-bridge is restarted, it's device states are cleared. I either have to execute a configured device on the ha-bridge that executes my python script or wait until the cron runs to update my X10 device states on the ha-bridge. It would be nice to have the option to execute the ON, OFF or DIM Items of a select configured device on the ha-bridge when it loads.

@audiofreak9 audiofreak9 changed the title Execute select Device ON when bridge loads [Enhancement Request] Execute select Device when bridge loads [Enhancement Request] Jun 14, 2017
@tuicemen
Copy link

tuicemen commented Jun 15, 2017

I too use X10 and wrote a Windows based app to utilize the bridge.
It will work with the cm11,cm19, and cm15 as well as some third party controllers
The program will keep HA-Bridge alive (restart it if it stops) and reports what the bridge sees as On/Off/Dimmed (not just x10 devices)
I can see a need for this option too

@bwssytems
Copy link
Owner

So, the question is do you want just the states updates or the states updated and the commands called?

@tuicemen
Copy link

For me just to have the bridge turn on or off a selected device on starting would be fine.
My app could update the rest on seeing that or do something else.

@audiofreak9
Copy link
Collaborator Author

Just execute a device on start up for me, my script takes care of the rest as well.

@bwssytems bwssytems added this to the V5.3.0 milestone Jun 12, 2019
@bwssytems bwssytems self-assigned this Jun 12, 2019
@bwssytems
Copy link
Owner

@audiofreak9 I am finally implementing your request! Ha!

@audiofreak9
Copy link
Collaborator Author

Patience is a virtue.

@audiofreak9
Copy link
Collaborator Author

audiofreak9 commented Jun 13, 2019

I can't for the life of me find the Execute select Device on startup? I looked at the Bridge Control, and the devices themselves. Where do I find it? Using v5.3.0RC2 of course...

@bwssytems
Copy link
Owner

haha, the column on the bridge devices tab called startup, then click on that cell for the device you want to startup

@audiofreak9
Copy link
Collaborator Author

Works like a charm! This is awesome, thanks.

@tuicemen
Copy link

Just tested this as well with no issues.
Awesome! @bwssytems A big thanks for this from me too!

bwssytems added a commit that referenced this issue Jul 29, 2019
Fixes #670 Execute select Device when bridge loads [Enhancement Request] enhancement
Fixes #877 Color in Hue/Sat enhancement
Fixes #917 lock device ID #s enhancement
Fixes #1032 Support for HomeGenie enhancement
Fixes #1033 Backup & Restore enhancement
Fixes #1060 Voice command colour change bug question
Fixes #1077 several somfy action in a same Row ID doesn't work bug question
Fixes #1084 Add Mozilla IoT gateway Helper enhancement
Fixes #1092 ha-bridge incompatible with Amazon Echo Dot Gen. 3? enhancement question
Fixes #1093 Alexa Issue : ID conflict between HA Bridge an Hue Bridge enhancement question
Fixes #1094 issue with 5.2.2 and Harmony enhancement question
Fixes #1095 issue with 5.2.2 and fhem enhancement question
Fixes #1098 Home Assistant has new authentication methods and Legacy API Passwords will be removed enhancement question
Fixes #1103 Have single scroll bar for Bridge Devices page. enhancement
Fixes #1108 Add mDNS Discovery to ha-bridge
Fixes #1109 Add HTTPS to ha-bridge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants