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

Accessories are not added / not supported #37

Open
dxdc opened this issue May 4, 2021 · 4 comments
Open

Accessories are not added / not supported #37

dxdc opened this issue May 4, 2021 · 4 comments
Labels

Comments

@dxdc
Copy link

dxdc commented May 4, 2021

Thanks for writing this plugin!

According to the logs, everything looks good on my end. I can see both of my base stations as well as the 3 sensors I have in the log. But, I only see one sensor added in my actual HB instance - Wind. There is also a Not Supported icon right next to it.

I don't see any of the other devices. Could it be because I have 2 control units on my account which both pull in the same sensors?

homebridge-out.log:[5/4/2021, 10:28:55 AM] [LaCrosseView] Initializing LaCrosseView platform...
homebridge-out.log:[5/4/2021, 10:28:57 AM] [LaCrosseView] Loading accessory from cache: [Base Station] 6515204109893632 xyz-xyz-xyz
homebridge-out.log:[5/4/2021, 10:28:57 AM] [LaCrosseView] Loading accessory from cache: [Base Station Spare] 6507474610159616 xyz-xyz-xyz
homebridge-out.log:[5/4/2021, 10:28:57 AM] [LaCrosseView] Loading accessory from cache: [Temperature] 5008443338915840 xyz-xyz-xyz
homebridge-out.log:[5/4/2021, 10:28:57 AM] [LaCrosseView] Loading accessory from cache: [Wind] 5205653439643648 e4595d0e-e6ec-4765-ac83-4b06a7019c99
homebridge-out.log:[5/4/2021, 10:28:58 AM] [LaCrosseView] Loading accessory from cache: [Leak] 4908778824138752 2b6e672b-65d8-4027-a148-9677f23b4336
homebridge-out.log:[5/4/2021, 10:29:21 AM] [LaCrosseView] New Device Online: [Base Station] sensor [6515204109893632]
homebridge-out.log:[5/4/2021, 10:29:21 AM] [LaCrosseView] Adding: [Base Station] sensor [6515204109893632]
homebridge-out.log:[5/4/2021, 10:29:21 AM] [LaCrosseView] New Device Online: [Base Station Spare] sensor [6507474610159616]
homebridge-out.log:[5/4/2021, 10:29:21 AM] [LaCrosseView] Adding: [Base Station Spare] sensor [6507474610159616]
homebridge-out.log:[5/4/2021, 10:29:21 AM] [LaCrosseView] New Device Online: [Temperature] sensor [5008443338915840]
homebridge-out.log:[5/4/2021, 10:29:21 AM] [LaCrosseView] Adding: [Temperature] sensor [5008443338915840]
homebridge-out.log:[5/4/2021, 10:29:21 AM] [LaCrosseView] New Device Online: [Wind] sensor [5205653439643648]
homebridge-out.log:[5/4/2021, 10:29:21 AM] [LaCrosseView] Adding: [Wind] sensor [5205653439643648]
homebridge-out.log:[5/4/2021, 10:29:21 AM] [LaCrosseView] New Device Online: [Leak] sensor [4908778824138752]
homebridge-out.log:[5/4/2021, 10:29:21 AM] [LaCrosseView] Adding: [Leak] sensor [4908778824138752]
@GuiHash
Copy link
Owner

GuiHash commented May 16, 2021

Hi @dxdc,

Thank for the report !

Can you provide me the references of your sensors ?
Currently, this plugin is only works with temperature and humidity sensors.

However, we should not add unsupported devices and log instead of add them.

@dxdc
Copy link
Author

dxdc commented May 17, 2021

Hi @GuiHash, is this what you're looking for?

Device ID for Wind Sensor: 09966A
Device ID for Leak Sensor: 503E41

@GuiHash
Copy link
Owner

GuiHash commented Jun 6, 2021

@dxdc, I just published a new version of the plugin with improved logging.
Can you consider to run homebridge in debug mode and post your logs ?

@dxdc
Copy link
Author

dxdc commented Jun 7, 2021

Thanks @GuiHash! Seems the other sensors are working now! I imagine this is the data you need for the wind speed sensor. I'm not sure if there is another way to show the speed, maybe as some other type of accessory... though one has to be mindful of the conversion factors. FYI, the batteries on my wind sensor coincidentally died 3 days ago and it has been pouring rain so didn't change it yet.

Lastly -- the leak sensor on my end is showing the temperature correctly, but not the leak status (dry/wet). This wasn't output in the debug log. Is there any way to extract that out also and create a separate leak sensor for it? There is a supported leak sensor with HK which could be used.

Anyway, I have access to everything else! Thanks again =)

{
 "id": "XXX",
 "modifiedOn": "2018-12-26T00:15:09.962Z",
 "createdOn": "2018-12-26T00:15:09.962Z",
 "shallow": false,
 "weight": "300",
 "flaggedForSynchVNext": true,
 "name": "Wind",
 "sensor": {
  "id": "XXX",
  "modifiedOn": "2018-12-26T00:15:01.691Z",
  "createdOn": "2018-12-26T00:15:01.691Z",
  "shallow": false,
  "flaggedForSynchVNext": true,
  "type": {
   "id": "XXX",
   "shallow": false,
   "category": 99,
   "name": "Wind Speed Sensor",
   "internalName": "LTV-W1",
   "description": "None Provided",
   "defaultDeviceName": "Series 00001a :index",
   "image": "XXX",
   "fields": {
    "notSupported": 0,
    "WindSpeed": 4
   }
  },
  "series": "V2",
  "serial": "09966A",
  "verificationCode": "IuP",
  "batch": "1",
  "manufacturer": "14",
  "attributes": {
   "factory": "14",
   "display": "0",
   "device-glyph": "8"
  },
  "fields": {
   "notSupported": 0,
   "WindSpeed": 4
  },
  "permissions": {
   "owner": true,
   "read": true,
   "subscribe": true,
   "claim": true,
   "admin": true,
   "share": true,
   "admin.geo": true,
   "admin.smartview": true
  },
  "category": 99,
  "sensorTypeEntityId": "XXX"
 },
 "sensorId": "XXX",
 "locationId": "XXX",
 "ownerId": "XXX"
}

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

No branches or pull requests

2 participants