d8adrvn / smart_sprinkler

Smart Sprinkler Controller Using Arduino and SmartThings
http://build.smartthings.com/projects/smartsprinkler/
Apache License 2.0
62 stars 56 forks source link

Payload Limitation With SmartThings ThingShield #27

Open d8adrvn opened 9 years ago

d8adrvn commented 9 years ago

There is an undocumented payload limitation when sending messages from the ThingShield to the SmartThings hub. I did some testing using the 24 channel irrigation controller. In this case,the limitation was a hard cutoff between 65 and 70 characters (I didn't narrow it any further). My work around was to split the payload into two separate messages, adding in delay of 2 seconds between each message.

This is less than desirable since the delay makes the Device Type appear "sluggish" to the end user.

d8adrvn commented 8 years ago

I did some empirical scanning of payload lengths and believe that the maximum payload length is 63 characters.