Altsteon: "Device not Ready"

I finally took the plunge with George for MCV’s help ;D. Thanks George and thanks fba for all your hard work in developing the Altsteon.

The daemon appears to be working beautifully as I can go to altsteon_cli and turn on and off devices, poll them, and the like.

The issue appears to be with the UI communicating to altseon. I have tried several devices with always the same result, the error message “Device not ready” when I click on an event. I attached output from the CLI.

I am only working with one device right now to keep it simple. I tried both the relay and a dimmer. The attached log is for a dimmer. The UI appears to identify the device as a dimmer correctly.

When creating the device I use the following:

		Device type : urn:geektaco-info:device:Relay:1
		Internal ID : 1B.29.5D
		Description : FamilyRoom
		Upnp Device Filename : D_InsteonRelay.xml
		Upnp Implementation Filename : I_InsteonRelay.xml
		Ip Address : <blank>
		MAC : <blank>
		Room : <don't care>
		Parent device : plm

I used copy and paste from the altsteon_instruction.txt to prevent silly mispelling errors and tried this numerous time without avail.

I also turned off native Insteon support.
Checked that the id_parent field which is 33 matches the id of the PLM module.

??? I am at a loss. I think I am missing something simple.

Just a quick thought, do you have the altsteon start up code in Vera’s LUUP start up?

SHould not matter since he already stated that the daemon is running and working fine with the altsteon_cli. Did you load all of the altsteon files onto Vera or only certain ones?

  • Garrett

Hi Garrett,

I believe all files are loaded. Below is a full listing.

Under /overlay/sbin/:

SerialTest2 altsteon_cli rwee-na9xx
altsteon rwee zwreset

Under Luup files in the GUI the following is listed:

D_AvMisc1.xml View download
D_BinaryLight1.json View download
D_BinaryLight1.xml View download
D_CombinationSwitch1.json View download
D_CombinationSwitch1.xml View download
D_ComboDevice1.json View download
D_ComboDevice1.xml View download
D_DigitalSecurityCamera1.json View download
D_DigitalSecurityCamera1.xml View download
D_DigitalSecurityCamera2.json View download
D_DigitalSecurityCamera2.xml View download
D_DimmableLight1.json View download
D_DimmableLight1.xml View download
D_DoorLock1.json View download
D_DoorLock1.xml View download
D_DoorSensor1.json View download
D_DoorSensor1.xml View download
D_EchoEnergyManager.xml.lz View download
D_EnergyCalculator1.xml View download
D_GenericIO1.json View download
D_GenericIO1.xml View download
D_GenericSensor1.json View download
D_GenericSensor1.xml View download
D_HVAC_ZoneThermostat1.json View download
D_HVAC_ZoneThermostat1.xml View download
D_Heater1.json View download
D_Heater1.xml View download
D_HumiditySensor1.json View download
D_HumiditySensor1.xml View download
D_InsteonDimmer.json View download
D_InsteonDimmer.xml View download
D_InsteonDimmerKpl.json View download
D_InsteonDimmerKpl.xml View download
D_InsteonEzFlora.json View download
D_InsteonEzFlora.xml View download
D_InsteonFanController.json View download
D_InsteonFanController.xml View download
D_InsteonFanLinc.json View download
D_InsteonFanLinc.xml View download
D_InsteonGarageHawkGarage.json View download
D_InsteonGarageHawkGarage.xml View download
D_InsteonGarageHawkRemote.json View download
D_InsteonGarageHawkRemote.xml View download
D_InsteonIMeter.json View download
D_InsteonIMeter.xml View download
D_InsteonIOLinc.json View download
D_InsteonIOLinc.xml View download
D_InsteonLock.json View download
D_InsteonLock.xml View download
D_InsteonNetwork.xml View download
D_InsteonPlm.json View download
D_InsteonPlm.xml View download
D_InsteonRelay.json View download
D_InsteonRelay.xml View download
D_InsteonRelayKpl.json View download
D_InsteonRelayKpl.xml View download
D_InsteonRemotelinc.json View download
D_InsteonRemotelinc.xml View download
D_InsteonScene.json View download
D_InsteonScene.xml View download
D_IrDevice1.xml View download
D_IrTransmitter1.xml View download
D_Keypad1.json View download
D_Keypad1.xml View download
D_LightSensor1.json View download
D_LightSensor1.xml View download
D_MotionSensor1.json View download
D_MotionSensor1.xml View download
D_PanasonicVieraTV1.xml View download
D_PowerMeter1.json View download
D_PowerMeter1.xml View download
D_Powermax.json View download
D_Powermax.xml View download
D_PowermaxPartition2.json View download
D_PowermaxPartition2.xml View download
D_Relay1.json View download
D_Relay1.xml View download
D_RemoteControl1.xml View download
D_Scene1.xml View download
D_SceneController1.json View download
D_SceneController1.xml View download
D_SceneControllerLED1.json View download
D_SceneControllerLED1.xml View download
D_SerialPort1.xml View download
D_SerialPortRoot1.xml View download
D_SmokeSensor1.json View download
D_SmokeSensor1.xml View download
D_TempLeakSensor1.json View download
D_TempLeakSensor1.xml View download
D_TemperatureSensor1.json View download
D_TemperatureSensor1.xml View download
D_USB_UIRT.xml View download
D_Weather.json View download
D_Weather.xml View download
D_WindowCovering1.json View download
D_WindowCovering1.xml View download
D_ZWaveNetwork.xml View download
ExtraStaticData.json View download
I_CombinationSwitch1.xml View download
I_EchoEnergyManager.xml.lz View download
I_EnergyCalculator1.xml View download
I_InsteonThermostat.xml View download
I_InsteonTriggerSensor.xml View download
I_PanasonicPTZ.xml View download
I_PanasonicVieraTV1.xml View download
I_Powermax.xml View download
I_WUIWeather.xml View download
I_ZWave.xml View download
J_CombinationSwitch1.js View download
J_EchoEnergyManager.js.lz View download
J_InsteonEzFlora.js View download
J_InsteonIMeter.js View download
J_InsteonOptions.js View download
J_InsteonSynchrolinc.js View download
J_Powermax.js View download
L_CombinationSwitch1.lua View download
L_CombinationSwitch1Plugin_Dim…lua View download
L_CombinationSwitch1Plugin_Loc…lua View download
L_CombinationSwitch1Plugin_Par…lua View download
L_CombinationSwitch1Plugin_Par…lua View download
L_CombinationSwitch1Plugin_Pow…lua View download
L_CombinationSwitch1Plugin_Sec…lua View download
L_CombinationSwitch1Plugin_Sun…lua View download
L_CombinationSwitch1Plugin_Swi…lua View download
L_CombinationSwitch1Plugin_Tem…lua View download
L_CombinationSwitch1Plugin_Var…lua View download
L_CombinationSwitch1Plugin_Vir…lua View download
L_CombinationSwitch1Plugin_Wea…lua View download
L_EchoEnergyManager.lua.lz View download
S_AlarmPartition2.xml View download
S_Camera1.xml View download
S_CameraMotionDetection1.xml View download
S_CombinationSwitch1.xml View download
S_DigitalSecurityCameraSetting…xml View download
S_DigitalSecurityCameraStillIm…xml View download
S_Dimming1.xml View download
S_DiscretePower1.xml View download
S_DoorLock1.xml View download
S_EchoEnergyManager.xml.lz View download
S_EnergyCalculator1.xml View download
S_EnergyMetering1.xml View download
S_FanSpeed1.xml View download
S_GenericSensor1.xml View download
S_HVAC_FanOperatingMode1.xml View download
S_HVAC_OperatingState1.xml View download
S_HVAC_UserOperatingMode1.xml View download
S_HaDevice1.xml View download
S_HomeAutomationGateway1.xml View download
S_HumiditySensor1.xml View download
S_InputSelection1.xml View download
S_InsteonDimmerKpl.xml View download
S_InsteonEzFlora.xml View download
S_InsteonFanLinc.xml View download
S_InsteonGarageHawk.xml View download
S_InsteonNetwork1.xml View download
S_InsteonOptions.xml View download
S_InsteonRelay.xml View download
S_InsteonSynchrolinc.xml View download
S_IrDevice1.xml View download
S_IrTransmitter1.xml View download
S_JobHandler1.xml View download
S_Keypad1.xml View download
S_LightSensor1.xml View download
S_MediaNavigation1.xml View download
S_MenuNavigation1.xml View download
S_Misc1.xml View download
S_NumericEntry1.xml View download
S_PIP1.xml View download
S_PanTiltZoom1.xml View download
S_Powermax.xml View download
S_Scene1.xml View download
S_SceneController1.xml View download
S_SceneControllerLED1.xml View download
S_SecuritySensor1.xml View download
S_SerialPort1.xml View download
S_SwitchPower1.xml View download
S_TV1.xml View download
S_TemperatureSensor1.xml View download
S_TemperatureSetpoint1.xml View download
S_TogglePower1.xml View download
S_Tuning1.xml View download
S_USBUIRT.xml View download
S_VideoAdjustment1.xml View download
S_Volume1.xml View download
S_WMC1.xml View download
S_Weather.xml View download
S_WindowCovering1.xml View download
S_ZWaveNetwork1.xml View download
S_ZigbeeNetwork1.xml View download
bad_auth View download
bad_url View download
cam_offline View download
crossdomain.xml View download
generic_device.json View download
privacy View download
vera.xml View download

In case this is useful, I added a screenshot of the error message.

From you screenshot you can see that the PLM module is shows as is the module I added to control the relay light. When I click on either on or off, I get the “Device Not Ready” error message. I tried rebooting the both the PLM and Vera to no avail.

Does anyone have an idea on what I can try next?

There are two reasons you might get the “Device not ready” error. One is that the PLM isn’t configured correctly, the other is that there is a bug in the LUA code for the device. I have numerous dimmers around my house all working perfectly, so my first guess is that the PLM isn’t set up quite right.

If you can send commands via the CLI, then you have that portion all set correctly. You will want to double check the settings for your PLM. The settings can be a little confusing because the native Insteon implementation refers to a serial port when talking to the PLM. Altsteon uses a network socket for communication with the UI. So, you will want to make sure you are configured for an IP address instead of a serial port. (The serial port communication happens with the daemon, the UI then talks to the daemon over a network connection, which on the Vera is usually the loopback interface.)

I have attached three screen shots of my PLM. Make sure the IP address in all three of those screens is 127.0.0.1 (if you are running the daemon directly on the Vera) or the IP address of the remote box if you are running the daemon elsewhere.

Greetings:
I applaud all the work that has gone into the insteon development. I (and many others) thank you!

But, I am having the same problem; “device not ready” error. It is strange because I set up the altsteon daemon, and installed one relay. It worked well (after some addition of missed files) from the web page. Then when I added some more units, one relay, one dimmer, and one motion detector, now every device responded with a “device not ready”. I have noticed that the motion detector icon changed from red to green when the motion detector is tripped, so there is some communication. (the altsteon_cli communicated with all the units OK).

I had initially set up the plm with a fixed IP address of my vera unit, and that has not changed. Changing that to 127.0.0.1 has not made any difference.

I am using vare3, UI5, and firmware 1.5.408

Any suggestions would be appreciated!

schenkl

PS I have noticed that occasionally things work, but if tested again then I get the “device not ready” error…

I have solved my problem…I think that I did not have all the necessary files copied over…One question now, is it possible to scp ALL the files to vera3? I could not find the target directory on vera3 where the files are stored? If that were added instead of manually copying the group of files, I think that it might eliminate many hours of head scratching! Just a thought…

Hi fda,
I am having the “device not ready” message now.
I am able to talk to the 2 devices on the connection using the cli (IOLInc and FanLinc).
I can set light and fan levels with cli.
But when I try that in UI5 I get the device not ready.
However, what is VERY odd… the light level and fan state is updated on UI5.
The other odd thing is the PLM does not have a Connection tab. It goes from Control to Settings to Advanced.

Any help will be appreciated.
Thanks,
David

I’m having the same issue. I can control my a relay from cli and I get status updates on the cli when I manually activate the relay. But I get “device not ready from the gui”.

I’m hoping I just missed something simple when setting this up.

EDIT: Well I reset the plm and the light switch and tried again and it worked. So I must not have linked them correctly.