From: Kevin R. K. <ke...@kr...> - 2014-04-14 23:43:45
|
Howard, I have seen things like this before. I have never totally diagnosed them. I suspect if you had debug level 4 enabled we would see a NAK from $theatre_main, with group FF. Some of the Insteon documentation suggests that a NAK with FF in Cmd 2 means that the responding device does not have the controller in its link table. Basically the responder is saying I got your message, but I don't know what to do with it. In short, scanning $theatre_main and then running sync links on the scene may fix it. As for $garage_bench_light, sync_multiway is a custom routine in your user_code. Is it possible that this is interfering with something? Kevin On Thu, Apr 10, 2014 at 6:09 PM, H Plato <hp...@gm...> wrote: > So just a follow-up, I’m still puzzled why it appears that the scene > works, all the items show as on or off as I expect them to be when I turn > the scene on or off — just the lamplinc (garage_bench_light) doesn’t get > controlled. On the web interface it shows as ‘on’ but it is off. On the web > interface, if I click it off, and then click it on, it comes on, so MH > _can_ control the device. > > Looking at the logs, I get a strange insteon error on an unrelated device > when the scene turns on, and 2 seconds after the sync_multi-way kicks on: > > 04/10/14 05:21:23 PM [Insteon::BaseInterface] ERROR: received > cleanup message from $theatre_main that does not correspond to a valid PLM > group. Corrupted message is assumed and will be skipped! Was group ff > 04/10/14 05:21:23 PM Insteon: sync_multiway called for state_changed > on $garage_light_inside to on for $garage_scene set multiway in 0.6 sec > 04/10/14 05:21:23 PM Insteon: sync_multiway called for state_changed > on $garage_light to on for $garage_scene set multiway in 0.6 sec > 04/10/14 05:21:23 PM Insteon: sync_multiway called for state_changed > on $garage_light_bench to 100% for $garage_scene set multiway in 0.6 sec > 04/10/14 05:21:26 PM [Insteon::BaseInterface] ERROR: received > cleanup message from $theatre_main that does not correspond to a valid PLM > group. Corrupted message is assumed and will be skipped! Was group ff > > 04/10/14 05:51:25 PM [Insteon::BaseInterface] ERROR: received > cleanup message from $theatre_main that does not correspond to a valid PLM > group. Corrupted message is assumed and will be skipped! Was group ff > 04/10/14 05:51:25 PM Insteon: sync_multiway called for state_changed > on $garage_light_inside to off for $garage_scene set multiway in 0.6 sec > 04/10/14 05:51:25 PM Insteon: sync_multiway called for state_changed > on $garage_light to off for $garage_scene set multiway in 0.6 sec > 04/10/14 05:51:25 PM Insteon: sync_multiway called for state_changed > on $garage_light_bench to off for $garage_scene set multiway in 0.6 sec > 04/10/14 05:51:27 PM [Insteon::BaseInterface] ERROR: received > cleanup message from $theatre_main that does not correspond to a valid PLM > group. Corrupted message is assumed and will be skipped! Was group ff > > 04/10/14 06:30:20 PM [Insteon::BaseInterface] ERROR: received > cleanup message from $theatre_main that does not correspond to a valid PLM > group. Corrupted message is assumed and will be skipped! Was group ff > 04/10/14 06:30:20 PM Insteon: sync_multiway called for state_changed > on $garage_light_inside to on for $garage_scene set multiway in 0.6 sec > 04/10/14 06:30:20 PM Insteon: sync_multiway called for state_changed > on $garage_light to on for $garage_scene set multiway in 0.6 sec > 04/10/14 06:30:20 PM Insteon: sync_multiway called for state_changed > on $garage_light_bench to 100% for $garage_scene set multiway in 0.6 sec > 04/10/14 06:30:22 PM [Insteon::BaseInterface] ERROR: received > cleanup message from $theatre_main that does not correspond to a valid PLM > group. Corrupted message is assumed and will be skipped! Was group ff > > 04/10/14 07:00:20 PM [Insteon::BaseInterface] ERROR: received > cleanup message from $theatre_main that does not correspond to a valid PLM > group. Corrupted message is assumed and will be skipped! Was group ff > 04/10/14 07:00:20 PM Insteon: sync_multiway called for state_changed > on $garage_light_inside to off for $garage_scene set multiway in 0.6 sec > 04/10/14 07:00:20 PM Insteon: sync_multiway called for state_changed > on $garage_light to off for $garage_scene set multiway in 0.6 sec > 04/10/14 07:00:20 PM Insteon: sync_multiway called for state_changed > on $garage_light_bench to off for $garage_scene set multiway in 0.6 sec > 04/10/14 07:00:23 PM [Insteon::BaseInterface] ERROR: received > cleanup message from $theatre_main that does not correspond to a valid PLM > group. Corrupted message is assumed and will be skipped! Was group ff > > I have one more device to add to this scene, or I need to figure out what > I’ve done wrong. Anyone have any ideas? > > On Apr 7, 2014, at 9:24 PM, H Plato <hp...@gm...> wrote: > > That was exactly it, must have been a remnant when I tried to get my first > scene working. Thanks Kevin! > > Maybe you have another suggestion, as I’ve been trying to troubleshoot > that scene all evening. I have the following scene in my items.mht > > INSTEON_ICONTROLLER, 15, garage_scene, All_Scenes > SCENE_MEMBER, garage_light, garage_light_inside, 100%, 0.1s > SCENE_MEMBER, garage_light, garage_scene, 100%, 0.1s > SCENE_MEMBER, garage_light, garage_light_bench, 100%, 0.1s > SCENE_MEMBER, garage_light_inside, garage_light, 100%, 0.1s > SCENE_MEMBER, garage_light_inside, garage_scene, 100%, 0.1s > SCENE_MEMBER, garage_light_inside, garage_light_bench, 100%, 0.1s > SCENE_MEMBER, garage_light_bench, garage_scene, 100%, 0.1s > SCENE_MEMBER, garage_light_bench, garage_light, 100%, 0.1s > SCENE_MEMBER, garage_light_bench, garage_light_inside, 100%, 0.1s > > and in usercode, I use this to keep them in sync at the local switch: > > $garage_light->tie_event('sync_multiway($garage_light,$garage_scene)'); > # noloop > $garage_light_inside->tie_event('sync_multiway($garage_light_inside,$garage_scene)'); > # noloop > $garage_light_bench->tie_event('sync_multiway($garage_light_bench,$garage_scene)'); > # noloop > > sub sync_multiway > { > my ($ref_light, $ref_scene) = @_; > # avoid unnecessary traffic, like a get_status where status > hasn't changed. > if ($ref_light->state_changed) { > print_log "Insteon: sync_multiway called for state_changed on ". > $ref_light->get_object_name." to ".$ref_light->state." for ". > $ref_scene->get_object_name." set multiway in 0.6 sec"; > $ref_scene->set_with_timer('', 1, $ref_light->state); > } > } > > garage_light is a micro on/off, garage_light_inside is a switchlinc relay, > and garage_light_bench is a lamplinc. > > garage_light and garage_light_inside are linked together as both > controllers and responders. garage_light_inside and garage_light_bench are > linked together as both controllers and responders. garage_light, > garage_light_inside, and garage_light_bench are linked to the PLM as > controllers and responders. > > (everything is linked together _except_ the garage_light and > garage_light_bench as the micro light is way up high and I need a ladder…) > > So, when I press the garage_light_inside switchlinc, everything works > great, the garage_light and garage_light_bench come on. Super. > > When I use the web interface I can turn garage_light_bench on and off. No > problems. > > However, when I try and turn on the scene, garage_scene, garage_light and > garage_light_inside turn on, but garage_light_bench does not. Looking at > the web interface, MH thinks it is turned on, however the actual light does > not go on. I have no idea where I’ve gone wrong. I can get a ladder and > manually link garage_light and garage_light_bench together, however I’d > think that the scene would take care of that and wouldn’t be reliant on a > local link. > > Any ideas? > > > On Apr 7, 2014, at 5:55 PM, Kevin Robert Keegan <ke...@kr...> > wrote: > > Howard, > > You likely have the SCENE Definition reversed. That error would arise if > you tried to set the PLM_Scene as a responder. That arrangement is not yet > supported. > > SCENE_MEMBER responder, controller, on-level, ramp-rate > > Kevin > > > On Sun, Apr 6, 2014 at 10:59 AM, H Plato <hp...@gm...> wrote: > >> I’ve updated to 3.1 and notice this at startup. The only thing I have >> ’15’ related is a scene in my items.mht is a SCENE with ID 15. >> >> 04/06/14 11:55:35 AM [Insteon::BaseController] WARN: unable to add >> 000000:15 as items of type Insteon::InterfaceController are not supported! >> >> ------------------------------------------------------------------------------ >> ________________________________________________________ >> To unsubscribe from this list, go to: >> https://lists.sourceforge.net/lists/listinfo/misterhouse-users >> >> > > > |