Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Comfort UPNP <-> SmartThings <-> Amazon Echo
Hi Matt, 
i confuse ... before delete them ... i found my uploading file : my smartapps, my devicehandler, gone ( empty ) again ... but at mobile app, my apps still be able to accessed ...  is it the cause of error above ?


update :
  • just realized,  i should choose the location first, sign in, and found the uploading file... but How to delete it ?
  • How to delete my apps at mobile apps ?
so i wait your guideline

I believe what Matt is suggesting is that you go to the Smartthings IDE at https://graph.api.smartthings.com/ - Log in - Go to My Devices Handlers and delete all the ones in that start MattBrain. Then reinstall them all as you did yesterday, thereshould be 9. Do the same for the My SmartApps - theres only one there.

[user=1738]DavidJ[/user] wrote:
Quote:I believe what Matt is suggesting is that you go to the Smartthings IDE at https://graph.api.smartthings.com/ - Log in - Go to My Devices Handlers and delete all the ones in that start MattBrain. Then reinstall them all as you did yesterday, thereshould be 9. Do the same for the My SmartApps - theres only one there.
Already normal again ... Just need to delete location and create again ...No need  to delete mysmartapp or my device handler

hi Matt,
testing on and off lamp from smartthings work well ...  only the lamp status not update when lamp turning off by manual switch 
update 29.01
testng on and off lamp from amazon dot work well too 

Was playing a bit over the weekend. I didn\'t think I was seeing all the devices I should, so I figured I\'d just run discovery again to see if anything new was found...

It was... this time it fairly quickly found 78 devices... almost double what was found before... I enabled all of them, and then I too saw the same error as in post 178... devicenetworkId must be unique...

As I backed out through the app, I noticed there was now a second instance of the comfort smart app installed... obviously the cause of the aforementioned error...


Attached Files Thumbnail(s)
   

but interestingly... after I submitted that post, I went back to the same smartapps screen, and one of the 2 instances had disappeared... all on it\'s own...
I went back into discovery on the sole remaining instance, and its running now... currently up to 122 devices, and finding a few more every few minutes...

I need to clarify how to renew discovery - the ST interface isn\'t particularly clear. I will rtite these up in proper instructions and add to the forum, but below is a summary

Initial discovery should be done by going to:

 MarketPlace -> SmartApps -> My Apps -> Comfort Manager (or Cytech Zone UPNP Manager v1 for 1.0.0 installs)

Subsequent discovery (once you have selected some initial devices) can be done from:

 Automation -> SmartApps -> Comfort Manager (or Cytech Zone UPNP Manager v1 for 1.0.0 installs)

If you repeat the first stage you may end up duplicating devices causing the error message.

Thanks,

Matt

[user=139]Pgordon[/user] wrote:
Quote:but interestingly... after I submitted that post, I went back to the same smartapps screen, and one of the 2 instances had disappeared... all on it\'s own...
I went back into discovery on the sole remaining instance, and its running now... currently up to 122 devices, and finding a few more every few minutes...

Thats more devices that I have tested with - be aware that SmartThings limits SmartApp persistent memory to 100,000 bytes which may be run into during discovery for lots of devices.

We are considering changing discovery to overcome these limitations but it requires some changes at the back end which will follow when I refactor the UPNP engine.

Thanks,

Matt

[user=912]mattbrain[/user] wrote:
Quote: Thats more devices that I have tested with - be aware that SmartThings limits SmartApp persistent memory to 100,000 bytes which may be run into during discovery for lots of devices.

We are considering changing discovery to overcome these limitations but it requires some changes at the back end which will follow when I refactor the UPNP engine.

Thanks,

Matt
Is it why only 152 devices found from my system , i expect more that 192 devices, because except IRIO i use full 96 output and mostly have input related 

[user=5404]bagushandhoko[/user] wrote:
Quote:[user=912]mattbrain[/user] wrote:
Quote: Thats more devices that I have tested with - be aware that SmartThings limits SmartApp persistent memory to 100,000 bytes which may be run into during discovery for lots of devices.

We are considering changing discovery to overcome these limitations but it requires some changes at the back end which will follow when I refactor the UPNP engine.

Thanks,

Matt
Is it why only 152 devices found from my system , i expect more that 192 devices, because except IRIO i use full 96 output and mostly have input related

Wow - ok - there are a lot of devices there.

So, it is clear there is a need for more than 200 devices, and given the limitations in SmartThings I need to be a bit \'crafty\' with memory management during discovery. May I propose the following:

[indent]1.For the time being can you limit the number of devices exposed to SmartThings to less that ~ 125?

2.I\'ll work on a workaround for discovery using the existing mechanism to run this through several passes, which will allow all your devices to be found whilst working within the constraints imposed by SmartThings. I\'ll work with Ben to put this in a future bugfix release (most likely 1.0.0c).

[/indent]Can you comment on the number of events which occur with all the devices - one other constraint imposed by SmartThings is a maximum event triggers per SmartApp which is at around 250 per minute - this is reported in the Comfort Bridge device as EPM. If you exceed this threshold, SmartThings may drop events (although I have never seen this in practice).

Thanks,

Matt



Forum Jump:


Users browsing this thread:
2 Guest(s)

Powered By MyBB, © 2002-2026 Melroy van den Berg.