3.0.0.8 remote with 3.0.0.5 HS3
Seeing this using 3.0.0.8 remote and 3.0.0.5 on HS3 server (running Hometroller). I deleted all previous devices, and stopped and started plugin on HS3.
I then did:
1. Restarted 3.0.0.8 remote, and it created device, but came up that error after a bit
2. Went into Config - raspi and set GPIO 7 to Out, and it created the device, but came up the second error
3. I then tried to change the voltage of 7 both on GPIO commands, and via the HS3 console, it seemed to have no affect, althought it worked fine usint RPi gpio command line.
Regards,
Chris
root@raspi:/opt/RaspberryIO# ./run.sh
Plugin: RaspberryIO Instance: raspi1 starting...
Connecting to server at 192.168.199.110...
Connection attempt #1
Connected (HomeSeer API 3). Waiting to be initialized...
May-09 23:36:35 INFO RaspberryIO version 3.0.0.8
May-09 23:36:40 INFO Raspberry Pi running on Bcm2835 processor
May-09 23:36:40 INFO Firmware rev10494082, board model B3 (Raspberry Pi 3 Model B)
May-09 23:36:40 INFO Serial number: 00000000a6e7f141
May-09 23:37:43 ERROR while creating device Raspberry Pi 3 Model B: Object reference not set to an instance of an object
May-09 23:37:43 DEBUG Stack: at (wrapper managed-to-native) System.Object:__icall_wrapper_mono_remoting_wrapper (intptr,intptr)
at (wrapper remoting-invoke) HomeSeerAPI.IHSApplicationeviceProperty_PlugData (int,HomeSeerAPI.Enums/eDeviceProperty,HomeSeerAPI.PlugExtraData/clsPlugExtraData)
at Scheduler.Classes.DeviceClass.set_PlugExtraData_Set (HomeSeerAPI.IHSApplication hs, HomeSeerAPI.PlugExtraData+clsPlugExtraData value) [0x00013] in <0387f935cbb2430490cd0b7ee8040363>:0
at HSPI_RaspberryIO.RaspberryPiApp.SetDeviceID (Scheduler.Classes.DeviceClass dev, System.String id) [0x00023] in <09d24f6410a74bd8b6bd524374feccec>:0
at HSPI_RaspberryIO.RaspberryPiApp.CreateDevice (System.String deviceName, System.String deviceID, System.Boolean showValues, System.Boolean root) [0x00039] in <09d24f6410a74bd8b6bd524374feccec>:0
May-09 23:39:11 DEBUG Setting direction to Output for Pin07
May-09 23:40:11 ERROR while creating device GPIO 7: Object reference not set to an instance of an object
May-09 23:40:11 DEBUG Stack: at (wrapper managed-to-native) System.Object:__icall_wrapper_mono_remoting_wrapper (intptr,intptr)
at (wrapper remoting-invoke) HomeSeerAPI.IHSApplicationeviceProperty_PlugData (int,HomeSeerAPI.Enums/eDeviceProperty,HomeSeerAPI.PlugExtraData/clsPlugExtraData)
at Scheduler.Classes.DeviceClass.set_PlugExtraData_Set (HomeSeerAPI.IHSApplication hs, HomeSeerAPI.PlugExtraData+clsPlugExtraData value) [0x00013] in <0387f935cbb2430490cd0b7ee8040363>:0
at HSPI_RaspberryIO.RaspberryPiApp.SetDeviceID (Scheduler.Classes.DeviceClass dev, System.String id) [0x00023] in <09d24f6410a74bd8b6bd524374feccec>:0
at HSPI_RaspberryIO.RaspberryPiApp.CreateDevice (System.String deviceName, System.String deviceID, System.Boolean showValues, System.Boolean root) [0x00039] in <09d24f6410a74bd8b6bd524374feccec>:0
May-09 23:40:11 DEBUG Pin07 value changed to Off
May-09 23:41:46 DEBUG Setting Pin00 to On
May-09 23:41:46 ERROR SetControlValue: The given key was not present in the dictionary.
May-09 23:41:46 DEBUG Stack: at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x00021] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0
at Raspberry.IO.GeneralPurpose.GpioConnection.set_Item (Raspberry.IO.GeneralPurpose.ProcessorPin pin, System.Boolean value) [0x00000] in <91b00bdf999a468ca15c12231997ed00>:0
at HSPI_RaspberryIO.RaspberryPiApp.SetControlValue (System.Int32 dvref, System.Double value) [0x000ec] in <09d24f6410a74bd8b6bd524374feccec>:0
Seeing this using 3.0.0.8 remote and 3.0.0.5 on HS3 server (running Hometroller). I deleted all previous devices, and stopped and started plugin on HS3.
I then did:
1. Restarted 3.0.0.8 remote, and it created device, but came up that error after a bit
2. Went into Config - raspi and set GPIO 7 to Out, and it created the device, but came up the second error
3. I then tried to change the voltage of 7 both on GPIO commands, and via the HS3 console, it seemed to have no affect, althought it worked fine usint RPi gpio command line.
Regards,
Chris
root@raspi:/opt/RaspberryIO# ./run.sh
Plugin: RaspberryIO Instance: raspi1 starting...
Connecting to server at 192.168.199.110...
Connection attempt #1
Connected (HomeSeer API 3). Waiting to be initialized...
May-09 23:36:35 INFO RaspberryIO version 3.0.0.8
May-09 23:36:40 INFO Raspberry Pi running on Bcm2835 processor
May-09 23:36:40 INFO Firmware rev10494082, board model B3 (Raspberry Pi 3 Model B)
May-09 23:36:40 INFO Serial number: 00000000a6e7f141
May-09 23:37:43 ERROR while creating device Raspberry Pi 3 Model B: Object reference not set to an instance of an object
May-09 23:37:43 DEBUG Stack: at (wrapper managed-to-native) System.Object:__icall_wrapper_mono_remoting_wrapper (intptr,intptr)
at (wrapper remoting-invoke) HomeSeerAPI.IHSApplicationeviceProperty_PlugData (int,HomeSeerAPI.Enums/eDeviceProperty,HomeSeerAPI.PlugExtraData/clsPlugExtraData)
at Scheduler.Classes.DeviceClass.set_PlugExtraData_Set (HomeSeerAPI.IHSApplication hs, HomeSeerAPI.PlugExtraData+clsPlugExtraData value) [0x00013] in <0387f935cbb2430490cd0b7ee8040363>:0
at HSPI_RaspberryIO.RaspberryPiApp.SetDeviceID (Scheduler.Classes.DeviceClass dev, System.String id) [0x00023] in <09d24f6410a74bd8b6bd524374feccec>:0
at HSPI_RaspberryIO.RaspberryPiApp.CreateDevice (System.String deviceName, System.String deviceID, System.Boolean showValues, System.Boolean root) [0x00039] in <09d24f6410a74bd8b6bd524374feccec>:0
May-09 23:39:11 DEBUG Setting direction to Output for Pin07
May-09 23:40:11 ERROR while creating device GPIO 7: Object reference not set to an instance of an object
May-09 23:40:11 DEBUG Stack: at (wrapper managed-to-native) System.Object:__icall_wrapper_mono_remoting_wrapper (intptr,intptr)
at (wrapper remoting-invoke) HomeSeerAPI.IHSApplicationeviceProperty_PlugData (int,HomeSeerAPI.Enums/eDeviceProperty,HomeSeerAPI.PlugExtraData/clsPlugExtraData)
at Scheduler.Classes.DeviceClass.set_PlugExtraData_Set (HomeSeerAPI.IHSApplication hs, HomeSeerAPI.PlugExtraData+clsPlugExtraData value) [0x00013] in <0387f935cbb2430490cd0b7ee8040363>:0
at HSPI_RaspberryIO.RaspberryPiApp.SetDeviceID (Scheduler.Classes.DeviceClass dev, System.String id) [0x00023] in <09d24f6410a74bd8b6bd524374feccec>:0
at HSPI_RaspberryIO.RaspberryPiApp.CreateDevice (System.String deviceName, System.String deviceID, System.Boolean showValues, System.Boolean root) [0x00039] in <09d24f6410a74bd8b6bd524374feccec>:0
May-09 23:40:11 DEBUG Pin07 value changed to Off
May-09 23:41:46 DEBUG Setting Pin00 to On
May-09 23:41:46 ERROR SetControlValue: The given key was not present in the dictionary.
May-09 23:41:46 DEBUG Stack: at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x00021] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0
at Raspberry.IO.GeneralPurpose.GpioConnection.set_Item (Raspberry.IO.GeneralPurpose.ProcessorPin pin, System.Boolean value) [0x00000] in <91b00bdf999a468ca15c12231997ed00>:0
at HSPI_RaspberryIO.RaspberryPiApp.SetControlValue (System.Int32 dvref, System.Double value) [0x000ec] in <09d24f6410a74bd8b6bd524374feccec>:0
Comment