- Posts: 248
- Thank you received: 33
Missing services for remote entities
- bowlingbeeg
- Topic Author
- Offline
- User
-
Less
More
2 years 5 months ago #766
by bowlingbeeg
Missing services for remote entities was created by bowlingbeeg
There are a number of services for remote entities that appear to be missing from the HA gateway driver. turn_on/turn_off /toggle are the big ones but there's also the delete_command and lean_command. I can't say I've ever used those last two but the others I know are used in lots of devices.
Please Log in to join the conversation.
- davep
- Offline
- Admin
-
Less
More
- Posts: 367
- Thank you received: 96
2 years 5 months ago #1415
by davep
Replied by davep on topic Missing services for remote entities
All those entity commands are in he existing HAGateway driver. To use those commands the device must be a member of the AV family and you need to send AV style commands to the device AV|<did>~Power~On Off Toggle
If you send these command to an AV device do they work?
As for Delete and Lean (Learn?). I cannot find a good reference to them on the HA docs. How do they get used?
If you send these command to an AV device do they work?
As for Delete and Lean (Learn?). I cannot find a good reference to them on the HA docs. How do they get used?
Please Log in to join the conversation.
- bowlingbeeg
- Topic Author
- Offline
- User
-
Less
More
- Posts: 248
- Thank you received: 33
2 years 5 months ago #1419
by bowlingbeeg
Replied by bowlingbeeg on topic Missing services for remote entities
I know when I was trying to use HA for the JVC projector it wasn't working, then you fixed the myServer JVC driver to work with passwords so I removed that device from HA. I just went and added it back into HA to show you what wasn't working but I can't get myServer6 to see the new device in HA. Is there some way to force a refresh?All those entity commands are in he existing HAGateway driver. To use those commands the device must be a member of the AV family and you need to send AV style commands to the device AV|<did>~Power~On Off Toggle
If you send these command to an AV device do they work?
As for Delete and Lean (Learn?). I cannot find a good reference to them on the HA docs. How do they get used?
Please Log in to join the conversation.
- bowlingbeeg
- Topic Author
- Offline
- User
-
Less
More
- Posts: 248
- Thank you received: 33
2 years 5 months ago #1420
by bowlingbeeg
Replied by bowlingbeeg on topic Missing services for remote entities
Ok, I deleted a sensor I don't really use and that forced a refresh. Don't know if there is another way to force a refresh or not but if there isn't it would be nice to have one.
So I tried the JVC projector and this is what I got:
02/03/2024 15:45:06.45 · DEBUG · HAGateway.doCommand - Cmd=[49~Power~On] Client=[dashboard-fx-l367]
02/03/2024 15:45:06.45 · ERROR · HAGateway.doCommand - Error in MoveNext - InvalidFormat: not a valid value for dictionary value @ data
The HA devices that work are calling the turn_on service for the media_player entity. The JVC just has a remote entity so my thinking was that it was trying to find a media_player entity and failing, instead of calling the turn_on service for the remote entity. But I could be way off.
Along these same lines it sure would be nice if we had a way to specify any service and data, that way the driver doesn't need to constantly change for each HA component that does things a little differently. I'm not sure how easy that would be but would be a nice addition.
So I tried the JVC projector and this is what I got:
02/03/2024 15:45:06.45 · DEBUG · HAGateway.doCommand - Cmd=[49~Power~On] Client=[dashboard-fx-l367]
02/03/2024 15:45:06.45 · ERROR · HAGateway.doCommand - Error in MoveNext - InvalidFormat: not a valid value for dictionary value @ data
The HA devices that work are calling the turn_on service for the media_player entity. The JVC just has a remote entity so my thinking was that it was trying to find a media_player entity and failing, instead of calling the turn_on service for the remote entity. But I could be way off.
Along these same lines it sure would be nice if we had a way to specify any service and data, that way the driver doesn't need to constantly change for each HA component that does things a little differently. I'm not sure how easy that would be but would be a nice addition.
Please Log in to join the conversation.
Time to create page: 0.187 seconds