filter from json

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
terrorsource
Posts: 67
Joined: Wednesday 10 May 2017 17:57
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

filter from json

Post by terrorsource »

Hello,

I want to filter as much as possible in the json string so the app i'm creating doesn't need to parse a lot of information

I need to filter out this:
1. type=devices
2. filter=light
3. used=true
4. order=Name
5. favorite=1
6. subtype=switch

1-5 is already possible by using

Code: Select all

json.htm?type=devices&filter=light&used=true&order=Name&favorite=1
but how do i het 6 in also?
Image=light or typeimg=lightbulb can also do the trick for me.
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest