www.homeseer.com    
 

Go Back   HomeSeer Message Board > Lighting & Primary Technology Plug-ins > Lighting & Primary Technology Discussion > Insteon Plug-in (Mark Sandler)

Insteon Plug-in (Mark Sandler) Discussions related to Mark Sandler's 3rd parth plug-in for controlling Insteon devices via Smarthome's PLM interfaces (the 2412 & 2413 series controllers)

Reply
 
Thread Tools Display Modes
  #1  
Old January 18th, 2017, 11:54 AM
mnsandler's Avatar
mnsandler mnsandler is offline
Insteon Overlord
 
Join Date: Apr 2005
Location: Virginia
Posts: 10,633
New Insteon Motion Sensor II...beta support available in the Updater

All,
I have not added support for these as smarthome hasn't provided developer notes yet. I will update this thread once I receive the notes and add support.

Update: Jump to Post #14 to see the latest
__________________
Mark

HS3 Pro 3.0.0.368
Hardware: Insteon Serial PLM | Vista Alarm 20P with AD2USB | HAI Omnistat2 | 1-Wire HA7E | RFXrec433 | Dahua Cameras | LiftMaster Internet Gateway
Plugins: Insteon 3.0.6.23 (mine) | Vista Alarm (mine) | Omnistat 3 (by Kirby) | Ultra1Wire | RFXCOM | NetCAM | MyQ | BLRadar | Jon00 Charting
Platform: HP h8-1360t, Windows Server 2012 R2, i7-3.4GHz, 16GB memory

Last edited by mnsandler; April 8th, 2017 at 10:33 PM.
Reply With Quote
  #2  
Old February 23rd, 2017, 03:39 AM
steveng steveng is offline
Seer Plus
 
Join Date: Feb 2014
Location: Corinth, Texas
Posts: 96
Mine shipped out today
Quick Start Guide and Owner's Manual are out so maybe developer notes as well.

Thanks for all the awesome work.

Thanks,
Steven Giles
Reply With Quote
  #3  
Old February 23rd, 2017, 09:56 AM
mnsandler's Avatar
mnsandler mnsandler is offline
Insteon Overlord
 
Join Date: Apr 2005
Location: Virginia
Posts: 10,633
I'll post an update here when I receive the dev notes and start adding support to the plugin.
Reply With Quote
  #4  
Old March 22nd, 2017, 02:40 AM
codemonkey's Avatar
codemonkey codemonkey is online now
Seer Master
 
Join Date: Feb 2005
Location: Northern California
Posts: 592
I've been hitting up everyone I can find to get these docs. Need them for a product that I am have in development. The best I've been able to find out is that Universal Devices Inc. (ISY) was just given the 2844-222 dev docs so that they can start work on adding the device.

Tony
__________________
HomeSeer Version: HS3 Pro Edition
Operating System: Microsoft Windows 10 Pro
Processor Type and Speed: i7 - 3.26 GHz
Total Physical Memory: 16Gig

Plugins: BlBackup | EasyTrigger | FitbitSeer | HSTouchServer | Insteon | WeatherXML
Reply With Quote
  #5  
Old March 22nd, 2017, 07:43 AM
mnsandler's Avatar
mnsandler mnsandler is offline
Insteon Overlord
 
Join Date: Apr 2005
Location: Virginia
Posts: 10,633
Quote:
Originally Posted by codemonkey View Post
I've been hitting up everyone I can find to get these docs. Need them for a product that I am have in development. The best I've been able to find out is that Universal Devices Inc. (ISY) was just given the 2844-222 dev docs so that they can start work on adding the device.

Tony
well that's good news. maybe it will show up in my inbox soon.
Reply With Quote
  #6  
Old March 30th, 2017, 10:32 PM
tim.palmer tim.palmer is offline
Seer
 
Join Date: Jan 2013
Location: Saskatoon, SK Canada
Posts: 11
Hey Mark, any news on this yet? I also just received a shipment of these things, just curious if you've been able to test them yet or if you have a beta. Thanks as always!
Reply With Quote
  #7  
