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

Insteon Irrigation: Add New Features #416

Merged
merged 12 commits into from
Jun 13, 2014

Conversation

krkeegan
Copy link
Collaborator

  • Improved the documentation
  • Added support for handling broadcast messages (see documentation)
  • Renamed Poll_Valve_Status to Request_Status to match rest of Insteon modules
  • Enable functions to Get/Set the various programs on the device
  • Add status check timer to check the state of the device if broadcast message is not enabled
  • Standardized all routines to use a base index of 1. The sole exception is Program 0
  • Add child objects for valves and programs

krkeegan added 12 commits March 28, 2014 17:45
It is really what the user would expect to recevie for a request_status

Sadly, while the device will tell us if a program is running, it doesn't appear that it will tell us WHICH program is running
Partial support was there, but not really enabled.
…t Support

Every now and then I am reminded what an AWFUL protocol Insteon is.  This is one of them.

The EZFlora can be set to send out broadcast messages, however the PLM will not decode them.  As a result, MisterHouse never sees them, and they are useless.

According to the manual the PLM could be put into monitor mode allowing it to see these messages, however Insteon disabled that feature on the PLM.

It is beyond stupid, that the PLM will not display a broadcast message sent from a device in its own link table.  There is no security concern here.
… Does not Support"

This reverts commit 5528db3.

I was a little wrong in my prior assessment.  It turns out that with PLM Monitor Mode enabled, I can actually see these messages.
The irrigation broadcast messages are sent whenever the device changes a valve as a result of a timer.

To use broadcast messages they must be enabled on the device and the PLM must be put in monitor mode.

If a broadcast message is received, it will reset the status_timer and save MH from having to send a valve status request.  This results in much more accurate status reports for the valves.
… Timers Printout No Valve 0

- The underlying message structure is odd, sometimes things are indexed from 0 and sometimes from 1.  This oddity should not be carried over into the user interface, it only causes confusion.
Makes controlling valves and programs much easier from the web interface and other objects.

Also allows the use of generic_items functions such as tie_event
krkeegan added a commit that referenced this pull request Jun 13, 2014
Insteon Irrigation: Add New Features
@krkeegan krkeegan merged commit 6bf81de into hollie:master Jun 13, 2014
@krkeegan krkeegan deleted the insteon_irrigation branch June 13, 2014 23:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant