cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Intermittent connection error using RPi and NodeJS SDK

Highlighted
Level 8

Intermittent connection error using RPi and NodeJS SDK

We're having an issue with the Node JS SDK intermittently.  Normally it pushes temperature and humidity data without a problem.  However, it has lately been throwing an error:

[Error] [RPi_pti]: Error calling twApi_WriteProperty() for temp - 1107

Any help would be greatly appreciated.  Thanks!

On a related note, the app that we are running will unexpectedly terminate or timeout for no apparent reason.  Is this some RPi config that we must change?

Thanks,

Nick

Tags (2)
1 REPLY 1

Re: Intermittent connection error using RPi and NodeJS SDK

Hi Nick ,

Error code 1107 (TW_PRECONDITION_FAILED) specifies that  The precondition for the operation was not met.

Was any  recent changes made to the code , post which you are facing this issue ?