Old March 31st, 2017, 08:41 AM
mnsandler's Avatar
mnsandler mnsandler is offline
Insteon Overlord
 
Join Date: Apr 2005
Location: Virginia
Posts: 10,633
I have physically tested several, but I can't add plugin support without the developer notes

You can manually link and setup via the user guide, but the plugin will see it as an unregistered device
Reply With Quote
  #8  
Old March 31st, 2017, 02:09 PM
mnsandler's Avatar
mnsandler mnsandler is offline
Insteon Overlord
 
Join Date: Apr 2005
Location: Virginia
Posts: 10,633
I got some preliminary docs related to the MS II so I can start adding basic support for the device (support similar to the existing MS). I will try to get this working I the next few weeks.

There are a lot of features packed into this unit so it will take some time to get the rest of them implemented.

I'll update this thread when I post a beta for you to try.
Reply With Quote
  #9  
Old April 5th, 2017, 01:47 PM
mnsandler's Avatar
mnsandler mnsandler is offline
Insteon Overlord
 
Join Date: Apr 2005
Location: Virginia
Posts: 10,633
A quick preview of what i have so far.

Four big changes with this unit:
1. you can set the frequency when the unit sends a heartbeat
2. it has a temperature sensor built in (not sure how accurate it is)
3. a tamper switch that activates if the battery cover is removed
4. the unit can be powered by a 3V battery or a usb cable

the heartbeat sends the battery level, and temperature. the battery level is a category (full, good, low, almost dead)

the temperature is reported in degs F. i'll have to see about creating a setting to change this to degs C.
Attached Images
 

Last edited by mnsandler; April 5th, 2017 at 02:18 PM.
Reply With Quote
  #10  
Old April 5th, 2017, 02:19 PM
codemonkey's Avatar
codemonkey codemonkey is online now
Seer Master
 
Join Date: Feb 2005
Location: Northern California
Posts: 592
OMG The temp sensor is awesome!!!
Thanks Mark, I am really looking forward to getting mine working. Can test if you need it as I have a few in boxes waiting.
Reply With Quote
  #11  
Old April 5th, 2017, 05:36 PM
steveng steveng is offline
Seer Plus
 
Join Date: Feb 2014
Location: Corinth, Texas
Posts: 96
I can test as well I have 3 ready to go using USB power.

Thanks Steven G
Reply With Quote
  #12  
Old April 6th, 2017, 09:48 AM
Richcorp12 Richcorp12 is offline
Viewer
 
Join Date: Nov 2015
Location: New Rochelle, NY
Posts: 2
Happy to test here too

I have 7 of them wiring to be setup. Happy to test any betas for you.
Reply With Quote
  #13  
Old April 6th, 2017, 08:13 PM
randy_h randy_h is online now
Seer
 
Join Date: Jan 2016
Location: Arizona
Posts: 35
Cool stuff. Looking forward to it.
__________________
HS3 Pro Edition 3.0.0.368
Hardware: Insteon HUB2-V04-20140904 | Ocelot | Secu-16 | Dahua & Noname Cameras |
Plugins: Insteon 3.0.6.16 (mnsandler) | GTS CPUXA 3.5.16105.96 (bbowser) | Blue-Iris 3.0.22.33946 (beerygaz)
Platform: Dell Inspiron 3847, Windows 10, i7-3.6GHz, 16GB memory
Reply With Quote
  #14  
Old April 8th, 2017, 10:20 PM
mnsandler's Avatar
mnsandler mnsandler is offline
Insteon Overlord
 
Join Date: Apr 2005
Location: Virginia
Posts: 10,633
All,
I have posted 3.0.6.12 in the Beta section of the Updater which includes beta support for the new Insteon motion sensor II. Please post feedback on the MS II to this thread. remember to backup your Insteon.ini and Homeseer database

if using a battery, remember to put the MS into linking mode before attempting to add it to the plugin. If using a usb, just connect it and add it like any other device. if you switch power sources for some reason, you will need to re-read the settings so the plugin becomes aware of the change. I would suggest doing a Factory Reset on the device before adding it to the plugin.

a few notes about the MS II:

1. stick with Occupancy Mode for now. i need to document the other modes. I'm not even sure of all of them yet.

2. you can set the heartbeat frequency which will also read the battery level, temperature, and light level. the heartbeat will not update any other devices.

3. the temperature reading will be different depending on the power source: usb vs battery. The 'temperature calibration' adjusts the temperature reading by a fraction of a degree (not a whole degree) ; so just add or subtract a few units until you get a reading that matches your standard. there is an option to display the temperature in Celsius. If you change scales, you will need to wait until the next heartbeat for the plugin to convert the temperature. I have not included the temperature scale in the device definition; i plan to do this.

4. when the MS is powered by the usb, you can program it without using the set btn. When the MS is powered by a battery, you need to use the set btn to program links. Other Settings will be programmed on the next received On msg (similar to the current MS)

5. I have not been able to get the Low Battery Warning to trigger nor the Dawn/Dusk device. i have a variable DC power supply that i use to simulate a battery source. Obviously the low battery warning isn't an issue when using a usb; just hide the two battery devices. there is no actual battery voltage reading now just one of four categories: full, good, low, replace (i'm open to different wording).

6. the light level is just for interest at this point.

When you find an issue, please reply here with a sequence of steps I can follow to replicate the issue. A detailed log snippet would be helpful as well.
Attached Images
 

Last edited by mnsandler; April 9th, 2017 at 08:29 AM.
Reply With Quote
  #15  
Old April 9th, 2017, 02:45 AM
codemonkey's Avatar
codemonkey codemonkey is online now
Seer Master
 
Join Date: Feb 2005
Location: Northern California
Posts: 592
I'll have some testing results for you starting tomorrow. Thank you!
Reply With Quote
  #16  
Old April 9th, 2017, 09:54 AM
randy_h randy_h is online now
Seer
 
Join Date: Jan 2016
Location: Arizona
Posts: 35
Read Settings after On cms - missing?

On the MS-II config page, I do not see this line:
Read settings after On cmds (0=Disable)____

Should there be one for this new device?


I made some settings changes and am having difficulty getting past this advisory notice:
There are Setting and Op Flag changes pending.


Log

Apr-09 6:48:43 AM Insteon Edit Insteon Device #18 Addr: 41.61.63, Name:MS, Location:Hall
Apr-09 6:41:07 AM Insteon Setting status and value for device 41.61.63:1. Old status:100 Old Value:100, New Status:3 New Value:0
Apr-09 6:41:07 AM Insteon ProcessGroupBroadcast: Device Hall MS (41.61.63) is group broadcast source (tgt group/button:1) sending cmd 13
Apr-09 6:41:07 AM Insteon Received Hall MS Occupancy Sensor: (41.61.63) Go OFF
Apr-09 6:40:44 AM Insteon Edit Insteon Device #18 Addr: 41.61.63, Name:MS, Location:Hall
Apr-09 6:39:48 AM Insteon Received a Direct ACK from Hall MS (41.61.63): 41 61 63 45 50 C8 2F 20 03
Apr-09 6:39:48 AM Insteon Motion Sensor 41.61.63 Op Flags programmed successfully.
Apr-09 6:39:46 AM Insteon Setting status and value for device 41.61.63:1. Old status:100 Old Value:100, New Status:2 New Value:100
Apr-09 6:39:46 AM Insteon ProcessGroupBroadcast: Device Hall MS (41.61.63) is group broadcast source (tgt group/button:1) sending cmd 11
Apr-09 6:39:46 AM Insteon Received Hall MS Occupancy Sensor: (41.61.63) Go ON
Apr-09 6:39:45 AM Insteon Setting status and value for device 41.61.63:1. Old status:0 Old Value:0, New Status:2 New Value:100
Apr-09 6:39:45 AM Insteon ProcessGroupBroadcast: Device Hall MS (41.61.63) is group broadcast source (tgt group/button:1) sending cmd 11
Apr-09 6:39:45 AM Insteon Received Hall MS Occupancy Sensor: (41.61.63) Go ON
Apr-09 6:39:27 AM Insteon Edit Insteon Device #18 Addr: 41.61.63, Name:MS, Location:Hall
Apr-09 6:39:00 AM Insteon Edit Insteon Device #18 Addr: 41.61.63, Name:MS, Location:Hall
Apr-09 6:37:17 AM Insteon Edit Insteon Device #18 Addr: 41.61.63, Name:MS, Location:Hall
Apr-09 6:29:56 AM Insteon Edit Insteon Device #18 Addr: 41.61.63, Name:MS, Location:Hall
Apr-09 6:25:17 AM Insteon Setting status and value for device 41.61.63:1. Old status:100 Old Value:100, New Status:3 New Value:0
Apr-09 6:25:17 AM Insteon ProcessGroupBroadcast: Device Hall MS (41.61.63) is group broadcast source (tgt group/button:1) sending cmd 13
Apr-09 6:25:17 AM Insteon Received Hall MS Occupancy Sensor: (41.61.63) Go OFF
Apr-09 6:21:22 AM Insteon Edit Insteon Device #18 Addr: 41.61.63, Name:MS, Location:Hall
Apr-09 6:21:06 AM Insteon Edit Insteon Device #18 Addr: 41.61.63, Name:MS, Location:Hall
Apr-09 6:20:46 AM Insteon Edit Insteon Device #18 Addr: 41.61.63, Name:MS, Location:Hall
Apr-09 6:20:36 AM Insteon Received a Broadcast message from Hall MS (41.61.63): 01 41 61 63 10 16 46 8F 02 00

EDIT: I must have hit a default On cmd count, Settings updated and advisory notice went away.

thanks,
randy

Last edited by randy_h; April 9th, 2017 at 10:11 AM.
Reply With Quote
  #17  
Old April 9th, 2017, 11:37 AM
mnsandler's Avatar
mnsandler mnsandler is offline
Insteon Overlord
 
Join Date: Apr 2005
Location: Virginia
Posts: 10,633
Randy,

Quote:
On the MS-II config page, I do not see this line:
Read settings after On cmds (0=Disable)____
this is no longer necessary as the settings/readings are read during the heartbeat.
Reply With Quote
  #18  
Old April 9th, 2017, 01:59 PM
randy_h randy_h is online now
Seer
 
Join Date: Jan 2016
Location: Arizona
Posts: 35
I consider this a low priority cosmetic issue"

Channel numbers for new features in Edit Device page are not reported exactly as they are on Device Management view.
Attached Images
  

Last edited by randy_h; April 9th, 2017 at 02:22 PM.
Reply With Quote
  #19  
Old April 9th, 2017, 02:22 PM
codemonkey's Avatar
codemonkey codemonkey is online now
Seer Master
 
Join Date: Feb 2005
Location: Northern California
Posts: 592
I added one MS-II normally and had no issues at all.

I tried another with the device replacement option and while it did successfully replace the old motion, it did not add the new devices. Also there are some errors in the log:

Quote:
Apr-09 11:16:11 AM Insteon ** To request help with this problem please post this log file to the forum along with a detailed description of what lead to this problem.
Apr-09 11:16:11 AM Insteon ** An error occurred in this plug-in. The details have been written to the log file - C:\Program Files (x86)\HomeSeer HS3\Config\Insteon Error Report.Log
Apr-09 11:16:11 AM Insteon ***:Error in ProcessRawReceive: Object reference not set to an instance of an object. -- Details System.NullReferenceException: Object reference not set to an instance of an object. at HSPI_Insteon.hspiAPI.HSAPI.GetDeviceAddress(Int32 ref) at Insteon.Support.Core.InsteonModule.SetHSDeviceValue(Int32 ref, Int32 Val, Boolean TriggerEvents) at Insteon.Support.Devices.MotionSensorIIClass.ProcessGroupBroa dcast(TransmitMsgType Msg, Boolean RemoteMsg) at Insteon.Support.Core.InsteonModule.ProcessRawReceive(Object iCmdStr)
Apr-09 11:16:02 AM Insteon Received Master Bedroom Motion Occupancy Sensor: (41.5F.46) Go ON
Apr-09 11:15:20 AM Insteon Received Master Bedroom Motion Occupancy Sensor: (41.5F.46) Go OFF
Apr-09 11:15:00 AM FitbitSeer Timer elapsed. Updating Fitbit-data.
Apr-09 11:13:43 AM Insteon Received Motion Occupancy Sensor: (41.5F.46) Go OFF
Apr-09 11:13:40 AM Insteon Motion Sensor 41.5F.46 settings programmed successfully.
Apr-09 11:13:34 AM Insteon Received Motion Occupancy Sensor: (41.5F.46) Go ON
Apr-09 11:12:04 AM Insteon Replace device routine complete.
Apr-09 11:12:04 AM Insteon Your system has been reprogrammed to support the replacement device. You will need to power down the device and restart it for some of the settings to take effect (Do NOT factory reset).
Apr-09 11:12:04 AM Insteon Program And Replace Device - Process complete.
Apr-09 11:11:59 AM Insteon ** To request help with this problem please post this log file to the forum along with a detailed description of what lead to this problem.
Apr-09 11:11:59 AM Insteon ** An error occurred in this plug-in. The details have been written to the log file - C:\Program Files (x86)\HomeSeer HS3\Config\Insteon Error Report.Log
Apr-09 11:11:59 AM Insteon ***:Error in CreateDevices: Device 18: Object reference not set to an instance of an object. -- Details System.NullReferenceException: Object reference not set to an instance of an object. at HSPI_Insteon.hspiAPI.HSAPI.CreateDevices(Boolean ReloadTables)
Apr-09 11:11:46 AM Insteon Step 5 of 5: Updating Interface...
Apr-09 11:11:46 AM Insteon Step 4 of 5: Finished updating linked devices, updating groups...
Apr-09 11:11:46 AM Insteon Step 3 of 5: Updating linked devices...
Apr-09 11:11:32 AM Insteon Step 1 of 5: Programming new device with links...
Apr-09 11:11:32 AM Insteon Program And Replace Device - Process starting... (3F.CC.E9->41.5F.46)...
Apr-09 11:11:30 AM Insteon Pass 2, Now attempting to reprogram your system for the replacement device...
Apr-09 11:11:30 AM Insteon Pass 1, updating devices that appear to have stale link tables...RF devices are ignored..
Reply With Quote
  #20  
Old April 9th, 2017, 02:38 PM
codemonkey's Avatar
codemonkey codemonkey is online now
Seer Master
 
Join Date: Feb 2005
Location: Northern California
Posts: 592
Attempted re-program to no avail. Only way to recover was to factory reset the MS-II and then delete it from your plugin. Then once gone re-add it with a slightly different name. Then it came in correctly.

I was intentionally pushing it with your first beta so was not surprised that it choked a bit.

Tony
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Programming Insteon Motion Sensor JimSpy Insteon Plug-in (Mark Sandler) 1 September 19th, 2016 09:20 PM
Insteon Motion Sensor BIGMACK48 RFXCOM Plug-In (3P) 1 April 23rd, 2010 07:11 AM
Insteon motion sensor compatibility? jdls HomeSeer General Discussion Area 2 November 2nd, 2009 12:08 PM
INSTEON Motion Sensor support? vansluis Insteon Plug-in (Mark Sandler) 56 July 20th, 2009 06:07 PM
Insteon Motion Sensor jamesx0 ISY Plug-in Beta (3P) 5 November 12th, 2008 04:10 PM


All times are GMT -4. The time now is 02:23 AM.


Copyright HomeSeer Technologies, LLC