Skip to content
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

DS Hue App DP are not writable #241

Open
Draygv2 opened this issue Aug 25, 2022 · 7 comments
Open

DS Hue App DP are not writable #241

Draygv2 opened this issue Aug 25, 2022 · 7 comments
Labels
question Further information is requested wontfix This will not be worked on

Comments

@Draygv2
Copy link

Draygv2 commented Aug 25, 2022

Describe the bug
If I change the value of level.brightness it change to red. The lampe doesn't make anything. Same for colortenp. If I change a preset it work instantly

To Reproduce
Steps to reproduce the behavior:

  1. Add Hue App in DS and load all lamps
  2. open objects in iob and go to ds/device/hue/lamp xy
  3. change the value
  4. See number in red and no effect on the lamp

Expected behavior
The lamp shine in the level I put in.

Screenshots & Logfiles
There is no issue in the protocol on debug mode

Versions:

  • Adapter version: <2.3.0>
  • JS-Controller version: <4.0.23>
  • Node version: <v14.20.0>
  • Operating system:
@Apollon77
Copy link
Collaborator

Can you see or set the values in the DS web ui? Frommmy knowledge not. And it is not documents in any API spec on how to set vaues using DS APIs ... So no idea how to do it.
Maybe the new "get values API" delivers the values but thats not integrated yet.

When you have ioBroker I also think that using te hue adapzter is much more powerful than using DS (which is controlling hue then), or?!

@Apollon77 Apollon77 added the question Further information is requested label Aug 25, 2022
@Draygv2
Copy link
Author

Draygv2 commented Aug 25, 2022

Yes I can change it on the "Aktivitäten" tab.
Yes you are right it is much easier with the hue adapter. I will do it so.

@Apollon77
Copy link
Collaborator

Can you post a screenshot of this "Aktivitäten" Tab? Can you iopen the browser Develoepr tools Tab Network and check which requests are done there if you change it??

@Draygv2
Copy link
Author

Draygv2 commented Aug 27, 2022

image

Network request:
Anforderungs-URL: https://10.2.2.60/json/device/setOutputChannelValue?_dc=1661585460008&channelvalues=brightness%3D62&applyNow=true&dsuid=718e93da07975bd780aad8a5b67b933500
Anforderungsmethode: GET
Statuscode: 200 OK
Remoteadresse: 10.2.2.60:443
Referrer-Richtlinie: strict-origin-when-cross-origin

I hope that is what you looking for

@Apollon77
Copy link
Collaborator

Yes kind of this ... ut NOT for brightness :-) Briggthness is known and works :-)

if you change something there should be also POST calls

@Draygv2
Copy link
Author

Draygv2 commented Sep 7, 2022

But I have the problem with brightness. Nothing happens if I put in a value between 0 and 100. The colortemp is also not working.
I have just GET in the networkanalyse. Do I get it somewhere else?
grafik

Here the request for colortemp:
{
"GET": {
"scheme": "https",
"host": "10.2.2.60",
"filename": "/json/device/setOutputChannelValue",
"query": {
"_dc": "1662533843874",
"channelvalues": "colortemp=370",
"applyNow": "true",
"dsuid": "aa47d858fb7a564480c44dac05015ccd00"
},
"remote": {
"Adresse": "10.2.2.60:443"
}
}
}

{
"Antwortkopfzeilen (331 B)": {
"headers": [
{
"name": "Content-Length",
"value": "11"
},
{
"name": "Content-Type",
"value": "application/json; charset=utf-8"
},
{
"name": "Date",
"value": "Wed, 07 Sep 2022 06:57:24 GMT"
},
{
"name": "Server",
"value": "lighttpd/1.4.48"
},
{
"name": "Set-Cookie",
"value": "csrf-token=; Path=/"
},
{
"name": "Strict-Transport-Security",
"value": "max-age=0"
},
{
"name": "X-Content-Type-Options",
"value": "nosniff"
},
{
"name": "X-Frame-Options",
"value": "sameorigin"
}
]
}
}

@stale
Copy link

stale bot commented May 9, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within the next 7 days. Please check if the issue is still relevant in the most current version of the adapter and tell us. Also check that all relevant details, logs and reproduction steps are included and update them if needed. Thank you for your contributions.
Dieses Problem wurde automatisch als veraltet markiert, da es in letzter Zeit keine Aktivitäten gab. Es wird geschlossen, wenn nicht innerhalb der nächsten 7 Tage weitere Aktivitäten stattfinden. Bitte überprüft, ob das Problem auch in der aktuellsten Version des Adapters noch relevant ist, und teilt uns dies mit. Überprüft auch, ob alle relevanten Details, Logs und Reproduktionsschritte enthalten sind bzw. aktualisiert diese. Vielen Dank für Eure Unterstützung.

@stale stale bot added the wontfix This will not be worked on label May 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants