Code Monkey home page Code Monkey logo

Comments (5)

fate8383 avatar fate8383 commented on June 18, 2024 1

[3/15/2022, 4:23:16 PM] [HomebridgeSmartThingsAC] Error while fetching device status: getaddrinfo ENOTFOUND api.smartthings.com
[3/15/2022, 4:23:16 PM] [HomebridgeSmartThingsAC] Error while fetching device status: getaddrinfo ENOTFOUND api.smartthings.com

nice and short :) i think this is what you meant to do. thanks a lot!

from homebridge-smartthings-ac.

0x4a616e avatar 0x4a616e commented on June 18, 2024

Hi, thanks for the report! Yeah, it looks like the SmartThings server is having some troubles and it won't tell us what it is. I guess it would be good to shorten the logs a bit in this situation, or maybe only log the full details on debug.

from homebridge-smartthings-ac.

fate8383 avatar fate8383 commented on June 18, 2024

Yeah I am convinced this is from SmartThings server, and no need even to worry about that, their server will always suck, I hated SmartThings plugin for that reason and just for my ACs I hated using that plugin, yiurs came as life saver :) but really if I could, I would do it from my end but I am not very capable, just saying server timed out or server failed would be enough the rest as you said either can go to debug logs or discarded. That would be a great help for me, I am reading some data from HB logs and when this error happens looking at the logs and finding what I am looking for becomes a nightmare. When you have time of course. I have seen other plugins like homebridge ct200, as Bosch server also fails a lot and returns too many requests with bunch of errors. Plugin owner just changed that and now only one line shows in logs like too many requests period. Something like that I would say.

from homebridge-smartthings-ac.

fate8383 avatar fate8383 commented on June 18, 2024

You could not have time to look at this I assume, right? I would love to discard Samsung server errors or show as a one liner. It really occupies the logs otherwise :)

from homebridge-smartthings-ac.

0x4a616e avatar 0x4a616e commented on June 18, 2024

I just published a new version that should only log the full error if debug logging is enabled https://www.npmjs.com/package/homebridge-smartthings-ac

from homebridge-smartthings-ac.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.