o-lukas / homebridge-smartthings-tv

This is a plugin for Homebridge. It offers some basic functions to control Samsung TVs using the SmartThings API.
https://www.npmjs.com/package/@o-lukas/homebridge-smartthings-tv
MIT License
32 stars 2 forks source link

audioVolume is cached #383

Closed k3mot closed 3 months ago

k3mot commented 4 months ago

Before opening the issue, have you...?

Describe Your Problem

I think I screwed something up with the smarthings api. I changed the interval of polling for the volume to something pretty low, I saw the plugin gets errors from samsung's API for too many requests, then I changed it back to every 6000ms and yet, the API always return that the audioVolume of my TV is 7%. I know it's not a cache of the plugin itself, because I tried querying for the volume myself using smarthings core sdk and got 7%. I tried replacing the token to a new one, nothing works. Any idea?

Thanks!

Logs

No response

If applicable, add screenshots to help explain your problem.

No response

Environment Information

- Plugin Version:
- Homebridge Version: <!-- homebridge -V -->
- Node.js version: <!-- node -v -->
- NPM version: <!-- npm -v -->
- Operating System: <!-- Raspbian / Ubuntu / Debian / Windows / macOS / Docker / hb-service -->
o-lukas commented 3 months ago

I did have some trouble with the volume of the TV too but it magically solved itself. The API sometimes seems to be a bit buggy. You might try to remove your TV from SmartThings account and re-add it again. But other than that I sadly have no idea how to solve this problem. Sorry I can not really help...

k3mot commented 3 months ago

It actually worked! Thanks!