Skip to content

Joyhub Poptint support #918

Description

@morphemic420

If this device could be added to the next release i have it working locally. Amazon link

user config info
{
"version": {
"major": 5,
"minor": 5
},
"user_configs": {
"protocols": {
"joyhub": {
"communication": [
{
"websocket": {
"name": "FF:25:12:96:DF:73"
}
}
],
"configurations": []
}
},
"devices": [
{
"identifier": {
"protocol": "joyhub",
"identifier": "J-Poptint",
"address": "PeripheralId(FF:25:12:96:DF:73)"
},
"config": {
"id": "8bbb0eb0-4666-4851-9039-1b67c95cf330",
"base_id": "3f4f316b-5c9a-454f-8c14-3d69e6a0396f",
"features": [
{
"id": "7925df69-d1a5-4bef-a566-a995eb239e23",
"base_id": "d35205ee-f9b3-468a-9543-80ddc36660c2",
"output": {
"oscillate": {
"disabled": false
}
}
},
{
"id": "d628a2fe-316b-40ba-b85e-0283438c6090",
"base_id": "a6a9822b-ec5d-4b74-bbc4-35eca20e89f1",
"output": {
"vibrate": {
"disabled": false
}
}
},
{
"id": "e7f595ef-91da-4cfb-85d5-c8b36433b186",
"base_id": "f5185ebf-3bab-46cb-b41e-dc78b85b9bc7",
"output": {
"temperature": {
"disabled": false
}
}
}
],
"user_config": {
"allow": false,
"deny": false,
"index": 1,
"message_gap_ms": 100
}
}
},
{

and log info

ServerDeviceDefinition { name: "JoyHub Poptint", id: 8bbb0eb0-4666-4851-9039-1b67c95cf330, base_id: Some(3f4f316b-5c9a-454f-8c14-3d69e6a0396f), protocol_variant: None, message_gap_ms: Some(100), display_name: None, allow: false, deny: false, index: 1, features: {0: ServerDeviceFeature { index: 0, description: "", id: 7925df69-d1a5-4bef-a566-a995eb239e23, base_id: Some(d35205ee-f9b3-468a-9543-80ddc36660c2), alt_protocol_index: None, output: SmallVecEnumMap([Oscillate(ServerDeviceFeatureOutputValueProperties { value: RangeWithLimit { base: [0..=255], user: None }, disabled: false })]), input: SmallVecEnumMap([]) }, 2: ServerDeviceFeature { index: 2, description: "", id: d628a2fe-316b-40ba-b85e-0283438c6090, base_id: Some(a6a9822b-ec5d-4b74-bbc4-35eca20e89f1), alt_protocol_index: None, output: SmallVecEnumMap([Vibrate(ServerDeviceFeatureOutputValueProperties { value: RangeWithLimit { base: [0..=255], user: None }, disabled: false })]), input: SmallVecEnumMap([]) }, 6: ServerDeviceFeature { index: 6, description: "Heater", id: e7f595ef-91da-4cfb-85d5-c8b36433b186, base_id: Some(f5185ebf-3bab-46cb-b41e-dc78b85b9bc7), alt_protocol_index: None, output: SmallVecEnumMap([Temperature(ServerDeviceFeatureOutputValueProperties { value: RangeWithLimit { base: [0..=1], user: None }, disabled: false })]), input: SmallVecEnumMap([]) }} }

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

FeaturesNew things to add to the project

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions