winleafs / Winleafs

Winleafs: Windows application for Nanoleaf lights
GNU General Public License v3.0
86 stars 9 forks source link

Screen Mirror #162

Closed vx51row closed 3 years ago

vx51row commented 3 years ago

Screen Mirror not working on Nanoleaf Shapes (Triangles) and doesnt display a layout in the middle section.

Additional context All other control works with Nanoleaf Shapes and i can control scenes etc.

StijnOostdam commented 3 years ago

Hey, screen mirror is currently not fixable since Nanoleaf has not updated their documentation for Shapes yet (I do not think they will ever update it).

I think layout should still work but I don't own any Shapes so I cannot test it. Do you have any logs (found in %appdata%/Winleafs) that show an error? If so, could you post them here?

vx51row commented 3 years ago

2021-02-16 18:59:04.1825|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/panelLayout/layout, Method: GET, Body: 2021-02-16 18:59:04.2463|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/panelLayout/globalOrientation, Method: GET, Body: 2021-02-16 18:59:04.2829|INFO|Winleafs.Wpf.Api.ScheduleTimer|Scheduler turning device 192.168.1.114 off 2021-02-16 18:59:04.2829|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/state/on, Method: GET, Body: 2021-02-16 18:59:04.2965|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/state, Method: PUT, Body: {"on": {"value":false}} 2021-02-16 18:59:04.5961|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/panelLayout/layout, Method: GET, Body: 2021-02-16 18:59:04.6036|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/panelLayout/globalOrientation, Method: GET, Body: 2021-02-16 18:59:05.3940|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/panelLayout/layout, Method: GET, Body: 2021-02-16 18:59:05.4091|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/panelLayout/globalOrientation, Method: GET, Body: 2021-02-16 18:59:12.3150|INFO|Winleafs.Server.Endpoints.WinleafsServerEndpoint|Sending following request Winleafs Server: Address: https://api.winleafs.com/, URL: /spotify/is-connected/9da1c2dc-895b-4710-b0c5-c7bbb257e3c8, Method: GET, Body: 2021-02-16 18:59:56.4486|INFO|Winleafs.Wpf.Api.ScheduleTimer|Scheduler turning device 192.168.1.114 off 2021-02-16 18:59:56.4486|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/panelLayout/layout, Method: GET, Body: 2021-02-16 18:59:56.4486|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/state/on, Method: GET, Body: 2021-02-16 18:59:56.4626|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/panelLayout/globalOrientation, Method: GET, Body: 2021-02-16 18:59:56.4794|INFO|Winleafs.Wpf.Api.ScheduleTimer|Scheduler turning device 192.168.1.114 off 2021-02-16 18:59:56.4794|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/state/on, Method: GET, Body: 2021-02-16 19:00:02.6895|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/panelLayout/layout, Method: GET, Body: 2021-02-16 19:00:04.0356|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/panelLayout/globalOrientation, Method: GET, Body: 2021-02-16 19:00:08.2733|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/panelLayout/layout, Method: GET, Body: 2021-02-16 19:00:08.2838|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/panelLayout/globalOrientation, Method: GET, Body: 2021-02-16 19:00:10.9457|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/panelLayout/layout, Method: GET, Body: 2021-02-16 19:00:11.7410|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/panelLayout/globalOrientation, Method: GET, Body: 2021-02-16 19:00:12.3054|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/panelLayout/layout, Method: GET, Body: 2021-02-16 19:00:12.3300|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/panelLayout/globalOrientation, Method: GET, Body: 2021-02-16 19:00:15.7820|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/effects/effectsList, Method: GET, Body: 2021-02-16 19:00:15.7988|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/effects, Method: PUT, Body: {"write" : {"command" : "request", "animName" : "Be Productive"}} 2021-02-16 19:00:15.8116|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/effects, Method: PUT, Body: {"write" : {"command" : "request", "animName" : "Beach Waves"}} 2021-02-16 19:00:15.8222|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/effects, Method: PUT, Body: {"write" : {"command" : "request", "animName" : "Beatdrop"}} 2021-02-16 19:00:15.8399|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/effects, Method: PUT, Body: {"write" : {"command" : "request", "animName" : "Blaze"}} 2021-02-16 19:00:15.8399|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/effects, Method: PUT, Body: {"write" : {"command" : "request", "animName" : "Blinding Lights"}} 2021-02-16 19:00:15.8580|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/effects, Method: PUT, Body: {"write" : {"command" : "request", "animName" : "Blood... Dripping..."}} 2021-02-16 19:00:15.8689|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/effects, Method: PUT, Body: {"write" : {"command" : "request", "animName" : "Christmas Lights"}} 2021-02-16 19:00:15.9206|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/effects, Method: PUT, Body: {"write" : {"command" : "request", "animName" : "Cocoa Beach"}} 2021-02-16 19:00:15.9456|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/effects, Method: PUT, Body: {"write" : {"command" : "request", "animName" : "Cotton Candy"}} 2021-02-16 19:00:15.9582|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/effects, Method: PUT, Body: {"write" : {"command" : "request", "animName" : "Cyberpunk"}} 2021-02-16 19:00:15.9687|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/effects, Method: PUT, Body: {"write" : {"command" : "request", "animName" : "Date Night"}} 2021-02-16 19:00:15.9880|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/effects, Method: PUT, Body: {"write" : {"command" : "request", "animName" : "Dracarys"}} 2021-02-16 19:00:15.9979|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/effects, Method: PUT, Body: {"write" : {"command" : "request", "animName" : "Flow"}} 2021-02-16 19:00:16.0128|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/effects, Method: PUT, Body: {"write" : {"command" : "request", "animName" : "Hip Hop"}} 2021-02-16 19:00:16.0128|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/effects, Method: PUT, Body: {"write" : {"command" : "request", "animName" : "Hot Sauce"}} 2021-02-16 19:00:16.0496|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/effects, Method: PUT, Body: {"write" : {"command" : "request", "animName" : "Jungle"}} 2021-02-16 19:00:16.0579|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/effects, Method: PUT, Body: {"write" : {"command" : "request", "animName" : "Lightscape"}} 2021-02-16 19:00:16.0579|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/effects, Method: PUT, Body: {"write" : {"command" : "request", "animName" : "Mint"}} 2021-02-16 19:00:16.0738|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/effects, Method: PUT, Body: {"write" : {"command" : "request", "animName" : "Morning Sky"}} 2021-02-16 19:00:16.0942|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/effects, Method: PUT, Body: {"write" : {"command" : "request", "animName" : "Neon Flower"}} 2021-02-16 19:00:16.1070|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/effects, Method: PUT, Body: {"write" : {"command" : "request", "animName" : "Nightclub"}} 2021-02-16 19:00:16.1070|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/effects, Method: PUT, Body: {"write" : {"command" : "request", "animName" : "Northern Lights"}} 2021-02-16 19:00:16.1278|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/effects, Method: PUT, Body: {"write" : {"command" : "request", "animName" : "Pop Rocks"}} 2021-02-16 19:00:16.1451|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/effects, Method: PUT, Body: {"write" : {"command" : "request", "animName" : "Prism"}} 2021-02-16 19:00:16.1554|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/effects, Method: PUT, Body: {"write" : {"command" : "request", "animName" : "Rain"}} 2021-02-16 19:00:16.1554|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/effects, Method: PUT, Body: {"write" : {"command" : "request", "animName" : "Rave"}} 2021-02-16 19:00:16.1750|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/effects, Method: PUT, Body: {"write" : {"command" : "request", "animName" : "Shooting Stars"}} 2021-02-16 19:00:16.1967|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/effects, Method: PUT, Body: {"write" : {"command" : "request", "animName" : "Soda"}} 2021-02-16 19:00:16.1967|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/effects, Method: PUT, Body: {"write" : {"command" : "request", "animName" : "Starlight"}} 2021-02-16 19:00:16.2150|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/effects, Method: PUT, Body: {"write" : {"command" : "request", "animName" : "Sundown"}} 2021-02-16 19:00:16.2150|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/effects, Method: PUT, Body: {"write" : {"command" : "request", "animName" : "Teal Glide"}} 2021-02-16 19:00:16.2783|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/effects, Method: PUT, Body: {"write" : {"command" : "request", "animName" : "Triluminox Energy Crystal"}} 2021-02-16 19:00:16.3034|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/effects, Method: PUT, Body: {"write" : {"command" : "request", "animName" : "Try this before you skip it"}} 2021-02-16 19:00:16.3286|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/effects, Method: PUT, Body: {"write" : {"command" : "request", "animName" : "Twinkling Midnight Sky"}} 2021-02-16 19:00:16.3808|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/effects, Method: PUT, Body: {"write" : {"command" : "request", "animName" : "Vintage Modern"}} 2021-02-16 19:00:16.4033|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/effects, Method: PUT, Body: {"write" : {"command" : "request", "animName" : "Waterfall"}} 2021-02-16 19:00:20.6511|INFO|Winleafs.Wpf.Views.MainWindows.DeviceUserControl|User manually enabling effect Winleafs - Turn lights off with brightness 0 for device 192.168.1.114 2021-02-16 19:00:20.6511|INFO|Winleafs.Wpf.Api.Orchestrator|Orchestrator is activating effect Winleafs - Turn lights off with brightness 0 for device 192.168.1.114 2021-02-16 19:00:20.6511|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/state/on, Method: GET, Body: 2021-02-16 19:00:22.9962|INFO|Winleafs.Wpf.Views.MainWindows.DeviceUserControl|User manually enabling effect Beatdrop with brightness 0 for device 192.168.1.114 2021-02-16 19:00:22.9962|INFO|Winleafs.Wpf.Api.Orchestrator|Orchestrator is activating effect Beatdrop with brightness 0 for device 192.168.1.114 2021-02-16 19:00:22.9962|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/state, Method: PUT, Body: {"brightness": {"value":0}} 2021-02-16 19:00:23.1199|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/effects, Method: PUT, Body: {"select": "Beatdrop"} 2021-02-16 19:00:27.6292|INFO|Winleafs.Wpf.Views.MainWindows.DeviceUserControl|User manually enabling effect Be Productive with brightness 0 for device 192.168.1.114 2021-02-16 19:00:27.6292|INFO|Winleafs.Wpf.Api.Orchestrator|Orchestrator is activating effect Be Productive with brightness 0 for device 192.168.1.114 2021-02-16 19:00:27.6292|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/state, Method: PUT, Body: {"brightness": {"value":0}} 2021-02-16 19:00:27.7110|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/effects, Method: PUT, Body: {"select": "Be Productive"} 2021-02-16 19:00:33.7333|INFO|Winleafs.Wpf.Views.MainWindows.DeviceUserControl|User manually enabling effect Hot Sauce with brightness 0 for device 192.168.1.114 2021-02-16 19:00:33.7333|INFO|Winleafs.Wpf.Api.Orchestrator|Orchestrator is activating effect Hot Sauce with brightness 0 for device 192.168.1.114 2021-02-16 19:00:33.7333|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/state, Method: PUT, Body: {"brightness": {"value":0}} 2021-02-16 19:00:33.7868|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/effects, Method: PUT, Body: {"select": "Hot Sauce"} 2021-02-16 19:00:38.3522|INFO|Winleafs.Wpf.Views.MainWindows.DeviceUserControl|User manually enabling effect Prism with brightness 0 for device 192.168.1.114 2021-02-16 19:00:38.3530|INFO|Winleafs.Wpf.Api.Orchestrator|Orchestrator is activating effect Prism with brightness 0 for device 192.168.1.114 2021-02-16 19:00:38.3530|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/state, Method: PUT, Body: {"brightness": {"value":0}} 2021-02-16 19:00:38.4257|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/effects, Method: PUT, Body: {"select": "Prism"} 2021-02-16 19:00:56.1551|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/panelLayout/layout, Method: GET, Body: 2021-02-16 19:00:56.1992|INFO|Winleafs.Api.Endpoints.NanoleafEndpoint|Sending following request to Nanoleaf: Address: http://192.168.1.114:16021/, URL: api/v1/j0FlMb1L46YkpaPMBpR93Ab5UY2A7GOt/panelLayout/globalOrientation, Method: GET, Body:

vx51row commented 3 years ago

Dont think I can see an error in here, image as you can see from screenshot, SHAPES arent appearing in the layout window.

StijnOostdam commented 3 years ago

Thank you for your response, you are right that there is no error. Winleafs does not show anything as it does not yet know how to draw those shapes (it does know how to draw the hexagons so I guess you have the new small triangles?). As we don't own any shapes and Nanoleaf does not update their docs, we can maybe fix the interface by doing the following steps:

vx51row commented 3 years ago

{"numPanels":10,"sideLength":0,"positionData":[{"panelId":17587,"x":201,"y":348,"o":0,"shapeType":8},{"panelId":24027,"x":134,"y":270,"o":300,"shapeType":8},{"panelId":48590,"x":100,"y":174,"o":360,"shapeType":8},{"panelId":614,"x":33,"y":96,"o":540,"shapeType":8},{"panelId":31646,"x":0,"y":0,"o":840,"shapeType":8},{"panelId":34370,"x":234,"y":444,"o":300,"shapeType":8},{"panelId":10501,"x":301,"y":522,"o":600,"shapeType":8},{"panelId":62516,"x":335,"y":618,"o":780,"shapeType":8},{"panelId":57725,"x":402,"y":696,"o":960,"shapeType":8},{"panelId":0,"x":234,"y":299,"o":180,"shapeType":12}]}

vx51row commented 3 years ago

I actually have the new Triangles so these are shapes but not mini. Thanks for your help

StijnOostdam commented 3 years ago

How's this?

afbeelding

StijnOostdam commented 3 years ago

I also just created https://github.com/winleafs/Winleafs/issues/167. Maybe you can help us? Then let this issue be purely about the UI and we will continue the screen mirror discussing in the other issue.

vx51row commented 3 years ago

image This is the layout as shown by NanoLeaf's app.

I'm happy to help in the development, let me know what you need me to do?

StijnOostdam commented 3 years ago

image This is the layout as shown by NanoLeaf's app.

That is expected, I did not have your global rotation. I just released the fix, you can download it here: https://github.com/winleafs/Winleafs/releases/tag/v1.1.7

I'm happy to help in the development, let me know what you need me to do?

Great to hear! Please read https://github.com/winleafs/Winleafs/issues/167 and post any questions you have there.

StijnOostdam commented 3 years ago

@vx51row Hey, if you'd like, you could test the screen mirror functionality for the shapes with this pre-release: https://github.com/winleafs/Winleafs/releases/tag/v1.1.8