-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
moods 'not found' (error parsing json) #220
Comments
Can you please post all the raw data from your Gateway? It's available when you run the pytradfri CLI. |
What do you mean by "all the raw data from your Gateway"? Do you mean dump_all ?
I have also some moods from the cli but I can not access them:
|
Had a similar problem with moods. My use case was to change color temperature through the day (from cold to warm) without changing the bulb state (on or off) As moods seem to be always linked to a group I patched the lib to represent that. Since i did not bother to write tests and about proper error handling i will not submit a pull request for now. Find my patch here: Rob4t@7013a72 Drop me a line if this is even remotely useful for you. If you are interested in my cron script you can find it here; |
Stale issue, closing. |
Where are you using pytradfri (eg stand-alone, Home Assistant etc)
stand-alone
Version of pytradfri
master (aiocoap)
Expected behaviour
I should get a list of moods when I call 'gateway.get_moods'
Actual behaviour
aiocoap receives a "Not Found"-string and fails to parse that as json.
Wild speculation
Maybe the mood-id in const.ROOT_MOODS needs to get changed?
The text was updated successfully, but these errors were encountered: