Post AVFtFKgJF1ReBxXFjM by maxburn@podcastindex.social
 (DIR) More posts by maxburn@podcastindex.social
 (DIR) Post #AVFsOsXKdbyxqOKAFM by dave@podcastindex.social
       2023-05-02T20:08:04Z
       
       1 likes, 0 repeats
       
       I'm currently integrating with the single worst API I've ever seen in my life.  Every page of the documentation is wrong.
       
 (DIR) Post #AVFtFKgJF1ReBxXFjM by maxburn@podcastindex.social
       2023-05-02T20:17:35Z
       
       0 likes, 0 repeats
       
       @dave I routinely deal with crap like this, you have to experiment and observe.
       
 (DIR) Post #AVFtPe6zr1TVLlw5Xk by dave@podcastindex.social
       2023-05-02T20:19:27Z
       
       0 likes, 0 repeats
       
       "input parameters" conflict with what they are called in the "sample code" section on the same page.  Top of the page says send "status" of type (int).  Sample code says send "status_ID" of type (string).  What it actually wants is "StatusID" (int|string).
       
 (DIR) Post #AVFtdLPSBZhROs6JgO by dave@podcastindex.social
       2023-05-02T20:21:53Z
       
       0 likes, 0 repeats
       
       @maxburn I feel like I'm fuzzing their API.  Yesterday I was getting 401's and thought the token was expired.  Turns out, if you send that endpoint an int param instead of a string, it returns a 401.  😐
       
 (DIR) Post #AVFvRq2Eh8YCohslMm by csb@podcastindex.social
       2023-05-02T20:42:15Z
       
       0 likes, 0 repeats
       
       @dave if you can reveal what API it is , then do itAPIs are fabric of my reality
       
 (DIR) Post #AVFwUFX8xkqQQs3KPQ by maxburn@podcastindex.social
       2023-05-02T20:53:54Z
       
       0 likes, 0 repeats
       
       @dave me too, only I’m dealing with commercial BACnet roof top AC units. Send a setpoint that’s a bit out of range and the whole thing shuts down with no reason given. Most manufacturers reject the write request itself but not Trane.
       
 (DIR) Post #AVGXP1bZ1DFo5bUZVo by dave@podcastindex.social
       2023-05-03T03:47:30Z
       
       0 likes, 0 repeats
       
       @maxburn I built some home automation scripts a few years ago for a Daiken system. Their API was pretty flakey too. Not that bad though.
       
 (DIR) Post #AVH3K0Vardt9m5LoJs by maxburn@podcastindex.social
       2023-05-03T09:45:09Z
       
       0 likes, 0 repeats
       
       @dave that particular ā€œfeatureā€ is unique to some older Trane units. Daikin gets a bad rap but for the controls integration they just work and I don’t get callbacks on them.