zerop Posted Wednesday at 10:36 PM Posted Wednesday at 10:36 PM (edited) I've been using my ISY for over 10 years now and it has been my main automation system for that entire time. I'm transitioning over to Home Assistant (HA) Yellow. Most of my devices are still Insteon so I'm keeping my ISY but all the automation will be done through HA. One thing I'm having trouble with doing solely in HA and am looking for some help. Any ideas if what I'm trying to do is possible? I have a bathroom light switch called MasBathLight and an 8-button keypad called BedsideKeypad. I have a scene called MasterBathroomLights. In the scene I have both MasBathLight and BedsideKeypad as controllers. This enables me to turn on/off the bathroom light using MasBathLight which is a switch right as you walk into the bathroom, or using BedsideKeypad which is located right next to the bed. What I would like to do is when someone goes to sleep, adjust it so that whenever someone uses either switch (MasBathLight or BedsideKeypad) to turn on the lights, I'd like the lights to turn on to 15% only. To do this I need to adjust the following: In the scene MasterBathroomLights, adjust controller device MasBathLight for MasBathLight on-level of 15% and also in the same scene adjust controller device BedsideKeypad for MasBathLight on-level to 15% (MasBathLight is the load). The actual on-level of the scene MasterBathroomLights does not need to be adjusted as I never call that scene from anything. Here's what my program currently in the ISY looks like to do this. In 'MasBathLight' Set 'MasBathLight' to 15% in 0.1 seconds, 1 retry In 'BedsideKeypad' Set 'MasBathLight' to 15% in 0.1 seconds, 1 retry Any ideas how I can make these adjustments using an API rest command? I've found several examples online but none of them have worked. Some include using the node of the scene and the node of the controller such as rest/links/groups/<scene_node_id>/controllers/<controller_node_id>/responders/<responder_node_id>/update/cmd/DON/<on-level> or /rest/scenes/adjust/[controller_node_address]/[responder_node_address]/[level] My current work-around is that I have a program in my ISY to do the adjustment that I need and I use HA to call that program using an API Rest command. Edited Wednesday at 11:18 PM by zerop Quote
kclenden Posted Thursday at 03:52 AM Posted Thursday at 03:52 AM 5 hours ago, zerop said: Any ideas how I can make these adjustments using an API rest command? I'm confused. Your last statement indicates that you are making the adjustments using an API Rest command (by calling an ISY program). That is only one level of abstraction away from what you're apparently trying to accomplish. In both cases, you'd still need the ISY, right? Or am I missing something? Quote
zerop Posted Thursday at 05:36 AM Author Posted Thursday at 05:36 AM (edited) Apologies. I'm using a rest command from Home Assistant to run a program on the ISY. That ISY program is what actually does the adjusting of the screen. I'd like to adjust the scene directly from Home Assistant and therefore not require a program on the ISY. So yes, I will still need the ISY but I don't want the ISY to be running/needing any programs. Edited Thursday at 05:37 AM by zerop Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.