When using the ASCII interface I am correctly notified of single, double, and triple click events on HomeSeer brand switches. However, if the same event occurs twice in a row, the notification is only sent for the first one. For example, after I am notified of a double click of the off button, I will NEVER again get notified of subsequent double clicks of the off button, until some other click event has occurred. Is this a bug in the ASCII interface? Is there something I can change, either in general settings, or on the device? Any help would be appreciated.
Announcement
Collapse
No announcement yet.
Problem with ASCII interface and button press events
Collapse
X
-
Are you using one of these two event triggers in the attached image? Both could account for the behavior you're seeing. The correct trigger to use is 'value set to' when triggering on central scenes.
Aside from that, posting the event may help with trouble shooting.1 PhotoHS4 Pro on Shuttle NC10U, Win10; Z-NET
Number of Devices: 1005
Number of Events: 293
Plug-Ins: BLLock, DirecTv, EasyTrigger, Honeywell WiFi Thermostat, Marquis monoprice Amp, MeiHarmonyHub, PHLocation2, Pushover 3P, UltraM1G3, rnbWeather, Worx Landroid, Z-Wave
External applications: Homebridge-homeseer, Geofency, EgiGeoZone.
Comment
-
I went to the A2Z-link manual and I found this
"Notification of updates
If a device changes status, a notification is sent over the open port. The format is:
DC,REF,NEWVAL,OLDVAL
For example, the device with reference # 576 changes from 0 to 1:
DC,576,1,0"
A repeat action would not cause a change in status (and if the programmer only checked a change in status not change in timestamp) only a change in the timestamp. I wonder if this is by "design" and this is what is preventing the notification?
- Likes 1
Comment
-
It may well be by design, but, if so, I'd have to guess it was a design that didn't consider anything like scene notifications. The behavior makes sense if the device represents the dim value of a light, but it's obviously not the correct behavior for a device that only deals with events.
If anyone has a workaround for this, or a suggestion of an alliterative approach other than the ASCII interface, I'd love to hear it.
Comment
-
Guest
I use the same thing that jmaddox uses, the event trigger being if the switch has "its value set to" action. I do not see your problem at all. Does your ASCII interface eventually resolve to running a HS Event? If so, one thing to check is if the event itself will have set the setting to prevent being re-run for a certain length of time.
Comment
-
What I'm trying to do doesn't involve HomeSeer events at all. The ASCII Control Interface is core HomeSeer functionality that permits an application to connect to HomeSeer using TCP sockets. You can read about it here: http://help.homeseer.com/help/ASCII-...asic_functions
Comment
-
I did have a thought that might help although it is a pain in the a$$ to execute. When you receive notification that the device has triggered then set the device to a status that you do not use. You might have to add a blank status to the device. This will always force the device to record the change.
Outline of process would be:
Receive Status update.
If changed to status acknowledged exit routine
Else Save Values Needed.
Set to Status Acknowledged.
Perform anything additional you need.
Hope this helps
Comment
-
Originally posted by AllHailJ View PostI did have a thought that might help although it is a pain in the a$$ to execute. When you receive notification that the device has triggered then set the device to a status that you do not use. You might have to add a blank status to the device. This will always force the device to record the change.
Comment
-
Originally posted by sparkman View PostHow about running a HS event that is triggered by the same scene command occurring and its action is to reset the switch scene value back after a few seconds?
Comment
Comment