Hi,
Is there any way we can auto arrange the layout of blocks in the dashboard. I used the row and column when I create them via HTTP Post. but they always go to first location and added after the last one.
thanks
Dashboard auto layout
Moderators: adafruit_support_bill, adafruit
Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
- Luraco
- Posts: 6
- Joined: Tue Aug 30, 2022 2:49 pm
Re: Dashboard auto layout
Any json command to arrange the dashboard blocks for LG display?
- jwcooper
- Posts: 1004
- Joined: Tue May 01, 2012 9:08 pm
Re: Dashboard auto layout
Here is a previous forum post on how to use the blocks api (mostly used internally) to position blocks. Set the row and column in the json:
viewtopic.php?p=898219&hilit=io+api+blocks#p898219
viewtopic.php?p=898219&hilit=io+api+blocks#p898219
- Luraco
- Posts: 6
- Joined: Tue Aug 30, 2022 2:49 pm
Re: Dashboard auto layout
I am sending the row and column but is not working.jwcooper wrote: ↑Tue Sep 06, 2022 2:33 pm Here is a previous forum post on how to use the blocks api (mostly used internally) to position blocks. Set the row and column in the json:
viewtopic.php?p=898219&hilit=io+api+blocks#p898219
{"column":4,"row":4,"visual_type":"momentary_button","size_x":1,"size_y":1,"properties":{"text":"System Status","value":"1","release":"0"},"block_feeds":[{"feed_id":"21031222-p"}]}
Here is the screen shot of the json reply. dashboard image Block info row and columns are empty even size too.
Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.