-
Notifications
You must be signed in to change notification settings - Fork 130
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: Catch Low Battery, Dusk, Dawn Messages from Devices #172
Comments
Hi Kevin, On 04/29/2013 04:26 PM, krkeegan wrote:
Sorry, I have been testing this but forgot to provide an update... I have this in my items.mht: INSTEON_MOTIONSENSOR, xx.yy.zz, garage_motion, Motion_Sensorsv2.0 And the following user code: if ($state = $garage_motion_photocell->state_now() ) { if ($state = $garage_motion_lowbatt->state_now() ) { I have yet to see a low battery message, but the photocell message I do 04/29/13 03:29:42 PM $garage_motion_photocell changed state; new state: off In fact, I'd love to find a way to prevent the sensor from sending them I don't know if the above is the right way to set things up but it seems Cheers, Eloy Paris.- |
You might be able to disable them by turning off the night only mode, I think if you mode jumper 4 to the off position. |
On 04/29/2013 04:47 PM, krkeegan wrote:
Hmmm. I'll check that. There are actually a couple of sensors that are Cheers, Eloy Paris.- |
Eloy, |
Hi Jeff, On 04/29/2013 05:20 PM, pork13 wrote:
I actually did not make any changes anywhere -- I am just running Since the motion sensor is just sending (not expecting to receive) some INSTEON_MOTIONSENSOR, 14.19.e9, garage_motion, Motion_Sensors I don't know if things would work if the motion sensor sent any data via For sending data to an INSTEON device that expects to receive data on It would be a good idea to open a new Github issue to track an Sorry I don't have better news. Cheers, Eloy Paris.- |
Ah-ha, the i2_aldb_support thing was definitely part of my problem! I can chat with I2CS devices now, so thanks for that tip. :) |
Hi Kevin, On 04/29/2013 04:49 PM, Eloy Paris wrote:
I have not had a chance to change jumpers but I did read the manual and Instead, there's a potentiometer that controls the "Day/Night Night-only mode is to have the sensor operate only when dark, which is Cheers, Eloy Paris.- |
So I tinkered with a remotelinc 2 revision 1.4. It is listed as having the ability to periodically wake up and send a heart beat message, but for whatever reason I can't enable it. It acknowledges the commands, but none of the necessary bits ever change. Other comments online suggest I am not alone with this issue. But on the upshot, it looks like the remote stays awake for 4 seconds after sending a command. During this time we can send it a request for the battery level. |
It also appears I can change the amount of time that the device stays awake after sending a command. |
…ttery Status The following likely only works for i2cs devices, I think all Remotelinc 2 devices are i2cs? It at least works on rev 1.4. - set_awake_time sets = sets the time in seconds that the remote will remain awake after sending a command. The default is 4, it can be set up to 254 seconds, with 255 being always awake. - get_extended_info = is primarily added to get the battery level. Battery level is returned as a byte, but the number does not immediately make sense. I will have to let the batter run down some to better understand what it means. At the moment, I have the code set to call get_extended_info whenever the all_link_report is received. This report represents the last message sent by the device before the awake time begins to run. In the future, an additional function can be added to only call get_extended_info if it hasn't been called in x hours. N.B. in order for set_awake_time to work properly, the engine version of the device must be known. hollie#172
Ok, so I finished the code for the Remotelinc. I had to kinda guess as to what the battery level number meant, but I think I got it right. Time will tell. I also found that there is a "Set Battery Low Level Trigger" command, which the device will allow me to change. Unfortunately nothing seems to be sent when the set threshold is crossed. I sent a question to insteon since their documentation says that the device supports a low battery warning in houselinc but I see no record of it. |
I added a basic generic item that if used, will display the battery voltage as its state. It is very similar to the child objects that I created with the thermostat for tracking temperature. I think that concludes my updates to RemoteLinc. I have started looking at the motion sensor, it seems much more straightforward. |
MotionLinc Notes:
D1 = 00 = Get Cmd 00 D6-D10 Remain a mystery to me. They appear to be settings, rather than data points as they don't change with light, battery level, motion, or link table changes. Bizarrely I am out of known settings, maybe they represent the states of the dials on the device? One of them may represent the firmware version of the device, but none match the reported firmware. But it looks like we can do similar battery level tracking and even light level tracking. This is all in addition to simply relying on the trigger events sent by groups 2 & 3. |
Hi Kevin, On 05/11/2013 02:03 PM, Kevin Robert Keegan wrote:
[...] And this get command can only be sent to the sensor within some time What's LED brightness, BTW? Cheers, Eloy Paris.-
|
I received a response from smarthome regarding the documentation for the RemoteLinc 2 saying that the device supports a low battery warning in houselinc.
So my next thought is that the Battery Level Trigger setting that I see refers to the level at which the red light on the remote is triggered. This wouldn't be very useful, but it would at least answer a nagging question. |
OK, I finished a draft of the MotionSensor class with support for low battery and light level objects. https://github.com/krkeegan/misterhouse/tree/insteon_motionsensor For V1 devices, you are limited to using the group 2 and group 3 objects. But for V2 devices, you can create a child object that actually updates with the current voltage level not just a low level trigger. |
On 05/16/2013 12:50 AM, Kevin Robert Keegan wrote:
Very nice, Kevin. I'll be giving this a try. A couple of related question:
Cheers, Eloy Paris.- |
On 05/16/2013 03:59 AM, Eloy Paris wrote:
Oh, so these are internal MisterHouse settings; nothing is being sent to It seems to me like if someone configures the query method then One disadvantage of the query method is that if there is no motion One last question about this: "To scan the link table, sync links, or set settings on the device, the I thought that deaf devices are skipped when doing a link table scan -- 05/16/13 08:30:33 AM [Sync all links] Ignoring links from 'deaf' device: Cheers, Eloy Paris.- |
|
Closing as support for this feature has been merged in. |
The following devices broadcast special messages that are not currently enabled in MH:
It would be nice if these were caught by MH so that users could be notified of these events.
The text was updated successfully, but these errors were encountered: