EZeye & EZIO6I

Posted on
Mon Jul 26, 2010 9:44 pm
matt (support) offline
Site Admin
User avatar
Posts: 21411
Joined: Jan 27, 2003
Location: Texas

Re: EZeye & EZIO6I

bob wrote:
...can it be a problem with the EZIO6I?

I think it is a problem with the EZIO6I. I'm confident Indigo is sending the correct commands, which work fine with my older EZIO8SA. I don't know if the problem is with your specific EZIO6I or if it is a more general firmware bug.

bob wrote:
Is there no way to manually link the EZIO6I to the PLM using the buttons on the sides of the units? If so how?

Yes, you can. Follow the EZIO6I instructions for manually linking an input, then when it gets to the point to press and hold the SET button on the remote module, press the "Send PowerLinc Button Press" button which is available in the Device dialog after you press the Edit Module Settings... button (it is at the bottom of the drop down sheet). That might be the difference between your configuration and what SimpleHomeNet did in their test. Although they were testing for the Broadcast Status Changes, they probably still had the individual inputs linked to the PowerLinc which might have avoided showing a firmware bug.

bob wrote:
Also when I upgraded to 2414U I was never prompted for the driver. Everything other than this problem with the EZIO6I is working OK. Could the driver be the problem?

No, Indigo automatically installs that driver. If it wasn't installed correctly you wouldn't be able to communicate with the PowerLinc at all from Indigo.

Image

Posted on
Mon Jul 26, 2010 10:19 pm
bob offline
User avatar
Posts: 500
Joined: Jun 14, 2006

Re: EZeye & EZIO6I

Matt,

Can I extract the raw data you did in your previous post?

How come Indigo can't write links for the EZ products?

bob

Posted on
Mon Jul 26, 2010 10:41 pm
matt (support) offline
Site Admin
User avatar
Posts: 21411
Joined: Jan 27, 2003
Location: Texas

Re: EZeye & EZIO6I

bob wrote:
Can I extract the raw data you did in your previous post?

Indigo sends the exact same commands for those settings regardless of EZIO version. That is, what you would see wouldn't be different than what I posted above.

You can check your Event Log without the lower level data. After you press the Upload Settings button in the EZIO sheet, copy/paste what you see in the Event Log into a follow-up post. What does it show for this line in particular:

Code: Select all
Sent INSTEON        "_ezio8sa_" write configuration flags (received: 40)

If the "received" value back has a first digit that is either 4, 5, 6, or 7 (that is, bit 6 is set), then the flag is getting set correctly.

bob wrote:
How come Indigo can't write links for the EZ products?

It could, but the development time involved is too long (it isn't trivial given the number of permutations of EZIO models and their varying capabilities) to justify it given the demand at this point. Or put another way, given the high demand for lots of other features and our limited resources we have to stay focused on what is important. And writing links shouldn't be needed in most cases, presuming of course the Broadcast Status Change feature does what it is supposed to do.

Image

Posted on
Mon Jul 26, 2010 10:49 pm
bob offline
User avatar
Posts: 500
Joined: Jun 14, 2006

Re: EZeye & EZIO6I

Matt,

Something not right here? (the EZIO6I is named "lightSensor")

26-Jul-10 10:45:53 PM
PowerLinc setting analog1 OFF to ON trip point raw value to 45
PowerLinc setting analog1 ON to OFF trip point raw value to 40
PowerLinc setting analog2 OFF to ON trip point raw value to 500
PowerLinc setting analog2 ON to OFF trip point raw value to 0
Sent INSTEON "lightSensor" set analog input trip values
Sent INSTEON "lightSensor" write configuration flags (received: 01)
Sent INSTEON "lightSensor" finalize i/o device EEPROM changes

Posted on
Mon Jul 26, 2010 11:00 pm
matt (support) offline
Site Admin
User avatar
Posts: 21411
Joined: Jan 27, 2003
Location: Texas

Re: EZeye & EZIO6I

Hmmm... try this:

1) Re-do the Define and Sync
2) Totally close the device dialog and re-open it
3) Inside the EZIO settings sheet, press the Upload Settings button.
4) Turn on the Analog Inputs checkbox, press the Upload Settings button again.

Copy/paste the results of all the steps above into a post for me.

Image

Posted on
Mon Jul 26, 2010 11:08 pm
bob offline
User avatar
Posts: 500
Joined: Jun 14, 2006

Re: EZeye & EZIO6I

Matt,

26-Jul-10 11:05:55 PM
PowerLinc Linking - entered discovery linking mode (240 seconds)
PowerLinc Linking - sending id request for device information
PowerLinc Linking - received module button pressed from 0C.B1.75
PowerLinc Linking - sending id request for device information
PowerLinc Linking - received id request response from 0C.B1.75
PowerLinc Linking - retrieving firmware version
Time/Date Action _theTimerDown
Trigger Action _lightsOut_downVarT
PowerLinc Linking - initializing remote device "lightSensor" (address 0C.B1.75, firmware version 25)
Sent INSTEON "LED_brass" off
Trigger Action _LED_brassOFF
Trigger Action LED_brass_ind_OFF
PowerLinc Linking - . enabling: status change broadcasting
PowerLinc Linking - . reading: configuration settings, input trip points, and output timer durations
PowerLinc Linking - . . . read: configuration settings 00
Received INSTEON "lightSensor" inputs status changed: 0, 0, 0, 0, 0, 0
PowerLinc Linking - . . . read: analog1 raw trip points 45, 40
PowerLinc Linking - . . . read: analog2 raw trip points 500, 0
PowerLinc Linking - . . . read: output timer durations
PowerLinc Linking - initialize complete
PowerLinc Linking - syncing remote device "lightSensor" (address 0C.B1.75, firmware version 25)
PowerLinc Linking - device "lightSensor" properties updated
Received INSTEON "lightSensor" inputs status changed: 0, 0, 0, 0, 0, 0
PowerLinc Linking - syncing of this device not possible remotely (skipping)
PowerLinc Linking - sync complete
PowerLinc Linking - exited linking mode
Sent INSTEON "lightSensor" input binary states request (received: 0, 0, 0, 0, 0, 0)
Sent INSTEON "lightSensor" input analog value request (received: 0, 0)

26-Jul-10 11:06:37 PM
Sent INSTEON "lightSensor" write configuration flags (received: 00)
Sent INSTEON "lightSensor" finalize i/o device EEPROM changes
PowerLinc setting analog1 OFF to ON trip point raw value to 45
PowerLinc setting analog1 ON to OFF trip point raw value to 40
PowerLinc setting analog2 OFF to ON trip point raw value to 500
PowerLinc setting analog2 ON to OFF trip point raw value to 0
Sent INSTEON "lightSensor" set analog input trip values
Sent INSTEON "lightSensor" write configuration flags (received: 01)
Sent INSTEON "lightSensor" finalize i/o device EEPROM changes

Posted on
Mon Jul 26, 2010 11:28 pm
matt (support) offline
Site Admin
User avatar
Posts: 21411
Joined: Jan 27, 2003
Location: Texas

Re: EZeye & EZIO6I

Code: Select all
  PowerLinc          Linking - . enabling: status change broadcasting
  PowerLinc          Linking - .  reading: configuration settings, input trip points, and output timer durations
  PowerLinc          Linking - . . . read: configuration settings 00

Well, this shows what is going wrong, and explains why SimpleHomeNet couldn't reproduce the problem.

The first line above Indigo is telling the module to always broadcast changes. To do so, it sends the command bytes:
Code: Select all
0x4F 0x09


Next, Indigo reads all of the settings from the EZIO. Included in this is the configuration flag byte, which includes the broadcast change bit along with other flags:
Code: Select all
0x4E 0x00


The EZIO returns, as a result of that command, 0. But it should return that bit 6 is set because of the first command which enabled the broadcasting. I believe that is likely the firmware bug that you have uncovered.

Indigo then stores off that entire flags byte (as returned by EZIO) and modifies its bits as you make changes in the sheet (but never changing the broadcast bit, which is assumed to now be correct), and then eventually sends that byte back to the EZIO when you press the Upload Settings button.

So the problem is the EZIO is telling Indigo the broadcasting is disabled even though the command immediately before it should have enabled it. Indigo presumes the EZIO returned a good value, and then uses that value later. So it might really be enabled after the first command but, because the EZIO tells Indigo it isn't enabled, Indigo fails to pass the correct bit value later in the chain of events.

I think I will change Indigo to always force the value of that flag to ON regardless of what the EZIO returns as the status of that flag. That will probably short circuit the problem.

Image

Posted on
Mon Jul 26, 2010 11:36 pm
bob offline
User avatar
Posts: 500
Joined: Jun 14, 2006

Re: EZeye & EZIO6I

Thanks Matt!

I've sent your response to Simplehomenet. Maybe the latest Firmware will fix the problem.

When will you "change Indigo to always force the value of that flag to ON regardless of what the EZIO returns as the status of that flag" ?

thanks again,

bob

Posted on
Tue Jul 27, 2010 1:08 am
matt (support) offline
Site Admin
User avatar
Posts: 21411
Joined: Jan 27, 2003
Location: Texas

Re: EZeye & EZIO6I

Give this pre-release version of 4.1.12 a try. Please do the same steps as above (define and sync, update settings, enable analog inputs, update settings again) and copy/paste the Event Log results.

Note Indigo might say that you are running an older version of Indigo if you have update checking turned on since I haven't flagged our database to say 4.1.12 is ready for release.

Image

Posted on
Tue Jul 27, 2010 2:00 am
bob offline
User avatar
Posts: 500
Joined: Jun 14, 2006

Re: EZeye & EZIO6I

Matt,

Here is Simplehomenet's response to the "firmware bug".

I'm going to try 4.1.12 and let you know.

regards,

bob

Posted on
Tue Jul 27, 2010 2:41 am
bob offline
User avatar
Posts: 500
Joined: Jun 14, 2006

Re: EZeye & EZIO6I

Matt,

I'm still playing with it but here is what I have after 4.1.12;

27-Jul-10 2:23:59 AM
PowerLinc setting analog1 OFF to ON trip point raw value to 45
PowerLinc setting analog1 ON to OFF trip point raw value to 40
PowerLinc setting analog2 OFF to ON trip point raw value to 1
PowerLinc setting analog2 ON to OFF trip point raw value to 0
Sent INSTEON "lightSensor" set analog input trip values
Sent INSTEON "lightSensor" write configuration flags (received: 41)
Sent INSTEON "lightSensor" finalize i/o device EEPROM changes
Sent INSTEON "lightSensor" input binary states request (received: 0, 0, 0, 0, 0, 0)
Sent INSTEON "lightSensor" input analog value request (received: 0, 0)

thanks,

bob

Posted on
Tue Jul 27, 2010 8:37 am
matt (support) offline
Site Admin
User avatar
Posts: 21411
Joined: Jan 27, 2003
Location: Texas

Re: EZeye & EZIO6I

Can you copy/paste what it wrote to the Event Log when you did the Define and Sync? I added a new log line in there for this case, and I'd like to make sure it shows what I'd expect. Thanks.

And above, what SimpleHomeNet's response that they are going to try 4.1.12, or what that line from you and their response didn't get pasted into the post?

Image

Posted on
Tue Jul 27, 2010 5:46 pm
bob offline
User avatar
Posts: 500
Joined: Jun 14, 2006

Re: EZeye & EZIO6I

Matt,

Sorry it was late. Here is SHN's response;

Re: EZeye & EZIO6I
by grif091 on Tue Jul 27, 2010 12:11 am

Unfortunately the 4F 09 does not enable the Broadcast Status Change message for Input changes. It enables the Broadcast Status Change message for Output changes. The Configuration Register controls the generation of Input Status Change messages. Have him consult the EZIOxx Advanced Details document. It describes the 4F 09 as setting "Enables Output Port status change broadcast messages". What they need to do is enable the Input Port status change broadcast message.

EDIT: the command sequence Indigo is doing for the EZIO8SA is the correct sequence and should be done for all EZIOxx devices where they want to generate Input Status Change messages. That is why the EZIO8SA produced the correct results. The command set is common across the entire EZIOxx family of devices.


Here is the Define and Sync. I'm still having some problems get it to update. Ill fiddle more with it tonight.

27-Jul-10 5:38:33 PM
PowerLinc Linking - entered discovery linking mode (240 seconds)
PowerLinc Linking - sending id request for device information
PowerLinc Linking - received module button pressed from 0C.B1.75
PowerLinc Linking - sending id request for device information
PowerLinc Linking - received id request response from 0C.B1.75
PowerLinc Linking - retrieving firmware version
PowerLinc Linking - initializing remote device "lightSensor" (address 0C.B1.75, firmware version 25)
PowerLinc Linking - . enabling: status change broadcasting
PowerLinc Linking - . reading: configuration settings, input trip points, and output timer durations
PowerLinc Linking - . . . read: configuration settings 00
PowerLinc Linking - . updating: configuration settings 40
Received INSTEON "lightSensor" inputs status changed: 1, 0, 0, 0, 0, 0
Trigger Action _EZeyeBinary
Trigger Action _EZeyeBinaryVar
Trigger Action dayLight_ON
Trigger Action OFF_livingMotPwr
PowerLinc Linking - . . . read: analog1 raw trip points 0, 0
PowerLinc Linking - . . . read: analog2 raw trip points 0, 0
PowerLinc Linking - . . . read: output timer durations
PowerLinc Linking - initialize complete
PowerLinc Linking - device "lightSensor" properties updated
PowerLinc Linking - syncing remote device "lightSensor" (address 0C.B1.75, firmware version 25)
Sent X10 "livingMotPwr" off
Time/Date Action OFF_livingMotPwr (delayed action)
Time/Date Action OFF_livingMotPwr (delayed action)
Received INSTEON "lightSensor" inputs status changed: 1, 0, 0, 0, 0, 0
PowerLinc Linking - syncing of this device not possible remotely (skipping)
PowerLinc Linking - sync complete
Received INSTEON "lightSensor" inputs status changed: 1, 0, 0, 0, 1, 1
PowerLinc Linking - exited linking mode
Received INSTEON "lightSensor" inputs status changed: 1, 0, 0, 0, 1, 1
Time/Date Action _positionRgate (open) (delayed action)
Received INSTEON "lightSensor" inputs status changed: 1, 0, 0, 0, 1, 1
Received INSTEON "lightSensor" inputs status changed: 1, 0, 0, 0, 1, 1
PowerLinc setting analog1 OFF to ON trip point raw value to 45
PowerLinc setting analog1 ON to OFF trip point raw value to 40
PowerLinc setting analog2 OFF to ON trip point raw value to 1
PowerLinc setting analog2 ON to OFF trip point raw value to 0
Sent INSTEON "lightSensor" set analog input trip values
Sent INSTEON "lightSensor" write configuration flags (received: 41)
Sent INSTEON "lightSensor" finalize i/o device EEPROM changes
Sent INSTEON "lightSensor" input binary states request (received: 0, 0, 0, 0, 0, 0)
Sent INSTEON "lightSensor" input analog value request (received: 0, 0)
Trigger Action _EZeyeAnalog
Trigger Action _EZeyeAnalogVar
Sent INSTEON "lightSensor" input analog value request (received: 0, 0)

Posted on
Tue Jul 27, 2010 10:33 pm
bob offline
User avatar
Posts: 500
Joined: Jun 14, 2006

Re: EZeye & EZIO6I

Here is the results for your instructions:

1) Re-do the Define and Sync

27-Jul-10 10:27:22 PM
PowerLinc Linking - entered discovery linking mode (240 seconds)
PowerLinc Linking - sending id request for device information
PowerLinc Linking - received module button pressed from 0C.B1.75
PowerLinc Linking - sending id request for device information
PowerLinc Linking - received id request response from 0C.B1.75
PowerLinc Linking - retrieving firmware version
PowerLinc Linking - initializing remote device "EZIO6I" (address 0C.B1.75, firmware version 25)
PowerLinc Linking - . enabling: status change broadcasting
Received INSTEON "EZIO6I" inputs status changed: 1, 0, 0, 0, 0, 0
PowerLinc Linking - . reading: configuration settings, input trip points, and output timer durations
PowerLinc Linking - . . . read: configuration settings 40
Received INSTEON "EZIO6I" inputs status changed: 1, 0, 0, 0, 1, 1
Received INSTEON "EZIO6I" inputs status changed: 1, 0, 0, 0, 1, 1
PowerLinc Linking - . . . read: analog1 raw trip points 0, 0
PowerLinc Linking - . . . read: analog2 raw trip points 0, 0
PowerLinc Linking - . . . read: output timer durations
PowerLinc Linking - initialize complete
PowerLinc Linking - syncing remote device "EZIO6I" (address 0C.B1.75, firmware version 25)
PowerLinc Linking - device "EZIO6I" properties updated
PowerLinc Linking - syncing of this device not possible remotely (skipping)
PowerLinc Linking - sync complete
Received RF security command sensor normal (min delay) (ID 107)
PowerLinc Linking - exited linking mode



2) Totally close the device dialog and re-open it
3) Inside the EZIO settings sheet, press the Upload Settings button.

27-Jul-10 10:28:29 PM
Error "EZIO6I" write configuration flags; send failed (no acknowledgment)
Sent INSTEON "EZIO6I" finalize i/o device EEPROM changes
Received INSTEON "EZIO6I" inputs status changed: 1, 0, 0, 0, 0, 0
Received INSTEON "EZIO6I" inputs status changed: 1, 0, 0, 0, 1, 1


4) Turn on the Analog Inputs checkbox, press the Upload Settings button again.

27-Jul-10 10:29:16 PM
PowerLinc setting analog1 OFF to ON trip point raw value to 45
PowerLinc setting analog1 ON to OFF trip point raw value to 40
PowerLinc setting analog2 OFF to ON trip point raw value to 1
PowerLinc setting analog2 ON to OFF trip point raw value to 0
Sent INSTEON "EZIO6I" set analog input trip values
Sent INSTEON "EZIO6I" write configuration flags (received: 41)
Received INSTEON "EZIO6I" inputs status changed: 1, 0, 0, 0, 0, 0
Sent INSTEON "EZIO6I" finalize i/o device EEPROM changes
Received INSTEON "EZIO6I" inputs status changed: 1, 0, 0, 0, 0, 0
Received INSTEON "EZIO6I" inputs status changed: 1, 0, 0, 0, 1, 0
Received INSTEON "EZIO6I" inputs status changed: 1, 0, 0, 0, 1, 0
Received INSTEON "EZIO6I" inputs status changed: 1, 0, 0, 0, 1, 0
Received INSTEON "EZIO6I" inputs status changed: 1, 0, 0, 0, 1, 0


After this is I do the "thumb over the sensor window test" and in the dark condition Binary input 1 goes to 0 and and 5 follows a second after so it appears to be working. A Get Input/Output Status shows the Analog Input value.

I'll put it back into my system and see how it performs.

bob

Posted on
Tue Jul 27, 2010 11:08 pm
matt (support) offline
Site Admin
User avatar
Posts: 21411
Joined: Jan 27, 2003
Location: Texas

Re: EZeye & EZIO6I

Thanks for the results. I will push the new build, which is identical to what you installed, live.

Image

Who is online

Users browsing this forum: No registered users and 11 guests