StringRequest public void get(String url, String username, String pwd), new Response. I have the same behavior with StringRequest in combination with and without queue (volley), or also with a simple variant with HttpURLConnection. If I execute the two calls in the Postman, they work fine.įor the implementation, I have already tried different variants. However, somehow via a cache mechanism or proxy, always the same request arrive at the music server. ![]() ![]() You can, instead, let your favorite song wake you up. In the log, I see that different request URL are called. Tip: When using the Loxone Music Server, the Touch Nightlight alarm tone can be deactivated completely. That is, if I increase the volume first, when I click on the decrease volume button, the request is sent from the increase to the music server, even though the log output shows the correct URL.Ĭurrently, I am stuck because I don't know what I am doing wrong. When I click the other button, the same request is received on the music server. My problem is, depending on which button I click first, that executes the request. Once on the URL "" to increase the volume by 5% and with the URL "" to decrease the volume by 5%. I just created the (ultra basic) first iteration of the music server interface plugin. Use it for a variety of functions including a smart doorbell, alarm clock and. The call is made using two different buttons. Full integration with the Loxone Smart Home. The calls are simple GET requests to different URLs. ![]() I make two API calls to a Loxone Music Server (based on "/audio/X/volume/-Y" -> ) to change the volume of the room. I am currently creating my first Android app with Java.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |