Missing services for remote entities

bowlingbeeg's Avatar Topic Author
User User
  • Posts: 248
  • Thanks: 33

Missing services for remote entities

2 years 7 months ago
#766
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 or Create an account to join the conversation.

davep's Avatar
Admin Admin
  • Posts: 371
  • Thanks: 98

Re: Missing services for remote entities

2 years 6 months ago
#1415
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 or Create an account to join the conversation.

bowlingbeeg's Avatar Topic Author
User User
  • Posts: 248
  • Thanks: 33

Re: Missing services for remote entities

2 years 6 months ago
#1419
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?
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?

Please Log in or Create an account to join the conversation.

bowlingbeeg's Avatar Topic Author
User User
  • Posts: 248
  • Thanks: 33

Re: Missing services for remote entities

2 years 6 months ago
#1420
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.

Please Log in or Create an account to join the conversation.

Time to create page: 0.271 seconds