Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Device: Styrbar Remote control #69

Open
Timmwardion opened this issue Feb 2, 2023 · 2 comments
Open

New Device: Styrbar Remote control #69

Timmwardion opened this issue Feb 2, 2023 · 2 comments
Assignees

Comments

@Timmwardion
Copy link

Timmwardion commented Feb 2, 2023

Having Java issues I can't be bothered to resolve so dumped this via the REST Api. Hopefully that works for you.

Setup is

  • Dirigera hub
  • Styrbar remote control/switch
  • Tradfri bulb
  • Tradfri dimmer

[
{
"id": "7950dc4f-d230-4ce5-afb0-7847b26a6437_1",
"type": "controller",
"deviceType": "lightController",
"createdAt": "2023-01-30T16:35:19.000Z",
"isReachable": true,
"lastSeen": "2023-01-31T04:32:28.000Z",
"attributes": {
"customName": "Tim’s light remote",
"model": "Remote Control N2",
"manufacturer": "IKEA of Sweden",
"firmwareVersion": "1.0.024",
"hardwareVersion": "1",
"serialNumber": "84B4DBFFFECBD76D",
"productCode": "E2001",
"batteryPercentage": 90,
"isOn": false,
"lightLevel": 1,
"permittingJoin": false,
"otaStatus": "upToDate",
"otaState": "readyToCheck",
"otaProgress": 0,
"otaPolicy": "autoUpdate",
"otaScheduleStart": "00:00",
"otaScheduleEnd": "00:00"
},
"capabilities": {
"canSend": [
"isOn",
"lightLevel"
],
"canReceive": [
"customName"
]
},
"room": {
"id": "fef33074-61ca-4a39-ad72-50b45bd677cb",
"name": "Bedroom",
"color": "ikea_yellow_no_24",
"icon": "rooms_bed"
},
"deviceSet": [],
"remoteLinks": [],
"isHidden": false
},
{
"id": "b0172dd2-e972-41b3-8e3e-1037b8370bc8_1",
"relationId": "b0172dd2-e972-41b3-8e3e-1037b8370bc8",
"type": "gateway",
"deviceType": "gateway",
"createdAt": "2022-11-25T08:39:11.673Z",
"isReachable": true,
"lastSeen": "2023-02-02T06:59:00.248Z",
"attributes": {
"customName": "Ikea Home Hub",
"model": "DIRIGERA Hub for smart products",
"manufacturer": "IKEA of Sweden",
"firmwareVersion": "2.197.0",
"hardwareVersion": "P2.5",
"serialNumber": "b0172dd2-e972-41b3-8e3e-1037b8370bc8",
"identifyStarted": "2023-01-31T04:18:12.000Z",
"identifyPeriod": -1,
"otaStatus": "upToDate",
"otaState": "readyToCheck",
"otaProgress": 0,
"otaPolicy": "autoDownload",
"otaScheduleStart": "00:00",
"otaScheduleEnd": "00:00",
"permittingJoin": false,
"backendConnected": false,
"backendConnectionPersistent": false,
"backendOnboardingComplete": true,
"backendRegion": "ap-southeast-2",
"backendCountryCode": "AU",
"userConsents": [
{
"name": "analytics",
"value": "enabled"
},
{
"name": "diagnostics",
"value": "enabled"
}
],
"logLevel": 3,
"coredump": false,
"timezone": "Australia/Melbourne",
"countryCode": "XZ",
"isOn": false
},
"capabilities": {
"canSend": [],
"canReceive": [
"customName",
"permittingJoin",
"userConsents",
"logLevel",
"time",
"timezone",
"countryCode",
"coordinates"
]
},
"deviceSet": [],
"remoteLinks": []
},
{
"id": "3069ce86-dc79-483b-b1c6-69d4b532fe3b_1",
"type": "light",
"deviceType": "light",
"createdAt": "2023-02-02T10:57:06.000Z",
"isReachable": true,
"lastSeen": "2023-02-02T17:58:36.000Z",
"attributes": {
"customName": "Office Light",
"firmwareVersion": "1.0.012",
"hardwareVersion": "1",
"manufacturer": "IKEA of Sweden",
"model": "TRADFRIbulbB22WSglobeopal1055lm",
"productCode": "LED2035G10",
"serialNumber": "84B4DBFFFE4D0552",
"isOn": true,
"startupOnOff": "startOn",
"lightLevel": 99,
"colorMode": "temperature",
"colorTemperature": 4000,
"colorTemperatureMax": 2202,
"colorTemperatureMin": 4000,
"identifyPeriod": 0,
"identifyStarted": "2000-01-01T00:00:00.000Z",
"permittingJoin": false,
"otaPolicy": "autoUpdate",
"otaProgress": 0,
"otaScheduleEnd": "00:00",
"otaScheduleStart": "00:00",
"otaState": "readyToCheck",
"otaStatus": "upToDate"
},
"capabilities": {
"canSend": [],
"canReceive": [
"customName",
"isOn",
"lightLevel",
"colorTemperature"
]
},
"room": {
"id": "8c4feef7-2506-489e-be19-cd738abe63de",
"name": "Office",
"color": "ikea_blue_no_63",
"icon": "rooms_arm_chair"
},
"deviceSet": [],
"remoteLinks": [
"7950dc4f-d230-4ce5-afb0-7847b26a6437_1"
],
"isHidden": false
},
{
"id": "5007e1d1-fb07-48b3-a783-984051c86400_1",
"type": "controller",
"deviceType": "lightController",
"createdAt": "2023-02-02T17:57:42.000Z",
"isReachable": true,
"lastSeen": "2023-02-02T17:58:43.000Z",
"attributes": {
"customName": "Tradrfri dimmer",
"firmwareVersion": "2.2.010",
"hardwareVersion": "1",
"manufacturer": "IKEA of Sweden",
"model": "TRADFRI on/off switch",
"productCode": "E1743",
"serialNumber": "003C84FFFE243D34",
"batteryPercentage": 60,
"isOn": false,
"lightLevel": 1,
"permittingJoin": false,
"otaPolicy": "autoUpdate",
"otaProgress": 0,
"otaScheduleEnd": "00:00",
"otaScheduleStart": "00:00",
"otaState": "readyToCheck",
"otaStatus": "upToDate"
},
"capabilities": {
"canSend": [
"isOn",
"lightLevel",
"blindsState"
],
"canReceive": [
"customName"
]
},
"room": {
"id": "8c4feef7-2506-489e-be19-cd738abe63de",
"name": "Office",
"color": "ikea_blue_no_63",
"icon": "rooms_arm_chair"
},
"deviceSet": [],
"remoteLinks": [],
"isHidden": false
}
]

@dvdgeisler
Copy link
Owner

Thanks for sharing!
To get you right: you are struggling with your JRE or with this Java-Client?

Best,
David

@dvdgeisler dvdgeisler self-assigned this Feb 2, 2023
@Timmwardion
Copy link
Author

Timmwardion commented Feb 2, 2023

JRE. I'm on a mac. Java is a mess. Does the above work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants