Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- jsonrpc: "2.0"
- id: "DeviceService.getDevice"
- -result: {
- message: ""
- -data: {
- location: 6
- favorite: true
- id: 4
- category: 2
- friendlyname: "BlinkM Smart LED"
- address: "0x09"
- name: "Blinkm led device"
- categoryname: "Lighting"
- device: "org.pidome.driver.driver.nativeDefaultI2CDriver"
- -commandgroups: [
- -{
- id: "scriptactions"
- -commands: [
- -{
- -typedetails: {
- id: "runscripts"
- label: "Choose script"
- datatype: "hex"
- shortcut: "false"
- pos: "0"
- }
- commandtype: "select"
- currentvalue: null
- -commandset: [
- -{
- name: "Select a script"
- value: ""
- }
- -{
- name: "Startup script"
- value: "0x70 0x00 0x00 0x00"
- }
- -{
- name: "RGB loop"
- value: "0x70 0x01 0x00 0x00"
- }
- -{
- name: "Pulse white"
- value: "0x70 0x02 0x00 0x00"
- }
- -{
- name: "Pulse red"
- value: "0x70 0x03 0x00 0x00"
- }
- -{
- name: "Pulse green"
- value: "0x70 0x04 0x00 0x00"
- }
- -{
- name: "Pulse blue"
- value: "0x70 0x05 0x00 0x00"
- }
- -{
- name: "Pulse cyan"
- value: "0x70 0x06 0x00 0x00"
- }
- -{
- name: "Pulse magenta"
- value: "0x70 0x07 0x00 0x00"
- }
- -{
- name: "Pulse yellow"
- value: "0x70 0x08 0x00 0x00"
- }
- -{
- name: "Hue cycle"
- value: "0x70 0x0a 0x00 0x00"
- }
- -{
- name: "Mood light"
- value: "0x70 0x0b 0x00 0x00"
- }
- -{
- name: "Virtual candle"
- value: "0x70 0x0c 0x00 0x00"
- }
- -{
- name: "Water reflections"
- value: "0x70 0x0d 0x00 0x00"
- }
- -{
- name: "Broken old neon"
- value: "0x70 0x0e 0x00 0x00"
- }
- -{
- name: "The 4 seasons"
- value: "0x70 0x0f 0x00 0x00"
- }
- -{
- name: "Thunderstorm"
- value: "0x70 0x10 0x00 0x00"
- }
- -{
- name: "Traffic light"
- value: "0x70 0x11 0x00 0x00"
- }
- -{
- name: "S.O.S. morse"
- value: "0x70 0x12 0x00 0x00"
- }
- ]
- }
- -{
- -typedetails: {
- id: "blackout"
- value: "0x70 0x09 0x00 0x00"
- label: "Blackout"
- datatype: "hex"
- shortcut: "false"
- }
- commandtype: "button"
- currentvalue: null
- commandset: { }
- }
- -{
- -typedetails: {
- id: "scriptstop"
- value: "0x6f"
- label: "Stop current running script"
- datatype: "hex"
- shortcut: "false"
- }
- commandtype: "button"
- currentvalue: null
- commandset: { }
- }
- ]
- name: "Script actions"
- }
- -{
- id: "devicesettings"
- -commands: [
- -{
- -typedetails: {
- min: "1"
- id: "0x66"
- max: "255"
- value: "0x66"
- label: "Set fade speed (higher is faster)"
- shortcut: "false"
- }
- commandtype: "slider"
- currentvalue: null
- commandset: { }
- }
- -{
- -typedetails: {
- min: "-128"
- id: "0x74"
- max: "127"
- value: "0x74"
- label: "Set time adjust (higher is slower)"
- shortcut: "false"
- }
- commandtype: "slider"
- currentvalue: null
- commandset: { }
- }
- ]
- name: "Device Settings"
- }
- -{
- id: "moodcolor"
- -commands: [
- -{
- -typedetails: {
- id: "rgb"
- label: "Main light"
- type: "colorpicker"
- shortcut: "true"
- pos: "3"
- mode: "hex"
- }
- commandtype: "control"
- currentvalue: "hex!#000000!0x6e"
- -commandset: {
- -button: {
- id: "0x63"
- value: "0x63"
- label: "Fade directly"
- datatype: "hex"
- }
- }
- }
- ]
- name: "Color selection"
- }
- ]
- active: true
- locationname: "Hobby room"
- driver: "org.pidome.driver.driver.nativeDefaultI2CDriver"
- }
- success: true
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement